*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: "Inter", sans-serif ; */
    font-family: 'Castoro';
}
body{
     font-family: 'Castoro';
     overflow-x: hidden;
}
header{
    width: 100%;
}
.search{
  width: 100%;
  height: 22vh;
  background-color: black;
display: none;
}
.cross{
   background-color: black;
   border-radius: 50%;
    position: absolute;
  z-index: 500;
  top: 92px;
  right: 6vh;  
  width: 50px;
  height: 50px; 
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
  transition:  4s ease-in 12s;
}
#cross-i-up{
    color: white;
    margin-top: 6px;
    margin-left: 12px;
}
#search{
   text-align: center;
   color: white;
}
.navigation{
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 100;
    width: 100%;
    position: absolute;
    top: 2.8rem;
    gap: 550px;
 
}
.link-lists{
    display: flex;
    gap: 40px;
}
.logo{
    font-size: 30px;
    cursor: pointer;
    color: rgb(255, 254, 254);
}
.items{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}
.items>li{
    list-style: none;
}
.items>li>a{
    text-decoration: none;
    font-size: 18px;
    color: black;
}
/* hero-section */
#hero{
    width: 100%;
    height: 130vh;
}
.hero-section{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.hero-img{
    width: 100%;
    height: 120vh;
    background-image: url('https://themewagon.github.io/spurgeon/images/thumbs/featured/featured-01_2000.jpg');
    background-position: center;
    background-size: cover;
    filter: grayscale(20%);
}

.hero-content{
    padding: 15%;
    margin-top: 50px;
    background-color: white;
}
.hero-para{
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
}
.hero-heading{
    text-align: center;
    margin-bottom: 1rem;
    font-size: 3rem;
}
.card{
    display: none;
}
.lorem-hero{
    text-align: center;
    margin-bottom: 1rem;
}
.btn{
    text-align: center;
}
.btn>a{
    text-decoration: none;
    color: #2b2b2c;
    font-size: 15px;
}
.hamburg{
    display: none;
}
.nav-swipe{
    display: none;
    position: absolute;
    top: 12vh;
    left: 5vw; 
}
.swipe-container{
    position: absolute;
    width: 100%;
    height: 400vh;
    background-color: white;
    display: none;
    z-index: 100;
}
.icon{
position: absolute;
left: 85vw;
top: -8vh;
}
.nav-swipe>h1>a{
    text-decoration: none;
    font-size: 2rem;
    color: black;
    margin-bottom: 1.4rem;
}
#bt{
    padding: 5px 10px;
    background-color: #fff;
    border: 0;
}
@media only  screen and (max-width:1520px) {
    .search{
        height: 25vh;
    }
}
@media only screen and (max-width:1320px) {
   .items>li>a>i{
    display: none;
   } 
   .items{
    display: none;
   }
   .search{
    height: 19vh;
   }
   .cross{
    right: 3vh;
   }
   .hamburg{
    display: block;
   }
   .nav-swipe{
    display: block;
   }
   .swipe-container{
    display: none;
   }
   .fa-magnifying-glass{
    font-size: 24px;
   }
   .hero-content{
    display: none;
   }
   .hamburg>i{
    font-size: 24px;
   }
 .hero-para{
    display: none;
 }
 .hero-heading{
    display: none;
 }
 .lorem-hero{
    display: none;
 }
 .btn{
    display: none;
 }
 .card{
    display: block;
    padding: 40px;
    width: 50%;
    height: 58vh;
    position: absolute;
    top: 32vh;
    left: 30vw;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
 }
 .card-para{
    margin-top: 40px;
    text-align: center;
    margin-bottom: .7rem;
    text-transform: uppercase;
}
.card-heading{
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.lorem-card{
    text-align: center;
    margin-bottom: 1rem;
}
.btn-card{
    text-align: center;
}
.btn-card>a{
    text-decoration: none;
    color: #2b2b2c;
    font-size: 15px;
}


}
@media only screen and (max-width:720px) {
    .items>li>a>i{
     display: none;
    } 
    .items{
     display: none;
    }
    .search{
        height: 19vh;
       }
       .cross{
        right: 3vh;
       }
    .hamburg{
     display: block;
    }
    .fa-magnifying-glass{
     font-size: 24px;
    }
    .hero-content{
     display: none;
    }
    .hamburg>i{
     font-size: 24px;
    }
  .hero-para{
     display: none;
  }
  .hero-heading{
     display: none;
  }
  .lorem-hero{
     display: none;
  }

  .btn{
     display: none;
  }
  .card{
    display: block;
     padding: 20px;
     width: 50%;
     height: 58vh;
     position: absolute;
     top: 32vh;
     left: 30vw;
     background-color: #fff;
     box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }
  .card-para{
     margin-top: 40px;
     text-align: center;
     margin-bottom: .7rem;
     text-transform: uppercase;
 }
 .card-heading{
     text-align: center;
     margin-bottom: 1rem;
     font-size: 1.2rem;
 }
 
 .lorem-card{
     text-align: center;
     margin-bottom: 1rem;
 }
 .btn-card{
     text-align: center;
 }
 .btn-card>a{
     text-decoration: none;
     color: #2b2b2c;
     font-size: 15px;
 }
 
 
 }

 @media only screen and (max-width:560px) {
    .items>li>a>i{
     display: none;
    } 
    .items{
     display: none;
    }
    .search{
        height: 19vh;
       }
       .cross{
        right: 1vh;
        top: 15vh;
        position: absolute;
       }
    .hamburg{
     display: block;
    }
    .fa-magnifying-glass{
     font-size: 24px;
    }
    .hero-content{
     display: none;
    }
    .hamburg>i{
     font-size: 24px;
    }
  .hero-para{
     display: none;
  }
  .hero-heading{
     display: none;
  }
  .lorem-hero{
     display: none;
  }
  .btn{
     display: none;
  }
  .card{
    display: block;
     padding: 20px;
     width: 60%;
     height: 76vh;
     position: absolute;
     top: 32vh;
     left: 30vw;
     background-color: #fff;
     box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }
  .card-para{
     margin-top: 40px;
     text-align: center;
     margin-bottom: .7rem;
     text-transform: uppercase;
 }
 .card-heading{
     text-align: center;
     margin-bottom: 1rem;
     font-size: .9rem;
 }
 
 .lorem-card{
     text-align: center;
     margin-bottom: 1rem;
 }
 .btn-card{
     text-align: center;
 }
 .btn-card>a{
     text-decoration: none;
     color: #2b2b2c;
     font-size: 15px;
 }
 
 
 }

 @media only screen and (max-width:400px) {
    .items>li>a>i{
     display: none;
    } 
    .items{
     display: none;
    }
    .hamburg{
     display: block;
    }
    .fa-magnifying-glass{
     font-size: 24px;
    }
    .hero-content{
     display: none;
    }
    .hamburg>i{
     font-size: 24px;
    }
  .hero-para{
     display: none;
  }
  .hero-heading{
     display: none;
  }
  .lorem-hero{
     display: none;
  }
  .btn{
     display: none;
  }
  #hero{
    height: 150vh;
  }
  .card{
    display: block;
     padding: 20px;
     width: 60%;
     height: 70vh;
     position: absolute;
     top: 32vh;
     left: 30vw;
     background-color: #fff;
     box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }
  .card-para{
     margin-top: 40px;
     text-align: center;
     margin-bottom: .7rem;
     text-transform: uppercase;
 }
 .card-heading{
     text-align: center;
     margin-bottom: 1rem;
     font-size: .3rem;
 }
 
 .lorem-card{
     text-align: center;
     margin-bottom: .3rem;
 }
 .btn-card{
     text-align: center;
 }
 .btn-card>a{
     text-decoration: none;
     color: #2b2b2c;
     font-size: 15px;
 }
 
 
 }
@media only screen and (max-width:840px){
  .navigation{
  gap: 40px;
  justify-content: space-around;
    
  }
  .link-lists{
    gap: 20px;
  }
  
}

/* sec 1 */
.container{
    padding: 5%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 50px;
}
.cont-img>img{
   max-width: 100%;
   height: auto;
}
.d-links>a{
    color: #63676a;
    font-weight: 300;
    text-decoration: none;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    line-height: 1.455;
}
.line>a{
    color: #63676a;
    font-weight: 300;
    text-decoration: none;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    line-height: 1.455;  
}
.line>a>b{
    font-size: 13px;
    color: black;
}
.cont-title{
    margin-top: 3px;
}
.cont-title>a{
    color:black;
    text-decoration: none;
    font-weight: 500;

}

.cont-para>p{
    font-size: 16px;
    line-height: 1rem;
    color: black;
    margin-bottom: 1rem;
}

.link-last{
    text-decoration: none;
    color: black;
}
.link-last:hover{
margin-top: 1rem;
 border-bottom: 2px solid black;
}

.pagination {
    text-align: center;
    margin-top: 2rem;
}

.pagination a {
    color: #000000;
    padding: 8px 16px;
    text-decoration: none;
    /* border: 1px solid #000000; */
    margin: 0 5px;
    border-radius: 4px;
}
.wrapper-pag{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
}
.pagination a:hover {
    background-color: #000000;
    color: white;
}
#active{
    background-color: #000000;
    color: white;
}

.pagination .active {
    background-color: #000000;
    color: white;
}
@media only screen and (max-width:1000px) {
    .container{
        padding: 5%;
        display: grid;
        grid-template-columns: 1fr 1fr ;
        /* gap: 50px; */
    } 
}
@media only screen and (max-width:500px) {
    .container{
        padding: 5%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 50px;
    } 
    .pagination #not{
        display: none;
    }
}


/* footrer */
.foot-container{
    background-color: #e8ebee;
    width: 100%;
    height: 120vh;
}
.foot-content{
    padding: 5rem;   
}
.foot-content>h2{
    text-align: center;
    font-size: 3rem;
    font-family: "Inter", sans-serif ;
    font-weight: 300;
    font-family: 'Castoro';

}
.foot-content>p{
    text-align: center;
    font-size: 1.2rem;
    font-family: "Inter", sans-serif ;
    font-weight: 200;
    color: #57585a;
    font-family: 'Castoro'; 
}
.foot-input{
    padding: 2px;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.email-input{
    text-align: start;
    padding: 20px 250px;
    border: 0;
    outline: 0;
    display: block;
    appearance: none;
    background-color: white;
   
}
.email-input[placeholder]{
  text-align: start; 
}
.in{
    display: flex;
    flex-direction: column;
}
.email-input:hover{
    border: 2px solid #587491;
}
.btn-foot{
padding: 20px 30px;
display: block;
background-color: black;
color: white;
border: 0;
font-size: 14px;
letter-spacing: .35em;
text-transform: uppercase;
font-weight: 600;
}
.btn-foot:hover{
background-color: hsla(176, 93%, 24%, 1);
}

.foot-content-wrapper{
    padding: 90px;
}
.row-main{
    margin-left: 180px;
    width: 90%;
   display: grid;
   gap: 150px;
   grid-template-columns: 3fr 1fr 1fr;
}
.column1{
    width: 100%;
}
.column1>h4{
    margin-bottom: 1rem;
    font-family: 300;
    font-size: 19px;
    color: #2b2b2c;

}
.links-col2{
    display: flex;
    flex-direction: row;
    gap: 70px;
    justify-content: center;
    align-items: center;
}
.links-col>h4{
    font-size: 16px;
    margin-bottom: 1rem;
    font-weight: 400;
    color: black;
}
.column-2-3>h4{
    font-size: 16px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-weight: 400;
    color: black;
}
.link-list>li{
list-style: none;
margin-bottom: .4rem;
}
.link-list>li>a{
    text-decoration: none;
    color: #57585a;
   
}

.footer-last{
   display: flex;
   align-items: center;
   justify-content: space-around; 
}
.icons-foot{
    display: flex;
    align-items: center;
    gap: 15px;
}
#ii{
    font-size: 26px;
    color: black;
}
.icons-foot>li{
    list-style: none;
}
#link-last{
    text-decoration: none;
    color: rgb(19, 19, 19);
}
#link-last2{
    text-decoration: none;
    color: rgb(19, 19, 19);
}
#cpy{
    color: #413b3b;
}
#sp{
    color: #413b3b;  
}
@media only screen  and (max-width:1100px) {

    .foot-container{
        background-color: #e8ebee;
        width: 100%;
        height: 190vh;
    }
    .email-input{
        text-align: start;
        padding: 20px 160px;
        border: 0;
    }  
    .btn-foot{
        padding: 20px 30px;
        display: block;
        }

        .row-main{
            margin-left: 0;
           grid-template-columns: 1fr;
           gap: 100px;
        }
        .links-col2{
            display: flex;
            flex-direction: row;
            gap: 180px;
            justify-content: center;
            align-items: center;
            margin-left: 0;
        }
        .footer-last{
            margin-top: 5rem;
            display: flex;
            align-items: center;
            justify-content: space-around; 
            flex-direction: column;
            gap: 60px;
         }

}

@media only screen  and (max-width:730px) {
    .email-input{
        text-align: start;
        padding: 20px 90px;
        border: 0;
    }  
    .btn-foot{
        padding: 20px 20px;
        display: block;
        }

        .row-main{
            margin-left: -120px;
           grid-template-columns: 1fr;
           gap: 100px;
        }
        .links-col2{
            display: flex;
            flex-direction: row;
            gap: 120px;
            justify-content: center;
            align-items: center;
            margin-left: -10px;
        }
        .footer-last{
            margin-top: 5rem;
            display: flex;
            /* align-items: center; */
            /* justify-content: space-around;  */
            flex-direction: column;
            gap: 60px;
            margin-left: -140px;
         }
}

@media only screen  and (max-width:500px) {
    .email-input{
        text-align: start;
        padding: 14px 40px;
        border: 0;
    }  
    .btn-foot{
        padding: 14px 10px;
        display: block;
        letter-spacing: 0em;
        }

        .footer-last{
            margin-top: 5rem;
            display: flex;
            /* align-items: center; */
            /* justify-content: space-around;  */
            flex-direction: column;
            gap: 60px;
            margin-left: -140px;
         }
}