@font-face {
  font-family: "Blackiron";
  src: url("../../assets/fonts/Blackiron.ttf") format("truetype");
}

@font-face {
  font-family: "Fortnite";
  src: url("../../assets/fonts/fortnite.otf") format("opentype");
}

:root {
  --primary-color: #bf5a83;
  --secondary-color: #141414fb;
  --tertiary-color: #ffffffd9;
  --quaternary-color: #ffffff;
}

*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  user-select: none;
}

body {
  background: url("../../assets/videos/bg-pink.gif") fixed center;
  background-size: cover;
  overflow-x: hidden;
}

body::-webkit-scrollbar {
  width: 11px;
}

body::-webkit-scrollbar-track {
  background: #333333;
}

body::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 8px;
}

@supports not selector(::-webkit-scrollbar) {
  body {
    scrollbar-color: var(--primary-color) #333333;
  }
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  font-family: "Blackiron", Arial, sans-serif;
  transition: background-color 0.2s ease;

  nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 6rem;
    transition: all 0.3s ease;

    img {
      max-width: clamp(
        110px,
        9vw,
        150px
      ); /* Nunca menor que 80px, ideal 9vw, máximo 150px */
      height: auto;
      filter: invert(52%) sepia(27%) saturate(1137%) hue-rotate(285deg)
        brightness(80%) contrast(81%) drop-shadow(2px 2px 2px #00000080);
      animation: bounce 1.5s infinite ease-in-out;
    }

    .nav-ul,
    .nav-links {
      display: flex;
      list-style: none;
      align-items: center;
      justify-content: center;
      gap: 1rem;
    }

    .nav-ul {
      margin: 0 auto;
      font-size: 2rem;
      letter-spacing: 1px;
      gap: 1.8rem;
    }

    .nav-ul a,
    .nav-links a {
      position: relative;
      text-decoration: none;
      display: flex;
    }

    .nav-ul a {
      color: var(--tertiary-color);
      -webkit-text-stroke: 1.4px #bf5a83;
      text-shadow: 2px 2px 4px #000000, 4px 4px 6px #00000080;
    }

    .nav-links a {
      font-size: 1.1rem;
      height: 50px;
      padding-top: 17px;
      color: var(--primary-color);
      text-shadow: 1px 1px 3px #000000, 2px 2px 4px #00000080;
    }

    .nav-ul a:hover {
      transform: scale(1.05);
    }

    .nav-links a:hover {
      transform: scale(1.3);
    }

    .nav-ul a.clicked::after {
      content: "";
      position: absolute;
      left: -10%;
      top: 50%;
      width: 115%;
      height: 5px;
      background: var(--primary-color);
      border-radius: 5px;
      box-shadow: 0 4px 6px #00000097;
      transform: scaleX(0) rotate(-10deg);
      transform-origin: center;
      transition: transform 0.7s ease-in-out;
      animation: writeLine 0.3s ease-in-out forwards;
    }
  }
}

.nav-item-dropdown {
  position: relative;

  a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;

    i {
      padding-top: 8px;
      font-size: 1.5rem;
    }
  }

  .dropdown-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 100%;
    left: -60px;
    background: #333;
    display: none;
    border-radius: 6px;
    box-shadow: 0px 4px 6px #00000033;
    z-index: 5;
    animation: slideIn 0.3s ease-in-out;

    li {
      padding: 0.1rem 0.3rem;

      a {
        display: block;
        width: 100%;
        padding: 0.5rem 1rem;
        color: var(--quaternary-color);
        text-decoration: none;
        transition: background 0.3s ease;

        .a.clicked::after {
          content: "";
          animation: writeLine 0.3s ease-in-out forwards;
        }

        &:hover {
          background: var(--primary-color);
          border-radius: 6px;
        }
      }
    }
  }

  &:hover .dropdown-menu {
    display: block;
  }
}

@keyframes writeLine {
  from {
    width: 0;
    transform: rotate(0deg);
  }
  to {
    width: 115%;
    transform: rotate(-10deg);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes horizontalBounce {
  0%,
  100% {
    transform: translateX(2px);
  }
  50% {
    transform: translateX(-2px);
  }
}

header.scrolled {
  background: var(--secondary-color);
  border-bottom: 0.5px solid #ffffff41;

  img {
    filter: brightness(100) drop-shadow(2px 2px 4px #000000)
      drop-shadow(2px 2px 4px #00000080);
    animation: none;

    &:hover {
      filter: invert(52%) sepia(27%) saturate(1137%) hue-rotate(285deg)
        brightness(80%) contrast(81%);
      color: var(--primary-color);
    }
  }

  .nav-ul a {
    -webkit-text-stroke: 0;
    font-size: 1.9rem;
  }

  .nav-links a {
    color: var(--quaternary-color);
    font-size: 0.98rem;
  }
}

.menu-toggle-btn {
  display: none;
}

@media (max-width: 1380px) {
  /* Oculta os menus desktop */
  header nav .nav-ul,
  header nav .nav-links {
    display: none;
  }

  header.scrolled {
    .menu-toggle-btn {
      color: var(--quaternary-color);
    }

    #menu-toggle:checked + .menu-toggle-btn::before {
      color: var(--quaternary-color);
    }
  }

  /* Exibe o botão de toggle no canto superior direito */
  .menu-toggle-btn {
    display: block;
    position: fixed;
    top: 1.5rem;
    right: 1.8rem;
    cursor: pointer;
    font-size: 2rem;
    color: var(--primary-color);
    z-index: 20;
  }

  /* Toggle: quando ativo, substitui o ícone pelo "X" */
  #menu-toggle:checked + .menu-toggle-btn i {
    display: none;
  }
  #menu-toggle:checked + .menu-toggle-btn::before {
    content: "\2715";
    display: inline-block;
    font-size: 2rem;
    color: var(--primary-color);
    position: absolute;
    right: 10px;
    top: 10px;
  }

  /* Define container para os menus móveis */
  header nav {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0.7rem 2rem;
  }

  /* Menu móvel: nav-ul */
  #menu-toggle:checked ~ .nav-ul {
    display: flex;
    flex-direction: column;
    background: var(--secondary-color);
    position: fixed;
    top: 0;
    right: 0;
    padding: 1rem;
    gap: 1rem;
    z-index: 15;
    transition: transform 0.3s ease-in-out;
    transform: translateX(0);
    width: 35vw;
    height: 100vh;
    padding-bottom: 80px;

    a {
      font-size: 2.4rem;
      padding-bottom: 10px;
    }
  }

  /* Menu móvel: nav-links */
  #menu-toggle:checked ~ .nav-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background: var(--secondary-color);
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 1rem;
    gap: 1rem;
    z-index: 15;
    width: 35vw;

    a {
      font-size: 1.4rem;
      margin-bottom: 10px;
    }
  }

  /* Oculta o input de toggle */
  #menu-toggle {
    display: none;
  }

  /* Ajuste para remover o dropdown no mobile */
  .nav-item-dropdown {
    display: none;
  }

  /* Adiciona os itens do dropdown no menu principal */
  #menu-toggle:checked ~ .nav-ul {
    display: flex;
  }

  #menu-toggle:checked ~ .nav-ul::before {
    content: "";
    display: block;
  }

  #menu-toggle:checked ~ .nav-ul li {
    display: block;
  }
}

/* Breakpoint: 750px a 979px – aumenta a largura para 50vw */
@media (min-width: 410px) and (max-width: 800px) {
  #menu-toggle:checked ~ .nav-ul,
  #menu-toggle:checked ~ .nav-links {
    width: 65vw;
  }
}

/* Breakpoint: até 749px – menu ocupa 100vw */
@media (max-width: 410px) {
  #menu-toggle:checked ~ .nav-ul,
  #menu-toggle:checked ~ .nav-links {
    width: 100%;
  }
}

section#home {
  position: relative; /* Define um contexto para elementos posicionados dentro dela */
  width: 100%;
  height: 100vh;
  overflow: hidden;

  .background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mantém o vídeo cobrindo a tela toda */
    z-index: -1; /* Mantém o vídeo no fundo */
  }

  .call-to-action {
    font-family: "Fortnite", Verdana, Geneva, Tahoma, sans-serif;
    position: absolute; /* Posiciona a div independentemente do fluxo normal */
    bottom: 2rem; /* Mantém no final da section */
    left: 50%;
    transform: translateX(-50%); /* Centraliza horizontalmente */
    text-align: center;
    z-index: 2; /* Mantém acima do vídeo */
    width: 90%;

    h1,
    h2 {
      text-transform: uppercase;
      color: var(--quaternary-color);
      text-shadow: 2px 2px 4px #000000, 4px 4px 6px #00000080;
    }

    h1 {
      font-size: 5.5rem;
      -webkit-text-stroke: 3px #bf5a83;
    }

    h2 {
      font-size: 2rem;
      -webkit-text-stroke: 2px #bf5a83;
    }

    a {
      display: inline-block;
      position: relative;
      overflow: hidden;
      cursor: pointer;
      text-decoration: none;
      font-size: 1.5rem;
      color: var(--primary-color);
      background-color: transparent;
      border: 3.5px solid var(--primary-color);
      margin-top: 1rem;
      padding: 12px 55px;
      height: 3rem;
      transition: all 0.3s ease;
      animation: horizontalBounce 1.4s infinite;

      &::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background-color: var(--primary-color);
        z-index: -1;
        transition: left 0.4s ease;
      }

      &:hover::before {
        left: 0;
      }

      &:hover {
        color: var(--tertiary-color);
      }
    }
  }
}

@media (min-width: 300px) and (max-width: 600px) {
  section#home {
    .call-to-action {
      h1 {
        font-size: 3.5rem;
        -webkit-text-stroke: 2.5px #bf5a83;
      }

      h2 {
        font-size: 1.3rem;
        -webkit-text-stroke: 1.3px #bf5a83;
        padding-top: 10px;
      }

      a {
        padding: 7px 38px;
        line-height: 1.5;
      }
    }
  }
}

h1.title-section {
  display: inline-block;
  font-family: "Blackiron", Arial, sans-serif;
  font-size: 4rem;
  letter-spacing: 3px;
  color: var(--quaternary-color);
  text-shadow: 2px 2px 4px var(--secondary-color),
    4px 4px 6px var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  animation: horizontalBounce 2s infinite;

  &:hover {
    color: var(--secondary-color);
    -webkit-text-stroke: 1px #ffffff;
    transform: translateY(-5px);
  }
}

@media (min-width: 300px) and (max-width: 390px) {
  h1.title-section {
    font-size: 2.9rem;
  }
}

section#banda {
  background: url(../../assets/img/fotos/banda-transparente.svg) no-repeat;
  background-size: 80%;
  background-position: center;
  min-height: auto; /* Permite que a altura se ajuste ao conteúdo */
  padding: 4.5rem 6.7rem 6rem 6.7rem; /* Ajusta o espaçamento, garantindo respiro no final */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centraliza verticalmente */
  align-items: flex-start;
  opacity: 0;
  transition: opacity 3s ease-in-out, background-position 3s ease-in-out;
  will-change: opacity, background-position;

  &.reveal {
    opacity: 1;
    background-position: 120% center;

    p {
      font-family: Verdana, Geneva, Tahoma, sans-serif;
      font-size: 0.99rem;
      letter-spacing: 1px;
      word-spacing: 2px;
      text-shadow: 1px 1px 2px #000000cc, 2px 2px 3px #00000066;
      color: var(--quaternary-color);
      text-align: left;
      margin-top: 1rem;
      max-width: 28%;
    }
  }
}

/* Melhorando responsividade */
@media (max-width: 1300px) {
  section#banda {
    background: none;
    padding: 4rem 2rem;
    align-items: center;
    text-align: center;

    &.reveal {
      .p-banda {
        max-width: 90%;
      }
    }
  }
}

section#integrantes {
  min-height: 80vh;
  padding-top: 4.6rem;
  text-align: center;

  .cards {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 3.5rem;

    .card {
      position: relative;
      flex: 1 1 280px;
      max-width: 280px;
      height: 350px;
      border-radius: 16px;
      box-shadow: 0px 7px 10px #000000cc;
      overflow: hidden;
      box-sizing: border-box;
      transition: transform 0.3s ease;

      .card_image {
        height: 100%;
        width: 100%;
        object-fit: cover;
        scale: 1.2;
        transition: opacity 0.25s, scale 0.35s;
      }

      .card_body {
        display: flex;
        flex-direction: column;
        position: absolute;
        inset: 0;
        transition: opacity 0.25s, translate 0.25s;

        &::before {
          content: "";
          position: absolute;
          inset: 20px;
          border: 2px solid var(--primary-color);
          border-radius: 8px;
          opacity: 0;
          scale: 1.25;
          transition: opacity 0.25s, scale 0.25s;
        }

        .card_social {
          font-size: 1.3rem;
          opacity: 0;
          list-style: none;
          position: absolute;
          top: 38px;
          left: 30px;
          display: flex;
          flex-direction: column;
          gap: 8px;

          li {
            transition: transform 0.1s;

            &:hover,
            :active,
            :focus {
              transform: scale(1);
            }
          }

          a {
            display: flex;
            justify-content: center;
            align-items: center;
            text-decoration: none;
            color: var(--primary-color);
            background-color: transparent;
            border: 2px solid var(--primary-color);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            margin: 0;
            padding: 0;
            box-shadow: 2px 4px 6px #00000080, 2px 4px 6px #00000000;
            transition: all 0.3s ease;

            &:hover,
            :active,
            :focus {
              color: var(--quaternary-color);
              background: var(--primary-color);
              transform: scale(1.1);
              box-shadow: 0px 6px 8px #00000026;
            }

            i {
              font-size: 1.3rem;
              line-height: 0;
              transition: transform 0.3s ease, color 0.3s ease;
            }
          }
        }
      }

      .card_title,
      .card_subtitle {
        font-family: "fortnite", Verdana, Geneva, Tahoma, sans-serif;
        letter-spacing: 2px;
        color: var(--primary-color);
        -webkit-text-stroke: 0.9px var(--quaternary-color);
        text-transform: uppercase;
        text-shadow: 1px 1px 3px #000000, 2px 2px 4px #00000080;
        opacity: 0;
        transition: opacity 0.25s, translate 0.25s;
      }

      .card_title {
        font-size: 2rem;
        margin-top: 14rem;
      }

      .card_subtitle {
        font-size: 1.5rem;
        padding-top: 0.4rem;
      }

      &:hover,
      :active,
      :focus {
        .card_image {
          opacity: 1;
          scale: 1;
          filter: blur(1px);
        }

        .card_body::before {
          opacity: 1;
          scale: 1;
        }

        .card_title,
        .card_subtitle,
        .card_social {
          opacity: 1;
          translate: 0;
        }
      }
    }
  }
}

@media (max-width: 500px) {
  section#integrantes {
    margin-top: -8rem;

    .cards {
      margin-top: 1rem;
    }
  }
}

@media (min-width: 501px) and (max-width: 1600px) {
  section#integrantes {
    margin-top: -6rem;

    .cards {
      margin-top: 2rem;
    }
  }
}

section#discografia {
  min-height: 85vh;
  padding-top: 4.8rem;
  text-align: center;

  p {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px #000000cc, 2px 2px 3px #00000066;
    color: var(--quaternary-color);
    margin-top: 2rem;
  }

  .wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
    margin-top: 3.5rem;

    .card_disco {
      width: 280px;
      height: 280px;
      border-radius: 16px;
      padding: 1.5rem;
      background: var(--quaternary-color);
      position: relative;
      display: flex;
      align-items: flex-end;
      justify-content: center;
      transition: 0.4s ease-out;
      box-shadow: 0px 7px 10px #000000cc;

      &:hover,
      :active,
      :focus {
        transform: translateY(-20px);

        &:before {
          opacity: 1;
        }

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

      &:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 100%;
        height: 100%;
        border-radius: 15px;
        background: #00000099;
        z-index: 2;
        transition: 0.5s;
        opacity: 0;
      }

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        border-radius: 15px;
      }

      .info {
        position: relative;
        z-index: 3;
        color: var(--quaternary-color);
        opacity: 0;
        transform: translateY(30px);
        transition: 0.5s;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;

        h2 {
          margin: 0;
          font-family: "fortnite", Verdana, Geneva, Tahoma, sans-serif;
          font-size: 2rem;
          letter-spacing: 2px;
          -webkit-text-stroke: 1px #ffffff;
          color: var(--primary-color);
          text-shadow: 1px 1px 3px #000000, 2px 2px 4px #00000080;
        }

        p {
          font-family: Verdana, Geneva, Tahoma, sans-serif;
          letter-spacing: 1px;
          font-size: 15px;
          margin-top: 8px;
        }

        button {
          font-family: "fortnite", Verdana, Geneva, Tahoma, sans-serif;
          font-size: 1rem;
          letter-spacing: 3px;
          text-transform: uppercase;
          background: transparent;
          color: var(--primary-color);
          border: 3px solid var(--primary-color);
          position: relative;
          height: 45px;
          width: 110px;
          margin-top: 1.8rem;
          cursor: pointer;
          transition: all 0.3s ease-in-out;
          outline: none;
          overflow: hidden;
          border-radius: 0;
          padding: 0;
        }

        button::before {
          content: "";
          position: absolute;
          top: 0;
          left: -100%;
          width: 100%;
          height: 100%;
          background: var(--primary-color);
          z-index: -1;
          transition: left 0.3s ease-in-out;
        }

        button:hover::before {
          left: 0;
        }

        button:hover {
          color: var(--quaternary-color);
          border-color: var(--primary-color);
        }
      }
    }
  }
}

@media (max-width: 1448px) {
  section#discografia {
    .wrapper {
      gap: 2.5rem;
    }
  }
}

@media (max-width: 450px) {
  section#discografia {
    padding-top: 1rem;

    .p-disco {
      font-size: 1rem;
      margin: 20px 15px -30px 15px;
    }
  }
}

section#galeria {
  min-height: 95vh;
  padding-top: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;

  .image {
    width: 47vw;
    height: 67vh;
    margin-top: 0.6rem;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 5px 7px 10px #000000cc;

    img {
      position: absolute;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 1s ease-in-out;

      &.active {
        display: block;
        opacity: 1;
      }
    }
  }
}

.controls {
  position: absolute;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 50vw;
  top: 55%;

  button {
    font-size: 2.8rem;
    background: transparent;
    color: var(--quaternary-color);
    border: 3px solid var(--quaternary-color);
    cursor: pointer;
    border-radius: 50%;
    padding: 14px 12px 0 12px;
    transition: all 0.3s ease;

    &:hover {
      transform: scale(1.1);
    }

    &:active {
      transform: scale(0.95);
      background: #ffffffa3;
      border: 3px solid #ffffff42;
    }
  }
}

@media (max-width: 400px) {
  section#galeria {
    min-height: 20vh;

    .image {
      width: 95vw;
      height: 42vh;
      box-shadow: none;
    }
  }
  .controls {
    gap: 7vw; /* Gap reduzido para telas pequenas */
    position: relative;
    padding-top: 10px;
    button {
      font-size: 2rem;
      padding: 8px 6px 0 6px;
    }
  }
}
@media (min-width: 401px) and (max-width: 600px) {
  section#galeria {
    min-height: 80vh;
    .image {
      width: 95vw;
      height: 60vh;
      box-shadow: none;
    }
  }
  .controls {
    gap: 4vw; /* Gap reduzido para telas pequenas */
    position: relative;
    padding-top: 10px;
    button {
      line-height: 1;
      font-size: 2rem;
      padding: 8px 6px 0 6px;
    }
  }
}

@media (min-width: 601px) and (max-width: 800px) {
  section#galeria {
    margin-top: 3rem;
    .image {
      width: 85vw;
      height: 60vh;
      box-shadow: none;
    }
  }
  .controls {
    gap: 4vw; /* Gap reduzido para telas pequenas */
    position: relative;
    padding-top: 10px;
    button {
      font-size: 2.5rem;
      line-height: 1;
      padding: 8px 6px 0 6px;
    }
  }
}

@media (min-width: 801px) and (max-width: 800px) {
}

section#shows {
  min-height: 65vh;
  padding-top: 4.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;

  .card-shows-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;

    .card-shows {
      width: 280px; /* Definindo um tamanho fixo */
      height: 450px; /* Mantendo altura fixa */
      border-radius: 8px;
      box-shadow: 5px 7px 10px #000000cc;
      flex: 0 0 280px;

      &:hover {
        transform: translateY(-10px);
      }

      .shows-thom-img,
      .shows-video {
        position: relative;
        object-fit: cover;
        width: 100%;
        height: 100%;
        border-radius: 8px;
      }
    }
  }
}

@media (max-width: 400px) {
  section#shows {
    padding-top: 0.7rem;
  }
}

@media (min-width: 401px) and (max-width: 600px) {
  section#shows {
    padding-top: 1.8rem;
  }
}

section#contato {
  min-height: 95vh;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  .container {
    display: flex;
    flex-direction: column;
    animation: horizontalBounce 2s infinite;

    .h1-contato {
      font-family: "Fortnite", Verdana, Geneva, Tahoma, sans-serif;
      font-size: 4.4rem;
      letter-spacing: 2px;
      -webkit-text-stroke: 0.8px #ffffff;
      color: var(--secondary-color);
      text-shadow: 3px 3px 3px #00000090;
    }

    .flex-container-row {
      display: flex;
      flex-direction: row;
      margin-top: 1.5rem;
      font-family: "Fortnite", Verdana, Geneva, Tahoma, sans-serif;
      letter-spacing: 2px;
      gap: 7.8rem;

      p {
        font-size: 1.8rem;
        -webkit-text-stroke: 0.5px #ffffff;
        text-shadow: 2px 4px 6px #0000004d;
      }

      .icons {
        display: grid;
        grid-template-columns: repeat(5, auto);
        gap: 0.6rem;
        list-style: none;

        li {
          transition: transform 0.5s ease;

          &:hover {
            transform: scale(1.1);
            line-height: 0;
          }

          a {
            text-decoration: none;
            color: var(--secondary-color);
            background: var(--quaternary-color);
            border: 1px solid #000000;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            box-shadow: 2px 4px 6px #00000080;
            transition: all 0.2s ease;

            i {
              font-size: 1.1rem;
              line-height: 0;
            }

            &:hover {
              transform: scale(1.1);
              box-shadow: 0px 6px 8px #00000026;
            }
          }
        }
      }

      .cards-contato {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;

        .flip-card {
          width: 120px;
          height: 120px;
          position: relative;
          perspective: 1000px;

          .flip-card-inner {
            width: 100%;
            height: 100%;
            position: relative;
            transform-style: preserve-3d;
            transition: transform 0.6s ease-in-out;

            &:hover,
            :active,
            :focus {
              transform: rotateY(180deg);
            }

            .front,
            .back {
              position: absolute;
              width: 100%;
              height: 100%;
              backface-visibility: hidden;
              border-radius: 8px;
              box-shadow: 3px 3px 3px #00000090;
              display: flex;
              justify-content: center;
              align-items: center;
              text-align: center;
              background: var(--quaternary-color);
              border: 1px solid #000000;
            }

            .front {
              z-index: 2;
              font-size: 2.7rem;
              line-height: 0;
              color: var(--secondary-color);
            }

            .back {
              transform: rotateY(180deg);
              z-index: 1;
              font-size: 1.2rem;
              -webkit-text-stroke: 0.5px #ffffff;
              text-decoration: none;
              display: flex;
              flex-direction: column;
              gap: 8px;
              padding: 14px;

              a {
                font-size: 1.7rem;
                line-height: 0;
                text-decoration: none;

                #zap {
                  color: #008000;
                }

                #kit {
                  color: var(--primary-color);
                }
              }
            }

            #back-email {
              font-size: 1rem;
            }
          }
        }
      }

      .form-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1rem;

        .form-card {
          font-family: Verdana, Geneva, Tahoma, sans-serif;
          position: relative;
          width: 100%;

          .form-input {
            padding: 25px 10px 10px 15px;
            box-shadow: 3px 3px 3px #00000090;
            width: 130%;
            border: 1px solid #000000;
            border-radius: 8px;
            background: var(--quaternary-color);
            outline: none;
            font-size: 20px;
            line-height: 10px;
            font-weight: 400;
            box-sizing: border-box;

            &:valid,
            &:focus {
              border: 2px solid #000000;
            }

            &:valid ~ .form-label,
            &:focus ~ .form-label {
              color: #000000b3;
              top: 35%;
              transform: translateY(-70%);
              font-size: 13px;
            }

            &:-webkit-autofill,
            &:-webkit-autofill:hover,
            &:-webkit-autofill:focus,
            &:-webkit-autofill:active {
              transition: background-color 9999s ease-in-out 0s;
            }
            &::-webkit-outer-spin-button,
            &::-webkit-inner-spin-button {
              -webkit-appearance: none;
              margin: 0;
            }
          }

          .form-label {
            position: absolute;
            left: 25px;
            top: 50%;
            transform: translateY(-50%);
            pointer-events: none;
            transition: 0.3s;
            margin: 0;
            font-size: 18px;
            line-height: 28px;
            font-weight: 500;
          }
          .form-textarea {
            padding: 25px 10px 10px 15px;
            box-shadow: 3px 3px 3px #00000090;
            width: 130%;
            border: 1px solid #000000;
            border-radius: 8px;
            background: var(--quaternary-color);
            outline: none;
            font-size: 20px;
            line-height: 30px;
            font-weight: 400;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            overflow: hidden;
            resize: none;
            box-sizing: border-box;

            &:valid,
            &:focus {
              border: 2px solid #000000;
            }

            &:valid ~ .form-textarea-label,
            &:focus ~ .form-textarea-label {
              color: gray;
              top: 18%;
              transform: translateY(-82%);
              font-size: 13px;
              line-height: 23px;
            }

            &:-webkit-autofill,
            &:-webkit-autofill:hover,
            &:-webkit-autofill:focus,
            &:-webkit-autofill:active {
              transition: background-color 9999s ease-in-out 0s;
            }
          }
          .form-textarea-label {
            position: absolute;
            left: 25px;
            top: 30%;
            transform: translateY(-70%);
            pointer-events: none;
            transition: 0.3s;
            margin: 0;
            font-size: 20px;
            line-height: 28px;
            font-weight: 500;
          }
        }
        .mail-btn {
          position: relative;
          top: 35%;
          left: 39%;
          display: inline-block;
          padding: 12px;
          width: 55%;
          border: 1px solid #000000;
          box-shadow: 0px 6px 8px #00000059;
          border-radius: 8px;
          background: var(--primary-color);
          outline: none;
          font-size: 1.2rem;
          letter-spacing: 0.4rem;
          color: #000000;
          text-decoration: none;
          cursor: pointer;
          transition: all 2s;
        }

        .mail-btn:before,
        .mail-btn:after {
          content: "";
          position: absolute;
          opacity: 0;
          backface-visibility: visible;
          transform-style: preserve-3d;
          perspective: 400px;
          transform-origin: 50% -50%;
          transform: rotateX(360deg) rotateY(0) translateX(-50%) translateY(0)
            scale(0.2);
          transition: all 0.5s;
        }
        .mail-btn:before {
          top: 5px;
          left: 50%;
          height: 3rem;
          background: var(--quaternary-color);
          border-top: 2rem solid #333;
          border-right: 3rem solid transparent;
          border-left: 3rem solid transparent;
        }
        .mail-btn:after {
          top: 0;
          left: 50%;
          border-top: 2rem solid var(--quaternary-color);
          border-right: 3rem solid transparent;
          border-left: 3rem solid transparent;
        }
        .mail-btn:hover,
        :active,
        :focus {
          color: #ffffff00;
          border: 2px solid #ffffff00;
          box-shadow: none;
          background: none;
          transition: color 0.25s, border 0.25s;
        }
        .mail-btn:hover:before,
        .mail-btn:active:before,
        .mail-btn:focus:before,
        .mail-btn:hover:after,
        .mail-btn:active:after,
        .mail-btn:focus:after {
          opacity: 1;
          transform: rotateX(0) rotateY(-10deg) translateX(-50%) translateY(0)
            scale(1);
        }
        .fly {
          color: #ffffff00;
          border: 2px solid #ffffff00;
          box-shadow: none;
          background: none;
          animation: sended 4s 0.8s forwards;
        }

        .fly:before,
        .fly:after {
          animation: flyout 0.6s forwards;
        }
      }
    }
  }
}

@keyframes sended {
  0% {
    height: 2rem;
    width: 3.5rem;
    border-top: 0;
    border-right: 0;
    border-bottom: 10px solid var(--quaternary-color);
    border-left: 10px solid var(--quaternary-color);
    opacity: 0;
    transform: rotate(-45deg) translateX(400%) translateY(-600%);
  }
  5% {
    height: 2rem;
    width: 3.5rem;
    border-top: 0;
    border-right: 0;
    border-bottom: 10px solid var(--quaternary-color);
    border-left: 10px solid var(--quaternary-color);
    opacity: 1;
    transform: rotate(-45deg) translateX(50%) translateY(110%);
  }
  78% {
    height: 2rem;
    width: 3.5rem;
    border-top: 0;
    border-right: 0;
    border-bottom: 10px solid var(--quaternary-color);
    border-left: 10px solid var(--quaternary-color);
    opacity: 1;
    transform: rotate(-45deg) translateX(50%) translateY(110%);
  }
  79% {
    height: 2rem;
    width: 3.5rem;
    border-top: 0;
    border-right: 0;
    border-bottom: 10px solid var(--quaternary-color);
    border-left: 10px solid var(--quaternary-color);
    opacity: 0;
    transform: rotate(-45deg) translateX(50%) translateY(110%);
  }
  80% {
    height: auto;
    width: auto;
    color: #ffffff00;
    border: 2px solid #ffffff00;
    opacity: 0;
    transform: rotate(0) translateX(50%) translateY(110%);
  }
  100% {
    height: auto;
    width: auto;
    color: var(--quaternary-color);
    border: 2px solid #ffffff80;
    opacity: 1;
    transform: rotate(0) translateX(50%) translateY(110%);
  }
}

@keyframes flyout {
  0% {
    opacity: 1;
    transform: rotateX(0) rotateZ(0) translateX(-50%) translateY(0) scale(1);
  }
  33% {
    opacity: 0.66;
    transform: rotateX(0) rotateZ(-5deg) translateX(-100%) translateY(0)
      scale(1);
  }
  100% {
    opacity: 0;
    transform: rotateX(0) rotateZ(0) translateX(1000%) translateY(0) scale(1);
  }
}

@media (min-width: 300px) and (max-width: 400px) {
  .flex-container-row {
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
  }

  .form-wrapper {
    width: 70%;
    margin-bottom: -90px;
    margin-left: 12px;
  }

  h1 {
    text-align: center;
    margin-top: 45px;
  }

  .p-social {
    text-align: center;
  }
}

@media (min-width: 401px) and (max-width: 700px) {
  .flex-container-row {
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
  }

  .form-wrapper {
    width: 100%;
    margin-left: -41px;
    margin-bottom: -90px;
  }

  .h1-contato {
    text-align: center;
    margin-top: 40px;
  }

  .p-social {
    text-align: center;
  }
}

footer {
  width: 100vw;
  height: 11.5vh;
  bottom: 0;
  background: #333333d8;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  font-size: 0.77rem;
  line-height: 0;
  border-top: 0.5px solid #ffffff41;

  p {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: var(--tertiary-color);
  }

  span {
    color: #0ea2f9;
  }

  a {
    font-weight: 800;
    color: var(--quaternary-color);
    text-decoration: none;

    &:hover,
    :active,
    :focus {
      text-decoration: underline;
    }
  }
}

@media (min-width: 300px) and (max-width: 359px) {
  footer {
    width: 100%;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    font-size: 0.55rem;
  }
}

@media (min-width: 360px) and (max-width: 700px) {
  footer {
    width: 100%;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
    font-size: 0.7rem;
  }
}
