/* Configuração Geral da página */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: #311731;
}

h2 {
    font-size: 2rem;
    margin-bottom: 4rem;
    text-align: center;
}

/* Configuração da navbar */
.navbar {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    padding: 25px 9%;
    background: #251d40;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}


.navbar ul {
    display: flex;
}

.navbar ul li {
    list-style: none;
    margin-left: 35px;
}

.navbar ul li a {
    font-size: 20px;
    font-weight: 500;
    color: white;
    text-decoration: none;
    padding: 15px;
    display: block;
    text-align: center;
}

.navbar ul li a:hover {
    transition: 0.6s;
    border-radius: 30px;
}

.navbar ul li:hover a {
    transform: translateY(-5px);
    transition: all 0.5s;
}


/* Configuração da Logo do site */
.logo img{
    display: flex;
    max-width: 150px;
    max-height: 80px;
    align-items: center;
    margin: 0;
}


/* Configuração do conteúdo sobre mim */
.about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 100px 9% 40px;
    color: #fff;
}

.about .about-me {
    font-size: 20px;
}

.about-me .sci a {
    text-decoration: none;
    display: inline-flex;
    padding: 20px;
    border-radius: 50%;
    font-size: 40px;
    color: #fff;
    margin: 15px 8px;
}

.about-me .sci a:hover {
    transform: translateY(-5px);
    transition: all 0.5s;
}

.about-me .sci a i:hover {
    transition: 0.5s;
}

.about-me h1 {
  padding-bottom: 20px;
}

.about-me p {
  font-size: 20px;
}

/* Configurando a imagem da Home Page */
.home-img .img-box {
    width: 28vw;
    height: 28vw;
    border-radius: 50%;
}

.home-img .img-box .img-item {
    position: relative;
    width: 100%;
    height: 100%;
    background: #311731;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.home-img .img-box .img-item img {
    position: absolute;
    top: -5px;
    display: block;
    width: 250%;
    object-fit: cover;
    mix-blend-mode: lighten;
}

/* Configurando a hiddenPage de jogos */
.hiddenPage {
    position: relative;
    display: flex;
    justify-content: center
}

.hiddenPage a {
    position: absolute;
    display: block;
    right: -15px;
}


/* Configuração do menu Burguer */
.menu-burger {
    display: none;
    border: none;
    background: none;
    border-top: 3px solid #fff;
    cursor: pointer;
}

.menu-burger::before,
.menu-burger::after {
    content: " ";
    display: block;
    width: 30px;
    height: 3px;
    background: #fff;
    margin-top: 5px;
    position: relative;
    transition: 0.3s;
}

/* Configurando a seção de Minhas Experiências */
.experience {
    background-color: #311731;
    color: #ffffff;
    padding-bottom: 20rem;
}

.experi h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.experi-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.experi-container .experi-box {
    flex: 1 1 30rem;
    max-width: 500px;
    background-color: rgba(255, 255, 255, 0.05); /* leve transparência */
    padding: 2rem;
    border-radius: 2rem;
    text-align: center;
    box-shadow: 5px 20px 30px rgba(12, 12, 12, 0.767); /* sombra que dá profundidade */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(6px); /* efeito vítreo sutil, se quiser mais moderno */
    border: 1px solid rgba(255, 255, 255, 0.1); /* borda sutil */
}

.experi-container .experi-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.experi-box .imgDamata{
    width: 100px; /* Ajuste esse valor conforme necessário */
    height: auto;
    margin-bottom: 1rem;
    border-radius: 1rem; /* Se quiser deixar arredondado */
    object-fit: contain; /* Garante que a imagem não fique esticada */
    padding-bottom: 3rem;
}

.experi-box .imgFX{
    width: 80px; /* Ajuste esse valor conforme necessário */
    height: auto;
    margin-bottom: 1rem;
    border-radius: 1rem; /* Se quiser deixar arredondado */
    object-fit: contain; /* Garante que a imagem não fique esticada */
}

.experi-box h3 {
    font-size: 2rem;
    margin-bottom: 4rem;
}

.experi-box p {
    font-size: 1.5rem;
    margin: 1rem 0 3rem;
    margin-top: -2rem;
}


/* Configurando a seção de Parceiros */ 
.parteners {
    background-color: #2B2B42;
    color: #ffffff;
    padding: 4rem 2rem;
    text-align: center;
}

.parteners h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.parteners-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.parteners-img-item {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255,255,255,0.05);
    border-radius: 1rem;
    padding: 1rem;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.parteners-img-item:hover {
    transform: scale(1.05);
}

/* Nome do parceiro no hover */
.parteners-img-item::after {
    content: attr(data-name);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffffcc;
    color: #2B2B42;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;
}

.parteners-img-item:hover::after {
    opacity: 1;
}

.parteners-img-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0.5rem;
}

/* Configurando a seção de Projetos */
.projects {
    background-color: #1e2a38;
    color: #ffffff;
    padding-top: 5rem;
    align-items: center;
}

.proje h2 {
    margin-bottom: 4rem;
    align-items: center;
}

.projects .proje-container a {
    color: inherit;             /* Herdar a cor do texto normalmente */
    text-decoration: none;      /* Remove o sublinhado */
    display: block;             /* Garante que o link ocupa toda a área */
    width: 100%;
    max-width: 180px;
    height: 100%;
}

.proje-container a {
    display: flex;
    justify-content: center;
    text-align: inherit;
}

.proje-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    padding: 0 1rem 2rem;
    justify-items: center;
    padding-bottom: 10rem;
    padding-top: 10rem;
}


.proje-box {
    background-color: rgba(26, 94, 243, 0.08);
    padding: 5rem 3rem;
    border-radius: 1rem;
    text-align: center;
    width: 140%;
    max-width: 220px;
    height: 280px; /* <-- Altura fixa */
    box-shadow: 0 4px 10px rgba(18, 187, 238, 0.192);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;                 /* Alinhamento interno */
    flex-direction: column;
    justify-content: center;      /* Centraliza o conteúdo verticalmente */
}

.proje-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(22, 193, 236, 0.671);
}

.proje-box h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.proje-box p {
    font-size: 0.9rem;
    color: #ccc;
}



/* Configurando a seção de Habilidades */
.skills {
    background-color: #4A2F4D;
    color: #ffffff;
    padding-top: 5rem;
}

.hability-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    padding: 0 1rem 2rem;
    justify-items: center;
    padding-bottom: 10rem;
    padding-top: 10rem;
}

.hability-box {
    background-color: rgba(26, 94, 243, 0.08);
    padding: 5rem 3rem;
    border-radius: 1rem;
    text-align: center;
    width: 140%;
    max-width: 180px;
    height: 220px; /* <-- Altura fixa */
    box-shadow: 0 4px 10px rgba(18, 187, 238, 0.192);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;                 /* Alinhamento interno */
    flex-direction: column;
    justify-content: center;      /* Centraliza o conteúdo verticalmente */
}

.hability-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(22, 193, 236, 0.671);
}


/* Configurando a seção de Contato */
.contacts {
    background-color: #251d40;
    color: #ffffff;
    padding-bottom: 4rem;
}

.contacts h2 {
    margin-bottom: 5rem;
    padding-top: 3rem;
}

.contacts form {
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}

.contacts form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contacts form .input-box input,
.contacts form textarea {
    width: 50%;
    padding: 1rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: var(--second-bg-color);
    border-radius: .8rem;
    margin: .7rem 0;
}

.contacts form textarea {
    resize: none;
}

.contacts .input-container .input-box {
  justify-content: center;
}

/* From Uiverse.io by cssbuttons-io */ 
.c-button {
  color: #000;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  padding: 0.9em 1.6em;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  z-index: 1;
}

.c-button--gooey {
  color: #4A2F4D;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 4px solid #4A2F4D;
  border-radius: 16px;
  position: relative;
  transition: all 700ms ease;
}

.c-button--gooey .c-button__blobs {
  height: 100%;
  filter: url(#goo);
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  bottom: -3px;
  right: -1px;
  z-index: -1;
  border-radius: 10px;
}

.c-button--gooey .c-button__blobs div {
  background-color: #4A2F4D;
  width: 34%;
  height: 100%;
  border-radius: 100%;
  position: absolute;
  transform: scale(1.4) translateY(125%) translateZ(0);
  transition: all 700ms ease;
}

.c-button--gooey .c-button__blobs div:nth-child(1) {
  left: -5%;
}

.c-button--gooey .c-button__blobs div:nth-child(2) {
  left: 30%;
  transition-delay: 60ms;
}

.c-button--gooey .c-button__blobs div:nth-child(3) {
  left: 66%;
  transition-delay: 25ms;
}

.c-button--gooey:hover {
  color: #fff;
}

.c-button--gooey:hover .c-button__blobs div {
  transform: scale(1.4) translateY(0) translateZ(0);
}

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 9%;
    background: #311731;
}

.footer-text p {
    font-size: 1rem;
    color: #ffffff;
}


/* Configurando o media screen da página */
@media (max-width: 700px) {

  /* NAVBAR */
  .navbar {
    flex-direction: column;
    padding: 15px 5%;
    align-items: flex-start;
  }

  .navbar ul {
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
  }

  .navbar ul li {
    margin-left: 0;
    margin-bottom: 10px;
  }

  .logo img {
    max-width: 200px;
  }

  .menu-burger {
    display: block;
    z-index: 1;
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .nav-list {
    position: absolute;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: #251d40;
    clip-path: circle(0px at 100% 0%);
    transition: clip-path 1s ease-in-out;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    gap: 0;
    pointer-events: none;
  }

  .nav-list a {
    font-size: 24px;
    opacity: 0;
  }

  .nav-list li:nth-child(1) a,
  .nav-list li:nth-child(2) a,
  .nav-list li:nth-child(3) a {
    transition: 0.5s;
  }

  .nav-list.active {
    clip-path: circle(1500px at 90% 15%);
    pointer-events: all;
  }

  .nav-list.active a {
    opacity: 1;
  }

  .nav-list.active .menu-burger {
    position: fixed;
    top: 26px;
    right: 16px;
    border-top-color: transparent;
  }

  .nav-list.active .menu-burger::before {
    transform: rotate(135deg);
  }

  .nav-list.active .menu-burger::after {
    transform: rotate(-135deg);
    top: -7px;
  }

  /* ABOUT */
  .about {
    flex-direction: column;
    align-items: center;
    padding: 120px 5% 40px;
    text-align: center;
  }

  .about-me {
    font-size: 18px;
  }

  .about-me .sci a {
    font-size: 50px;
    padding: 20px;
  }

  .home-img .img-box {
    width: 60vw;
    height: 60vw;
  }

  /* HIDDEN PAGE */
  .hiddenPage a {
    right: -20px;
    font-size: 14px;
  }

  /* EXPERIÊNCIAS */
  .experi h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .experi-container {
    flex-direction: column;
    padding: 0 2rem;
  }

  .experi-box {
    width: 100%;
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .experi-box h3 {
    font-size: 1.6rem;
  }

  .experi-box p {
    font-size: 1.2rem;
    margin: 0.5rem 0;
  }

  /* PARCEIROS */
  .parteners-container {
    flex-direction: column;
    gap: 2rem;
  }

  .parteners-img-item {
    width: 140px;
    height: 140px;
  }

  .parteners-img-item::after {
    font-size: 0.75rem;
    bottom: -25px;
  }

  /* PROJETOS */
  .proje-container {
    grid-template-columns: 1fr;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .proje-box {
    max-width: 100%;
    padding: 2rem 1rem;
    width: 100%;
    height: auto;
  }

  /* HABILIDADES */
  .hability-container {
    grid-template-columns: 1fr;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .hability-box {
    max-width: 100%;
    padding: 2rem 1rem;
    width: 100%;
    height: auto;
  }

  /* CONTATO */
  .contacts .input-container .input-box {
    align-items: center;
  }

  .contacts form .input-box {
    flex-direction: column;
  }

  .contacts form .input-box input {
    width: 50%;
  }

  .c-button {
    font-size: 14px;
    padding: 0.7em 1.2em;
  }

  .contacts form {
    padding: 0 1rem;
  }
}


@media (min-width: 400px) {

  .navbar {
    padding: 20px 5%;
  }

  .navbar ul li a {
    font-size: 16px;
  }

  .about-me {
    font-size: 16px;
  }

  .about-me .sci a {
    font-size: 35px;
    padding: 20px;
  }

  .home-img .img-box {
    width: 23vw;
    height: 23vw;
    padding-left: 2.5rem;
  }

  .hiddenPage a {
    right: -10px;
    font-size: 14px;
  }

  .experi h2 {
    font-size: 2.2rem;
  }

  .experi-container {
    gap: 1.5rem;
  }

  .experi-box {
    padding: 1.8rem;
  }

  .experi-box h3 {
    font-size: 1.8rem;
  }

  .experi-box p {
    font-size: 1.3rem;
  }

  .contacts .input-container .input-box {
    justify-content: center;
  }
}