@font-face {
    font-family:'Poppins-Regular';
    src: url(../fonts/Poppins-Regular.ttf);
}
@font-face {
    font-family: 'Poppins-Bold';
    src: url(../fonts/Poppins-Bold.ttf);
}
@font-face {
    font-family: 'Poppins-ExtraBold';
    src: url(../fonts/Poppins-ExtraBold.ttf);
}
*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
html, body{
    font-family: 'Poppins-Regular';
    scroll-behavior: smooth;
}

header{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 4rem;
    position: sticky;
    top: 0;
    background-color: white;
    width: 100%;
    z-index: 99;
}
header .fa-bars{
    display: none;
}
div.header-tittle h1{
    padding-left: 0rem;
    text-align: center;
    font-family: 'Poppins-ExtraBold';
    letter-spacing: 10px;
    text-transform: uppercase;
}
nav{
    margin-right: 2rem;
}
nav ul{
    display: inline-block;
    position: relative;
}
nav ul li{
    display: inline-block;
    margin: 1rem;
}
nav ul li a{
    text-decoration: none;
    color: black;
}
nav ul #li-home{
    border: 1px solid white;
    padding: 0;
    transition: .3s;
}
nav ul #li-home a[href="#Home"] p{
    background-color: rgb(0, 162, 255);
    margin: 0;
    padding: 10px;
    color: white;
    transition: .3s;
}
nav ul #li-home:hover a p{
    transform: translate(-30%,30%);
    transition: .3s;
}
nav ul #li-home:hover{
    transition: .3s;
    border: 1px solid grey;
}

/* MAIN*/
main{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.container{
    display: flex;
    width: 1200px;
    min-height: 700px;
}
#Home{
    max-width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 4rem;
    margin: 1px;
}
#Home h1{
    font-family: 'Poppins-Bold';
    font-size: 3.8rem;
    padding-left: 3rem;
    width: 60%;
    max-width: 100%;
}
.social-media{
    padding-left: 4rem;
}
.social-media .fa{
    margin: 0 .4rem;
    font-size: 2rem;
    color: black;
    transition: .3s;
}
.social-media i:hover{
    cursor: pointer;
    transform: scale(1.1);
}
.social-media a{
    text-decoration: none;
}
.fa-instagram:hover{
    color: rgb(255, 0, 98);
    transition: .3s;
}
.fa-linkedin-square:hover{
    transition: .3s;
    color: rgb(0, 97, 189);
}

/* ABOUT */
#About{
    max-width: 100%;
    align-items: flex-start;
    justify-content: center;
    flex-direction: row;
    padding-top: 2rem;
    margin: 1px;
}
.about-container{
    max-height: 500px;
  
}
#profile-picture{
    max-width: 350px;
}
#profile-picture img{
    width: 100%;
    height: auto;
}
#profile-desc{
    width: 50%;
    padding-left: 2rem;
    max-height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}
h2{
    font-family: 'Poppins-Bold';
    font-size: 3rem;
}
h3{
    font-size: 1.5rem;
}

#profile-desc p{
    max-width: 100%;
    max-height: 100%;
    text-align: justify;
    color: rgb(151, 151, 151);
    padding-top: 1.5rem;
}
#profile-desc .skills p{
    padding-top: 0;
}
.skills{
    padding-top: 1rem;
}
/* PROJECT */
#Project{
    max-width: 100%;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    padding-top: 8rem;
    margin: 1px;
}
#Project .project-section{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
}
.project-box{
    margin: 10px;
    display: flex;
    flex-direction: column;
    width: 15rem;
}
.project-box img{
    width: 100%;
    opacity: .5;
    max-height: 15rem;
    transition: .2s;
}
.project-box p{
    text-align: center;
}
.project-box img:hover{
    opacity: 1;
    transition: .2s;
    cursor: pointer;
}

/* FOOTER */
footer{
    margin: 10rem 2rem 2rem  2rem;
    height: 5rem;
}
footer a{
    text-decoration: none;
    float: right;
    color: rgb(255, 255, 255);
    text-align: center;
    display: flex;
    background-color: rgb(255, 0, 106);
    padding: 20px;
}

@media only screen and (max-width: 768px){
    header{
        justify-content: center;
        text-align: center;
    }
    header h1{
        display: none;
    }
    #Home {
        max-width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 7rem;
        margin: 1px;
        height: 100vh;
    }
    #Home h1{
        padding: 0;
        font-size: 2rem;
        text-align: center;
        width: 100%;
    }
    #Home .social-media{
        padding-left: 0rem;
        display: flex;
        justify-content: center;
        width: 100%;
    }
    #About{
        max-width: 100%;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding-top: 0rem;
        margin: 1px;
    }
    .about-container{
        max-height: 500px;
      
    }
    #profile-picture{
        max-width: 300px;
    }
    #profile-picture img{
        width: 100%;
        height: auto;
    }
    #profile-desc{
        width: 80%;
        padding: 0;
    }
    h2{
        font-family: 'Poppins-Bold';
        font-size: 1.5rem;
    }
    h3{
        font-size: 1rem;
    }
    
    #profile-desc p{
        max-width: 100%;
        max-height: 100%;
        text-align: justify;
        color: rgb(151, 151, 151);
        padding-top: .8rem;
    }
    #profile-desc .skills p{
        padding-top: 0;
        margin: 20px;
        text-align: center;
    }
    .skills{
        padding-top: 1rem;
    }
    #profile-desc h2{
        text-align: center;
    }
    .skill-img{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        max-width: 95%;
    }
    #Project p{
        text-align: center;
    }
}
