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

html {
    scroll-behavior: smooth;
}

body {
    width: 100vw;
    min-height: 100vh;
    height: 100%;
    background-color: #000;
    font-family: "Raleway", sans-serif;
    overflow-x: hidden;
}

header {
    padding: 25px 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100vw;
    z-index: 999;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);

    .mobile-menu {
        display: none;
        cursor: pointer;
    }

    .mobile-menu div {
        width: 32px;
        height: 2px;
        background: #fff;
        margin: 8px;
        transition: 0.3s;
    }
}

.nav-list {
    display: flex;
    gap: 50px;

    a {
        text-decoration: none;
        cursor: pointer;
        font-size: 14px;
        color: #cacaca;
        transition: color 0.2s;
    }

    a:hover {
        color: #00a6ff;
        text-shadow: 0 0 10px rgba(0, 166, 255, 0.3);
    }
}

.home {
    width: 60%;
    min-height: 100vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    position: relative;
    padding-top: 100px;
    gap: 50px;

    a {
        color: #00a6ff;
    }
}

.infos {
    display: flex;
    flex-direction: column;
    gap: 25px;
    letter-spacing: 2px;
    padding: 0 15px;
    max-width: 60%;
    text-shadow: 0 5px 10px #0004;
}

.home h1 {
    font-size: 95px;
    color: #ffffff;
}

.subtitle {
    font-size: 15px;
    margin-top: -20px;
    color: #cacaca;
}

.p-infos {
    font-size: 19px;
    color: #cccfe9;
    text-align: justify;
}

ul {
    list-style: none;
}

.ul-social-medias {
    display: flex;
    gap: 20px;
}

.a-social-media i {
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 10px;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s, border-color 0.3s, transform 0.3s;
}

.a-social-media i:hover {
    color: #00a6ff;
    border-color: #00a6ff;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 166, 255, 0.4), inset 0 0 15px rgba(0, 166, 255, 0.1);
}

.a-social-media {
    text-decoration: none;
}

.perfil {
    max-width: 450px;
    border-radius: 50%;
    position: relative;
    padding: 4px;
}

.img-perfil {
    max-width: 100%;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    display: block;
}

.inner-shadow {
    position: relative;
    border-radius: 50%;
    background: #0a0a0a;
}

.inner-shadow::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        transparent 55%,
        rgba(0, 166, 255, 0.03) 65%,
        rgba(0, 166, 255, 0.3) 73%,
        #00a6ff 78%,
        #fff 80%,
        #00a6ff 82%,
        rgba(0, 166, 255, 0.3) 87%,
        rgba(0, 166, 255, 0.03) 95%,
        transparent 100%
    );
    animation: orbit-glow 4s linear infinite;
}

.inner-shadow::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        transparent 60%,
        rgba(0, 166, 255, 0.2) 76%,
        rgba(0, 166, 255, 0.5) 80%,
        rgba(0, 166, 255, 0.2) 84%,
        transparent 100%
    );
    animation: orbit-glow 4s linear infinite;
    filter: blur(12px);
    z-index: 0;
}

@keyframes orbit-glow {
    to { transform: rotate(360deg); }
}

/* Scroll Indicator */

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 24px;
    border-right: 2px solid rgba(0, 166, 255, 0.6);
    border-bottom: 2px solid rgba(0, 166, 255, 0.6);
    transform: rotate(45deg);
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.4; }
    50% { transform: rotate(45deg) translate(8px, 8px); opacity: 1; }
}

/* Tech Stack */

.tech-stack {
    padding: 80px 10%;
    position: relative;
    z-index: 2;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 40px auto 0;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.tech-item:hover {
    border-color: rgba(0, 166, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 166, 255, 0.1);
}

.tech-item i {
    font-size: 40px;
    color: #fff;
}

.tech-item span {
    font-size: 13px;
    color: #a0a0a0;
    font-weight: 500;
}

/* Nav Active */

.nav-list a.active {
    color: #00a6ff;
}

.projects-swiper {
    padding: 10px 0;
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.a-projects {
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    color: #a0a0a0;
    transition: color 0.2s;
}

.a-projects:hover {
    color: #ffffff;
}

.title {
    text-align: center;
    font-size: 45px;
    font-weight: 900;
    margin: 50px 0px 10px;
    padding-top: 40px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 5px 10px #0004;
}

.span-title {
    color: #00a6ff;
}

.container-projects {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    margin-bottom: 20px;
    justify-content: center;
    text-shadow: 0 5px 10px #0004;
}

.mySwiper {
    width: 99%;
    height: 250px;
}

.subtitle-projects {
    font-size: 14px;
    color: #cacaca;
    margin-top: 20px;
    margin-bottom: -35px;
    text-shadow: 0 5px 10px #0004;
}

swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-img {
    height: auto;
    width: 325px;
    border-radius: 20px;
}

.pdf-thumb {
    width: 325px;
    height: 183px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 166, 255, 0.25), rgba(5, 5, 5, 0.95));
    border: 1px solid rgba(0, 166, 255, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pdf-thumb i {
    font-size: 44px;
    color: #ff3b30;
}

.pdf-thumb span {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
}

.project {
    position: relative;
    margin-top: 20px;
    left: 0;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.project:hover {
    border-color: rgba(0, 166, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 166, 255, 0.15);
}

.project-h3 {
    width: 100%;
    padding: 0px 0px 10px 20px;
    position: absolute;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    border-radius: 0px 0px 20px 20px;
    color: #ffffff;
}

.infos-project p {
    color: #ffffff;
    font-weight: 600;
}

.infos-project {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    transition: opacity 0.3s ease;
}

.infos-project:hover {
    opacity: 1;
}

.project-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn-repo,
.btn-deploy {
    flex: 1;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    font-family: "Raleway", sans-serif;
    text-decoration: none;
    text-align: center;
    transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}

.btn-repo {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.btn-repo:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.btn-deploy {
    background: #00a6ff;
    border: 1px solid #00a6ff;
    color: #fff;
}

.btn-deploy:hover {
    background: #0087d1;
    box-shadow: 0 0 15px rgba(0, 166, 255, 0.4);
    transform: scale(1.05);
}

.btn-certificado {
    cursor: pointer;
}

.btn-certificado-imagem {
    cursor: zoom-in;
}

.certificate-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    padding: 20px;
}

.certificate-modal.is-open {
    display: flex;
}

.certificate-modal-content {
    width: min(1100px, 100%);
    height: min(90vh, 860px);
    background: #0a0a0a;
    border: 1px solid rgba(0, 166, 255, 0.4);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.certificate-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.certificate-modal-header h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.certificate-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0, 166, 255, 0.6);
    background: rgba(0, 166, 255, 0.15);
    color: #fff;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.certificate-close:hover {
    transform: scale(1.05);
    background: rgba(0, 166, 255, 0.3);
}

#certificate-iframe {
    flex: 1;
    width: 100%;
    border: none;
    background: #111;
}

#certificate-image {
    display: none;
    flex: 1;
    width: 100%;
    object-fit: contain;
    background: #111;
}

.curriculo {
    margin: 0;
    padding: 100px 10%;
    display: flex;
    justify-content: center;
    gap: 200px;
    align-items: center;
    background: radial-gradient(ellipse at 20% 50%, rgba(0, 166, 255, 0.06) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 50%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
                #050505;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.curriculo::before,
.curriculo::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
}

.curriculo::before {
    top: 0;
    background: linear-gradient(90deg, transparent 40%, #00a6ff 49%, #fff 50%, #00a6ff 51%, transparent 60%);
    background-size: 300% 100%;
    animation: line-sweep-right 3.5s linear infinite;
    box-shadow: 0 0 12px rgba(0, 166, 255, 0.4), 0 0 30px rgba(0, 166, 255, 0.15);
}

.curriculo::after {
    bottom: 0;
    background: linear-gradient(90deg, transparent 40%, #3b82f6 49%, #fff 50%, #3b82f6 51%, transparent 60%);
    background-size: 300% 100%;
    animation: line-sweep-left 3.5s linear infinite;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.4), 0 0 30px rgba(59, 130, 246, 0.15);
}

@keyframes line-sweep-right {
    0% { background-position: 200% 0; }
    100% { background-position: -100% 0; }
}

@keyframes line-sweep-left {
    0% { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}

.container-download-curriculo {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.curriculo h2 {
    font-size: 45px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #ffffff;
}

.curriculo h3 {
    font-weight: 400;
    color: #a0a0a0;
}

.curriculo h4 {
    font-weight: 200;
    color: #ffffff;
}

.btn-curriculo {
    background: none;
    border: 1px solid #00a6ff;
    border-radius: 30px;
    width: 250px;
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-top: 30px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s, border-color 0.3s, box-shadow 0.3s;
    animation: pulse-glow 2.5s ease-in-out infinite;
}

.btn-curriculo:hover {
    border-color: #00a6ff;
    color: #00a6ff;
    box-shadow: 0 0 30px rgba(0, 166, 255, 0.5), 0 0 60px rgba(0, 166, 255, 0.2);
    animation: none;
}

.btn-curriculo:active {
    opacity: 0.5;
}

.container-curriculo {
    overflow: hidden;
    border-radius: 30px;
    transition: box-shadow 0.2s, border 0.2s;
}

.container-curriculo:hover {
    box-shadow: 0 0 20px rgba(0, 166, 255, 0.3);
    border: solid 1px #00a6ff;
}

.curriculo-img {
    width: 500px;
    border-radius: 30px;
    transition: transform 0.5s ease;
}

.curriculo-img:hover {
    transform: scale(1.1);
}

/* Contato */

.contato {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    padding: 100px 10%;
    position: relative;
    z-index: 2;
}

.contato-container {
    flex: 1;
    max-width: 500px;
}

.contato-title {
    font-size: 42px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 10px;
}

.contato-subtitle {
    color: #a0a0a0;
    font-size: 16px;
    margin-bottom: 30px;
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    color: #a0a0a0;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    background: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 14px 16px;
    color: #fff;
    font-family: "Raleway", sans-serif;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #555;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #00a6ff;
}

.btn-contato {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25d366;
    border: none;
    border-radius: 30px;
    padding: 16px;
    font-size: 17px;
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.btn-contato:hover {
    background: #1ebe5a;
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.4);
}

.btn-contato i {
    font-size: 22px;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 60px;
}

.contato-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid #2a2a2a;
    border-radius: 14px;
    padding: 20px 24px;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
    text-decoration: none;
    cursor: pointer;
}

.contato-card:hover {
    border-color: #00a6ff;
    box-shadow: 0 0 15px rgba(0, 166, 255, 0.15);
    transform: translateX(4px);
}

.contato-card i {
    color: #00a6ff;
    font-size: 24px;
    min-width: 30px;
    text-align: center;
}

.contato-card span {
    color: #fff;
    font-size: 15px;
}

.footer {
    background-color: #000;
    width: 100%;
    padding-bottom: 30px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 40%, #00a6ff 49%, #fff 50%, #00a6ff 51%, transparent 60%);
    background-size: 300% 100%;
    animation: line-sweep-right 3.5s linear infinite;
    box-shadow: 0 0 12px rgba(0, 166, 255, 0.4), 0 0 30px rgba(0, 166, 255, 0.15);
}

.footer-up {
    display: flex;
    justify-content: center;
    gap: 100px;
    bottom: 0;
    margin-top: 5%;
}

.footer h3 {
    color: #ffffff;
    margin-bottom: 30px;
    margin-top: 30px;
}

.footer-left,
.footer-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-left: 150px;
}

.footer-left p {
    color: #3a3a3a;
}

.a-footer {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.1s;
}

.a-footer:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-down {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.footer-mark {
    color: #3a3a3a;
    font-size: 14px;
}

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 99;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: whatsapp-pulse 2.5s ease-in-out infinite;
}

.whatsapp-float i {
    color: #fff;
    font-size: 28px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
    animation: none;
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.7), 0 0 40px rgba(37, 211, 102, 0.2); }
}

.hidden,
.hidden-left,
.hidden-left-swiper,
.hidden-right,
.hidden-curriculo {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hidden {
    transform: scale(0.95) rotate(-90deg);
}

.hidden-left,
.hidden-left-swiper {
    transform: translateX(-50px);
}

.hidden-right {
    transform: translateX(50px);
}

.hidden-curriculo {
    transform: translateY(30px);
}

.show {
    opacity: 1;
    transform: none;
}

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -9;
    animation: fadeOutAnimation ease 30s forwards;
    will-change: opacity;
}

.video-bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -99;
    will-change: transform;
}

.mascara {
    height: 100vh;
    width: 100vw;
    background: linear-gradient(109deg, rgba(10, 12, 16, 0.99) 15%, rgba(10, 12, 16, 0.8) 60%, rgba(10, 12, 16, 0.99) 85%);
    position: fixed;
    top: 0;
    z-index: 1;
}

.video-bg video,
.preloader video,
.video-bg-tablet video,
.preloader-tablet video,
.video-bg-mobile video,
.preloader-mobile video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.video-bg-tablet,
.preloader-tablet,
.video-bg-mobile,
.preloader-mobile {
    display: none;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0, 166, 255, 0.15);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 166, 255, 0.4), 0 0 40px rgba(0, 166, 255, 0.15);
    }
}


@keyframes fadeOutAnimation {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@media screen and (max-width: 1600px) {
    .home h1 {
        font-size: 80px;
    }

    .p-infos {
        font-size: 16px;
    }
}

@media screen and (max-width: 1030px) {

    header {
        justify-content: flex-end;
        padding-right: 50px;

        .mobile-menu {
            display: block;
        }

        .mobile-menu.active .line1 {
            transform: rotate(-45deg) translate(-8px, 8px);
        }

        .mobile-menu.active .line2 {
            opacity: 0;
        }

        .mobile-menu.active .line3 {
            transform: rotate(45deg) translate(-5px, -7px);
        }

        .nav-list {
            position: absolute;
            top: 75px;
            right: 0;
            width: 20vw;
            height: 100vh;
            background: #000;
            flex-direction: column;
            align-items: center;
            padding-top: 30px;
            transform: translate(100%);
            transition: transform 0.3s ease-in-out;

            a {
                margin: 30px 0;
                opacity: 1;
                font-size: 18px;
            }
        }

        .nav-list.active {
            transform: translate(0);
        }
    }

    .home {
        width: 80%;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .infos {
        max-width: 100%;
    }

    ul {
        margin: 0 auto;
    }

    .container-perfil {
        width: 350px;
    }

    .title {
        margin-top: 100px;
        padding-top: 50px;
    }

    .projects-swiper {
        height: 100vh;
    }

    .mySwiper {
        width: 98%;
    }

    .container-projects {
        margin-top: 50px;
    }

    .curriculo {
        margin: 1% 0px 50px;
        padding-top: 15%;
        gap: 75px;
        flex-direction: column;
    }

    .footer-left,
    .footer-right {
        margin-left: 50px;
    }

    .hidden-left-swiper,
    .hidden-right {
        opacity: 1;
        transition: none;
        transform: none;
    }

    .hidden-curriculo {
        opacity: 1;
        transition: none;
        transform: none;
    }

    .preloader,
    .video-bg {
        display: none;
    }

    .preloader-tablet {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        z-index: -9;
        animation: fadeOutAnimation ease 30s;
        animation-fill-mode: forwards;
        will-change: opacity;
    }

    .video-bg-tablet {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        z-index: -99;
    }

    .tech-stack {
        padding: 60px 5%;
    }

    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .scroll-indicator {
        display: none;
    }

    .contato {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding: 80px 5%;
    }

    .contato-container {
        max-width: 100%;
    }

    .contato-title {
        font-size: 34px;
    }

    .contato-info {
        margin-top: 0;
        width: 100%;
        max-width: 500px;
    }
}

@media screen and (max-width: 500px) {

    header {
        padding: 10px;
        top: 0;

        .nav-list {
            top: 50px;
            width: 40vw;
        }
    }

    .home {
        flex-direction: column-reverse;
        width: 100%;
        min-height: 75vh;
    }

    .home h1 {
        font-size: 50px;
    }

    .p-infos {
        font-size: 18px;
    }

    .container-perfil {
        margin: -20px;
        width: 260px;
    }

    .title {
        padding-top: 100px;
        margin-top: 25px;
        margin-bottom: -50px;
    }

    .projects-swiper {
        padding: 0;
    }

    .nav-projects {
        gap: 30px;
    }

    .a-projects {
        font-size: 12px;
    }

    swiper-container {
        height: 300px;
    }

    .projects-txt {
        font-size: 14px;
        line-height: 40px;
        width: 350px;
        margin-left: auto;
        margin-right: auto;
    }

    .swiper-img {
        width: 300px;
        border-radius: 20px;
    }

    .project-h3 {
        padding: 10px 0px 10px 20px;
        border-radius: 0px 0px 20px 20px;
        font-size: 16px;
    }

    .infos-project {
        border-radius: 20px;
    }

    .curriculo {
        margin: 100px 0 50px;
        padding-top: 100px;
    }

    .curriculo h2 {
        font-size: 35px;
    }

    .curriculo h4 {
        width: 60%;
        margin: 0 auto;
    }

    .curriculo-img {
        width: 350px;
        border-radius: 20px;
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .tech-item {
        padding: 18px 12px;
    }

    .tech-item i {
        font-size: 32px;
    }

    .contato {
        padding: 60px 20px;
        gap: 30px;
    }

    .contato-title {
        font-size: 28px;
    }

    .contato-subtitle {
        font-size: 14px;
    }

    .contato-card {
        padding: 16px 18px;
    }

    .contato-card span {
        font-size: 13px;
    }

    .footer {
        padding: 20px 10px 50px;
        height: auto;
    }

    .footer-up {
        gap: 10px;
        flex-direction: column;
    }

    .footer h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-left,
    .footer-right {
        font-size: 16px;
    }

    .footer-down {
        margin-top: 60px;
    }

    .preloader-tablet,
    .video-bg-tablet {
        display: none;
    }

    .preloader-mobile {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        z-index: -9;
        animation: fadeOutAnimation ease 30s;
        animation-fill-mode: forwards;
        will-change: opacity;
    }

    .video-bg-mobile {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        z-index: -99;
    }
}

@keyframes navLink {
    from {
        transform: translate(50px);
    }

    to {
        transform: translate(0);
    }
}
