:root {
    --primary: #3b82f6;
    --secondary: #1e293b;
    --bg: #020617;
    --card: rgba(15, 23, 42, 0.6);
    --border: rgba(255, 255, 255, 0.08);
    --text: #e2e8f0;
    --muted: #94a3b8;
    --radius: 14px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Sora', sans-serif;
    background: var(--bg);
    color: var(--text);
}

h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(59,130,246,0.15), transparent 40%),
                radial-gradient(circle at 80% 80%, rgba(139,92,246,0.12), transparent 40%);
    z-index: -1;
}

.container {
    padding: 20px;
}


header {
    text-align: center;
    padding: 30px 20px;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);

    & h1 {
        font-size: 40px;
        color: #ccc;
    }

    & p {
        margin-top: 10px;
        color: #94a3b8;
    }
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 15px 0;
    transition: .3s;
    backdrop-filter: blur(10px);
    background: rgba(2, 6, 23, 0.6);
    border-bottom: 1px solid var(--border);


    & a {
        position: relative;
        text-decoration: none;
        color: #9ca3af;

        font-weight: 500;
        letter-spacing: 0.5px;

        padding-bottom: 5px;
        transition: .25s;

        &:hover {
            color: #fff;
        }

        &::after {
            content: "";
            position: absolute;

            bottom: 0;
            left: 0;

            width: 0%;
            height: 2px;

            background: #5865F2;
            transition: .25s;
        }

        &:hover::after {
            width: 100%;
        }

        &.active {
        color: #fff;
        
    }

    &.active::after {
        width: 100%;
    }

    }
    
    &.fixed {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;

        margin-top: 0;
        padding: 12px 0;

        background: rgba(2, 6, 23, 0.9);
        backdrop-filter: blur(12px);

        border-bottom: 1px solid rgba(255,255,255,0.08);

        z-index: 999;

        box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    }
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 10px;
}

section {
    padding: 50px 20px;
    max-width: 1100px;
    margin: auto;
}

h2 {
    margin-bottom: 30px;
    color: #ccc;
}

.skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.card {
    display: flex;
    align-items: center;
    flex-direction: row;
    background: var(--card);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    padding: 16px;
    transition: all 0.25s ease;
    gap: 20px;
}

.card i {
    font-size: 30px;
    margin-bottom: 10px;
    color: #5865F2;
    background: rgba(88,101,242,0.1);
    padding: 12px;
    border-radius: 10px;
    display: inline-block;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(59,130,246,0.4);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

h1, h2, h3 {
    font-weight: 800;
    letter-spacing: 0.5px;
}

.muted {
    color: var(--muted);
}
/* .projetos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.projeto {
    background: rgba(31, 41, 55, 0.6);
    border: 1px solid rgba(250, 204, 21, 0.2);
    padding: 25px;
    border-radius: 12px;
    transition: 0.3s;

    &:hover {
        transform: translateY(-8px);
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.3);
    }

    ;

    & h3 {
    color: #facc15;
        margin-bottom: 10px;
    }

    ;
} */

#contato {
    max-width: 1100px;
    margin: auto;
    padding: 60px 20px;
    color: #eaeaea;
}

#contato h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #fff;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;

}


.contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #1e1e1e, #252525);
    padding: 18px;
    border-radius: 12px;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.05);
    width: 320px;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 0 3px rgba(88,101,242,0.2);
    border-color: rgba(88,101,242,0.4);
}

.contact-card i {
    font-size: 22px;
    color: #5865F2;
    background: rgba(88,101,242,0.1);
    padding: 12px;
    border-radius: 10px;
}

.contact-card span {
    font-size: 13px;
    color: #888;
    display: block;
}

.contact-card p,
.contact-card a {
    margin: 0;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
    color: #5865F2;
}

/* #contato {
  padding: 250px 60px 20px;
  text-align: center;
}

#contato h2 {
  margin-bottom: 30px;
  font-size: 28px;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #111;
  padding: 15px 20px;
  border-radius: 12px;
  width: 260px;
  transition: 0.3s;
  border: 1px solid #222;
}

.contact-card i {
  font-size: 22px;
  color: #ffd900;
  min-width: 25px;
}

.contact-card span {
  font-size: 13px;
  color: #888;
}

.contact-card p,
.contact-card a {
  margin: 0;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
}

.contact-card a:hover {
  color: #ffd900;
}

.contact-card:hover {
  transform: translateY(-5px) scale(1.03);
  border-color: #ffd900;
  box-shadow: 0 0 0 2px rgba(255, 230, 0, 0.2);
}
 */
footer {
    text-align: center;
    padding: 25px;
    margin-top: 40px;
    color: #b0b0b0;
}

.terminal {
    background: black;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #585858;
    color: #5865F2;
    font-family: monospace;
    height: 200px;
    overflow: hidden;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    text-align: center;
    margin: 50px 0;
}

.stats h3 {
    font-size: 50px;
    color:#3b82f6;
}
@media (max-width: 768px) {
    #lightbox img {
        max-width: 90%;
    }

    #lightbox div[style*="position:absolute"] {
        position:relative !important;
        top:auto !important;
        right:auto !important;
        width:90% !important;
        margin-top:20px;
        text-align:center;
    }
}