* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior:smooth; 
}

:root {
    --primaria: #4f46e5;
    --secundaria: #7c3aed;
    --escuro: #0f172a;
    --maisescuro: #0a0f1c;
    --claro: #e2e8f0;
    --vidro: rgba(255, 255, 255, 0.1);
    --roxoicons:#7452ad;
}

body {
    background-color:rgb(4, 2, 8);
    color: var(--claro);
}

body.modal-aberto {
    overflow: hidden;
}

/* Header */
.navegacao {
    position: fixed;
    background: rgba(15, 23, 42, 0.8);
    width: 100%;
    z-index: 100;
    padding: 1.5rem;
}

.menu {
    display: flex;
    justify-content: end;
    list-style: none;
    gap: 3rem;
}

.menu-link {
    text-decoration: none;
    font-size: 1.25rem;
    color: var(--claro);
    font-weigth: 500;
    position: relative;
    padding: 0.5rem 0;
}

.menu-link {
    position: relative;
    padding-bottom: 8px;
    text-decoration: none;
    color: white;
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, var(--primaria), var(--secundaria));
    transition: transform 0.4s ease;
}

.menu-link:hover::after,
.menu-link.ativo::after {
    transform: translateX(-50%) scaleX(1);
}
/* Header */

/* Inicio */
.cabecalho {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}


.text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    width: 50%;
    height: 100vh;
    font-size: 2.5rem;
    background-image: url('./assets/background.jpg');
    background-size: cover;      
    background-position: center; 
    background-repeat: no-repeat;

    span {
        color: var(--secundaria);
    } 
}

.curriculo-contatos {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;

    a {
      text-decoration: none;
      background-color: transparent;
      font-size: 1.1rem;
      border: 1px solid var(--secundaria);
      color: white;
      padding: 8px 26px;
      text-decoration: none;
      font-weight: bold;
      transition: background 0.3s;
      cursor: pointer;
      transition: transform 0.2s ease-in-out;
    }

  a:hover {
    background-color: var(--secundaria);
    transform: scale(1.08);
  }
}

.animar-esquerda {
    opacity: 0;
    transform: translateX(-200px);
    animation: aparecerEsquerda 1s ease-out forwards;
    animation-delay: 0.5s
}

.fundo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000; /* sombra preta */
  opacity: 1;
  pointer-events: none;
  animation: fadeOut 1.5s ease-out forwards;
  animation-delay: 0.5s;
  z-index: 1;
}

@keyframes fadeOut {
  to {
    opacity: 0;
  }
}

@keyframes aparecerEsquerda {
    to {
      opacity: 1;
      transform: translateX(0);
    }
}

.fundo {
    height: 100vh;
    width: 50%;

    video {
       width: 100%;
       height: 105%;
       object-fit: cover;
    }
}

.divisoria {
    width: 100%;
    height: 1px;
    background-color: rgba(108, 76, 207, 0.3); /* roxo translúcido */
    margin: 0rem auto 0;
    border-radius: 10px;
}
/* Inicio */

/* Sobre */
.sobre {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sobre-titulo {
    font-size: 2.5rem;
    margin-top: 9rem;
}

.sobre-text {

    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
}

.sobre-paragrafo {
    width: 100%;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container-perfil {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
   
    img {
        border-radius: 50%;
        height: 350px;
        box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
    }
}

.flutuar {
  animation: subirDescer 2s ease-in-out infinite;
}

@keyframes subirDescer {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0); 
  }
}
/* Sobre */

/* Habilidades */
.habilidades {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.text-habilidades {
    color: var(--secundaria);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 80px;
}

.icon-custom {
    font-size: 68px;
    color: var(--secundaria); /* ou qualquer cor */
    transition: transform 0.3s ease;
}

.icon-custom:hover {
    transform: scale(1.1);
}

.carrossel-container {
    width: 100%;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}

.carrossel-habilidades {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.icon-habilidade {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    i {
      color:var(--roxoicons);
      font-size: 4rem;
    }

    span {
      color:var(--roxoicons);
      font-size: 1.5rem;
    }
}

.foto-habilidades {
    flex: 0 0 auto;
    width: 120px;
    height: 180px;
    pointer-events: none;
    user-select: none;
}

.foto-habilidades img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    pointer-events: none;
    user-drag: none;
}
/* Habilidades */

/* Projetos */
h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--secundaria);
    margin: 20px 0;
}

.projetos {
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container-projetos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 20px;
}

.card-projeto {
    position: relative;
    width: 400px;
    height: 300px;
    overflow: hidden;
    border-radius: 25px;
    background-color: #000;
    transition: transform 0.3s ease;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.6);
}

.card-projetos {
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.card-projeto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.premio {
  position: absolute;
  top: 0px;
  right: -7px; 
  font-size: 1.2rem;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 6px;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.card-projeto .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-projeto:hover {
    transform: translateY(-10px);
}

.card-projeto:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    font-size: 1.7rem;
    margin-bottom: 10px;
    text-align: center;
}

.icons {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;

    i {
      color:var(--roxoicons);
      font-size: 1.6rem;
    }
}

.btn-ver {
    border: 1px solid var(--secundaria);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.btn-ver:hover {
    background-color: var(--secundaria);
    transform: scale(1.08);
}

.modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #0e1a23;
    color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 12px;
    width: 80%;
    max-width: 1000px;
    font-family: 'Poppins', sans-serif;
    height: 80vh; 
    overflow-y: auto;

    ul {
      margin-left: 20px;
    }
}

.fechar {
    float: right;
    font-size: 50px;
    font-weight: bold;
    color: var(--secundaria);
    cursor: pointer;
    transition: transform 0.2s ease-in-out; 
}

.fechar:hover {
    transform: scale(1.15);
}

.modal-content h3 {
  color: #fff;
  margin-top: 20px;
  margin-bottom:20px;
  text-decoration: underline;
}

.repositorio {
    color: var(--primaria);
}

.links-github {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;

    video {
      width: 500px;
    }

    a {
      border: 1px solid var(--secundaria);
      color: white;
      padding: 8px 16px;
      border-radius: 30px;
      text-decoration: none;
      font-weight: bold;
      transition: background 0.3s;
      cursor: pointer;
      transition: transform 0.2s ease-in-out;
    }

    a:hover {
       background-color: var(--secundaria);
       transform: scale(1.08);
    }
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 20px;
}

.modal-content::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2); /* cor do "puxador" */
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.modal-content {
    scrollbar-width: thin;           
    scrollbar-color: rgba(255,255,255,0.2) transparent;
}
/* Projetos */

/* Contatos */
.contatos {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contatos-titulos {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.icons-contatos {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    gap: 50px;

    img {
      width: 40px;
      height: 40px;
    }

    a {
      text-decoration: none;
    }  

    h3 {
      font-size: 1.1rem;
      margin: 0.3rem 0 0.2rem;
      color: var(--claro);
    }

    p {
      font-size: 1.1rem;
      font-weight: 200;
      color: #444446;
      opacity: 0.8;
    }
}

.icons-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease-in-out;
}

.icons-links:hover {
    transform: scale(1.08);
}

.icon-circle {
    background-color:rgba(29, 13, 40, 0.88);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
}

footer {
    width: 100%;
    background-color:rgba(29, 13, 40, 0.88);
    color: var(--claro);
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}
/* Contatos */

@media (max-width: 1200px ) {
/* Header */
.navegacao {
    position: fixed;
    background: rgba(15, 23, 42, 0.8);
    width: 100%;
    z-index: 100;
    padding: 1.5rem;
}

.menu {
    display: flex;
    justify-content: end;
    list-style: none;
    gap: 3rem;
}

.menu-link {
    text-decoration: none;
    font-size: 1.25rem;
    color: var(--claro);
    font-weigth: 500;
    position: relative;
    padding: 0.5rem 0;
}

.menu-link {
    position: relative;
    padding-bottom: 8px;
    text-decoration: none;
    color: white;
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, var(--primaria), var(--secundaria));
    transition: transform 0.4s ease;
}

.menu-link:hover::after,
.menu-link.ativo::after {
    transform: translateX(-50%) scaleX(1);
}
/* Header */

/* Inicio */
.cabecalho {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 2rem;
    background-image: none;
    width: 100%;
    height: 50%;
    font-size: 2.5rem;

    span {
        color: var(--secundaria);
    }
}

.curriculo-contatos {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;

    a {
      text-decoration: none;
      background-color: transparent;
      font-size: 1.1rem;
      border: 1px solid var(--secundaria);
      color: white;
      padding: 8px 26px;
      text-decoration: none;
      font-weight: bold;
      transition: background 0.3s;
      cursor: pointer;
      transition: transform 0.2s ease-in-out;
    }

  a:hover {
    background-color: var(--secundaria);
    transform: scale(1.08);
  }
}

.animar-esquerda {
    opacity: 0;
    transform: translateX(-200px);
    animation: aparecerEsquerda 1s ease-out forwards;
    animation-delay: 0.5s
}

.fundo video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000; /* sombra preta */
  opacity: 1;
  pointer-events: none;
  animation: fadeOut 1.5s ease-out forwards;
  animation-delay: 0.5s;
  z-index: 1;
}

@keyframes fadeOut {
  to {
    opacity: 0;
  }
}

@keyframes aparecerEsquerda {
    to {
      opacity: 1;
      transform: translateX(0);
    }
}

.fundo {
    width: 100%;
    height: 50%;

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

.divisoria {
    width: 100%;
    height: 1px;
    background-color: rgba(108, 76, 207, 0.3); /* roxo translúcido */
    margin: 0rem auto 0;
    border-radius: 10px;
}
/* Inicio */

/* Sobre */
.sobre {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sobre-titulo {
    font-size: 3rem;
    margin-top: 8rem;
}

.sobre-text {

    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
}

.sobre-paragrafo {
    width: 100%;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container-perfil {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
   
 img {
        border-radius: 50%;
        height: 280px;
        box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
    }
}

.flutuar {
  animation: subirDescer 2s ease-in-out infinite;
}

@keyframes subirDescer {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0); 
  }
}
/* Sobre */

/* Habilidades */
.habilidades {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.text-habilidades {
    color: var(--secundaria);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 80px;
}

.icon-custom {
    font-size: 68px;
    color: var(--secundaria); /* ou qualquer cor */
    transition: transform 0.3s ease;
}

.icon-custom:hover {
    transform: scale(1.1);
}

.carrossel-container {
    width: 100%;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}

.carrossel-habilidades {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.icon-habilidade {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    i {
      color:var(--roxoicons);
      font-size: 4rem;
    }

    span {
      color:var(--roxoicons);
      font-size: 1.5rem;
    }
}

.foto-habilidades {
    flex: 0 0 auto;
    width: 120px;
    height: 180px;
    pointer-events: none;
    user-select: none;
}

.foto-habilidades img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    pointer-events: none;
    user-drag: none;
}
/* Habilidades */

/* Projetos */
h2 {
    text-align: center;
    font-size: 3rem;
    color: var(--secundaria);
    margin: 30px 0;
}

.projetos {
   padding: 40px 15px;
    height: auto;
}

.container-projetos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 20px;
}

.card-projeto {
    position: relative;
    width: 350px;
    height: 270px;
    overflow: hidden;
    border-radius: 25px;
    background-color: #000;
    transition: transform 0.3s ease;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.6);
}

.card-projetos {
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    place-items: center;
    height: 100%;
    gap: 30px;
}

.card-projeto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.premio {
  position: absolute;
  top: 0px;
  right: -3px; 
  font-size: 1.2rem;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 6px;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.card-projeto .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-projeto:hover {
    transform: translateY(-10px);
}

.card-projeto:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    font-size: 1.7rem;
    margin-bottom: 10px;
    text-align: center;
}

.icons {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;

    i {
      color:var(--roxoicons);
      font-size: 1.6rem;
    }
}

.btn-ver {
    border: 1px solid var(--secundaria);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
}

.btn-ver:hover {
    background-color: var(--secundaria);
    transform: scale(1.08);
}

.modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #0e1a23;
    color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 12px;
    width: 80%;
    max-width: 1000px;
    font-family: 'Poppins', sans-serif;
    height: 80vh; 
    overflow-y: auto;

    ul {
      margin-left: 20px;
    }
}

.fechar {
    float: right;
    font-size: 50px;
    font-weight: bold;
    color: var(--secundaria);
    cursor: pointer;
    transition: transform 0.2s ease-in-out; 
}

.fechar:hover {
    transform: scale(1.15);
}

.modal-content h3 {
  color: #fff;
  margin-top: 20px;
  margin-bottom:20px;
  text-decoration: underline;
}

.links-github {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;

    video {
      width: 500px;
    }

    a {
      border: 1px solid var(--secundaria);
      color: white;
      padding: 8px 16px;
      border-radius: 30px;
      text-decoration: none;
      font-weight: bold;
      transition: background 0.3s;
      cursor: pointer;
      transition: transform 0.2s ease-in-out;
    }

    a:hover {
       background-color: var(--secundaria);
       transform: scale(1.08);
    }
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 20px;
}

.modal-content::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2); /* cor do "puxador" */
    border-radius: 20px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.modal-content {
    scrollbar-width: thin;           
    scrollbar-color: rgba(255,255,255,0.2) transparent;
}
/* Projetos */

/* Contatos */
.contatos {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.contatos-titulos {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.icons-contatos {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    gap: 50px;

    img {
      width: 40px;
      height: 40px;
    }

    a {
      text-decoration: none;
    }  

    h3 {
      font-size: 1.1rem;
      margin: 0.3rem 0 0.2rem;
      color: var(--claro);
    }

    p {
      font-size: 1.1rem;
      font-weight: 200;
      color: #444446;
      opacity: 0.8;
    }
}

.icons-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease-in-out;
}

.icons-links:hover {
    transform: scale(1.08);
}

.icon-circle {
    background-color:rgba(29, 13, 40, 0.88);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
}

footer {
    width: 100%;
    background-color:rgba(29, 13, 40, 0.88);
    color: var(--claro);
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}
/* Contatos */
}

@media (max-width: 768px) {
/* Header */
.navegacao {
    position: fixed;
    background: rgba(15, 23, 42, 0.8);
    width: 100%;
    z-index: 100;
    padding: 2rem;
}

.menu {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 1rem;
}

.menu-link {
    text-decoration: none;
    font-size: 1rem;
    color: var(--claro);
    font-weigth: 500;
    position: relative;
    padding: 0.5rem 0;
}

.menu-link {
    position: relative;
    padding-bottom: 8px;
    text-decoration: none;
    color: white;
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, var(--primaria), var(--secundaria));
    transition: transform 0.4s ease;
}

.menu-link:hover::after,
.menu-link.ativo::after {
    transform: translateX(-50%) scaleX(1);
}
/* Header */

/* Inicio */
.cabecalho {
    height: 100vh;
    display: flex;
    justify-content: center;
    
}

.text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.6rem;
    width: 100%;
    height: 100%;
    font-size: 1.5rem;

    span {
        color: var(--secundaria);
    }
}

.curriculo-contatos {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;

    a {
      text-decoration: none;
      background-color: transparent;
      font-size: 0.7rem;
      border: 1px solid var(--secundaria);
      color: white;
      padding: 8px 26px;
      text-decoration: none;
      font-weight: bold;
      transition: background 0.3s;
      cursor: pointer;
      transition: transform 0.2s ease-in-out;
    }

  a:hover {
    background-color: var(--secundaria);
    transform: scale(1.08);
  }
}

.animar-esquerda {
    opacity: 0;
    transform: translateX(-200px);
    animation: aparecerEsquerda 1s ease-out forwards;
    animation-delay: 0.5s
}

@keyframes aparecerEsquerda {
    to {
      opacity: 1;
      transform: translateX(0);
    }
}

.fundo {
   display: none;
}

.divisoria {
    width: 100%;
    height: 1px;
    background-color: rgba(108, 76, 207, 0.3); /* roxo translúcido */
    margin: 0rem auto 0;
    border-radius: 10px;
}
/* Inicio */
/* Sobre */
.sobre {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sobre-titulo {
    font-size: 2.5rem;
    margin-top: 4rem;
}

.sobre-text {

    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
    margin-top: 1rem;
}

.sobre-paragrafo {
    width: 100%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container-perfil {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
   
 img {
        border-radius: 50%;
        height: 220px;
        box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
    }
}

.flutuar {
  animation: subirDescer 2s ease-in-out infinite;
}

@keyframes subirDescer {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0); 
  }
}
/* Sobre */
/* Habilidades */
.habilidades {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    
}

.text-habilidades {
    color: var(--secundaria);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 80px;
}

.icon-custom {
    font-size: 35px;
    color: var(--secundaria); /* ou qualquer cor */
    transition: transform 0.3s ease;
}

.icon-custom:hover {
    transform: scale(1.1);
}

.carrossel-container {
    width: 100%;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    touch-action: pan-y;
}

.carrossel-habilidades {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     justify-content: center;
     align-items: center;
     gap: 0.5rem;
}
     

.icon-habilidade {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    i {
      color:var(--roxoicons);
      font-size: 2.7rem;
    }

    span {
      color:var(--roxoicons);
      font-size: 1.2rem;
    }
}
/* Habilidades */

/* Projetos */
 h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--secundaria);
  margin: 50px 0 0 0;
}

.projetos {
  padding: 30px 10px;
  margin-bottom: 80px;
  height: auto;
}

.container-projetos {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: 20px;
  padding-bottom: 60px; 
}

.card-projetos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.card-projeto {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 300px;
  height: 175px;
  overflow: hidden;
  border-radius: 15px;
  background-color: #000;
  transition: transform 0.3s ease;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.6);
}

.card-projeto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.premio {
  position: absolute;
  top: -2px;
  right: -5px;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 6px;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.card-projeto .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-projeto:hover {
  transform: translateY(-10px);
}

.card-projeto:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  font-size: 1.7rem;
  margin-bottom: 10px;
  text-align: center;
}

.icons {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

.icons i {
  color: var(--roxoicons);
  font-size: 1.6rem;
}

.btn-ver {
  border: 1px solid var(--secundaria);
  color: white;
  padding: 8px 16px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s ease-in-out;
  cursor: pointer;
}

.btn-ver:hover {
  background-color: var(--secundaria);
  transform: scale(1.08);
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  background-color: #0e1a23;
  color: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 1000px;
  font-family: 'Poppins', sans-serif;
  height: 80vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.modal-content ul {
  margin-left: 20px;
}

.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 20px;
}

.modal-content::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.fechar {
  float: right;
  font-size: 50px;
  font-weight: bold;
  color: var(--secundaria);
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.fechar:hover {
  transform: scale(1.15);
}

.modal-content h2 {
  font-size: 1.7rem;
  color: var(--secundaria); 
  margin-top: 20px;
  margin-bottom: 20px;
}

.modal-content h3 {
  color: #fff;
  margin-top: 20px;
  margin-bottom: 20px;
  text-decoration: underline;
}

.repositorio {
  font-size: 0.8rem;
}

.links-github {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.links-github video {
  width: 300px;
}

.links-github a {
  border: 1px solid var(--secundaria);
  color: white;
  padding: 8px 16px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s ease-in-out;
  cursor: pointer;
}

.links-github a:hover {
  background-color: var(--secundaria);
  transform: scale(1.08);
}

/*  Contatos */

.contatos {
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.contatos-titulos {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.icons-contatos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  align-items: center;
  cursor: pointer;
  gap: 20px 60px;
}

.icons-contatos img {
  width: 30px;
  height: 30px;
}

.icons-contatos a {
  text-decoration: none;
}

.icons-contatos h3 {
  font-size: 1rem;
  margin: 0.3rem 0 0.2rem;
  color: var(--claro);
}

.icons-contatos p {
  font-size: 1rem;
  font-weight: 200;
  color: #444446;
  opacity: 0.8;
}

.icons-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease-in-out;
}

.icons-links:hover {
  transform: scale(1.08);
}

.icon-circle {
  background-color: rgba(29, 13, 40, 0.88);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
}

footer {
  width: 100%;
  background-color:#95c6d2;
  /* background-color: rgba(29, 13, 40, 0.88); */
  color: var(--claro);
  padding: 1.5rem 5rem 2rem 5rem;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}
