
  @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    color: rgb(45, 45, 45);
}

html{
    scroll-behavior: smooth;
}

a{
    text-decoration: none;
    text-decoration-color: white;
    color: black;
}
a:hover{
    color: grey;
    text-decoration: underline;
    text-underline-offset: 1rem;
    text-decoration-color: rgb(181,181,181);
}

.nav-bar{
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 17vh;
    
}
.nav-left{
    display: flex;
    font-size: 3rem;
}
.nav-left:hover{
    cursor: default;
}
.nav-right{
    gap: 2rem;
    display: flex;
    list-style: none;
    font-size: 1.7rem;
}

.new-bar{
    display: none;
}
.menu-bar{
    position: relative;
    display: inline-block;
}
.menu-links{
    position: absolute;
    top:100%;
    right: 2px;
    background-color: white;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3 ease-in-out;
}
.menu-links a{
    display: block;
    padding: 10px;
    text-align: center;
    color: black;
    text-decoration: none;
    transition: all 0.3 ease-in-out;
}
.menu-links li{
    list-style: none;
}
.menu-links.open{
    max-height: 300px;
}




/*..........front-page..............*/
.front-page{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85vh;
    
    
}
.profile{
    margin-left: auto;
    margin-right: 0;
}
.profile img{
    width: 40vh;
    height: 40vh;
    border-radius: 50%;

}
.gap{
    width: 3rem;
}
.profile-text{
    margin-right: auto;
}

#greet{
    font-size: 1.2rem;
}
#name{
    font-size: 2.2rem;
}
#interest{
    font-size: 1.8rem;
    color:rgb(90, 90, 90)
}
.btn{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
button{
    height: 3rem;
    width: 11rem;
    border-radius: 40px;
    margin: 0.7rem;
    margin-left: 0;
    margin-bottom: 20px;
}
.contact-icons{
    display: flex;
    gap: 14px;
}




/*............about............*/
section{
    padding-top: 8vh;
    margin: 0 13rem;
}
#about{
    height: 100%;
}

.section-head{
    display: flex;
    flex-direction: column;
    text-align: center;
}
.sec-main-head{
    font-weight:500 ;
    font-size: 2.3rem;
    color: black;
}
.section-text{
    height: fit-content;
    padding-top: 15vh;
    margin-bottom: 1.8rem;
    text-align: center;
    
}
.education{
    display: flex;
    justify-content: space-around;
    min-height: 40vh;
}

.board{
    display: block;
    text-align: center;
    padding: 4rem;
    margin-bottom: 6rem;
    line-height: 2rem;
}
.board h3{
    font-weight: 500;
    color: black;
}


/*--------------skills---------------*/
.skills-container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    
}


.container{
    display: block;
    text-align: center;
    padding: 2rem;
    margin: 2rem;
    line-height: 2rem;
    border: solid 2px;
    border-radius: 1rem;
    border-color: rgb(146, 142, 142);
}




/*--------------projects---------------*/
#projects{
    margin-top: 10vh;
}
.projects-container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 3rem;
    margin: 7vh 0;
    min-height: fit-content
}
.project{
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 5rem;
}
.project img{
    width: 20rem;
    height: 30rem;
    border-radius: 50px;
    padding: 1rem;
}




/*----------------contact---------------*/
#contact{
    margin-top: 35vh;
    min-height: 60vh;
    margin-left: auto;
    margin-right: auto;
}
.contact-container{
   display: flex;
   justify-content: space-around;
   width: 27rem;
   margin: 10vh auto;
   border: solid 1px;
   border-color: grey;
   padding: 1.3rem;
   border-radius: 40px;
}



/*------------------footer-----------------*/
footer .nav-right{
    display: flex;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 8vh;
}
footer p{
    text-align: center;
    height: 6vh;
}