body{
    margin: 0px;
    padding: 0px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: medium;
    max-width: 100%;
    height: 100vh;
    display: flex;
    overflow-x: hidden;
    
}

/* HEADER */
#header{
    width: 25%;
    height: 100vh;
    overflow-y: scroll;
    background-color: rgba(172, 255, 47, 0.801);
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    box-sizing: border-box;
        
}

#header img{
    width: 8rem;
    height: 8rem;
    border-radius: 360px;
    object-fit: cover;
    border: 8px solid rgb(43, 37, 37);
    
}

.social{
    display: flex;
    gap: 30px;
    
}

.social i{
    font-size: 2.2rem;    
}


.navmenu li{
    list-style: none;
    font-size: 1.8rem;
    justify-content: left;
    padding-right: 60px;
}

#listed i{
    padding: 30px;
}


a{
    color: black;
    text-decoration: none;

}



/* MAIN */

.menbut{
    display: none;
    position: fixed;
    top: 10px;
    right: 30px;
    background: rgba(172, 255, 47, 0.801);
    color: black;
    font-size: 1.6rem;
    padding: 8px;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
}
.main{
    width: 75%;
    height: 100vh;
    box-sizing: border-box;
    background-color: rgb(20, 27, 27);
    color: whitesmoke;
    overflow-y: scroll;

}

.homepage{
    background: linear-gradient( rgba(0, 0, 0, 0.5) , rgba(0, 0, 0, 0.5)) , url(../images/second.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    margin: 0px;
}

.text{
    display: flex;
    flex-direction: column;
    align-items: justify;
    font-size: 1.7rem;
    font-weight: 400;
    position: relative;
    top: 20%;
    padding: 10px;
    
}

.about{
    padding: 10px;
    font-size: 20px;
    line-height: 1.8em;
    text-align: justify;
    height: 100svh;
}

.front{
    color: rgba(172, 255, 47, 0.801);
}

.about h2{
    color: rgba(172, 255, 47, 0.801);
    text-transform: uppercase;
}

.details{
    display: flex;
    gap: 20%;
    background-color: #b0fc3efa;
    color: black;
    margin: 0px;
    border-radius: 15px;
    border: dashed 20px;
    width: 100%;
}

.details li{
    list-style: none;
}


/* Skills */


.progress{
    display: flex;
    gap: 30px;
    align-items: center;

}

.bar{
    width: 40%;
    height: 1.8rem;
    background-color: #b0fc3efa;
}

.secbar1{
    width: 100%;
    height: 1.8rem;
    background-color: green;
}

.secbar2{
    width: 90%;
    height: 1.8rem;
    background-color:  green;
}

.secbar3{
    width: 70%;
    height: 1.8rem;
    background-color:  green;
}

.resume{
    /* height: 100svh; */
}
iframe{
    width: 40%;
    height: 400px;
}


/* PORTFOLIO */

.portfolio{
    
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    
}

.project-card{
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    margin: 10px;
    text-align: justify;
    
}

.project-card img{
    width: 100%;
    height: 300px;
    border-radius: 30px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.portfolio h3, h3{
    color: rgba(172, 255, 47, 0.801);
    text-transform: uppercase;
    margin-bottom:0px;
    margin-top: 5px;
}

.portfolio a, .resume a{
    color: rgba(172, 255, 47, 0.801);
    width: 23%;
}

.project-card a:hover, .resume a:hover{
    color: wheat;
}

.con{
    display: flex;
    gap: 10px;
    align-items: center;
}

.con i{
    color: green;
}


.contact{
    display: flex;
    justify-content: space-between;
    gap: 10px;
    background: linear-gradient(rgba(40, 20, 20, 0.801) , rgba(0, 0, 0, 0.5)) ;
    padding: 5px;
    border-radius: 20px;
    
    
}

.cont1{
    width: 50%;
    box-sizing: border-box;
    border: 5px solid black;
    padding: 5px;
    border-radius: 20px;
}
.cont2{
    width: 50%;
    box-sizing: border-box;
    border: 5px solid black;
    padding: 5px;
    border-radius: 20px;
    
}

.inp{
    display: flex;
    flex-direction: column;
}

.inp label{
    color: rgba(172, 255, 47, 0.801);
    font-weight: bold;
    padding: 5px;
}

.inp input{
    width: 90%;
    height:2rem;
    border-radius: 10px;    
}

.inp textarea{
    width: 95%;
    min-height: 1.5rem;
    border-radius: 10px;    
}

.contact button{
    width: 96%;
    height: 2.5rem;
    background-color: rgba(172, 255, 47, 0.801);
    font-weight: bold;
    border-radius: 10px;
    margin-top: 10px;
}


footer{
    width: 100%;
    height: 4rem;
    background-color: rgba(172, 255, 47, 0.801);
    font-size: 20px;
    color: black;
    padding: 5px;
    margin: 0px;
    align-items: center;
    text-align: center;
    font-weight: bolder;
    display: block;

}


@media(max-width: 768px){
    body, .about, iframe, .portfolio h3, .portfolio p, .details{
        display: block;
        box-sizing: border-box;
        width: 100%;
        float: none;
        justify-content: center;
        text-align: center;
        align-items: center;
        
    
    }

    .text h1{
        margin-top: 0px;
    }

    #header{
        width: 100%;
        display: none;
        align-items: center;
        height: 30rem;
        max-width: 100%;
        margin: 0;
        overflow-x: hidden;
        
    }

    
    #navmenu ul{
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
                
    }

    #navmenu li{
        font-size: 20px;
        padding: 0px;
        
    }

    .social{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .main{
        width: 100%;
    }

    .portfolio a{
        width: 40%;
        
    }
    
    .menbut{
        display: block;
    }

    
}


