*{
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
body{
    background-color:rgb(23 23 23);
    font-family: 'Poppins', sans-serif;
}

.navbar{
    display: flex;
    padding: 25px;
    top: 0px;
    position: fixed;
    left: 0px;
    right: 0px;
    z-index: 2;
    background-color: rgb(23 23 23);
}

.nav{
    display: flex;
    position: fixed;
    left: 50%;
    right: 50%;
    top: 0%;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    font-family: 'Times New Roman', Times, serif;
}
#home,#edu,#res,#proj,#cont{
    position: relative;
    padding: 15px 20px 15px 20px;
    color: white;
    outline: none;
    text-decoration: none;
    z-index: 2;
}
@media screen and (max-width: 1200px) {
    #home,#edu,#res,#proj,#cont{
        padding: 10px 5px 10px 5px;
        margin-top: 5px;
    }
    #cont{
        right: 0%;
    }
    #home{
        left: 0%;
    }
}
#home:hover,#edu:hover,#res:hover,#proj:hover,#cont:hover{
    background-color: white;
    color: black;
    border-radius: 10px;
}

#hompage{
    padding: 10px;
}
#homepage{
    position: relative;
    margin-top:70px;
    border-radius: 25px;
    padding: 10px;
    outline: solid white 10px;
    margin-right: 3%;
    margin-left: 3%;
    min-height: 600px;
    background: linear-gradient(to top,pink 0%,pink 50%,paleturquoise 50%,paleturquoise 100%
  );
}
.person{
    display: flex;
    flex-direction:column ;
    margin-left: 10%;
    margin-top: 10px;
}
@media screen and (max-width: 1200px) {
    #homepage{
        background:darkgray ;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .person{
        margin-left: 0px;
        margin-bottom: 15px;
    }
}

.name{
    font-size:xx-large;
    margin: 0px;
    margin-top: 10px;
    
    
}
.photo{
    border-radius: 400px; 
    height: 300px;
    outline: solid white 10px;  
}
.pic{
    float: right;

    margin-right: 10px;
    margin-left: 10px;
    position: relative;
}
.about{
    font-size: x-large;
    font-weight: 400;

}

#projpage{
    position: relative;
    top: 100px;
    color: white;
    margin-left: 6%;
    margin-right: 6%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-top: 50px;
}
.projects{
    display: flex;
    flex-direction: column;
    width: 400px;
    outline: solid;
    padding: 10px;
    margin: 10px;
    border-radius: 10px;
}
ul{
    margin: 0px;
}
#edupage{
    margin-top: 150px;
    padding-top: 50px;
    position: relative;
    margin-right: 8%;
    margin-left: 8%;
    display: flex;
    flex-wrap: wrap;
    justify-content:space-evenly;
    gap: 10px;

}

.myline{
    background-color: hsla(0,0%,45%,.25);
    height: 150px;
    position: relative;
    width: 5px;
    left: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
    

}
.mydot{
    width:15px;
    height:15px;
    background: hsla(0,0%,100%,.8);
    border-radius: 400px;
    position: relative;
    z-index: 1;
}
.mycard{
    position: relative;
    color: white;
    min-width:80px;
    height: 100px;
    margin-bottom: 20px;
    transform:translateY(-70px);
    margin-left: 30px;
    border-radius: 10px;
    padding: 5px;

}
.demo{
    height: 650px;
    margin-bottom: 10px;
}
.line1{
    transform:translateY(-120px);
}
.line2{
    
    transform:translateY(-240px);
}
.line3{
    
    transform:translateY(-360px);
}
.mycard:hover{
    padding-left: 20px;
}
#respage{
    margin-top: 20px;
    left: 6%;
    right: 6%;
}
.resumea{
    height: 600px;
    width: 330px;
}
.res-file{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 20px;
}
.down{
    outline: solid white;
    text-decoration: none;
    padding: 20px 60px 20px 60px;
    background: white;
    color: black;
    margin-top: 50px;
    transition: padding 2ms;
}
.down:hover{
    background-color: black;
    color: white;
    padding: 25px 60px 20px 60px;
}
#contpage{
    
    background: grey;
    position: relative;
    padding: 10px;
    margin: 0px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    height: 150px;
    align-items: center;
    position:absolute;
    left: 0%;
    right: 0%;
}

.page{
    color: black;
    margin-right: 10px;
    text-decoration: none;
}
.projects-1{
    display:none;
