:root{
    --primarycolor:rgb(9, 9, 36);
    --secondarycolor:#a9a9a9;
    --btncolor1:#b4b4f6;
    --tetiarycolor: #ffffff;
}
@font-face {
    font-family:poppinsbold ;
    src: url(../font/Poppins-Bold.ttf);
}
@font-face {
    font-family: poppins-light;
    src: url('../font/Poppins-Light.ttf');
}
*{
    margin:0;
    padding: 0;
    box-sizing: border-box; 
    font-family: poppins-light; 
  
}
body{
    overflow-x: hidden;
}
h1{
    font-family: poppinsbold, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
i {
    padding-right: 5%; 
}
.fa-bars{
    font-size: 2rem;
    color: var(--secondarycolor);
}
.fa-close{
    font-size: 2rem;
    color: red;
}
.active{
    color: goldenrod;
}
.fa-user{
    color:#74de0a;
    padding-bottom: 3%;
}

/* Navigation*/
.small-screen-menu{
    height: 0;
    /* overflow: hidden; */
    transition: height 2s ease-in-out;
}
.nav-container{
    width: 100%;
    height: 12vh;
    display: flex;
    justify-content: center;
    gap: 1%;
    padding-bottom: 1%;
    background-color: var(--primarycolor) ;
    font-weight: 700;
    padding-top: 0.4%;
    overflow-x: hidden;
    
  
}

.nav-container ul li{
    width: 100%;
    list-style-type: none;
    margin-top: 0.8%;
  
}
.nav-container a{
    text-decoration: none;
    color:var(--secondarycolor);
    
    
}

.navlist{
    display: flex;
    justify-content: center;
    gap: 0.1%;
    width: 70%;
    margin-top:0.5%;
    margin-left: 10%;
   

}
.navlist a{
    font-size: 1.1rem;
    
}
.navlist a:hover{
    border-bottom: 2px solid var(--secondarycolor);
}
.navlist a:active{
    color: var(--tetiarycolor);
}
.login{
    width: 400px;
    height:10vh;
    margin-top:-5px;
    margin-right: 20px;
    font-size: 1.2rem;

}
/* .login li{
  
  
} */
.login li{
    padding-top:15px;
}
.login li a{
    color:var(--secondarycolor);
   
}
.login li a:hover{
 border-bottom: 2px solid var(--secondarycolor);
}
.login li:active{
    color: green;
}
.logo{
    width: 700px;
    height: 10vh;
    margin-left: 2%;
}
.logo li img{
    width: 100%;
    height: 15vh;
    margin-top: -20px;
    object-fit: cover;
    

}
/* for hiding menu list in large screens */
.hideclass{
    /* display: none; */
    height: 0;
    overflow: hidden;
}

/* for hiding menubar in large screens */
.menubtn{
    display: none;
    
}

/* Hero heading */
.hero-section{
    display: flex;
}
.herotitle{
    margin:100px 40px;
    color: var(--primarycolor);
    width: 40%;
    
}
.herotitle h1{
    margin-bottom: 0;
    font-size: 3.5rem;
}
.herotitle span{
    font-size: 2.5rem;
    margin-top: 0;
   
}
.herotitle p{
    font-size: 1.4rem;
    line-height: 2rem;
    color: var(--primarycolor);
    margin-top: 3%;
}

/* hero img */
.hero-img{
   min-width: 50%;
   max-height: 75vh;
   margin-top: 8%;
   margin-right: 1%;
   border: 3px solid var(--secondarycolor);
   border-radius: 30px;
   box-shadow: 5px 10px 10px var(--btncolor1);
   transition: translate-y(25deg), ease-in 1s;
   margin-bottom: 40px;
}
/* hero slide buttons */
.slidebtns{
    margin-left: 2%;
    margin-top: 2%;
   
    
}
.slidebtns .slidebtn{
    width: 0.8rem;
    height: 0.8rem;
    margin-right: 5px;
    border-radius: 50%;
    
}
.activeslide{
    border: 3px solid var(--primarycolor);
    background-color: var(--secondarycolor);
}

/* Hero rent now button */
.hero-btn{
    margin-top: 20px;
    width: 100px;
    height: 40px;
    padding: 5px;
    font-size: 18px;
    color:var(--secondarycolor);
    background-color: var(--primarycolor);
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}
.hero-btn:hover{
    background-color: var(--secondarycolor);
    color: var(--primarycolor);
    font-weight: 700;
}
.hero-btn:active{
    background-color: green;
}

/* featured cards */
.featured-heading{
    font-size: 2rem;
    margin-top: 5%;
    margin-bottom: 5%;
    padding-left: 1.5%;
    color: var(--primarycolor);
}

.featured-cards{
    width: 90%;
    margin:2% auto;
    background-color: var(--secondarycolor);
    border: none;
    border-radius: 10px;
    
}
.featured-imgs{
    margin-top: 2%;
}

.featured-cards-main-img{
    width: 70%;
    margin: 0 auto;
   
}
.mainimg{
    width: 100%;
    height: 25vh;
    border: none;
    border-radius: 10px;
}
.mainimg:hover{
    width:110%;
    opacity: 0.8;
    cursor: pointer;
}
.submain-imgs{
    display: flex;
    width: 80%;
    margin: 5px auto;
}
.featured-cards-img2 img{
    width: 80%;
    margin-top: 10px;
}
.featured-cards-img2 :hover{
    width:100%;
    opacity: 0.8;
    cursor: pointer;
}

.featured-texts{
    width: 80%;
    margin: 15px auto;
    color:var(--primarycolor)
}

.featured-class-description{
    margin-top: 20px;
    padding: 15px;
    border-radius: 5px;
    background-color: var(--tetiarycolor);
}
/* container for the desription on what the website is about */
.description-holder{
    position: relative;
    width: 100%;
    background: url('../sitepictures/room3.jpeg');
    background-repeat: no-repeat;
    background-size: auto;
    background-position-y:50% ;
}
.description-holder::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);  
}
.outline{
    width: 100%;
    padding: 2%;
}
.spaces-card{
    display: relative;
    width: 100%;
    z-index: 1;
    transition: all 1s ease-in;
    
}

.spaces-card-content{
    color: white;
 }
.spaces-card-content img{
    width: 95%;
    height: 40vh;
    border-radius: 8px;
    margin-bottom: 6%;
}
.spaces-card-content img:hover{
    opacity: 0.5;
}
.spaces-card-content h2{
    margin-bottom: 6%;
    font-size: 1.5rem;
}
.spaces-card-content p{
   font-size: 1rem;
   letter-spacing: 0.9;
}
.search-spaces{
    margin-left: 7%;
}

.its-a-community{
    margin-left: 7%;
}
.its-a-community p{
    margin-top: 5%; 
}

.readmore1,.readmore2,.readmore3{
    height: 0;
    overflow: hidden;
    transition:all 1.5s ease-in-out;
}
.uploads:hover h2{
    color: gold;
}
.uploads:hover .readmore1{
    height: 50vh;
}
.search-spaces:hover .readmore2{
    height: 50vh;
}
.search-spaces:hover h2{
    color: gold;
}

.its-a-community:hover h2{
    color:gold
}
.its-a-community:hover .readmore3{
    height: 50vh;
}
.spaces-card-content button{
    display: none;
    padding: 1%;
    background-color: var(--primarycolor);
    color: white;
}


/* .......................Mobile Screen sizes...................................... */
    /*................. 1000px and above.................... */
@media screen and (min-width:1000px){
    .navlist{
        gap: 1%;
        width: 400%;
        margin-top:0.5%;
}
   

}

/* .......................1000px and below............................................ */
@media screen and (max-width:1000px){
    .nav-container{
        width: 100%;
        height: 10vh;
        display: flex;
        justify-content: center;
        gap: 1%;
    
    }
.hero-img{
    margin-top: 130px;
}
.login{
    width: 500px;
    height:10vh;
    margin-top:-5px;
    margin-right: 20px;
}

.logo{
    width: 1650px;
    height: 10vh;
    margin-left: 0;
 
}
.logo li img{
    width: 100%;
    height: 15vh;
    margin-top: -80px;
}

  
    .navlist{
        gap: 1%;
        width: 500%;
        margin-top:0.5%;
     
    
    }
   
    .description-holder::after{
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.6);  
    }
} 



/* .......................850px and below............................................ */
@media screen and (max-width:850px) {
    .navlist{
        gap: 0.5%;
        width: 400%;
        margin-top:0.5%;
        
    }
    .navlist li{
        width: 150%;
    }
    .navlist li a{
        font-size:0.85rem;
        
    }
    .logo li img{
        width: 100%;
        height: 15vh;
        margin-top: -70px;
    }
    
      
.spaces-card-content{
    width: 90%;
    margin: 0 auto;
}
.search-spaces{
    margin-left: 0;
}
.its-a-community{
    margin-left: 0;
}
}
/* .......................768px and below............................................ */
@media screen and (max-width:768px){
    .logo li img{
        width: 100%;
        height: 15vh;
        margin-top: -55px;
    }
    .login{
      
        margin-right: 3px;
    }
    .logo{
        margin-left:-2px ;
    }
}
/* .......................752px and below............................................ */
@media screen and (max-width:752px){
    .navlist li{
        width: 100%;
    
    }
    .navlist{
        gap: 0.1%;
        width: 500%;
        margin-top:0.5%;
        /* background-color: red; */
        
    }
    .login{
        width: 500px;
        height:10vh;
        margin-top:-5px;
        margin-right: 5px;
    }
 
    .logo{
        width: 700px;
        height: 10vh;
        margin-left: 1%;
     
    }
    .logo li img{
        position: relative;
        width: 150px;
        height: 15vh;
        margin-top: -40px;
        z-index: 100;
    }
    
    .navlist li a{
        font-size:0.90rem;   
    }
    
}



/* .......................723px and below............................................ */
@media screen and (max-width:723px){
  
    .navlist{
        display: none;
    }
    .menubtn{
        display: block;
        position: absolute;
        width: 15%;
        padding: 0.5%;
        margin-top: 0.5%;
        background: none;
        outline: none;
        border: none;
        
    }
    .logo{
        width: 200px;
        height: 10vh;
        margin-right:300px ;
    }
    .logo li img{
        width: 120px;
        height: 10vh;
        margin-top: -22px;
        object-fit: cover;
    }
    .login{
        min-width: 100px;
        margin-top:-10px;
        text-align: right;
       
    }
    .login li{
        width:50px;
        margin-top: -22px;
    }
  
    
    .hero-img{
        margin-bottom: 10%;
        margin-top: 10%;
        height: 70vh;
    
    }
   .fa-user{
    font-size: 1.2rem;
   }
    .nav-container{
        height: 6vh;
    }
    /* drop down menu */
.small-screen-menu{
    width: 100%;
    height: 0;
    overflow: hidden;
    margin-top: 45px;
   padding-bottom:1%;
   position: absolute;
   background-color: var(--primarycolor);
   transition: height 1s ease-in-out; 

}

  
.small-screen-menu li{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 0.6%;
    margin-left: 20px;
      
}
.small-screen-menu li a{
    font-size: 1.1rem;
    width: 150px;
    padding-top: 10px;
    padding-bottom: -10%;
    margin-left: 50px;
    

}
.small-screen-menu li a:hover{
    border-bottom: 2px solid var(--secondarycolor);
}
@media screen and (max-width:789px){
        .navlist{
            gap: 0.5%;
            width: 900%;
            margin-top:0.5%;
            
        }
        .navlist li{
            width: 200%;
        }
        .navlist li a{
            font-size:0.78rem;
            
        }
}

/******************** Hero section***************************** */
.hero-section{
    display: block;
}
.herotitle {
    width: 80%;
    margin:1% auto;
    text-align: center;
}

.herotitle h1{
    margin-bottom: 0;
    font-size: 3.5rem;
}
.herotitle span{
    font-size: 3rem;
    margin-top: 0;
   
}
.herotitle p{
    font-size: 1.5rem;
    line-height: 1.5rem;
    color: var(--primarycolor);
    margin-top: 20px;
}

/* hero img */
.hero-img{
    min-width: 50%;
    min-height: 40vh;
   margin-top: 5%;
   border: 3px solid var(--secondarycolor);
   border-radius: 10px;
   box-shadow: 5px 10px 10px var(--btncolor1);
   transition: translate-y(25deg), ease-in 1s;
}

.featured-heading{
    font-size: 1.5rem;
    margin-top: 15%;
    margin-bottom: 10%;
    padding-left: 1.5%;
    color: var(--primarycolor);
 
}
    /*===============read more buttons==========  */
   
    /* .spaces-card img{
        margin: 0 2%;
    } */
    .spaces-card-content{
        width: 90%;
        margin: 0 auto;
    }
    .spaces-card-content button{
        display: none;
    }
    .read-more-btn1:hover .readmore1{
        height: 50vh;
    }
    .read-more-btn1:hover{
        opacity:0;
    }
    .read-more-btn2:hover .readmore2{
        height: 50vh;
    }
    .read-more-btn2:hover{
        opacity:0;
    }
    .read-more-btn3:hover .readmore3{
        height: 50vh;
    }
    .read-more-btn3:hover{
        opacity: 0;
    }
    .search-spaces{
        margin-left: 0;
    }
    
    .its-a-community{
        margin-left: 0%;
    }
}




/* .......................560px and below............................................ */
@media screen and (max-width:560px){
    .logo{
        margin-right:200px ;
    }
}


@media screen and (max-width:429px){
    .logo{
        width: 200px;
        height: 10vh;
        margin-right:100px ;
    }
.hero-img{
    margin-bottom: 10%;
    margin-top: 10%;
}
}

/* .......................333px and below............................................ */
@media screen and (max-width:333px){

.hero-img{
    margin-bottom: 10%;
    margin-top: 10%;
}
.smlscreen-navlist li a{
    width: 40%;
   
} 
.logo{
    width: 200px;
    height: 10vh;
    margin-right:50px ;
}
.spaces-card-content h2{
    font-size: 1.2rem;
}
.spaces-card-content p{
   font-size: 0.8rem;
   letter-spacing: 0.9;
}
}
/* .......................350px and below............................................ */
@media screen and (max-width:350px){
    .small-screen-menu{
        margin-top: 16%;
    }
    .hero-img{
        margin-bottom: 10%;
        margin-top: 10%;
    }
    .uploads:hover .readmore1{
        height: 50vh;
    }
    .search-spaces:hover .readmore2{
        height: 50vh;
    }
   
    .its-a-community:hover .readmore3{
        height: 50vh;
    }
    
}
/* .......................310px and below............................................ */
@media screen and (max-width:310px){
     .menubtn i{
        font-size: 1.8rem;
        width: 15%; 
    }
    
   
.herotitle h1{
    font-size: 2.5rem;
}
.herotitle span{
    font-size: 1.5rem;
}
.herotitle p{
    font-size: 1rem;
}  
.login li a{
    font-size:1rem
} 
}


/* ..........................height........................... */
/* ...................screen max-height 1200px................. */
/* @media screen and (max-height:1200px){
    .nav-container{
        height: 7vh;
        padding-top: 5px;
       }
} */
/* ...................screen max-height 740px................. */
@media screen and (max-height:740px){
    .small-screen-menu{
        margin-top: 38px;
       }
}
/* ...................screen max-height 400px................. */
@media screen and (max-height:600px){
   .nav-container{
    height: 12vh;
   }
    .logo{
        width: 30px;
        height: 10vh;
        margin-right:100px ;
    }
    .logo li img{
        margin-top: -12px;
    }
}
/* ...................screen max-height 400px................. */
@media screen and (max-height:400px){
   .nav-container{
    height: 12vh;
   }
   .small-screen-menu{
    margin-top: 41px;
   }
    .logo{
        width: 200px;
        height: 10vh;
        margin-right:100px ;
    }
    .logo li img{
        margin-top: 2px;
    }
}
    /* .......................600px and below............................................ */
    @media screen and (max-height:600px){
        .logo{
            width: 200px;
            height: 10vh;
            margin-right:100px ;
        }
        .logo li img{
        width: 150px;
            margin-top: -15px;
        }
        .login{
            width: 600px; 
        }
        .navlist{
            width: 350%;
            margin-left: 1px;
        }
    }
    