* {
    font-family: "Zalando Sans Expanded", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html body {
    background-color: #dadbdb;
    overflow: hidden;
}








/* ======== SPLASH CONTAINER ======== */
.splash {
    position: fixed;
    inset: 0;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
}

svg {
    width: 80%;
    max-width: 600px;
}

text {
    font-family: "Arial Black", "Orbitron", sans-serif;
    font-size: 49px;
    letter-spacing: 8px;
    fill: none;
    stroke: #dadbdb;
    stroke-width: 1.5;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
}

/* Cursor */
.cursor {
    width: 30px;
    height: 30px;
    border: 2px solid #555;
    border-radius: 50%;
    margin-top: 40px;
    opacity: 0;
}











.box {
    background-color: #ececec;
    width: 100%;
    max-width: 3000px;
    margin: auto;
    position: relative;
}


.logo h1 {
    font-size: 20px;
}

.logo h1 span {
    color: #3d3d3d;
}


header nav {
    width: 400px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

header nav a {
    text-decoration: none;
    color: black;

    padding: 5px;
    font-size: 15px;
    position: relative;
}

header nav a::after {
    content: "";
    position: absolute;
    background-color: #222;
    height: 2px;
    width: 0px;
    bottom: 0px;
    left: 0px;
    transition: all 0.4s;
}

header nav a:hover::after {
    width: 100%;
}

header {
    position: absolute;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    z-index: 100;
    transition: all 0.4s;
}

.menu-hamb {
    position: absolute;
    z-index: 400px;
    top: 3px;
    left: 10px;
    font-size: 20px;
    padding: 20px;
    display: none;
}


.container-menu {
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: fixed;
    top: 0px;
    left: -100%;
    width: 100%;
    height: 100dvh;
    background-color: #222;
    z-index: 400;
    transition: all 0.4s;
}

.active {
    left: 0px;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    font-size: 17px;
    color: white;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
}

main {
    width: 100%;
    top: 0px;
    height: 100vh;
    max-height: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.infos-main {
    position: absolute;
    left: 20px;
    bottom: 30px;
    gap: 10px;
    display: flex;
    flex-direction: column;
}

.redes {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 10px;
}

.redes a {
    color: #3d3d3d;
    font-size: 25px;
}

.cv a {
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #3d3d3d;
    border: 2px solid #3d3d3d;
    border-radius: 20px;
    width: 150px;
    height: 35px;
    transition: all 0.4s;
}

.cv a:hover {
    background-color: #3d3d3d;
    color: white;
}

.text-main-two {
    position: absolute;
    top: 300px;
    right: -90px;
    z-index: 100;
}

.text-main-one {
    position: absolute;
    top: 300px;
    left: -150px;
    z-index: 100;
}

.text-main-one h1,
.text-main-two h1 {
    display: flex;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    font-size: 22px;
    text-align: center;
}

.text-mobile {
    display: none;
}

.h1 {
    transform: translateY(100%);
}


.img-main {
    position: absolute;
    bottom: 0px;
}

.img-main-mobile {
    display: none;
}

.img-main::after {
    content: "";
    position: absolute;
    left: 0px;
    bottom: 0px;
    height: 100%;
    width: 100%;
    background: linear-gradient(to top, #ebeceb, #e5e5e400, #dcdcdd00);
}

main .img-main img {
    width: 940px;
}

.container-skills {
    top: 0px;
    height: 100vh;
    width: 100%;
    max-height: 800px;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
}


body {
    font-family: Arial, sans-serif;
    background: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Seção Sobre Mim */
.about {
    position: relative;
    padding: 90px 10%;
    height: 100vh;
    max-height: 1000px;
    background: url(../imgs/portfolio/background-sobre.svg);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
}

.about-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 100px;
}

.avatar img {
    width: 350px;
    border-radius: 20px;
    filter: grayscale(100%);
}

.about-text {
    color: #3d3d3d;
    min-width: 500px;
    padding-right: 10%;
    flex: 1;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.about-text p {
    margin-bottom: 12px;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    color: #3d3d3d;
    border: 2px solid #3d3d3d;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background: #3d3d3d;
    color: white;
}

.skills-grid {
    display: felx;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
    display: flex;
    background-color: #222;
    position: absolute;
    top: 0px;
    width: 100%;
    left: 0px;
}

.skill-card {
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    overflow: hidden;
}


.skill-card i {
    transform: translateY(200px);
    font-size: 2.8rem;
    color: #989fa1;
}

.skill-card p {
    margin-top: 10px;
    font-weight: bold;
    font-size: 0.8rem;
    color: #989fa1;
}

.section-contact {
    height: 100vh;
    margin: auto;
    max-height: 1000px;
    width: 100%;
    max-width: 3000px;
}


.section-projects {
    min-height: 100vh;
    width: 100%;
    max-width: 3000px;
    margin: auto;
    background-color: #222;
    background: url(../imgs/portfolio/background-projeto.svg);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}




.container-projetos {
    display: flex;
    gap: 50px;
    flex-direction: column;
    align-items: center;
    min-height: 1000px;
    margin-top: 170px;
    padding-bottom: 70px;
    width: 100%;
}

.title-projetos {
    position: absolute;
    top: 70px;
}

.title-projetos h1::after {
    position: absolute;
    left: -10px;
    content: "";
    height: 100%;
    width: 4px;
    background-color: #ebeceb;
}

.title-projetos-mobile {
    position: absolute;
    top: -30px;
    display: none;
}

.title-projetos h1,
.title-projetos-mobile h1 {
    font-size: 30px;
    color: #ebeceb;
}


.infos-projeto h1 {
    color: #ebeceb;
    font-size: 25px;
}

.infos-projeto p {
    color: #989fa1;
    font-size: 16px;
    max-width: 600px;
    padding-top: 5px;
}

.buttons {
    margin-top: 15px;
}

.buttons a {
    font-size: 13px;
    text-decoration: none;
    color: white;
    background-color: #222;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.2s;
}

.buttons a:hover {
    background-color: #505050;
}

.container-pair {
    width: 80%;
    display: flex;
    justify-content: flex-start;
}

.container-odd {
    width: 80%;
    display: flex;
    justify-content: flex-end;
}


.projeto-desk {
    background-color: #3d3d3d;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    display: flex;
    width: 90%;
    max-width: 1400px;
    gap: 20px;
}

.projeto-desk-odd {
    background-color: #3d3d3d;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    display: flex;
    width: 90%;
    max-width: 1400px;
    gap: 20px;
    flex-direction: row-reverse;
}

.box-fx {
    position: absolute;
    bottom: 30px;
}

.techs-projeto p {
    font-size: 30px;
    color: #dadbdb;
}

.techs-projeto {
    display: flex;
    gap: 10px;
}


.imagem-projeto img {
    width: 500px;
    border-radius: 8px;
}








.container-projetos-mobile {
    padding-top: 40px;
    display: none;
    flex-wrap: wrap;
    /* quebra de linha automática */
    justify-content: center;
    /* centraliza horizontalmente */
    gap: 20px;
    /* espaçamento entre os projetos */
    max-width: 1200px;
    /* limite de largura */
    margin: 0 auto;
    /* centraliza o container */

}

.container-projetos-mobile .projeto {
    flex: 1 1 400px;
    max-width: 450px;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container-projetos-mobile .projeto:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.container-projetos-mobile .projeto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* mantém proporção e corta o excesso */
    display: block;
    border-radius: 10px;
}

.section-contact {
    background: url(../imgs/portfolio/back-contato.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


.header-fixed {
    position: fixed;
    height: 70px;
    width: 100%;
    max-width: 3000px;
    background-color: #222;
    color: #dadbdb;
    z-index: 300;
}

.header-fixed nav a::after {
    background-color: white;
}

.header-fixed .menu-hamb i {
    color: white;
}

.header-fixed .logo h1 span {
    color: white;
}

.header-fixed nav a {
    color: white;
}









.contato {
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.contato .container {
    margin-top: 100px;
}

.contato h2 {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 10px;
}

.contato p {
    color: #555;
    padding: 0px 20px;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.contato-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: #222;
    border-radius: 50px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
    color: #dadbdb;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contato-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contato-item i {
    font-size: 1.5rem;
    color: #dadbdb;
    /* tom de destaque (azulado) */
}

.skills {
    display: block;
}

.skills-wrapper {
    display: none;
}


@media(min-height: 800px) {
    .main .img-main img {
        width: 1120px;
    }

    .text-main-two,
    .text-main-one {
        top: 360px;

    }
}



@media(max-width: 1288px) {
    .main .img-main img {
        width: 920px;
    }

    .container-pair,
    .container-odd {
        width: 100%;
    }

    .about {
        padding: 90px 10%;
        height: auto;
        max-height: none;
    }

    .section-projects {
        align-items: flex-start;
    }
}


@media(max-width: 1130px) {
    .container-projetos {
        display: none;
    }

    .container-projetos-mobile {
        display: flex;
    }

    .title-projetos-mobile {
        display: block;
    }

    .section-projects {
        overflow-x: visible;
    }
}



@media(max-width: 999px) {


    .box {
        overflow-x: hidden;
    }

    html body {
        background-color: #ebeceb;
    }

    main {
        height: 90vh;
    }

    header {
        justify-content: center;
    }

    header nav {
        display: none;
    }

    .text-main-one,
    .text-main-two {
        display: none;
    }

    .menu-hamb {
        display: block;
    }

    .container-menu {
        display: flex;
    }


    .text-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 350px;
        left: 20px;
        color: #989fa1;
        z-index: 300;
        text-align: center;
    }

    .text-mobile .div-h1-2 h1,
    .text-mobile .div-h1-1 h1 {
        font-size: 28px;
        display: flex;
        align-items: center;
    }

    .div-h1-2,
    .div-h1-1 {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }

    .h1 {
        display: inline-block;
        transform: translateY(100%);
    }





    .skill-card i {
        padding-top: 10px;
        font-size: 3rem;
    }

    .skill-card p {
        font-size: 13px;
    }

    .img-main {
        display: none;
    }

    .img-main-mobile {
        display: block;
    }

    .main .img-main-mobile img {
        width: 100%;
        max-width: 400px;
    }

    .main {
        background-color: #e9e9e9;
    }

    .avatar img {
        margin-top: 30px;
        width: 250px;
    }

    .skills {
        display: none;
    }

    .skills-wrapper {
        overflow: hidden;
        width: 100%;
        display: block;
    }

    .skills-grid {
        display: flex;
        gap: 0.5rem;
        width: max-content;
        animation: scroll 25s linear infinite;
    }

    .skill-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-width: 80px;
        color: #fff;
        background: #222;
        border-radius: 10px;
        padding: 1rem;
        font-size: 1rem;
    }

    .icone {
        font-size: 2rem;
        margin-bottom: .5rem;
    }

    /* animação de rolagem infinita */
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-50%);
        }
    }




    .btn {
        background-color: #3d3d3d;
        color: white;
    }

    .btn:hover {
        background: #5c5c5c;
        color: white;
    }

    .contato .container {
        margin-top: 0px;
    }

}

@media(max-width: 777px) {
    .about-text {
        min-width: 350px;
    }
}

@media(max-height: 730px) {
    .main .img-main-mobile img {
        width: 100%;
        max-width: 350px;
    }

}

