:root {
    --primary-color: #B9B9B9;
    --secondary-color: #F6F6F6;
    --tertiary-color: #57A4FF;
    --quaternary-color: #ff577f;
    --background-color: #2B2B2B;
    --primary-font: "Do Hyeon", sans-serif;
    --secondary-font: "Lato", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    color: #fff;
    font-family: var(--primary-font);
}

body {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: var(--background-color);


}

.cabecalho {
    display: flex;
    width: 100%;
    padding: .5rem 4rem;
    justify-content: center;
    align-items: center;
}

.nav {
    display: flex;
    width: 100%;
    gap: 4rem;
    justify-content: center;
    align-items: center;
}

.nav__button {
    display: flex;
    align-items: center;
    gap: .8rem;
    font-family: var(--primary-font);
    font-size: 1rem;
    font-weight: 500;
    color: var(--tertiary-color);
}

.nav__button i {
    color: var(--tertiary-color);
}

.nav__button__active {
    border-bottom: 3px solid var(--tertiary-color);
}

.conteudo {
    padding: 2rem 4rem;
    width: 100%;
    height: auto;
    z-index: 1;
}

.conteudo__apresentacao {
    display: flex;
    width: 100%;
    justify-content: space-around;
    align-items: center;
}

.conteudo__apresentacao__sobre_mim {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 40%;
}

.conteudo__apresentacao__titulo {
    width: 100%;
    font-weight: 500;
    font-size: 2rem;
}

.conteudo__apresentacao__titulo::after {
    content: "|";
    color: var(--tertiary-color);
    animation: piscar .6s infinite;

}

@keyframes piscar {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.conteudo__apresentacao__titulo span {
    color: var(--tertiary-color);
}

.sobre_mim__descricao {
    font-size: 1.2rem;
    font-weight: 500;
    font-family: var(--secondary-font);
}

.conteudo__apresentacao__redes_sociais {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
}

.redes_sociais__button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 20rem;
    border: 2px solid var(--tertiary-color);
    border-radius: 8px;
    padding: 1rem 0;
    font-size: 1.2rem;
    font-weight: 500;
    font-family: var(--secondary-font);
}

.redes_sociais__button i {
    color: var(--tertiary-color);
}

.conteudo__apresentacao__wrap__img {
    position: relative;
    width: 18%;
    height: 380px;
}

.conteudo__apresentacao__img {
    position: absolute;
    border-radius: 16px;
    width: 100%;
    z-index: 1;
}

.conteudo__apresentacao__img__borda {
    border-radius: 16px;
    width: 100%;
    height: 100%;
    transform: translate(16px, 16px);
    z-index: 0;
    border: 2px solid var(--tertiary-color);

}

.background-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100%;
    width: 80%;
    position: fixed;
    top: 0;
    left: 6rem;
    z-index: -1;
}

.rodape {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-top: 1px solid var(--tertiary-color);
    gap: 1rem;
    padding: 1rem;
}

.rodape img {
    width: 8rem;
}

/* ----------------- Estilização da página Habilidades ----------------- */
.container {
    padding: 3rem 0rem;
}

.conteudo__habilidades {
    width: 50%;
}

.conteudo__habilidades__sobre_mim {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.conteudo__grupo__img {
    width: 30%;
}

.conteudo__grupo__img img {
    width: 100%;
}

/* ---------------- projetos ----------------- */

.conteudo__apresentacao__projetos {
    display: flex;
    flex-direction: column;
    padding: 2rem 4rem;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.conteudo__projetos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    width: 100%;
    flex-wrap: wrap;
}

.projeto {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 22rem;
    width: 20rem;

}

.projeto__img {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
}

.projeto__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    z-index: -10;
}

.projeto__img p {
    display: none;
    position: absolute;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5);
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: start;
    padding: 6rem .5rem .5rem;

}

.projeto__img:hover p {
    display: block;
}

@media (max-width: 768px) {
    .conteudo__apresentacao {
        display: flex;
        flex-direction: column-reverse;
        gap: 2rem;
    }

    .conteudo__apresentacao__wrap__img {
        width: 65%;
    }

    .conteudo__apresentacao__img {
        width: 100%;
        max-width: 13.75rem;
    }

    .conteudo__apresentacao__img__borda {
        height: 100%;
        width: 100%;
        max-width: 13.75rem;
    }

    .conteudo__apresentacao__sobre_mim {
        width: 100%;
    }
}