/* fontes */
@import url('https://fonts.googleapis.com/css2?family=Nunito&family=Quicksand&display=swap');

/* Variaveis */
:root {
    /* cores */
    --cor-do-texto: rgb(0, 0, 0);
    --cor-do-background-header: rgb(11, 6, 15);
    --cor-bordas: rgb(102, 102, 102);
    --cor-branca: #fff;

    /* distancia */
    --distancia-do-main-header: 300px;
}

/* Formatação da pagina */
html,
body {
    font-family: Quicksand, Arial, Helvetica, sans-serif;
    font-weight: 600;
    color: var(--cor-do-texto);

    width: 100%;
    height: 100%;
}

section#curriculo h2, section#habilidades h2, section#portifolio h2, section#contato h2 {
    font-weight: 600;
}


/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--distancia-do-main-header);
    height: 100%;

    background: var(--cor-do-background-header);
    transition: all ease-in-out 0.6s;
    z-index: 8001;
    overflow-y: auto;
}

#header .profile img {
    margin: 15px auto;
    display: block;
    width: 120px;
    border: 8px solid var(--cor-bordas);
    border-radius: 50%;
}

#header .profile h1 {
    font-size: 25px;
    margin: 0;
    padding: 0;
    font-weight: 700;
    text-align: center;
    color: var(--cor-branca);
}

#header .profile .social-links a {
    font-size: 1rem;
    background: var(--cor-bordas);
    color: var(--cor-do-texto);
    padding: 0.5rem;
    margin-right: 1rem;
    border-radius: 50%;
    transition: 0.2s;
    text-decoration: none;
}


#header .profile .social-links .icone:hover {
    background: var(--cor-branca);
    color: rgb(11, 6, 15);
}

/* nav-menu */
.nav-menu {
    padding: 1.5rem;
    max-height: calc(100vh - 150px); /* Define a altura máxima do menu */
    overflow-y: auto; /* Adiciona uma barra de rolagem vertical quando necessário */    
}

.nav-menu a,
.nav-menu a:focus {
    display: flex;
    align-items: center;
    color: rgb(136, 136, 136);
    transition: 0.3s;
    font-size: 15px;
}

.nav-menu a i,
.nav-menu a:focus i {
    font-size: 24px;
    padding-right: 0.7rem;
    color: rgb(121, 121, 121);
}

.nav-menu a:hover,
.nav-menu .active,
.nav-menu .active:focus,
.nav-menu li:hover > a {
    text-decoration: none;
    color: var(--cor-branca);
}

.nav-menu a:hover i,
.nav-menu .active i,
.nav-menu .active:focus i,
.nav-menu li:hover > i {
    color: rgb(72, 0, 100);
}

/* Aba Principal */

#main {
    margin-left: var(--distancia-do-main-header);
    transition: all ease-out 1s;
}

section#inicio {
    background-image: url(./img/fundo.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    
    width: 100%;
    height: 100vh;
}

section#inicio h2 {
    font-size: 4rem;
}

section#inicio span#subtitle {
    margin-right: 2rem;
    font-size: 1.4rem;
}

.text-shadow {
    text-shadow: 4px 4px 10px #000000;
}


section#inicio div#arraste a {
    text-decoration: none;
    color: var(--cor-branca);
}

i.menu-mobile {
    position: fixed;
    color: #fff;
    background-color: #632bff;
    right: 1rem;
    top: 1rem;
    font-size: 2.5rem;
    border-radius: 4rem;
    cursor: pointer;
    z-index: 100;
    width: 45px;
    height: 45px;
    display: none;
    justify-content: center;
    align-items: center;
    transition: 0.2s; 
}

.menu-nav-active {
    overflow: hidden;
}

.menu-nav-active #header {
    left: 0;
}

@media (max-width: 900px) {
    #header{
        left: -300px;
    } 

    i.menu-mobile {
        display: flex;
    }

    section#inicio h2 {
        font-size: 3rem;
    }

    section#inicio span#subtitle {
        margin-right: 0;
        font-size: 1rem;
    }

    #main {
        margin-left: 0;
    }

}

/* Sobre */
section#sobre {
    overflow: hidden;
}

section#sobre h2{
    font-size: 3rem;
    font-weight: 900;
}

.img-fluid {
    height: 400px; /* Defina a altura desejada */
    width: 100%; /* Adicione essa linha para garantir que a imagem ocupe a largura total do contêiner */
    object-fit: cover; /* Redimensiona a imagem para preencher o espaço definido */
    object-position: center; /* Define a posição de visualização da imagem */
    margin-left: auto; /* Centraliza a imagem horizontalmente */
    margin-right: auto; /* Centraliza a imagem horizontalmente */
    display: block; /* Adicione essa linha para remover margens indesejadas */
}

section#sobre h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Barra de Scroll Lateral */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    width: 10px;
    box-shadow: inset 0 0 .6rem #000000;
    background-color: #fff;
}

::-webkit-scrollbar-thumb {
    background-color: #000000;
    border-radius: 10px;
}

/* Habilidades */

section.section-bg {
    background-color: #b7bff0;
}

/* Curriculo */
.cv .cv-title {
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 20px;

    color: #1b1b1b;
}

.cv .cv-item {
    padding: 0 0 20px 20px;
    margin-top: -2px;
    border-left: 2px solid #370d6d;
    position: relative;
}

.cv .cv-item h4 {
    line-height: 18px;
    font-weight: 600;
    text-transform: uppercase;
    font-family: 'Nunito', sans-serif;
    color: #000000;
    margin-bottom: 10px;
}

.cv .cv-item h5 {
    background-color: #19ff19;
    padding: 5px 15px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 10px;
    border-radius: 20px;
}

.cv .cv-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 16px;
    height: 16px;
    border: 2px solid rgb(102, 32, 167);
    background: #000000;
    border-radius: 50%;
}

/* Portifolio */

/* Estilos personalizados para cards escuros no carrossel */
.carousel-item .card {
    background-color: #333; /* Cor de fundo escura desejada, por exemplo, preto (#333) */
    color: #fff; /* Cor do texto desejada, por exemplo, branco (#fff) */
}

.card-text {
    overflow-y: auto; /* Adiciona uma barra de rolagem vertical quando necessário */
    min-height: 20px; /* Garante que a barra de rolagem funcione dentro da altura máxima do card */
}

@media (max-width: 1700px) {
    .carousel-indicators {
        bottom: -10%;
    }

    .carousel-control-prev, .carousel-control-next {
        bottom: -100%;
        margin: 0;
    }

    .carousel-control-prev {
        left: 35%
    }
    
    .carousel-control-next {
        right: 35%;
    }

    [data-anime="right"] {
        transform: translate3d(-100%, 0, 0);
    }
}


/* Contato */
section#contato h4 {
    font-weight: 900;
}

section#contato .borda-escuro {
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}




/* Animação */
[data-anime] {
    opacity: 0;
    transition: 1s;
}

[data-anime = "down"] {
    transform: translate3d(0, -100%, 0);
}

[data-anime = "up"] {
    transform: translate3d(0, 100%, 0);
}

[data-anime = "left"] {
    transform: translate3d(-100%, 0, 0);
}

[data-anime = "right"] {
    transform: translate3d(50px, 0, 0);
}

[data-anime].animate {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}



#btn-enviar-loader {
    display: none;
}

#alerta {
    position: fixed;
    z-index: 10;
    top: 30px;
    right: 30px;
}