@font-face {
    font-family: Poppins2 ;
    src: url(./font/poppins.semibold.ttf);
}

@font-face {
    font-family: Poppins1 ;
    src: url(./font/poppins.extralight.ttf);
}

@font-face {
    font-family: roboto;
    src: url(./font/roboto-400.ttf);
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "poppins";
}
a{
    text-decoration: none;
    text-transform: none;
    color: none;
    color: #2D2E32;
}

html, body{
    height: 100%;
    width: 100%;
    scroll-behavior: smooth;
}

#main{
    width: 100%;
    overflow: hidden;
}
#nav{
    width: 100%;
    height: 100px;
    box-shadow: 0 0 10px rgba(0,0,0,.09);
    display: flex;
    background-color: #FFFFFF;
    justify-content: space-between;
    padding: 25px 50px 25px 50px;
    align-items: center;
    position: fixed;
    z-index: 200;
}
#nav :hover{
    color: black;
}
#nav > ul > li >a{
    font-family: Poppins2;
    font-weight: 500;
    transition: all .23s;
}

#nav > .logo{
    font-size: 23px;
    font-family: Poppins2;
    font-weight: 900;
}

#nav > ul{
    display: flex;
    gap: 2rem;
    width: auto;
    font-size: 20px;
    color: #2D2E32;
}

#nav > ul > li:last-child{
    display: none;
    font-size: 32px;
    font-weight: 900;
}

@media screen and (max-width: 900px){

    #nav > ul > li{
        display: none;
    }
    #nav > ul > li:last-child{
        display: block;
    }
}

@media screen and (min-width: 900px){
    #mob-nav{
        width: 100%;
        height: 100vh;
        background-color: #FFFFFF;
        position: fixed;
        z-index: 200;
        left: 0%;
        display: none;
    }

    #mob-nav > span{
        font-size: 35px;
        position: fixed;
        right: 3%;
        top: 3%
    }
    
    #mob_ul > li:last-child{
        display: none;
    }
    
    #mob_ul{
        position: fixed;
        top: 50%; 
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 25px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
}

@media screen and (max-width: 900px){
    #mob-nav{
        width: 100%;
        height: 100vh;
        background-color: #FFFFFF;
        position: fixed;
        z-index: 300;
        display: none;
        left: -100%;
    }
    
    #mob-nav > span{
        font-size: 35px;
        position: fixed;
        right: 3%;
        top: 3%
    }
    
    #mob_ul > li:last-child{
        display: none;
    }
    
    #mob_ul{
        position: fixed;
        top: 50%; 
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 25px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
}

#home{
    width: 100%;
    height: auto;
    background-color: #F9F9F9;
    display: flex;
    z-index: -100;
    overflow: hidden;
    padding-bottom: 100px;
}

.container{
    max-width: 100rem;
    padding: 0 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    margin: auto;
}

@media screen and (max-width: 900px){
    .container{
        max-width: 100rem;
        padding: 0 2rem 4rem;
        position: relative;
    }
}

.content{
    /* background-color: black; */
    height: 40rem;
    max-width: 70rem;
    position: relative;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding-top: 10rem;
    z-index: 10;
}
@media screen and (max-width: 900px) and (min-width: 499px) {
    .content{
        /* background-color: black; */
        height: auto;
        max-width: 62rem;
        position: relative;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4rem;
        padding-top: 10rem;
        z-index: 10;
    }
}

#hero-main{
    /* background-color: blue; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 23rem;
    padding: 0 2rem;
    transition: all ease .5s;
   
}

@media screen and (max-width: 900px) and (min-width: 499px) {
    #hero-main{
        /* background-color: blue; */
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: auto;
        gap: 3rem;
        padding: 0 2rem;
        transition: all ease .5s;
    }
}
#hero-pic{
    width: 100%;
    height: 100%;
    background-image: url(./img/IMG_20231204_210537.jpg);
    background-size: cover;
    background-position: contain;
    z-index: 10;
    transition: all ease .5s;
}

#pic{
    width: 21rem;
    height: 21rem;
    position: relative;
    border: 3.5px solid #0f0f0f;
    animation: heroPicAnimation 7s ease-in-out infinite;
    overflow: hidden;
    opacity: 1;
}


@keyframes heroPicAnimation {
    0%{
        border-radius: 
        60% 40% 30% 70% /   60% 30% 70% 40%
    }

    50%{
        border-radius: 
        30% 60% 70% 40%/50% 60% 30% 60%;
       }
    
       100%{
        border-radius: 
        60% 40% 30% 70%/60% 30% 70% 40%;
       }
}


@media screen and (max-width: 500px) and (min-width: 365px) {
    #pic{
        width: 18rem;
        height: 18rem;
        position: relative;
        border: 3.5px solid #0f0f0f;
        animation: heroPicAnimation 7s ease-in-out infinite;
        overflow: hidden;
    }

    #hero-pic{
        width: 100%;
        height: 100%;
        background-image: url(./img/IMG_20231204_210537.jpg);
        background-size: cover;
        background-position: contain;
        z-index: 10;
    }

    .content{
        /* background-color: black; */
        height: auto;
        max-width: 25rem;
        position: relative;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4rem;
        padding-top: 10rem;
        z-index: 10;
    }

    .container{
        max-width: 100rem;
        padding: 0rem 0rem;
        position: relative;
    }

    #hero-main{
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: auto;
        gap: 2rem;
        padding: 0 1rem;
    }
    
     
}
#skills{
    max-width:60rem ;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 1rem;
    padding: 0 2rem;
}

#skills > p{
    font-family: roboto;
    font-weight: 700;
    font-size: 1.3rem;
    color: #2D2E32;
    margin-right: 2rem;
}
@media screen and (max-width: 900px) and (min-width: 499px){
    #skills{
        max-width:60rem ;
        height: auto;
        display: flex;
        flex-direction:column;
        align-items: center;
        justify-content: start;
        gap: 3rem;
    } 

    #line{
        display: none;
    }

    #skills > p{
        font-family: roboto;
        font-weight: 700;
        font-size: 1.3rem;
        color: #2D2E32;
        margin-right: 2rem;
        padding-bottom: 1rem;
        margin-bottom: 2rem;
        border-bottom: 2px solid green;
        margin: auto;
    }
}


@media screen and (max-width: 500px) and (min-width: 369px){
    #skills{
        max-width:60rem ;
        height: auto;
        display: flex;
        flex-direction:column;
        align-items: center;
        justify-content: start;
        gap: 3rem;
        flex-wrap: nowrap;
    } 
    
    
    #line{
        display: none;
    }

    #skills > p{
        font-family: roboto;
        font-weight: 700;
        font-size: 1.3rem;
        color: #2D2E32;
        margin-right: 2rem;
        padding-bottom: 1rem;
        margin-bottom: 2rem;
        border-bottom: 2px solid green;
        margin: auto;
    }

   
}

#hero-text{
    max-width: 29rem;
    height: 20rem;
    opacity: 1;
}

#heading{
    width: 30rem;
    height: 10rem;
    
}
#heading > h1{
    font-size: 3.5rem;
    line-height: 4rem;
    position: relative;
    color: #2D2E32;
    font-family: "Poppins2";
    margin-bottom: 1.7rem;
    margin-top: 1rem;
    box-sizing: border-box;
}

#heading > #hand{
    width: 4rem;
    height: auto;
    position: relative;
    bottom: 8.5rem;
    left: 16rem;
}

#hand > img{
    scale: .4;

}

@media screen and (max-width: 900px) and (min-width: 499px){

    
    #heading{
        width: 30rem;
        height: 10rem;
        
    }
    #heading > h1{
        font-size: 3.5rem;
        line-height: 4rem;
        position: relative;
        color: #2D2E32;
        font-family: "Poppins2";
        margin-bottom: 1.7rem;
        margin-top: 1rem;
        box-sizing: border-box;
    }
    
    #heading > #hand{
        width: 4rem;
        height: auto;
        position: relative;
        bottom: 8.5rem;
        left: 22rem;
    }
    
    #hand > img{
        scale: .4;
    }
    
}

#hero-text > p{
    font-family: roboto;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #2d2e32d2;
}

#hero-text > span{
    font-size: 2.1rem;

}

@media screen and (max-width: 900px) and (min-width: 499px){
    #hero-text{
        max-width: 29rem;
        height: 20rem;
        text-align: center;
    }
    
}


@media screen and (max-width: 500px) and (min-width: 369px){
    #hero-text{
        max-width: 32rem;
        height: 20rem;
        text-align: center;
        align-items: center;
    }

    #heading > h1{
        font-size: 2.6rem;
        line-height: 3rem;
        position: relative;
        color: #2D2E32;
        font-family: "Poppins2";
        margin-bottom: 1.7rem;
        margin-top: 1rem;
        padding: 0 2rem;
    }
    
    #hero-text > p{
        font-family: roboto;
        text-align: center;
        padding: 0 3rem;
        font-size: 1.12rem;
        margin-bottom: 1rem;
        box-sizing: border-box;
    }
    #heading > #hand{
        width: 4rem;
        height: auto;
        position: relative;
        bottom: 5rem;
        left: 10rem;
    }
}

@media screen and (max-width: 368px) and (min-width: 0px){
    #heading > #hand > img{
        width: 10rem;
        height: auto;
        position: relative;
        bottom:-7rem;
        left: -7rem;    
    }

    #hand > img{
        scale: .4;
    }
}