@charset "UTF-8";

@font-face {
    font-family: 'MinhaFonte';
    src: url('/fonts/Android.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Dragon';
    src: url(/fonts/Dragonlord_PERSONAL_USE_ONLY.otf);
}

body {
    margin: 0;
    font-family: "Outfit", sans-serif;
    background-color: black;
    color: #F5F5F5;
    font-family: 'Roboto', sans-serif;
}

.icones-container {
    display: flex;
    justify-content: center;
    /* Centraliza horizontalmente */
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.seta-baixo {
    margin: 40px auto 0;
    position: relative;
    top: 35px;
}

.seta-baixo::before,
.seta-baixo::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 15px;
    height: 15px;
    border-bottom: 3px solid white;
    border-right: 3px solid white;
    animation: moveDownTranslate 2s infinite ease-in-out;
    animation-delay: 0s;
    /* MESMO DELAY PARA SINCRONIZAR */
}

.seta-baixo::before {
    top: 8px;
    transform: translateX(-50%) translateY(0) rotate(45deg);
}

.seta-baixo::after {
    top: 20px;
    /* distancia vertical entre as setas */
    transform: translateX(-50%) translateY(0) rotate(45deg);
}

@keyframes moveDownTranslate {

    0%,
    100% {
        transform: translateX(-50%) translateY(0) rotate(45deg);
    }

    50% {
        transform: translateX(-50%) translateY(5px) rotate(45deg);
    }
}


#icone1,
#icone2,
#icone3 {
    font-size: 2.4em;
    color: white;
    transition: transform 0.3s ease;
    cursor: pointer;
}

#icone1:hover,
#icone2:hover,
#icone3:hover {
    transform: translateY(-5px);
}

/* Estilização do ícone customizado "ex" */
.icon-express {
    font-family: 'Arial', sans-serif;
    /* Fonte limpa */
    font-weight: bold;
    font-size: 1.8rem;
    color: #000000;
    background-color: #ffffff;
    /* Verde combinando com Node/Mongo */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    margin-bottom: 10px;
    transition: all 0.4s ease;
}

.habilidade {
    background: #000;
    border-radius: 8px;
    padding: 10px 8px;
    /* Reduzi o padding horizontal */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
    transition: all 0.2s ease;
    width: 100px;
    /* Largura fixa para todos */
}

.habilidade i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #fff;
    width: 1em;
    height: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.habilidade:hover {
    background: #1a1a1a;
    border-color: #666;
}


.habilidade h1 {
    font-size: 0.9rem;
    color: #fff;
    margin: 0;
    text-align: center;
}

/* ========================================
   ESTILO PARA ÍCONES DE IMAGEM (PRISMA)
   ======================================== */
.habilidade-icon-img {
    /* Define uma altura inicial para combinar com o font-size: 3rem dos outros ícones */
    height: 3rem;
    width: auto;
    /* Mantém a proporção do triângulo */
    margin-bottom: 10px;
    /* O mesmo espaçamento que os ícones <i> têm */

    /* O TRUQUE MÁGICO: Inverte a cor da imagem (preto vira branco) */
    filter: invert(1) brightness(1.5);

    /* Garante que a animação de hover funcione também na imagem */
    transition: transform 0.3s ease;
}

/* Responsividade */
@media (max-width: 600px) {
    #Habilidades-Container {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Partículas animadas (fundo) */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    /* Garante que fique ATRÁS de todo conteúdo */
    background: transparent;
    /* Fundo transparente para não cobrir seu design */
}

#Titulo1 {
    font-family: 'Roboto', sans-serif;
    position: absolute;
    top: 42%;
    font-size: 1.9rem;
    color: #ffffff;
    text-align: center;
    width: 100%;
    margin: 0;
}


#Titulo2 {
    font-family: 'Poppins', sans-serif;
    font-size: 4.9rem;
    color: black;
    text-align: center;
    width: 100%;
    position: absolute;
    top: 45%;
    margin: 0;
    /* Deixa o contorno mais definido */
    text-shadow:
        -2.5px -2.5px 0.5px white,
        2.5px -2.5px 0.5px white,
        -2.5px 2.5px 0.5px white,
        2.5px 2.5px 0.5px white,
        0px 0px 1px white;
    letter-spacing: 0.5px;
    /* Mais sutil */
}



/* Garanta que o conteúdo principal tenha z-index maior */
header,
section,
.sobre-container,
.projetos-container {
    position: relative;
    z-index: 1;
    /* Importante para ficar na frente das partículas */
}

.hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 3s ease, transform 3s ease;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Adicionando um contêiner para alinhar os projetos lado a lado */
.projetos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 120px;
    /* Espaço entre os projetos */
    margin: 20px 0;
    /* Espaço ao redor do contêiner */
    margin-bottom: 5%;
}

/* Ajustando os containers das imagens */
.image-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.sobre-container {
    display: flex;
    /* Usar Flexbox */
    align-items: center;
    /* Alinha verticalmente ao centro */
}

main {
    padding: 20px;
}

header {
    background-color: #0000008a;
    position: fixed;
    width: 100%;
    padding: 10px;
    top: 0;
    left: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    padding: 25px;
    margin: 0;
    justify-content: space-around;
    width: 100%;
}

nav ul li {
    margin: 0 20px;
}

a {
    color: #ffffff;
    text-decoration: none;
}

#home {
    min-height: 55vh;
}

#Navprojetos a {
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    /* Transição suave */
    text-decoration: none;
}

#hoverrr {
    margin-top: 20px;
}

#hoverrr li {
    list-style: none;
}

#hoverrr a {
    text-decoration: none;
    color: white;
}

#Navhome a:hover {
    background-color: #ffffff;
    color: #0F172A;
    text-decoration: none;
}

#Navhome a {
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    /* Transição suave */
}

#Navprojetos a:hover {
    background-color: #ffffff;
    color: #0F172A;
}

#projetos {
    text-align: center;
    font-size: 55px;
    font-family: "Roboto", sans-serif;
    padding-top: 23%;
}

#NavTecnologias a {
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    /* Transição suave */
    text-decoration: none;
}

#NavTecnologias a:hover {
    background-color: #ffffff;
    color: #0F172A;
}

#NavContato a {
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    /* Transição suave */
    text-decoration: none;
}

#NavContato a:hover {
    background-color: #ffffff;
    color: #0F172A;
}

#hoverrr a:hover {
    color: #ffffff;
    text-decoration: underline;
}



#image-containerVicioGamer {
    margin-top: 17px;
    margin-bottom: 10px;
    margin-left: 55px;
    width: 80%;
}


#habilidades {
    text-align: center;
    font-size: 45px;
    font-family: "Roboto", sans-serif;
}

#Habilidades-Container {
    display: grid;
    grid-template-columns: repeat(9, auto);
    justify-content: center;
    gap: 40px;
    margin: 80px auto;
}

/* Container principal */
#contato-section {
    width: 100%;
    padding: 20px 0;
    text-align: center;
}

#Contato {
    font-size: 2.5rem;
    font-family: "Roboto", sans-serif;
    color: white;
    margin-bottom: 100px;
    text-align: center;
    width: 100%;
}

.contato-container {
    display: flex;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sobre-mim {
    width: 400px !important;
    /* Força a largura */
    max-width: 100%;
    /* Garante responsividade */
    margin: 0 50px;
    /* Espaçamento lateral */
    padding: 20px;
    background-color: rgb(0, 0, 0);
    border-radius: 10px;
    color: white;
    box-sizing: border-box;
    /* Corrige cálculo de largura */
    flex-shrink: 0;
    /* Impede que reduza */
    border: 1px solid #4d4d4d;
    /* Borda cinza escura */
    box-shadow: 0 10px 30px rgba(90, 90, 90, 0.18);
    /* Sombra cinza discreta */
}

/* Remove qualquer flex-grow que possa estar interferindo */
.contato-container>*:not(.sobre-mim) {
    flex-grow: 0 !important;
}

.sobre-mim h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.sobre-mim p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

#Html.habilidade i {
    color: #e65100;
}

#Css.habilidade i {
    color: #0277bd;
}

#JavaScript.habilidade i {
    color: #ffd600;
}

#NodeJs.habilidade i {
    color: #539e43;
    font-size: 43px;
}

#MongoDB.habilidade i {
    color: #47A248;
    font-size: 37px;
}

#Git.habilidade i {
    color: #d84315;
}

#Github.habilidade i {
    color: #24292e;
}

/* Estilo da foto */
#minhafoto {
    border-radius: 50%;
    width: 250px;
    height: 250px;
    object-fit: cover;
    margin-right: 50px;
    margin-bottom: 50PX;
    transition: transform 0.3s ease;
}

#minhafoto:hover {
    transform: translateY(-7px);
}

/* Wrapper das redes sociais */
.redes-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 200px;
    /* mesma altura da foto */
}

/* Estilos das redes sociais */
#redesSocias {
    margin-left: 120px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    /* Espaço entre os itens */
}

.rede-social-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    transition: all 0.3s ease;
}

.rede-social-item a:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.rede-social-item i {
    font-size: 28px;
}

.fa-github {
    color: #2c2b2b;
}

.fa-instagram {
    color: #ffffff;
}

.fa-linkedin {
    color: #ffffff;
}

/* Responsividade */
@media (max-width: 768px) {
    .contato-container {
        flex-direction: column;
        align-items: center;
    }

    #minhafoto {
        margin-right: 0;
        margin-bottom: 30px;
    }

    #redesSocias {
        flex-direction: column;
        gap: 20px;
    }

    #Contato {
        font-size: 2rem;
        margin-bottom: 30px;
    }
}

section {
    margin-top: 70px;
}

h2 {
    color: #ffffff;

    font-size: 30%;
}

h3 {
    color: #ffffff;
    font-size: 25px;
}

p {
    text-align: justify;
}

/* =========================
   ÁREA DE PROJETOS (CARDS)
   ========================= */
.projetos-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    max-width: 1800px;
    margin: 0 auto;
    padding: 2.5rem 1rem 4rem 1rem;
    flex-wrap: wrap;
cursor: pointer;
}

.projeto-card {
    background: linear-gradient(180deg, rgba(38, 42, 49, 0.98) 55%, rgba(30, 33, 44, 1) 100%);
    border-radius: 20px;
    border: 1.6px solid rgba(180, 190, 210, 0.13);
    box-shadow: 0 4px 32px 0 rgba(0, 0, 0, 0.14);
    overflow: hidden;
    width: 540px;
    min-height: 370px;
    max-width: 98vw;
    display: flex;
    flex-direction: column;
    transition: transform 0.22s, box-shadow 0.22s;
    position: relative;
}

.projeto-card:hover {
    transform: translateY(-8px) scale(1.018);
    box-shadow: 0 16px 48px 0 rgba(0, 0, 0, 0.26);
    border-color: #444857;
}

/* ======== AJUSTE DO TAMANHO DAS IMAGENS DOS PROJETOS ======== */
.img-projeto-card {
    width: 100%;
    height: 200px;
    max-height: 200px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    background: #181b21;
    display: block;
    margin: 0;
    /* tira qualquer espaçamento extra */
    padding: 0;
}

/* Título e descrição centralizados */
.projeto-card h2 {
    font-family: 'Montserrat', 'Poppins', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #f5f7fa;
    margin: 2.2rem 0 0.5rem 0;
    text-align: center;
    letter-spacing: 0.01em;
    line-height: 1.12;
}

.projeto-card p,
.projeto-card .descricao-projeto {
    color: #cfd6e2;
    font-size: 1.13rem;
    text-align: center;
    font-weight: 400;
    margin: 0 0 2.2rem 0;
    line-height: 1.45;
}

@media (max-width: 1200px) {
    .projetos-container {
        gap: 1.2rem;
    }

    .projeto-card {
        width: 98vw;
        min-width: 320px;
        max-width: 99vw;
    }
}

@media (max-width: 700px) {
    .projetos-container {
        flex-direction: column;
        align-items: center;
        gap: 1.1rem;
        padding: 1.3rem 0.2rem 2rem 0.2rem;
    }

    .projeto-card {
        width: 99vw;
        min-width: 0;
        padding: 0;
    }

    .img-projeto-card {
        height: 130px;
        max-height: 130px;
    }
}

/* =========================
   MODAL DOS PROJETOS
   ========================= */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 12, 0.88);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 0;
    overflow-y: auto;
}

.modal-content {
    background: #222328;
    border-radius: 18px;
    border: 1.5px solid #333;
    padding: 2.1rem 2.1rem 1.4rem 2.1rem;
    width: 95%;
    max-width: 420px;
    box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.25);
    color: #f3f3f3;
    position: relative;
    text-align: center;
    animation: modal-entrada 0.23s;
}

@keyframes modal-entrada {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: #bbb;
    position: absolute;
    top: 17px;
    right: 24px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.12s;
    z-index: 10;
}

.close:hover {
    color: #fff;
}

.modal-content h2,
.modal-content .titleCard {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-size: 1.65rem;
    margin-bottom: 1.1rem;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.project-image,
.img-modal-projeto {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 12px;
    margin: 0 auto 17px auto;
    display: block;
    box-shadow: 0 3px 18px 0 rgba(0, 0, 0, 0.16);
}

.modal-content p {
    font-size: 1rem;
    color: #e0e0e0;
    margin-bottom: 1.1rem;
    line-height: 1.6;
}

#linkModel {
    display: inline-block;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 5px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 8px;
    text-decoration: none;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.08);
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    border: 1px solid #333;
}

.modal-content a {
    display: inline-block;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    padding: 7px 22px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 8px;
    text-decoration: none;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.08);
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    border: 1px solid #333;
}

.modal-content a:hover {
    background: #fff;
    color: #232323;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.14);
}
/* COPYRIGHT – RODAPÉ FINAL */
.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: #555; /* Cor do texto "Desenvolvido por" */
    padding: 20px 0 30px;
    margin-top: 20px;
    width: 100%;
}

/* Estilo do link dentro do copyright */
.copyright a {
    text-decoration: none; /* Remove o sublinhado */
    color: inherit;        /* Faz o link herdar o #555 do pai */
    transition: color 0.3s ease; /* Deixa a mudança de cor suave */
}

/* Efeito exclusivo para o nome no hover */
.copyright a:hover #GuilhermeLima {
    color: white;
    cursor: pointer;
}

@media (max-width: 768px) {
    .copyright {
        font-size: 0.8rem;
        padding: 15px 0 20px;
    }
}

/* --------- RESPONSIVO --------- */
@media (max-width: 1200px) {
    .caixa-projetos {
        gap: 1.7rem;
    }

    .item {
        width: 95vw;
        min-width: 320px;
        max-width: 99vw;
    }
}

@media (max-width: 600px) {
    .caixa-projetos {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        padding: 1.2rem 0.5rem 2rem 0.5rem;
    }

    .item {
        width: 98vw;
        min-width: 0;
        padding: 0;
    }

    .img-projetos {
        height: 130px;
    }

    .text-projects {
        padding: 1.2rem 0.7rem 1.2rem 0.7rem;
    }
}
/* ========================================
   MODAL – ESPAÇAMENTO RESPONSIVO 
   Garante que o modal nunca fique colado nas bordas
   ======================================== */
@media (max-width: 600px) {
  .modal {
    padding: 20px;                /* RESPIRAÇÃO NAS LATERAIS E TOPO/FUNDO */
    box-sizing: border-box;       /* INCLUI PADDING NA ALTURA/LARGURA */
  }

  .modal-content {
    max-width: 400px;            /* LIMITA LARGURA MÁXIMA */
    width: 100%;                /* OCUPA O ESPAÇO COM PADDING DO MODAL */
    padding: 1.8rem 1.5rem;    /* AJUSTE FINO DO INTERNO */
    margin: auto;              /* GARANTE CENTRALIZAÇÃO */
  }
}

@media (max-width: 480px) {
  .modal {
    padding: 16px;             /* REDUZ UM POUCO, MAS AINDA VISÍVEL */
  }

  .modal-content {
    padding: 1.5rem 1.2rem;
    max-width: 380px;
  }
}

@media (max-width: 360px) {
  .modal {
    padding: 12px;
  }

  .modal-content {
    padding: 1.2rem 1rem;
    max-width: 100%;           /* APROVEITA O PADDING DO MODAL */
  }
}