*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body{
     background-color: beige;
}



nav{
    display: flex;
    justify-content: space-between;
   width: 100%;
   padding: 1rem 3%;
   height: 20vh;
   position: sticky;
    top: 0;
    z-index: 1000;
   background: white;
   border-bottom: 1px solid rgb(179, 214, 243);
   backdrop-filter: blur(30px); 
   box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}

.Logo{
    width: 6rem;
    border-radius: 10px;
    
}
.nav-links{
    list-style: none;
    display: flex;
    gap: 2rem;
    padding: 2rem;
}

.nav-links li a{
    text-decoration: none;
    color: black;
    font-size: 1.2rem;
    position: relative;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 1px;
    transition: 0.1s ease-out;
}

.nav-links li a:hover{
     border-bottom: 2px solid brown;
     background-color: aliceblue;
     padding: 1rem;
}



.sidebar{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.39);
    backdrop-filter: blur(30px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    list-style: none;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2rem;
    padding: 2rem;
}



.sidebar li a{
    text-decoration: none;
    color: black;
    font-size: 1.2rem;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: 1px;
    transition: 0.1s;
  
}



.sidebar li a:hover{
     padding: 1rem;
     background-color: rgb(115, 115, 139);

}




 .menu{
    margin: 1.3rem;
 }
/* =========================================================
   HERO / BACKGROUND SLIDESHOW
   ========================================================= */
.main {
    height: 400px;
    background-image: url(../Images/ivory3.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}



/* Hero text container */
.hero-section {
    width: 100%;
    position: absolute;
}

/* Hero headline */
.p1 {
    margin-top: 10%;
    margin-left: 2%;
    font-size: 3rem;
    font-weight: 1000;
   font-family: 'Times New Roman', Times, serif;
    font-weight: 100%;
    color: rgb(19, 19, 241);
}




.content{
    text-align: left;
    background-color: beige;
    margin: 3rem;
}
.text h2{
    font-size: 30pt;
    padding: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
}

.text p{
    font-size: 15pt;
    padding: 1rem;
}


.second{
    display: grid;
}


.ss2,.ss3,.ss8,.ss5,.ss6,.ss7,.ss4{
    display: grid;
}



.second-tier h3{
    font-size: 20pt;
    margin: 0.3rem;
    padding: 1rem;
    background-color: burlywood;
    width: 300px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}


.ss2 li{
    font-style: italic;
     padding: 1rem;
}





.First-tier h3{
    font-size: 20pt;
    margin: 0.3rem;
    padding: 1rem;
    background-color: burlywood;
    width: 400px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}


.ss3 li{
    font-style: italic;
     padding: 1rem;
}





.eigth-tier h3{
    font-size: 20pt;
    margin: 0.3rem;
    padding: 1rem;
    background-color: burlywood;
    width: 400px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}


.ss8 li{
    font-style: italic;
     padding: 1rem;
}




.fourth-tier h3{
    font-size: 20pt;
    margin: 0.3rem;
    padding: 1rem;
    background-color: burlywood;
    width: 400px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}


.ss4 li{
    font-style: italic;
     padding: 1rem;
}



.fifth-tier h3{
    font-size: 20pt;
    margin: 0.3rem;
    padding: 1rem;
    background-color: burlywood;
    width: 400px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}


.ss5 li{
    font-style: italic;
     padding: 1rem;
}





.sixth-tier h3{
    font-size: 20pt;
    margin: 0.3rem;
    padding: 1rem;
    background-color: burlywood;
    width: 400px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}


.ss6 li{
    font-style: italic;
     padding: 1rem;
}


.seventh-tier h3{
    font-size: 20pt;
    margin: 0.3rem;
    padding: 1rem;
    background-color: burlywood;
    width: 400px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}


.ss7 li{
    font-style: italic;
     padding: 1rem;
}




.book{
    font-size: 20pt;
    margin: 0.3rem;
    text-decoration: none;
    color: black;
    padding: 1rem;
    background-color: burlywood;
    width: 400px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}














.footer{
    margin-top: 30px;
    width: 100%;
    text-align: center;
    padding: 7px;
    background-color: rgb(36, 29, 21);

}

.footer h4{
    margin-bottom: 5px;
    margin-top: 5px;
    font-weight: 600;
    color: blanchedalmond;
    
}

.footer p{
    color: blanchedalmond;

}


.p5{
    margin-right: 85%;
    color: blanchedalmond;

}


.Logo2{
    width: 6rem;
    border-radius: 10px;
  margin-left:80%;
  margin-top: -10%;
    
}








@media(max-width:700px ){

    .hideOnMobile{
        display: none;
    }

    .sidebar li a:hover{
     padding: 0.3rem;
     background-color: rgb(115, 115, 139);     

}

.menu{
    height: 20px;
    width: 20px;
}
    .sidebar{
    width: 300px;
    height: 300vh;
}

}


@media(max-width:450px){
   nav{
    width: 30rem;
   }
   .content{
    width: 27rem;
   }
.footer{
    width: 30rem;
   }
   .main{
    width: 30rem;
   }



}


@media(max-width:300px){
    body{
        width: 470px;
    }
}



 @media(min-width:970px ){

    .menu{
        display: none;
    
 }
}