/* =======================================================
   RESET
======================================================= */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.7;
    -webkit-font-smoothing:antialiased;
    transition:background var(--transition), color var(--transition);
}

img{
    display:block;
    max-width:100%;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

button{
    border:none;
    background:none;
    cursor:pointer;
    font-family:inherit;
}

/* =======================================================
   VARIÁVEIS
======================================================= */

:root{

    --bg:#090909;
    --bg2:#101010;
    --card:#161616;

    --border:#2b2b2b;

    --text:#ffffff;
    --text2:#9d9d9d;

    --primary:#ffffff;

    --shadow:0 0 80px rgba(255,255,255,.08);

    --radius:16px;

    --transition:.35s ease;
}

body.light{
    --bg:#f5f5f5;
    --bg2:#ffffff;
    --card:#ffffff;
    --border:#e4e4e4;
    --text:#111111;
    --text2:#5b5b5b;
    --primary:#111111;
    --shadow:0 0 80px rgba(0,0,0,.08);
}

/* =======================================================
   CONTAINER
======================================================= */

.container{

    width:min(1180px,92%);
    margin:auto;

}

/* =======================================================
   HEADER
======================================================= */

.header{

    position:fixed;
    top:0;
    left:0;
    width:100%;

    z-index:999;

    background:rgba(9,9,9,.96);

    border-bottom:1px solid var(--border);

    backdrop-filter:blur(18px);

}

body.light .header{
    background:rgba(255,255,255,.96);
}

.header .container{

    display:flex;
    justify-content:space-between;
    align-items:center;

    height:72px;

}

.logo{

    font-weight:700;
    font-size:20px;

}

.menu{

    display:flex;
    gap:40px;

}

.menu a{

    color:var(--text2);

    transition:var(--transition);

    font-weight:500;

}

.menu a:hover{

    color:white;

}

.theme-button{

    width:38px;
    height:38px;

    border-radius:50%;

    display:grid;
    place-items:center;

    color:var(--text);

    transition:var(--transition);

}

.theme-button:hover{

    background:var(--card);

}

/* =======================================================
   HERO
======================================================= */

.hero{

    min-height:100vh;

    display:flex;
    align-items:center;

    padding-top:72px;

}

.hero-content{

    display:grid;

    grid-template-columns:1fr 470px;

    align-items:center;

    gap:70px;

}

.hero-text h1{

    font-size:68px;

    font-weight:800;

    line-height:1.1;

    margin-bottom:24px;

}

.hero-text p{

    font-size:20px;

    color:var(--text2);

    max-width:600px;

}

.hero-buttons{

    margin-top:40px;

    display:flex;

    gap:16px;

}

.btn{

    padding:15px 28px;

    border-radius:999px;

    transition:var(--transition);

    font-weight:600;

}

.btn-primary{

    background:var(--text);

    color:var(--bg);

}

.btn-primary:hover{

    transform:translateY(-2px);

}

.btn-outline{

    border:1px solid var(--border);
    color:var(--text);

}

.btn-outline:hover{

    background:var(--card);

}

/* =======================================================
   FOTO
======================================================= */

.hero-image{

    position:relative;

    display:flex;

    justify-content:center;

}

.image-glow{

    position:absolute;

    width:480px;
    height:480px;

    border-radius:50%;

    background:radial-gradient(circle,
    rgba(255,255,255,.14),
    transparent 70%);

    filter:blur(24px);

}

.hero-image img{

    width:420px;
    height:420px;

    object-fit:cover;

    border-radius:50%;

    border:5px solid var(--border);

    position:relative;

}

/* =======================================================
   SECTION TITLE
======================================================= */

.about{

    padding:120px 0;

}

.section-title{

    text-align:center;

    margin-bottom:80px;

}

.section-title h2{

    font-size:56px;

    margin-bottom:16px;

}

.section-title p{

    color:var(--text2);

    font-size:20px;

}

.about-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

}

.column-title{

    font-size:34px;

    margin-bottom:40px;

}

/* =======================================================
   TIMELINE
======================================================= */

.timeline{

    position:relative;

    padding-left:40px;

}

.timeline::before{

    content:"";

    position:absolute;

    top:0;
    left:10px;

    width:2px;

    height:100%;

    background:#323232;

}

.timeline-item{

    position:relative;

    padding-bottom:56px;

}

.timeline-dot{

    position:absolute;

    left:-38px;

    top:8px;

    width:18px;
    height:18px;

    border-radius:50%;

    background:white;

    border:5px solid #090909;

    box-shadow:0 0 0 2px white;

}

.timeline-content{

    background:transparent;

}

.date{

    color:#8b8b8b;

    font-size:14px;

    display:block;

    margin-bottom:10px;

    letter-spacing:.5px;

}

.timeline-content h4{

    font-size:28px;

    margin-bottom:6px;

}

.timeline-content h5{

    color:#cfcfcf;

    margin-bottom:14px;

    font-size:18px;

    font-weight:600;

}

.timeline-content p{

    color:#9c9c9c;

    margin-bottom:10px;

}
/* =======================================================
   SKILLS
======================================================= */

.skills{
    margin-top:60px;
}

.skills-list{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.skills-list span{

    padding:10px 18px;

    border:1px solid var(--border);

    border-radius:999px;

    background:var(--card);

    color:#d8d8d8;

    font-size:15px;

    font-weight:500;

    transition:var(--transition);

}

.skills-list span:hover{

    background:white;

    color:#000;

    transform:translateY(-3px);

}

/* =======================================================
   CONTACT
======================================================= */

.contact{

    padding:120px 0;

    border-top:1px solid var(--border);

}

.contact-links{

    display:flex;

    justify-content:center;

    gap:24px;

    flex-wrap:wrap;

}

.contact-links a{

    padding:16px 30px;

    border-radius:999px;

    border:1px solid var(--border);

    background:var(--card);

    transition:var(--transition);

    font-weight:600;

}

.contact-links a:hover{

    background:white;

    color:black;

    transform:translateY(-4px);

}

/* =======================================================
   FOOTER
======================================================= */

.footer{

    margin-top:100px;

    border-top:1px solid var(--border);

    background:var(--bg2);

}

body.light .footer{
    background:#f0f0f0;
}

.footer-content{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:36px 0;

    gap:20px;

}

.footer nav{

    display:flex;

    gap:30px;

}

.footer nav a{

    color:#9c9c9c;

    transition:var(--transition);

}

.footer nav a:hover{

    color:white;

}

.social{

    display:flex;

    gap:18px;

}

.social a{

    color:#9d9d9d;

    transition:var(--transition);

}

.social a:hover{

    color:white;

}

.copyright{

    text-align:center;

    color:#777;

    font-size:14px;

    border-top:1px solid var(--border);

    padding:24px;

}

/* =======================================================
   ANIMAÇÕES
======================================================= */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.hero-text{

    animation:fadeUp .8s ease;

}

.hero-image{

    animation:fadeUp 1s ease;

}

.timeline-item{

    animation:fadeUp .9s ease;

}

.skills-list span{

    animation:fadeUp .9s ease;

}

/* =======================================================
   HOVERS
======================================================= */

.timeline-item{

    transition:var(--transition);

}

.timeline-item:hover{

    transform:translateX(6px);

}

.hero-image img{

    transition:var(--transition);

}

.hero-image img:hover{

    transform:scale(1.02);

}

.logo{

    transition:var(--transition);

}

.logo:hover{

    opacity:.85;

}

/* =======================================================
   SCROLLBAR
======================================================= */

::-webkit-scrollbar{

    width:12px;

}

::-webkit-scrollbar-track{

    background:#090909;

}

::-webkit-scrollbar-thumb{

    background:#2b2b2b;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#444;

}

/* =======================================================
   SELECTION
======================================================= */

::selection{

    background:white;

    color:black;

}

/* =======================================================
   RESPONSIVO
======================================================= */

@media(max-width:1100px){

    .hero-content{

        grid-template-columns:1fr;

        text-align:center;

    }

    .hero-text{

        order:2;

    }

    .hero-image{

        order:1;

    }

    .hero-buttons{

        justify-content:center;

    }

    .about-grid{

        grid-template-columns:1fr;

        gap:70px;

    }

}

@media(max-width:768px){

    .header .container{

        height:64px;

    }

    .menu{

        display:none;

    }

    .hero{

        padding-top:100px;

    }

    .hero-text h1{

        font-size:48px;

    }

    .hero-text p{

        font-size:18px;

    }

    .hero-image img{

        width:300px;

        height:300px;

    }

    .image-glow{

        width:340px;

        height:340px;

    }

    .section-title h2{

        font-size:42px;

    }

    .column-title{

        font-size:30px;

    }

    .timeline-content h4{

        font-size:24px;

    }

    .footer-content{

        flex-direction:column;

        text-align:center;

    }

    .footer nav{

        flex-wrap:wrap;

        justify-content:center;

    }

}

@media(max-width:520px){

    .hero-text h1{

        font-size:38px;

    }

    .hero-buttons{

        flex-direction:column;

    }

    .btn{

        width:100%;

    }

    .hero-image img{

        width:240px;

        height:240px;

    }

    .image-glow{

        width:270px;

        height:270px;

    }

    .timeline{

        padding-left:28px;

    }

    .timeline-dot{

        left:-27px;

    }

    .timeline-content h4{

        font-size:22px;

    }

    .timeline-content h5{

        font-size:16px;

    }

    .skills-list{

        gap:10px;

    }

    .skills-list span{

        font-size:14px;

        padding:8px 14px;

    }

}