:root{
    --black-color: #111;
    --gray-color: #676767;
    --blue-color: #48e;
}

html{
    scroll-behavior: smooth;
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    border: none;
    list-style: none;
    text-decoration: none;
    font-style: none;
    outline: none;

    transition: all 0.3s ease 0s;
    font-family: 'Source Sans 3', sans-serif;
}

body{
    background-color: #FAFAFA;
    font-size: 16px;
    color: var(--black-color);
    font-weight: 400;
    margin-top: 10vh;
    scroll-margin-top: 100px;
}

.header{
    padding: 0 3% 0 1%;
    background-color: #fff;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header .navbar{
    width: 100%; height: 100%;
    display: flex;
    justify-content: flex-start;
    align-self: center;
}

.navbar .logo{
    display: flex;
    align-items: center;
    color: var(--black-color);
    font-size: 26px;
    gap: 5px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
}

.navbar .logo::before{
    content: "";
    position: absolute;
    bottom: 30px;
    left: 95px;
    width: 0;
    height: 3px;
    background-color: var(--blue-color);
    transition: all 0.3s ease 0s;
    border-radius: 20px;
}

.navbar .logo:hover::before{
    width: 70%;
}

.navbar .logo.shorter:hover::before{
    width: 56%;
}

.navbar .logo .logo-image{
    width: 90px;
    height: 90px;
}

.nav{
    margin-left: auto;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav .nav-link {
    color: #fff;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    background-color: var(--blue-color);
    box-shadow: 0 0 6px #48e;
}

.nav .nav-link:hover {
    font-size: 17.5px;
    box-shadow: 0 12px 20px rgba(72, 136, 238, 0.4); 
    background-color: #5699ff; 
}

.header-sm-menu, .header-sm-close-menu{
    display: none;
}

.header-sm-menu{
    margin-left: auto;
    margin-right: 30px;
    font-size: 25px;
    background-color: transparent;
    cursor: pointer;
}

.header-sm-close-menu{
    font-size: 30px;
    cursor: pointer;
    background-color: transparent;
    color: #eee;
    position: absolute;
    top: 10px;
    right: 10px;
}


.hero{
    position: relative;
    min-height: 90vh;
    width: 100%;
    background: linear-gradient(to right, rgba(245, 245, 245, 0.8), rgba(245, 245, 245, 0.8)), url("../images/bg-tri.svg");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-message{
    display: none;
    background-color: rgb(43, 99, 43);
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
    padding: 10px 25px;
    border-radius: 20px;
    color: #fff;
    position: absolute;
    top: 92px;
    left: auto;
}

.hero .hero-content{
    text-align: center;
    height: 35%;
    max-width: 60%;
}

.hero .hero-content .hero-title{
    font-size: 60px;
    margin-bottom: 30px;
}

.hero .hero-content .hero-description{
    font-size: 22px;
    color: #343434;
    font-weight: 400;
    margin-bottom: 60px;
}

.hero .hero-content .hero-button{
    padding: 15px 40px;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    background-color: var(--blue-color);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(68, 136, 238, 0.577);
}

.hero .hero-content .hero-button:hover{
    font-size: 22px;
    box-shadow: 0 0 0 15px rgba(68, 136, 238, 0.226);
}


.hero .social-links{
    background-color: #fff;
    width: 60px;
    height: fit-content;
    padding: 20px 0;
    position: absolute;
    top: 35%;
    left: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center;
}

.hero .social-links .links{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.hero .social-links .link .icon{
    color: #48e;
    font-weight: 900;
}

.hero .translate-btn{
    position: absolute;
    top: 4rem;
    right: 2rem;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    border-radius: 50%;
    height: 55px; width: 55px;
    border: 2px solid #48e;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero .translate-btn .fa-language{
    font-size: 28px;
    color: #48e;
}

.hero .translate-btn .language-link{
    width: 100%;
    font-size: 18px;
    color: #48e;
    font-weight: 700;
    display: none;
    text-align: center;
    flex: 1;

}

.hero .translate-btn .language-link:hover{
    background-color: #48e;
    color: #fff;
}

.hero .translate-btn:hover{
    height: 100px;
    border-radius: 20px;
    flex-direction: column;
    justify-content: space-around;
}

.hero .translate-btn:hover .fa-language{
    display: none;
}

.hero .translate-btn:hover .language-link{
    display: flex;
    justify-content: center;
    align-items: center;
}

.translate-btn.active {
    height: 100px;
    border-radius: 20px;
    flex-direction: column;
    justify-content: space-around;
}

.translate-btn.active .fa-language {
    display: none;
}

.translate-btn.active .language-link {
    display: flex;
    justify-content: center;
    align-items: center;
}


.links .icon{
    cursor: pointer;
    font-size: 35px;
    color: #000;
}

.links .icon:hover{
    font-size: 42px;
}

.main{
    padding: 0 10%;
}

.section{
    margin: 100px 0;
    scroll-margin-top: 120px;
}

.about, .projects{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about{
    border-bottom: 2px solid #454545;
    min-height: 125vh;
}

.section-header{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 80px;
}

.section-header .section-title{
    font-size: 45px;
    margin-bottom: 40px;
    position: relative;
    width: fit-content;
}

.section-header .section-title::before{
    content: "";
    position: absolute;
    width: 50%;
    height: 5px;
    border-radius: 20px;
    background-color: var(--blue-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.projects .section-header .section-title::before{
    background-color: rgb(130, 68, 238);
}

.section-header .section-description{
    font-size: 21px;
    color:#343434;
    width: 80%;
}

.about-content{
    display: flex;
    gap: 100px;
    height: 100%;
}

.about-left-content{
    flex: 1;
    min-height: 100%;
}

.little-title{
    font-size: 30px;
    margin-bottom: 25px;
}

.little-title.mt{
    margin-top: 70px;
}

.little-text{
    font-size: 18px;
    line-height: 1.5;
    color: #343434;
    margin-bottom: 45px;
    text-align: justify;
}

.about-left-content .about-button{
    padding: 10px 35px;
    border-radius: 10px;
    background-color: var(--blue-color);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(68, 136, 238, 0.55);
}

.about-left-content .about-button:hover{
    box-shadow: 0 0 0 10px rgba(68, 136, 238, 0.22);
}

.about-left-content .skills{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    width: 90%;
}

.skills .skill{
    padding: 10px 25px;
    font-size: 17px;
    color: #565656;
    background-color: #dedede;
    border-radius: 10px;
}

.skills .skill:hover{
    background-color: #333;
    color: #eee;
    box-shadow: 0 0 8px rgba(0,0,0,0.6);
}

.about-right-content{
    min-height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.certif-card{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    height: 250px;
    width: 100%;
    margin-bottom: 45px;
    box-shadow: 0 0 10px #00000067;
}

.certif-card:hover{
    box-shadow: 0 0 20px #0000007e;
    transform: translateY(-10px);
}

.certif-card .certf-title{
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: justify;
}

.certif-card .certf-text{
    flex: 1;
    font-size: 17px;
    font-size: 400;
}

.certif-card .certf-button{
    padding: 10px 25px;
    border-radius: 20px;
    font-size: 18px;
    cursor: pointer;
    font-weight: 600;
    color: #fff;
    background-color: #48e;
}

.certif-card .certf-button:hover{
    box-shadow: 0 0 0 8px rgba(68, 136, 238, 0.226);
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 50px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal img {
    max-width: 80%;
    max-height: 80%;
}


.no-scroll {
    overflow: hidden;
}

.projects{
    min-height: 145vh;
}

.project-content{
    width: 100%;
    display: flex;
    row-gap: 40px;
    column-gap: 50px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.project-card{
    width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    overflow: hidden;
    height: 450px;
}

.project-card:hover{
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0,0,0,0.7)
}

.project-card .project-figure{
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-bottom: 1.5px solid #454545;
}

.project-card .project-figure .project-image{
    width: 100%;
    height: 100%;
}

.project-card .project-info{
    width: 100%;
    height: 60%;
    padding: 30px 20px;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.project-info .project-title{
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-info .project-description{
    font-size: 17px;
    color: #454545;
    margin-bottom: 15px;
    flex: 1;
    text-align: justify;
}

.project-info .project-link{
    margin-top: 10px;
    border-radius: 20px;
    background-color: rgb(130, 68, 238);
    padding: 10px 30px;
    border-radius: 20px;
    color: #fff;
}

.project-info .project-link .fa-solid, .see-page{
    margin-right: 5px;
}

.project-info .project-link:hover{
    box-shadow: 0 0 0 8px rgba(130, 68, 238, 0.355);
}

.contact{
    min-height: 165vh;
    scroll-margin-top: 80px;
    background: linear-gradient(to bottom, rgba(245, 245, 245, 0.6), rgba(245, 245, 245, 0.9)), url("../images/bg-tri.svg");
    padding: 8% 10%;
    border-top: 1.5px solid #9a9a9a;
}

.contact-content{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.form{
    width: 70%;
    min-height: 92vh;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.form .fieldset{
    width: 100%;
    padding: 15px 20px;
    border: 0.5px solid #898989;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.fieldset legend{
    padding: 0 10px;
    font-size: 21px;
    color: #9a9a9a;
    font-weight: 400;
}

.fieldset .form-label{
    font-size: 19px;
    margin-bottom: 10px;
    color: #343434;
}

.fieldset .form-input{
    width: 100%;
    background-color: #ededed;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 35px;
    font-size: 17px;
}

.fieldset .form-textarea{
    width: 100%;
    background-color: #ededed;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 16px;
    resize: none;
}

.fieldset .form-input:hover, .form-textarea:hover{
    background-color: #d3d3d3;
}

.fieldset .form-input:focus, .form-textarea:focus{
    box-shadow: 0 0 0 5px rgba(68, 136, 238, 0.446);
    background-color: #fff;
}

.service-link{
    color: #48e;
}

.form .form-button{
    padding: 15px 40px;
    border-radius: 10px;
    background-color: #48e;
    box-shadow: 0 0 10px rgba(68, 136, 238, 0.446);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    font-weight: 500;
}

.form .form-button:hover{
    box-shadow: 0 0 0 10px rgba(68, 136, 238, 0.352);
}

.footer{
    background-color: #111;
    padding: 3% 10%;
    min-height: 40vh;
}

.footer .footer-content{
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-top-content{
    width: 100%;
    display: flex;
    gap: 40px;
    align-items: center;
    padding-bottom: 50px;
    border-bottom: 1px solid #fff;
}

.footer-tl-content, .footer-tr-content{
    flex: 1;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}


.footer-title{
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
}

.left{
    margin-left: auto;
}

.footer-description{
    font-size: 16px;
}

.footer-links{
    display: flex;
    gap: 20px;
    margin-left: auto;
}

.footer-links .icon{
    font-size: 32px;
    color: #fff;
    cursor: pointer;
}

.footer-links .icon:hover{
    color: #48e;
}

.footer-copyright{
    color: #fff;
    margin-top: 30px;
}


@media screen and (max-width: 1180px) {
    .navbar .logo{
        font-size: 22px;
    }
    .navbar .logo::before{
        bottom: 25px;
        left: 85px;
    }
    .navbar .logo .logo-image{
        width: 80px;
        height: 80px;
    }
    .nav{
        gap: 15px;
    }
    .nav .nav-link{
        font-size: 14px;
        padding: 10px 15px;
    }
    .hero .hero-content .hero-title{
        font-size: 50px;
    }
    .hero .hero-content .hero-description{
        font-size: 19px;
    }
    .hero .hero-content .hero-button{
        font-size: 18px;
        padding: 15px 35px;
    }
    .hero .social-links .links{
        gap: 20px;
    }
    .hero .social-links .links .icon{
        font-size: 33px;
    }
    .section-header .section-title{
        font-size: 40px;
    }
    .section-header .section-title::before{
        left: 50%;
        transform: translateX(-50%);
    }
    .section-header .section-description{
        font-size: 19px;
    }
    .about{
        min-height: 140vh;
    }
    .little-title{
        font-size: 25px;
    }
    .little-text{
        font-size: 16.5px;
    }
    .about-left-content .about-button{
        font-size: 15px;
    }
    .skills .skill{
        padding: 10px 20px;
        font-size: 16px;
    }

    .certif-card{
        width: 90%;
        height: 300px;
        margin-bottom: 25px;
    }

    .form{
        width: 100%;
    }

    .footer-title{
        font-size: 25px;
    }
    .footer-description{
        font-size: 16px;
    }
}

@media screen and (max-width: 900px) {
    
    .about{
        min-height: 145vh;
    }
    .skills .skill{
        padding: 9px 15px;
        font-size: 15px;
    }
    .about-right-content{
        flex: 1;
    }
    .about-content{
        gap: 22px;
    }

}


@media screen and (max-width: 750px){
    .header-sm-menu, .header-sm-close-menu{
        display: block;
    }
    .nav{
        position: absolute;
        flex-direction: column;
        top: 0;
        right: 0;
        min-height: 100vh;
        align-items: center;
        padding: 80px 20px;
        gap: 50px;
        width: 200px;
        background-color: #333;
        box-shadow: 0 0 0 100vmax rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
    }

    .nav.visible{
        opacity: 1;
        visibility: visible;
    }

    .nav .nav-link:hover {
        box-shadow: none;
        font-size: inherit;
    }

    .nav .nav-link{
        padding: 0;
        box-shadow: none;
        background-color: transparent;
        position: relative;
    }

    .nav .nav-link::before{
        content: "";
        position: absolute;
        bottom: -5px;
        left: 0px;
        height: 3px;
        width: 0;
        background-color: #48e;
        transition: all 0.4s ease 0s;
    }

    .nav .nav-link:hover::before{
        width: 100%;
    }
    .hero .hero-content .hero-title{
        font-size: 40px;
    }
    .hero .hero-content .hero-description{
        font-size: 18px;
    }
    .hero .hero-content .hero-button{
        font-size: 16px;
        padding: 15px 35px;
    }
    .section-header .section-title{
        font-size: 36px;
    }
    .section-header .section-description{
        font-size: 18px;
    }
    .little-title{
        font-size: 23px;
    }
    .about-left-content .about-button{
        font-size: 14.5px;
    }
    .about{
        min-height: 130vh;
    }
    .about-content{
        gap: 25px;
    }
    .about-left-content .skills{
        gap: 10px;
    }
    .certif-card{
        height: 300px;
    }
    .certif-card .certf-title{
        font-size: 19px;
    }
    .certif-card .certf-text{
        font-size: 15.5px;
        text-align: justify;
    }
    .certif-card .certf-button{
        font-size: 15px;
        padding: 10px 20px;
    }
    .project-card .project-title{
        font-size: 20px;
    }
    .project-card .project-description{
        font-size: 15.5px
    }
    .project-info .project-link{
        padding: 10px 20px;
        font-size: 15px;
    }
    .project-info .links .project-link{
        padding: 10px 10px;
        font-size: 15px;
    }

    .form legend{
        font-size: 18px;
    }
    .fieldset .form-label{
        font-size: 17px;
    }
    .fieldset .form-input, .form-textarea{
        font-size: 15px;
    }
    .form .form-button{
        padding: 15px 30px;
        font-size: 16px;
    }
}

@media screen and (max-width: 680px){
    .about{
        min-height: 145vh;
    }

    .certif-card{
        height: fit-content;
    }
    
    .certif-card .certf-text{
        font-size: 14.5px;
        text-align: left;
    }

    .certif-card .certf-button{
        margin-top: 20px;
    }
}

@media screen and (max-width: 600px){
    .hero .hero-content .hero-title{
        font-size: 37px;
    }
    .hero .hero-content .hero-description{
        font-size: 19px;
    }
    .hero .hero-content .hero-button{
        font-size: 16px;
        padding: 15px 30px;
    }
    .section-header .section-title{
        font-size: 30px;
    }
    .hero .social-links .links{
        gap: 20px;
    }
    .hero .social-links .links .icon{
        font-size: 31px;
        font-weight: 400;
    }
    .section-header .section-title{
        font-size: 33px;
    }
    .section-header .section-description{
        font-size: 17px;
    }
    .about{
        border-bottom: none;
        box-shadow: none;
    }
    .about-content{
        flex-direction: column;
        gap: 50px;
    }
    .certif-card .certf-title{
        font-size: 20px;
    }
    .certif-card .certf-text{
        font-size: 16px;
        text-align: left;
    }
    .footer{
        min-height: 30vh;
    }
    .footer-title{
        font-size: 20px;
    }
    .footer-description{
        font-size: 13px;
    }
    .footer-links .icon{
        font-size: 27px;
    }
    .footer-copyright{
        font-size: 14px;
    }
}

@media screen and (max-width: 430px){
    body{
        margin-top: 8vh;
    }
    .navbar .logo{
        font-size: 21px;
        gap: 0;
    }
    .navbar .logo::before{
        bottom: 15px;
        left: 60px;
    }
    .navbar .logo .logo-image{
        width: 60px;
        height: 60px;
    }
    .header-sm-menu{
        font-size: 20px;
        margin-right: 15px;
    }
    .hero .hero-content{
        max-width: 80%;
    }
    .hero .hero-content .hero-title{
        font-size: 40px;
    }
    .hero .hero-content .hero-description{
        font-size: 19px;
    }
    .hero .hero-content .hero-button{
        font-size: 19px;
        padding: 15px 30px;
    }

    .hero .social-links{
        width: 65%;
        height: 50px;
        left: auto;
        top: 30px;
        border-radius: 10px;
    }
    .hero .social-links .links{
        flex-direction: row;
        gap: 20px;
    }
    .hero .social-links .links .icon{
        font-size: 35px;
    }
    .hero .translate-btn{
        top: auto;
        bottom: 40px;
    }
    .section-header .section-description{
        width: 100%;
    }
    .project-card .project-title{
        font-size: 19px;
    }
    .project-card .project-description{
        font-size: 16.5px
    }
    .project-info .project-link{
        padding: 10px 15px;
        font-size: 16px;
    }
    .contact{
        border-top: none;
        background: none;
        padding: 8% 0;
    }
    .contact-content .section-header .section-description{
        width: 80%;
    }

    .form{
        background-color: transparent;
        box-shadow: none;
        width: 100%;
        margin-top: -60px;
        min-height: 85vh;
        padding-bottom: 0;
    }
    .form legend{
        font-size: 16px;
    }
    .fieldset .form-label{
        font-size: 16px;
    }
    .fieldset .form-input{
        font-size: 15px;
    }
    .fieldset .form-textarea{
        font-size: 15px;
    }
    .form .form-button{
        padding: 10px 30px;
        font-size: 15px;
    }

    .footer-top-content{
        display: none;
    }

    .footer{
        min-height: 10vh;
        padding-bottom: 20px;
        text-align: center;

    }

}