*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: rgb(253, 253, 254);
}
header{
    background-color: rgb(246, 246, 246);
    display: flex;
    height: 110px;
    width: 100%;
    padding: 20px;
    
}
.profile{
    height: 70px;
    width: 70px;
    border: 1px solid rgb(68, 63, 63);
    border-radius: 50%;
    background-image: url("profilephoto.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.heading{
    margin-left: 20px;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    color: rgb(51, 24, 190);
    height: 100%;
    /* line-height: 110px; */
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav{
    text-decoration: none;
    color: black;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    gap: 10px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    position: absolute;
    right: 150px;
    display: flex;
    gap: 20px;
    a{
        text-decoration: none;
        color: rgb(49, 47, 47);
    }
}
.sign-in{
    line-height: 40px;
    text-align: center;
        height: 40px;
        width: 100px;
        color: white;
        text-decoration: none;
        background-color: rgb(94, 9, 213);
        border-radius: 10px;
        position: absolute;
        right: 20px;
}
.hero{
    height: 400px;
    width: 100%;
    background:linear-gradient(to right,lightblue,white);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.hero h1{
    font-size: 2.5rem;
}
.hero h1 span{
    color: rgb(46, 7, 187);
}
.search{
    height: 50px;
    width: 600px;
    background-color: white;
    border-radius: 30px;
    transition: all 0.5s ease;
}
.search:hover{
    box-shadow: 1px 1px 40px 10px lightblue;
}
.search input{
    height: 50px;
    width: 530px;
    border-radius: 20px;
    padding-left: 20px;
    padding-right: 20px;
    border: 1px solid white;
    outline: none;
}
.post-resource{
    text-decoration: none;
    color: rgb(15, 15, 15);
     background-color: rgb(251, 251, 251);
     padding: 20px;
     border-radius: 40px;
    transition: all 0.5s ease;
}
.post-resource:hover{
    box-shadow: 1px 1px 40px 10px rgb(166, 216, 232);
}
.analysis{
    padding: 50px;
    width: 100%;
    display: flex;
    align-self: center;
    justify-content: space-evenly;
}
.analysis .analysis-data{
    height: 250px;
    width: 200px;
    background:linear-gradient(to right,lightblue,white);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: all 0.5s ease;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.analysis-data h1{
    color: rgb(51, 17, 172);
}
.analysis .analysis-data:hover{
    transform: scale(1.1);
}
.features-heading{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
    color: rgb(51, 17, 172);
}
.slides{
    padding: 50px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.slides ul{
    list-style: none;
    display: flex;
    height: 150px;
    width: 250px;
    background-color: rgb(246, 246, 247);
    border-radius: 20px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    transition: all 0.5s ease;
}
.slides ul li{
    border-radius: 20px;
    height: 100%;
    width: 50%;
    transform: all 0.5s ease;
    text-align: center;
    display: flex;
    align-items: center;
}
.slides ul :first-child{
    font-size: small;
}
.slides ul :last-child{
    color: rgb(36, 9, 132);
    background:linear-gradient(to right,lightblue,white);
    transform: translate(-125px);
    transition: all 0.5s ease;
}
.slides ul:hover{
    box-shadow: 1px 1px 40px 10px rgb(166, 216, 232);
     :last-child{
        transform: translate(0px);
    }
}
.resources-heading{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
    color: rgb(51, 17, 172);
}
#resource{
    display: flex;
    justify-content: space-evenly;
    padding: 50px;
    padding-left: 200px;
    padding-right: 200px;
}
#resource a{
    padding: 20px;
    text-decoration: none;
    color: black;
    background-color: rgb(243, 243, 245);
    border-radius: 20px;
    background-color: lightblue;
    transition: all 0.5s ease;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
#resource a:hover{
    box-shadow: 1px 1px 40px 10px rgb(166, 216, 232);
}
.borrow-heading{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    text-align: center;
    color: rgb(51, 17, 172);
}
#borrow{
    padding: 50px;
    display: flex;
    justify-content: space-evenly;
}
#borrow .borrow{
    height: 300px;
    width: 300px;
    background:linear-gradient(to right,lightblue,white);
    border-radius: 20px;
    transition: all 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
.borrow .p1{
    color: rgb(51, 17, 172);

}
.borrow:hover{
    transform: translatey(-10px);
}
.back-to-top{
    height: 70px;
    border: 1px solid;
    margin-left: 300px;
    margin-right: 300px;
    border-radius: 20px;
}
.back-to-top a{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 2rem;
    color: black;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}
footer{
    height: 200px;
    width: 100%;
    margin-top: 50px;
    background-color: rgb(30, 31, 41);
    display: flex;
    align-items: center;
    justify-content: center;
}