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

* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}
section{
    padding: 100px 200px;
}
.main{
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url(https://www.rhaizes.com/wp-content/uploads/2021/01/christina-wocintechchat-com-UTw3j_aoIKM-unsplash.jpg)no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.main .content {
    max-width: 800px;
}
.main .content h2 {
    color: #fff;
    font-size: 2em;
    font-weight: 500;
}
.main .content h2 span {
    font-size: 2.8em;
    font-weight: 600;
}
.animated-text{
    position: relative;
    height: 70px;
    overflow: hidden;
}
.animated-text h3{
    color: rgb(255, 196, 0);
    font-size: 3em;
    font-weight: 700;
    line-height: 70px;
    letter-spacing: 1px;
}
.animated-text h3:nth-child(1){
    animation: text-move 10s infinite;
}
@keyframes text-move{
    0%{
        margin-top: 0;
    }
    25%{
        margin-top: -70px;
    }
    50%{
        margin-top: -140px;
    }
    0%{
        margin-top: 0;
    }
}
.btn{
    color: rgb(0, 0, 0);
    background: rgb(255, 196, 0);
    font-size: 1em;
    font-weight: 600;
    display: inline-block;
    padding: 10px 20px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: 0.5s ease;
    margin-top: 20px;
}
.btn:hover{
    background: rgb(255, 223, 118);
}
.media-icons{
    margin-top: 50px;
}
.media-icons a{
    color: #fff;
    font-size: 25px;
    margin-right: 30px;

}
header{
    z-index: 999;
    position: fixed;
    background: rgba(48, 36, 36, 0.377);
    top: 0;
    left: 0;
    width: 100%;
    padding: 14px 200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.5s ease;
}
header .sticky{
    background: rgb(255, 196, 0);
    padding: 10px 200px;
}
header .brand {
    color: #fff;
    font-size: 1.8em;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}
header .navigation{
    position: relative;
}
header .navigation a{
    color: #fff;
    font-size: 1em;
    font-weight: 500;
    text-decoration: none;
    margin-left: 30px;
}
header .navigation a:hover{
    color: rgb(255, 196, 0);
}
header .sticky .navigation a:hover{
    color: #000;
}
body{
    min-height: 110vh;
}
.title{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: rgb(255, 196, 0)
}
.section-title{
    position: relative;
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 60px;
}
.section-title:before{
    content: '';
    position: absolute;
    top: 56px;
    left: 50%;
    width: 140px;
    height: 4px;
    background: rgb(255, 196, 0);
    transform: translateX(-50%);
}
.section-title:after{
    content: '';
    position: absolute;
    top: 50px;
    left: 50%;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgb(255, 196, 0);
    transform: translateX(-50%);
}
.about .content{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}
.about .content .col-left{
    position: relative;
    width: 45%;
}
.about .content .col-right{
    position: relative;
    width: 50%;
}
.about .content .col-right .img-card{
    position: relative;
    width: 100%;
    min-height: 450px;
}
.about .content .col-left .img-card img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.about .content .col-right .content-title{
    font-size: 2em;
    font-size: 800;
    margin-bottom: 20px;
}
.about .content .col-right .paragraph-text{
    font-size: 1em;
}
.skills{
    background: #000000;
    
}
.skills .content{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    color: #fff;
}
.skills .content .col-left{
    position: relative;
    width: 46%;
}
.skills .content .col-right{
    position: relative;
    width: 46%;
}
.skills .content .col-right .bar{
    margin-bottom: 15px;
    padding: 10px;
}
.skills .content .col-right .bar .info{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}
.skills .content .col-right .bar .info span{
    font-size: 18px;
    font-weight: 500;
}
.skills .content .col-right .bar .line{
    position: relative;
    width: 100%;
    height: 15px;
    background: #ccc;
    border-radius: 2px;
}
.skills .content .col-right .bar .line:before{
    content: '';
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 2px;
}
.skills .content .col-right .bar .html:before{
    width: 73%;
    background: rgb(255, 94, 0);    
}
.skills .content .col-right .bar .job:before{
    width: 85%;
    background: rgb(255, 0, 179);    
}
.skills .content .col-right .bar .css:before{
    width: 60%;
    background: rgb(0, 255, 42);    
}
.skills .content .col-right .bar .js:before{
    width: 77%;
    background: rgb(255, 230, 0);    
}
.skills .content .col-right .bar .git:before{
    width: 77%;
    background: rgb(105, 105, 105);    
}
.skills .content .col-right .bar .speak:before{
    width: 83%;
    background: rgb(19, 240, 248);    
}
.skills .content .col-right .bar .creat:before{
    width: 95%;
    background: rgb(157, 3, 218);    
}
.skills .content .col-right .bar .organization:before{
    width: 70%;
    background: rgb(7, 97, 233);    
}
.formation .content{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    margin-top: 20px;
}
.title p{
    font-size: 1em;
    width: 80%;
    color: #000;
}
.formation p{
    text-align: center;
}
.formation .content .card{
    background: #fff;
    width: 340px;
    margin: 10px;
    padding: 25px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
    border-radius: 10px;
}
.formation .content .card .formation-icon{
    color: rgb(255, 196, 0);
    font-size: 8em;
    text-align: center;
    transition:  transform 0.5s ease;
}
.formation .content .card:hover .formation-icon{
    transform: translateY(-10px);
}
.formation .content .card .info{
    text-align: center;
}
.formation .content .card .info h3{
    font-weight: 700;
    margin: 10px;
}
.work{
    background: #000;
}
.work .content{
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 20px;
}
.work .content .card{
    width: 340px;
    margin: 15px;
}
.work .content .card .info-text{
    color: #fff;
}
.work .content .card .card-img{
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 10px;
}
.work .content .card .card-img img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: 0.5s ease;
}
.work .content .card .card-img img:hover{
    transform: scale(1.2);
}
.contact .content{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    margin-top: 20px;
}
.contact .content .row{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
}
.contact .content .row .card{
    background: #fff;
    width: 240px;
    margin: 20px;
    padding: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
    border-radius: 10px;
}
.contact .content .row .card .contact-icon{
    color: rgb(255, 196, 0);
    font-size: 4em;
    text-align: center;
    transition: transform 0.5s ease;
}
.contact .content .row .card:hover .contact-icon{
    transform: translateY(-10px);
}
.contact .content .row .card .info{
    text-align: center;
}
.contact-form{
    background: #fff;
    max-width: 600px;
    margin-top: 50px;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
}
.contact-form h3{
    font-size: 1.6em;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
}
.contact-form .input-box{
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}
.contact-form .input-box input, 
.contact-form .input-box textarea{
    width: 100%;
    padding: 10px;
    font-size: 1em;
    font-weight: 400;
    outline: none;
    border: 1px solid #111;
    border-radius: 5px;
    resize: none;
}
.contact-form .input-box .send-btn{
    background: rgb(255, 196, 0);
    display: inline-block;
    font-size: 1.1em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: tranform 0.5s ease;
}
.contact-form .input-box .send-btn:hover{
    background: rgb(255, 223, 118);
}
.footer{
    background: #000;
    color: #fff;
    text-align: center;
    padding: 2em;
}
.footer .footer-title{
    font-size: 20px;
    font-weight: 600;
}
.footer p{
    font-size: 16px;
    margin-top: 10px;
}
@media(max-width: 1040px){
    header {
        padding: 12px 20px;
    }
    header.sticky{
        padding: 10px 20px;
    }
    header .navigation{
        display: none;
    }
    header .navigation.active{
        z-index: 888;
        position: fixed;
        background: #fff;
        top: 0;
        right: 0;
        width: 380px;
        height: 100%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
        transition: 0.3s ease;
    }
    header .navigation a {
        color: #000;
        font-size: 1.2em;
        margin: 30px;
        padding: 0 20px;
        border-radius: 20px;
    }
    header .navigation a:hover{
        transition: 0.3s ease;
        background: rgb(255, 196, 0);
        color: #000;
    }
    .menu-btn{
        position: absolute;
        background: url(image/menu.png)no-repeat;
        background-size: 30px;
        background-position: center;
        width: 40px;
        height: 40px;
        right: 0;
        margin: 0 20px;
        cursor: pointer;
        transition: 0.3s ease;
    }
    .menu-btn.active{
        z-index: 999;
        background: url(image/close.png)no-repeat;
        background-size: 25px;
        background-position: center;
        transition: 0.5s ease;
        filter: invert(1);
    }
    section{
        padding: 10px;
    }
    .main .content h2{
        font-size: 1em;
    }
    .main .content h3{
        font-size: 2.2em;
    }
    .animated-text h3{
        font-size: 2em;
    }
    .section-title{
        font-size: 1.8em;
    }
    .about .content{
        flex-direction: column;
    }
    .about .content .column{
        position: relative;
        width: 100%;
    }
    .about .content .col-left {
        -webkit-user-modify: read-write-plaintext-only;
    }
    .about .content .col-right, .skills .content .col-right{
        margin-top: 40px;
    }
    .skills .content{
        flex-direction: column;
    }
    .skills .content .column, .skills .content .col-left{
        width: 100%;
    }
    .contact-form{
        padding: 35px;
    }
}
.scrollToTop-btn{
    z-index: 999;
    position: fixed;
    background: rgb(255, 196, 0);
    color: #fff;
    width: 45px;
    height: 45px;
    right: 0;
    bottom: 10px;
    font-size: 22px;
    text-align: center;
    line-height: 45px;
    border-radius: 3px;
    cursor: pointer;
    pointer-events: none;
    opacity: 0;
    transition: all 0.3s ease;
}
.scrollToTop-btn.active{
    right: 20px;
    opacity: 1;
    pointer-events: auto;
}
.reveal{
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: all 1.5s ease;
}
.reveal.active{
    transform: translateY(0);
    opacity: 1;
}