@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700;900&family=Open+Sans:wght@300;400;500;600;700&display=swap');


*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style-type: none;
    text-decoration: none;
}

h1,h2,
h3,h4,
h5,h6{
    font-family: 'Merriweather', sans-serif;
    font-weight: 700;
}

p {
    font-family: 'Open Sans', sans-serif;

}

body {
    padding-top: 4rem ;
    padding-left: 4rem;
    padding-right: 4rem;
    padding-bottom: 2rem;
    scrollbar-width: none;

}



/*all index css start*/



/*all nav links start*/
header {
    max-width: 100%;
    height: 100%;
    background-color: #ffffff;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 7rem;
    background-color: #ffffff;

}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}



.nav li {
    display: inline-block;
    padding: 0 1rem;

}


.nav li a {
    color:  #151411;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    position: relative;
    
}

nav ul li .link {
    color: #FFB23F;
    
}
nav ul li .link::after {
  content: "";
  color: #FFB23F;
  width: 10%;
  height: 3px;
  background: #FFB23F;
  position: absolute;
  bottom: -5px;
  left: 5px;
  
}

.nav li a:hover {
    color: #FFB23F;
    transition: ease-in 0.5s;
}


.nav li a::after {
    content: '';
    bottom: -6px;
    height: 3px;
    width: 0;
    background: #FFB23F;
    position: absolute;
    left: 0;
    transition: 0.7s;
}

.nav li a:hover::after {
    width: 100%;
}

.nav-icons {
    margin-left: 15rem;
    cursor: pointer;
   
}

.nav-icon-1 {
    margin: 0 1rem;

}

.nav-icon-1:hover {
    opacity: 0.4;
}

.nav-icon-2:hover {
    opacity: 0.4;
}


.mobile {
    display: none;
}

.close {
    display: none ;
    cursor: pointer;
}

/*all nav links end*/




/*hero start*/
.hero-container {
    margin-bottom: 5rem;
    max-width: 100%;
    height: 100%;
    

}

.hero-container h1{
    font-size: 3rem;
    text-align: center;
    color: #151411;
    font-weight: 600;
    line-height: 5rem;
    
}

.hero-container p{
    line-height: 2.5rem;
    text-align: center;
    color: #AFADB5;
    font-weight: 500;
    font-size: 1.3rem;
    margin: 2.5rem 0;
}


/*hero end*/


/*all articles start*/

article{
    max-width: 100%;
    height: 100%;
    margin-bottom: 6rem;

}

 .container{
    display: flex;
    text-align: start;
    justify-content: center;
    align-self: flex-start;
    width: 100%;
    font-size: 1.2rem;
    color: #AFADB5;
    font-weight: 500;
    line-height: 2rem;
    margin-bottom: 4rem;
 
}

.container .left{
    margin-right: 1.7rem;

}

article h3{
    color: #151411;
    margin-bottom: 1rem;
    text-align: start;
    font-weight: 600;
}

.bed-img{
    margin-bottom: 3rem;
}

/*all articles end*/


/*similiar articles start*/

main {
    max-width: 100%;
    height: 100%;
    margin-bottom: 10rem;
}

main p.title{
    color: #FFB23F;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}


main h2{
    color: #080807;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 4rem;
    text-align: center;
}

.similiar-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6rem;

}

.similiar-container .col-3:hover{
    box-shadow: 0px 4px 100px rgba(175, 173, 181, 0.06);
    cursor: pointer;
}

.similiar-container p{
    color: #AFADB5;
    margin: 0.8rem 0;
    font-size: 1rem;
    font-weight: 500;
}



.similiar-container h3{
    margin: 1rem 0;
    font-size: 1.2rem;
}

.profile-details{
    display: flex;
    align-items: start;
    margin-top: 1.5rem;
}

.profile-details p{
    font-size: 0.8rem;
}

.profile-details h4{
    font-size: 1rem;
}

.profile-name{
    margin-left: 1rem;
    font-weight: 500;
}

/*similiar articles end*/


/*interested personnels start*/
.discount {
    max-width: 100%;
    height: 100%;
    margin-bottom: 7rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  
}

.discount .col-2 h1 {
    color: #151411;
    font-size: 2rem;
}

.discount-img {
    margin: 0 0.5rem;
}

.search-btn {
    padding: 0.7rem 1.5rem;
    background-color: #da8b14;
    border: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: ease-in 0.2s;
}

.search-btn:hover {
    opacity: 0.5;
}


#line {
    margin: 2rem 0;
    color: #ECE4DE;
    width: 100%;
}
/*interested personnels end*/



/*footer starts*/
footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
    margin-top: 4rem;
    height: 100%;
    max-width: 100%;

  }

  .logo p{
    color: #151411;
    font-weight: 500;
    margin-top: 1rem;
    line-height: 1.7rem;
    font-size: 1.1rem;

  }

.footer-links {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    align-items: start;
 
  }

  .footer-links h4 {
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.2rem;
    color: #151411;
  }

  .footer-links ul li {
    margin: 1rem 0;
    font-weight: 500;
    font-size: 1.2rem;
    font-style: normal;
    cursor: pointer;
    transition: ease-out 0.3s;
  }
  
  .footer-links ul li:hover {
    color: #FFB23F;
  }

  .Developer {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #080807;
    margin: 0;
  }
/*footer ends*/



@media only screen and (max-width: 600px) {

    body {
        padding: 2rem;
    }

    body br {
        display: none;
      }
     
.nav {
    position: absolute; 
    top: 90px;
    left: 80px;
    background: #da8b14;
    height: 70vh;
    z-index: 999;
    width: 330px;
    font-weight: 600;
    justify-content: center;
    padding-left: 2rem;
    align-items: flex-start;
    flex-direction: column;
    box-shadow: 0px 4px 100px rgba(175, 173, 181, 0.184);
    transition: ease-in-out.5s;

 }


.nav li {
  padding: 0.5rem;
  margin-bottom: 2rem;
  display: block;

 }

.nav ul li a {
    color: #ffffff;
    font-size: 1.3rem;
    letter-spacing: 3px;
   
  }

      .nav-icons {
        margin-left: 0;
        color: #ffffff;
      }

      .mobile {
        display: block;
        cursor: pointer;
    
    }

    .close {
        display: block;
        font-size: 2.2rem;
        position: absolute;
        cursor: pointer;
        top: 20px;
        left: 40px;
    }

    .hero-container{
        max-width: 100%;
        height: 100%;

    }

    .hero-container h1{
        font-size: 1.5rem;
        line-height: 2.5rem;
    }
    
    .hero-container p{
        line-height: 1.5rem;
        text-align: start;
        font-size: 1rem;
        margin-top: 1.3rem ;
        margin-bottom: 3rem;
        
    }

    
article{
    max-width: 100%;
    height: 100%;
    margin-bottom: 5rem;

}

 .container{
    flex-wrap: wrap;
    width: 100%;
    font-size: 1rem;
    line-height: 2rem;
    margin-bottom: 1.5rem;
 
}

.container .left{
    margin-right: 0;
    margin-bottom: 2rem;

}

.container img{
    width: 100%;
}

 
    .search-btn {
    font-size: 0.7rem;
    padding: 0.3 0.5rem;
    }

    .img  {
        width: 100%;
        height: 100%;
    }

    
    .search-btn:nth-child(4) {
      width: 100%;
      font-weight: 600;
    }


    
main {
    max-width: 100%;
    height: 100%;
    margin-bottom: 10rem;
}

main p.title{
    font-size: 1rem;
    margin-bottom: 1rem;
}


main h2{
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.similiar-container{
    flex-wrap: wrap;
    gap: 3rem;
}

.similiar-img{
    width: 100%;
}

.similiar-container p{
    margin: 0.6rem 0;
    font-size: 0.8rem;
}

.similiar-container h3{
    margin: 0.5rem 0;
    font-size: 1rem;
}

.profile-details{
    margin-top: 1rem;
}

.profile-details p{
    font-size: 0.7rem;
}

.profile-details h4{
    font-size: 0.7rem;
}

.profile-details img{
    width: 15px;
}

.profile-name{
    margin-left: 1rem;
}

   .discount {
    max-width: 100%;
    height: 100%;
    flex-wrap: wrap;
    margin-bottom: 4rem;
  
}

.discount .col-2 h1 {
    font-size: 1.7rem;
    text-align: start;
    margin-bottom: 1rem;
}

.discount-img {
    margin: 0 0.2rem;
    width: 15px;
}


footer {
    flex-wrap: wrap;
    height: 100%;
    max-width: 100%;
    justify-content: flex-start;
    align-items: start;
 

  }

  .logo p{
    color: #AFADB5;
    font-weight: 500;
    margin-top: 1rem;
    line-height: 1.7rem;
    font-size: 0.8rem;
    
  }

.footer-links {
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    height: 100%;
    gap: 2rem;
    align-items: start;
    margin-top: 2rem;
    flex-direction: row;
 
  }

  .footer-links h4 {
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1rem;
    color: #151411;
  }

  .footer-links ul li {
    margin: 1rem 0;
    font-weight: 500;
    color: #AFADB5;
    font-size: 0.8rem;
    font-style: normal;
    cursor: pointer;
    transition: ease-out 0.3s;
  }
  
  .footer-links ul li:hover {
    color: #518581;
  }

  .Developer {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 500;
    color: #080807;
    
  }


    
  }
