:root{
    --primary-text-color: 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f4f6f9;
    height: 500vh;
    margin: 0;
    padding: 0;

}



.header{
    position:sticky;
    z-index: 1000;
    top: 0%;
}

.navigation {
    width: 100%;
    height: 100px;
    background: #506fc5;
    display: flex;
    padding: 20px;
    align-items: center;
    border-radius: 0 0 5px 5px;
    box-sizing: border-box;
    justify-content: space-between;
    box-shadow: 0 5px 7px 1px rgba(0, 0, 0, 0.821);


}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    

}

.logo span {
    margin-left: 5px;
}

.hub{
    color: rgb(251, 255, 0);
}


.nav-links {
    list-style: none;
    display: flex;
    gap: 50px;
    margin-left: 35rem;




}

.nav-links li a {
    position: relative;
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-family: 'Poppins', sans-serif;


}

.nav-btn {
    display: flex;
    gap: 20px;
}




.nav-btn a {
    flex-shrink: 0;
    text-decoration: none;
    font-size: larger;
   
    padding: 3px 15px 5px 15px;
    border-radius: 40px;

    transition: 0.5s;
    background-color: rgba(255, 255, 255, 0.822);
    color: #222;
    


}

.nav-btn a:hover {
    background-color: rgb(28, 30, 30);
    color: #f5f5f5;
   


}

.nav-links li a::after{
    content: '';
    height: 1.5px;
    width: 0%;
    background: white;
    position: absolute;
    left: 0;
    bottom: -10%;
    transition: 0.5s;

}

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

.login{
    box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.821);
   
    
}

.signup{
    box-shadow: 0 1px 5px 0px rgba(0, 0, 0, 0.821);
    
}



     
.home{
    scroll-margin-top: 100px;
}





.p1 {
    
    margin-top: 3rem;
    font-size: 70px;
    font-weight: 700;
    
    text-align: center;
    font-family: 'Poppins', sans-serif;

}

.exams{
    color: #506fc5;
    font-family:'Poppins', sans-serif ;
    
   
}





.p2 {
    font-size: 20px;
    font-family: "poppins", sans-serif;
    text-align: center;

}



.search-box{
    display: flex;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 40px;
    gap: 2px;
    

}

.search-box input{
    width: 400px;
    padding: 10px 15px;
    border-radius: 20px;
    border: 1px solid;

    
}

.search-box i {
    
    margin-top: 0.5rem;
    color:black;
    cursor: pointer;
}

#suggestions{
list-style:none;
width:500px;
margin:auto;
padding:0;
background:white;
border-radius:10px;
box-shadow:0 10px 20px rgba(0,0,0,0.4);
position:relative;
top:-20px;
}

#suggestions li{
padding:10px;
cursor:pointer;
border-bottom:1px solid #ffffff;
}

#suggestions li:hover{
background:#f4f6f9;
}






.link {
    display: flex;
    margin: 50px auto;
    justify-content:center;
    width: 900p;
    gap: 30px;
    margin-bottom: 5rem;
   
    
    


}
.link p{
    font-size: 14px;
    color:#ffffff;
    font-family: 'poppins','serif';
    line-height: 1.6;
}

.link div{
    background:#506fc5;
    color: #ffffff;
    padding: 30px;
    width: 265px;
    height: 265px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 2px 5px 1px rgba(0, 0, 0, 0.512);
    transition: all 0.3s ease, box-shadow;
    
}

.link div:hover{
    transform: scale(1.05);
    box-shadow: 0 12px 24px 1px rgba(0, 0, 0, 0.600);
    background:linear-gradient(35deg, rgb(252, 189, 1), rgb(60, 177, 203),rgb(59, 214, 170),rgb(45, 42, 230));
    background-size: 200% 200%;
    animation: gradientMove 6s linear infinite;
}

@keyframes gradientMove{
    0%{
        background-position: 0% 50%;
    }
    50%{
        background-position: 100% 50%;
    }
    100%{
        background-position: 0% 50%;
    }
}

.link div button{
    color: #506fc5;
    background-color: rgb(255, 255, 255);
    margin-top: 1rem;
    padding: 4px 10px;
    border-radius: 15px;
    border: 1px solid;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.5s ease;
}

.link div button:hover{
    background-color:#506fc5;
    color:#f4f6f9;
}


.link a{
    display:block;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    color:white;
    margin-bottom: 10px;
    transition: all 0.5s ease;
    position: relative;
}

.Notes::after{
    content: '';
    height: 2px;
    width: 0%;
    background: white;
    position: absolute;
    left: 35%;
    
    bottom: 0;
    transition: 0.5s;


}
.Notes:hover::after{
    width: 30%;
}

.pyqs::after{
    content: '';
    height: 2px;
    width: 0%;
    background: white;
    position: absolute;
    left: 37%;
    
    bottom: 0;
    transition: 0.5s;


}
.pyqs:hover::after{
    width: 28%;
}

.resources::after{
    content: '';
    height: 2px;
    width: 0%;
    background: white;
    position: absolute;
    left: 24%;
    
    bottom: 0;
    transition: 0.5s;


}
.resources:hover::after{
    width: 55%;
}


.N img{
    margin-bottom: 1rem;
    height:50px;
    width: 50px;
    background-color: #f4f6f9;
    border-radius: 50%;
    padding: 8px;
    align-items: center;
}


.P img{
    margin-bottom: 1rem;
    height:50px;
    width: 50px;
    background-color: #f4f6f9;
    border-radius: 50%;
    padding: 5%;
    align-items: center;
    
}

.R img{
    margin-bottom: 1rem;
    height:50px;
    width: 50px;
    background-color: #f4f6f9;
    border-radius: 50%;
    padding: 5%;
}

.library{
    margin-left: 5rem;
    margin-bottom: 2rem;
    
}

.library h1{
    font-weight:700;
    
}

.notes-library{
    width: 1200px;
    align-items: center;
    margin-left: 5rem;
    
}

.notes-cont{
    display: flex;
    margin: 50px auto;
    width: 900p;
    gap: 20px;
    margin-bottom: 5rem;
    
}

.notes-cont p{
    font-size: 14px;
    color:#000000;
    font-family: 'poppins','serif';
    line-height: 1.6;
}

.notes-cont div{
     background:#506fc5;
    color: #ffffff;
    padding: 30px;
    width: 265px;
    height: 265px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 2px 5px 1px rgba(0, 0, 0, 0.512);
    transition: all 0.3s ease, box-shadow;
}

.notes-cont div button{
    color: #506fc5;
    background-color: rgb(253, 255, 255);
    margin-top: 1rem;
    padding: 4px 10px;
    border-radius: 15px;
    border: 1px solid;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.5s ease;
}
.notes-cont div button:hover{
    background-color:#506fc5;
    color:#010201;

}

.notes-cont a{
     display:block;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    color:white;
    margin-bottom: 10px;
    transition: all 0.5s ease;
    position: relative;
}

.notes-cont div i{
    font-size: 50px;
    margin-bottom: 1.5rem;
}
