body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; /* Centraliza horizontalmente */
    flex-direction: column;
    align-items: center;     /* Centraliza também elementos inline-block */
    min-height: 100vh;       /* Faz o body ocupar toda a altura da tela */
    width: 100%;
    background-color: #212529 !important;
    color: #f5f5f5 !important;
    overflow-x: hidden; /* impede rolagem lateral */
    h2 {
        color: #daa520;
        margin: 40px 0;
    }
}

.row {
    width: 100%;
    max-width: 100%;
    justify-content: center;
}

.redes-sociais {
    display: flex;
    justify-content: center;
    padding: 25px 0 !important;
    a {
        color: #f5f5f5;
        text-decoration: none;
        width: 40% !important;
        text-align: center;
        img {
            width: 10%;
            margin-right: 10px;
        }
    }
}

.redes-sociais a:hover {
    color: #daa520;
}

.apresentacao {
    text-align: center;
    display: flex;
    justify-content: center;
    padding: 20% 5% 20% 5%;
    font-size: 30px;
    b {
        color: #daa520;
    }
}
.apresentacao .cursor {
    margin-left: 5px;
    display: inline-block;
    font-size: 5rem;
    line-height: 1;
    transition: opacity 0.1s;
}

.apresentacao .lucas-santos {
    font-size: 5rem;
    color: #daa520;
}

.apresentacao .cta-email {
    width: 40%;
    margin-top: 3rem;
    background-color: #ffd400;
    a {
        text-decoration: none;
        color: black;
    }
}

.apresentacao .btn:hover {
    color: black;
    background-color: #daa520;
}

.apresentacao :not(.btn-check)+.btn:active{
    color: black;
    border-color: transparent;
    background-color: #ffd400;
}

.github {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.linkeding {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.sobre-mim {
    display: flex;
    flex-direction: row;
    padding: 8% 0;
}

.sobre-mim .dev {
    display: flex;
    justify-content: center;
}

.sobre-mim .dev img {
    width: 80%;
    border-radius: 40px;
    margin-left: 7rem;
}

/* Carrossel */

.minhas-stacks {
    text-align: center;
    overflow: hidden;
    padding: 2rem 0;
}

.stacks-container {
    padding: 3% 0;
}

.stacks-slide img {
    height: 80px;
    width: auto;
    user-select: none;
    pointer-events: none;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.3));
    flex-shrink: 0;
}

/* Seletor */

.minhas-experiencias .area-seletor {
    display: flex;
    flex-direction: row;
    padding: 4rem 0;
}

.minhas-experiencias .area-seletor .em-breve{
    text-align: center;
    padding: 5%;
}

.minhas-experiencias .area-seletor .newton-exp {
    padding: 0% 5%;
}

.descricao {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
    width: 100%;
}

.descricao.ativa {
    display: block;
    width: 100%;
}

.lista {
    list-style: none;
    padding: 0;
    cursor: pointer;
}

.lista .xp {
    padding: 10px 15px;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.lista .xp:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.lista .xp.ativo {
    width: 100%;
    font-weight: bold;
    color: black;
    border-radius: 10px;
    border-left: 3px solid #daa520;
    background-color: #ffd400;
}

.lista .xp.ativo:hover {
    background-color: #daa520;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Minhas Stacks */

.minhas-stacks img {
    border-radius: 10px;
}

.minhas-stacks .html-5 {
    background-color: #FC490B;
}

.minhas-stacks .css-3 {
    background-color: #2196F3;
}

.minhas-stacks .javascript {
    background-color: #FBD725;
}

.minhas-stacks .php {
    background-color: #8F9ED1;
}

.minhas-stacks .laravel {
    background-color: #FF2D20;
}

.minhas-stacks .java {
    background: linear-gradient(to right, #F44336 0%, #F44336 50%, #1564BE 50%, #1564BE 100%);
}

.minhas-stacks .sql {
    background: #00BCF2;
}

.minhas-stacks .github {
    background: #5C6BC0;
}

.minhas-stacks .wordpress {
    background: #00769D;
}

.stacks-usadas {
    text-align: center;
    margin-bottom: 1rem;
}

@media (max-width: 960px) {

    html, body {
        width: 100%;
        overflow-x: hidden; /* impede rolagem lateral */
    }

    .redes-sociais a {
        width: 100% !important;
        font-size: small;
        img {
            width: 13%;
        }
    }

    .apresentacao {
        padding: 5% 0;
        font-size: 23px;
    }

    .apresentacao .cursor {
        font-size: 1.9rem; /* Reduz o tamanho no celular */
    }

    .apresentacao .lucas-santos {
        font-size: 1.9rem;
        margin-bottom: 5px;
    }

    .apresentacao .cursor {
        width: 100%;
        display: contents;
    }

    .apresentacao .cta-email {
        width: 100%;
    }

    .sobre-mim {
        display: flex;
        flex-direction: column;
        align-items: center;
        .row{
            display: block;
        }
        h2{
            text-align: center;
        }
    }

    .sobre-mim .dev img {
        width: 100%;
        margin-left: 0;
        margin-top: 15px;
    }

    .minhas-experiencias {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .minhas-experiencias h2 {
        text-align: center;
    }

    .minhas-experiencias .area-seletor {
        flex-direction: column;
    }
}