* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html,
body {
  font-size: 62.5%;
  font-family: "Montserrat", sans-serif;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  user-select: none !important;
  background-color: #000;
  z-index: 1;
}

ul {
  list-style: none;
}

li {
  width: 100%;
}
.evo {
  display: flex;
  border: 2.5px solid #fff;
  padding: 0.8rem 1.2rem;
  border-radius: 1.5rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  column-gap: 0.6rem;
  margin-top: 1rem;
  & p {
    font-size: 1.6rem;
    font-weight: 600;
    color: #fff;
    font-family: "Montserrat", sans-serif;
  }
}
html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 0px;
  height: 0px;
}

::-webkit-scrollbar-thumb {
  background-color: #88800000;
  border-radius: 0px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #55500000;
}

::-webkit-scrollbar-track {
  background-color: #f1f1f100;
  border-radius: 0px;
}

scrollbar {
  width: 0px;
  height: 0px;
}

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

scrollbar-track {
  background-color: #f1f1f100;
  border-radius: 10px;
}

.container {
  margin: 0 12rem;
}

svg {
  fill: #fff;
}

header,
main,
footer {
  width: 100%;
}

header {
  margin-top: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  & nav {
    & svg {
      width: 30rem;
      height: 10rem;
    }
  }
}

.inner-header {
  height: 65vh;
  width: 100%;
  margin: 0;
  padding: 0;
}

.waves {
  position: relative;
  width: 100%;
  height: 15vh;
  margin-bottom: -7px;
  min-height: 100px;
  max-height: 150px;
}

.parallax > use {
  animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}
@media (max-width: 768px) {
  .waves {
    height: 40px;
    min-height: 40px;
  }
  .content {
    height: 30vh;
  }
  h1 {
    font-size: 24px;
  }
}

.header {
  width: 100%;
}

#hero {
  display: flex;
  flex-direction: column;
  position: relative;
  background: url(./assets/pokeball.svg) no-repeat;
  background-position: center 104%;
  background-size: 100%;
  width: 100%;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgb(255, 138, 0), rgb(255, 61, 0));
  filter: saturate(1.9);
  z-index: -1;
}

.row {
  display: flex;
  column-gap: 6rem;
}

@media (max-width: 1300px) {
  & main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  & #hero {
    & header {
      & nav {
        & svg {
          width: 40rem;
          height: 15rem;
        }
      }
    }
    & .row {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      margin-top: 5rem;
      & .col1 {
        align-items: center;

        & #description {
          text-align: center;
        }
      }
      & .col2 {
        & img {
          margin-top: 5rem;
        }
      }
    }
  }
  & #details {
    flex-direction: column;
    row-gap: 3rem;
    padding: 5rem 0 !important;

    & .text {
      display: flex;
      align-items: center;
      flex-direction: column;
      justify-content: center;
      width: 70rem !important;
      & h2 {
        text-align: center;
      }
      & p {
        text-align: center;
      }
    }
  }
  & #pokedex {
    align-items: center;
    justify-content: center;
    padding: 5rem 0 !important;

    & .pokedex {
      width: 100% !important;
    }
    & .search {
      flex-direction: column;
      row-gap: 2rem;
      align-items: center;
      & .type {
        & .title {
          align-items: baseline !important;
        }
        & .carousel {
          width: 70.4rem !important;
        }
      }
    }
    & .gridPoke {
      grid-template-columns: repeat(1, 1fr) !important;
      width: 100%;
      & .divPoke {
        width: 70.5rem !important;
      }
    }
    & .buttons {
      width: 100% !important;
    }
  }
  & footer {
    & .row {
      width: 70.5rem !important;
    }
  }
  & #chains {
    grid-template-columns: repeat(1, 1fr) !important;
  }
}
@media (max-width: 750px) {
  & main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  & #hero {
    & header {
      & nav {
        & svg {
          width: 30rem;
          height: 10rem;
        }
      }
    }
    & .row {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      margin-top: 5rem;
      & .col1 {
        align-items: center;
        & h1 {
          font-size: 4.4rem;
        }
        & ul {
          & li {
            & svg {
              width: 3rem;
              height: 3rem;
            }
          }
        }
        & #description {
          text-align: center;
          width: 45rem;
          font-size: 1.4rem;
        }
        & .button {
          width: 50rem;
          & svg {
            width: 3rem;
            height: 3rem;
          }
          & p {
            font-size: 1.6rem;
          }
        }
        & .links {
          & svg {
            width: 3rem !important;
            height: 3rem !important;
          }
        }
      }
      & .col2 {
        & img {
          width: 40rem;
          margin-top: 5rem;
        }
      }
    }
  }
  .divPokemon {
    padding: 0.8rem !important;
    padding-right: 2.5rem !important;
    padding-left: 2.5rem !important;
    width: 40rem !important;
    height: 60rem !important;
    & .pokePic {
      width: 200px !important;
    }
    & h2 {
      font-size: 2.6rem !important;
      margin-bottom: 1.5rem;
    }
    & .details {
      column-gap: 3.5rem;
      margin-bottom: 1.5rem;
      & .heigth {
        & p {
          font-size: 2.2rem !important;
        }
        & .altura {
          font-size: 1.4rem !important;
          & svg {
            width: 3rem !important;
          }
        }
      }
      & .type {
        font-size: 1.6rem !important;
        & img {
          width: 4rem !important;
        }
      }
      & .straig {
        & p {
          font-size: 2.2rem !important;
        }
        & .peso {
          font-size: 1.4rem !important;
          & svg {
            width: 1.8rem !important;
          }
        }
      }
    }
    & .stats {
      list-style: none;
      width: 90%;
      display: flex;
      flex-direction: column;
      align-items: baseline;
      row-gap: 0.2rem;
      margin-bottom: 1rem;
      & li {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        column-gap: 0.5rem;
        width: 100%;
        & svg {
          fill: #fff;
        }
        & p {
          color: #fff;
          font-size: 1.4rem;
          font-weight: 500;
        }
        & .status {
          display: flex;
          align-items: center;
          justify-content: flex-start;
          border-radius: 24px;
          border: 1px solid hsla(0, 0%, 100%, 0.2);
          background: rgba(6, 11, 20, 0.8);
          -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
          height: 1.6rem;
          padding: 2px;
          width: 100%;
        }
      }
    }
    & .fraquezas {
      display: flex;
      align-items: center;
      column-gap: 1rem;
      width: 90%;
      & p {
        color: #fff;
        font-size: 1.4rem;
        font-weight: 500;
      }
      & ul {
        list-style: none;
        display: flex;
        align-items: center;
        column-gap: 1rem;
        & li {
          & img {
            width: 2rem !important;
          }
        }
      }
    }
  }
  & #details {
    flex-direction: column;
    row-gap: 3rem;
    padding: 5rem 0 !important;
    & img {
      width: 31.5rem !important;
      object-fit: contain;
    }
    & .text {
      display: flex;
      align-items: center;
      flex-direction: column;
      justify-content: center;
      width: 50rem !important;
      & h2 {
        text-align: center;
        font-size: 2.2rem !important;
      }
      & p {
        text-align: center;
        font-size: 1.4rem !important;
      }
    }
  }
  & #pokedex {
    align-items: center;
    justify-content: center;
    padding: 5rem 0 !important;
    & .title {
      & img {
        width: 2rem !important;
        object-fit: contain;
      }
      & h2 {
        font-size: 2.2rem !important;
      }
    }
    & .pokedex {
      width: 50rem !important;
      & img {
        width: 4rem !important;
      }
    }
    & .search {
      flex-direction: column;
      row-gap: 2rem;
      width: 50rem !important;
      & .carousel {
        width: 50rem !important;
      }
    }
    & .input {
      width: 50rem !important;
      & .inputPokemon {
        width: 100%;
        & form {
          width: 100%;
          & input {
            width: 100%;
          }
        }
      }
    }
  }
  & .gridPoke {
    grid-template-columns: repeat(1, 1fr) !important;
    width: 100%;
    & .divPoke {
      width: 50rem !important;
    }
    & .divPokeMore {
      padding: 1rem !important;
      padding-right: 2rem !important;
      padding-left: 2rem !important;
      width: 40rem !important;
      height: 66rem !important;
      z-index: 9;
      & .pokePic {
        top: -30px !important;
        width: 200px !important;
        margin-bottom: 0.8rem !important;
      }
      & h2 {
        font-size: 2.5rem !important;
        margin-bottom: 1.5rem !important;
      }
      & .details {
        column-gap: 2.5rem !important;
        margin-bottom: 1.5rem !important;
        & .heigth {
          & p {
            font-size: 2rem !important;
          }
          & .altura {
            font-size: 1.2rem !important;
            & svg {
              width: 2rem !important;
            }
          }
        }
        & .type {
          font-size: 1.4rem !important;
          & img {
            width: 3rem !important;
          }
        }
        & .straig {
          & p {
            font-size: 2rem !important;
          }
          & .peso {
            font-size: 1.2rem !important;
            column-gap: 0.5rem !important;
            & svg {
              width: 2rem !important;
            }
          }
        }
      }
      & .stats {
        width: 80%;
        row-gap: 0.2rem;
        & li {
          column-gap: 0.5rem;
          width: 100%;
          & p {
            font-size: 1.4rem !important;
          }
          & .status {
            height: 14px !important;
            width: 100%;
          }
        }
      }
      & .fraquezas {
        column-gap: 1rem !important;
        width: 90%;
        & p {
          font-size: 1.4rem !important;
        }
        & ul {
          column-gap: 1rem !important;
          & li {
            & img {
              width: 2rem !important;
            }
          }
        }
      }
    }
  }
  & .buttons {
    width: 50rem !important;
  }
  & footer {
    & .row {
      width: 50rem !important;
    }
  }
}
@media (max-width: 550px) {
  & main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  & #hero {
    & header {
      & nav {
        & svg {
          width: 20rem;
          object-fit: contain;
        }
      }
    }
    & .row {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      margin-top: 5rem;
      & .col1 {
        align-items: center;
        & h1 {
          font-size: 3.4rem;
        }
        & ul {
          & li {
            & svg {
              width: 3rem;
              height: 3rem;
            }
          }
        }
        & #description {
          text-align: center;
          width: 30rem;
          font-size: 1.4rem;
        }
        & .button {
          width: 30rem;
          & svg {
            width: 2rem !important;
            height: 2rem !important;
          }
          & p {
            font-size: 1.4rem;
          }
        }
        & .links {
          & svg {
            width: 2rem !important;
            height: 2rem !important;
          }
        }
      }
      & .col2 {
        & img {
          width: 30rem;
          margin-top: 5rem;
        }
      }
    }
  }
  .divPokemon {
    padding: 0.6rem !important;
    padding-right: 2rem !important;
    padding-left: 2rem !important;
    width: 30rem !important;
    height: 50rem !important;
    & .pokePic {
      width: 180px !important;
    }
    & h2 {
      font-size: 2.2rem !important;
      margin-bottom: 1.5rem;
    }
    & .details {
      column-gap: 3.5rem;
      margin-bottom: 1.5rem;
      & .heigth {
        & p {
          font-size: 1.8rem !important;
        }
        & .altura {
          font-size: 1.2rem !important;
          & svg {
            width: 2.5rem !important;
          }
        }
      }
      & .type {
        font-size: 1.4rem !important;
        & img {
          width: 3rem !important;
        }
      }
      & .straig {
        & p {
          font-size: 1.8rem !important;
        }
        & .peso {
          font-size: 1.2rem !important;
          & svg {
            width: 1.6rem !important;
          }
        }
      }
    }
    & .stats {
      & li {
        & svg {
        }
        & p {
          font-size: 1.2rem;
        }
        & .status {
          height: 1.4rem;
        }
      }
    }
    & .fraquezas {
      & p {
        color: #fff;
        font-size: 1.2rem;
        font-weight: 500;
      }
      & ul {
        column-gap: 1rem;
        & li {
          & img {
            width: 1.8rem !important;
          }
        }
      }
    }
  }
  & #details {
    flex-direction: column;
    row-gap: 3rem;
    padding: 5rem 0 !important;
    & img {
      width: 25rem !important;
      object-fit: contain;
    }
    & .text {
      display: flex;
      align-items: center;
      flex-direction: column;
      justify-content: center;
      width: 31rem !important;
      & h2 {
        text-align: center;
        font-size: 2.2rem !important;
      }
      & p {
        text-align: center;
        font-size: 1.4rem !important;
      }
    }
  }
  & #pokedex {
    align-items: center;
    justify-content: center;
    padding: 5rem 0 !important;
    & .title {
      & img {
        width: 2rem !important;
        object-fit: contain;
      }
      & h2 {
        font-size: 2.2rem !important;
      }
    }
    & .pokedex {
      width: 31rem !important;
      & img {
        width: 3rem !important;
      }
    }
    & .search {
      flex-direction: column;
      row-gap: 2rem;
      width: 31rem !important;
      & .type {
        & .carousel {
          width: 31rem !important;
        }
      }
      & .input {
        width: 31rem !important;
        & .title {
          & svg {
            width: 2rem !important;
            height: 2rem !important;
          }
          & p {
            font-size: 1.2rem !important;
          }
        }
        & .inputPokemon {
          width: 100%;
          & form {
            width: 100%;
            & input {
              width: 100%;
            }
          }
          & button {
            & svg {
              width: 2rem !important;
              height: 2rem !important;
            }
          }
        }
      }
    }
    & .gridPoke {
      grid-template-columns: repeat(1, 1fr) !important;
      width: 100%;
      align-items: center;
      justify-content: center !important;
      & .divPoke {
        width: 31.4rem !important;
        height: 32rem !important;
        & h2 {
          font-size: 2.2rem !important;
        }
        & .type {
          padding: 1rem 1.5rem !important;
          font-size: 1.4rem !important;
          & img {
            height: 2rem !important;
            object-fit: contain;
          }
        }
        & .pokeIMG {
          width: 18rem !important;
        }
        & .row {
          & .straig {
            & p {
              font-size: 1.8rem !important;
            }
            & .altura {
              font-size: 1.2rem !important;
            }
          }
          & .heigth {
            & p {
              font-size: 1.8rem !important;
            }
            & .peso {
              font-size: 1.2rem !important;
            }
          }
        }
      }
      & .divPokeMore {
        padding: 05rem !important;
        padding-right: 1.5rem !important;
        padding-left: 1.5rem !important;
        width: 30rem !important;
        height: 50rem !important;
        z-index: 9;
        & .pokePic {
          top: -30px !important;
          width: 150px !important;
          margin-bottom: 0.8rem !important;
        }
        & h2 {
          font-size: 2rem !important;
          margin-bottom: 1rem !important;
        }
        & .details {
          column-gap: 2rem !important;
          margin-bottom: 1rem !important;
          & .heigth {
            & p {
              font-size: 1.8rem !important;
            }
            & .altura {
              font-size: 1.1rem !important;
              & svg {
                width: 1.8rem !important;
              }
            }
          }
          & .type {
            font-size: 1.2rem !important;
            & img {
              width: 2.5rem !important;
            }
          }
          & .straig {
            & p {
              font-size: 1.8rem !important;
            }
            & .peso {
              font-size: 1.1rem !important;
              column-gap: 0.5rem !important;
              & svg {
                width: 1.8rem !important;
              }
            }
          }
        }
        & .stats {
          width: 80%;
          row-gap: 0.2rem;
          & li {
            column-gap: 0.5rem;
            width: 100%;
            & p {
              font-size: 1.2rem !important;
            }
            & .status {
              height: 12px !important;
              width: 100%;
            }
          }
        }
        & .fraquezas {
          column-gap: 1rem !important;
          width: 90%;
          & p {
            font-size: 1.2rem !important;
          }
          & ul {
            column-gap: 1rem !important;
            & li {
              & img {
                width: 1.8rem !important;
              }
            }
          }
        }
      }
    }
    & .buttons {
      width: 31rem !important;
      & .sub {
        & svg {
          width: 2rem !important;
          height: 2rem !important;
        }
        & p {
          font-size: 1.2rem !important;
        }
      }
      & .more {
        & svg {
          width: 2rem !important;
          height: 2rem !important;
        }
        & p {
          font-size: 1.2rem !important;
        }
      }
    }
  }
  & footer {
    & .row {
      width: 31rem !important;
      padding: 0.4rem 0.8rem !important;
      column-gap: 0 !important;
      & .about {
        & h2 {
          font-size: 1.4rem !important;
        }
        & h3 {
          font-size: 1.2rem !important;
        }
      }
      & .links {
        column-gap: 0.5rem !important;
        & svg {
          width: 2rem !important;
          height: 2rem !important;
        }
      }
    }
  }
  #chains {
    gap: 2rem;
    align-items: center;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 99;
    .closeEvo {
      padding: 0.5rem;
      border-radius: 0.5rem;
      border: 2px solid #fff;
      background-color: transparent;
      position: absolute;
      top: 2rem;
      right: 8rem;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
    }
    & .card {
      display: flex;
      align-items: center;
      justify-content: center;
      column-gap: 2rem;
      & .img {
        background-color: #191919;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 2rem;
        & img {
          width: 20rem !important;
          object-fit: contain;
        }
      }
      & .details {
        & .id {
          & p {
            color: #fff;
            font-size: 1.6rem !important;
          }
        }
        & .name {
          margin-bottom: 1rem;
          & p {
            color: #fff;
            font-size: 2rem !important;
            font-weight: 700;
          }
        }
        & .type {
          display: flex;
          column-gap: 1rem;
          & p {
            & img {
              width: 2.5rem !important;
              object-fit: contain;
            }
          }
        }
      }
    }
  }
}

main {
  width: 100%;
  height: 100%;

  & section {
    display: flex;
    align-items: center;
    justify-content: space-between;

    & .col1 {
      display: flex;
      flex-direction: column;
      align-items: baseline;
      justify-content: center;
      & h1 {
        font-size: 6.4rem;
        font-weight: 700;
        margin-bottom: 0.8rem;
        color: #fff;
      }
      & ul {
        list-style: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 1.6rem;
        column-gap: 1rem;
        & li {
          & svg {
            width: 4rem;
            height: 4rem;
          }
        }
      }
      & #description {
        font-size: 1.6rem;
        font-weight: 500;
        letter-spacing: -0.5px;
        width: 60rem;
        margin-bottom: 1.6rem;
        color: #fff;
      }
      & .button {
        display: flex;
        align-items: center;
        justify-content: center;
        column-gap: 2rem;
        margin-bottom: 1.6rem;
        width: 60rem;
        border: 1px solid #000;
        padding: 0.8rem 1.2rem;
        border-radius: 2rem;
        background-color: #0f1020;
        cursor: pointer;
        & p {
          font-size: 2rem;
          font-weight: 600;
          color: #fff;
        }
        & svg {
          width: 4rem;
          height: 4rem;
          fill: #fff;
        }
      }
      & .links {
        display: flex;
        column-gap: 1rem;
        & svg {
          width: 4rem;
          height: 4rem;
          cursor: pointer;
        }
      }
    }
    & .col2 {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      & img {
        width: 63.6rem;
        object-fit: contain;
      }
    }
  }
}

.divPokemon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  padding-right: 3rem;
  padding-left: 3rem;
  background-size: auto;
  background-position-y: center;
  background-repeat: no-repeat;
  opacity: 1;
  transform: none;
  border-radius: 2.4rem;
  border: 1px solid hsl(0deg 0% 56.22%);
  filter: saturate(1.9);
  width: 44.5rem;
  height: 66rem;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9;
  & .pokePic {
    object-fit: contain;
    position: relative;
    top: -30px;
    width: 256px;
    transform: scale(1.4);
    margin-bottom: 0.8rem;
  }
  & h2 {
    font-size: 3.2rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 1.5rem;
  }
  & .details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 3.5rem;
    margin-bottom: 1.5rem;
    & .heigth {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      & p {
        font-size: 2.4rem;
        font-weight: 700;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        color: #fff;
      }
      & .altura {
        font-size: 1.4rem;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        column-gap: 0.5rem;
        color: #fff;
        & svg {
          width: 3rem;
        }
      }
    }
    & .type {
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.6rem;
      font-weight: 700;
      padding: 0.1rem;
      column-gap: 1rem;
      text-transform: uppercase;
      border-radius: 3rem;
      filter: saturate(1.9);
      & img {
        width: 4rem;
        object-fit: contain;
      }
    }
    & .straig {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      & p {
        font-size: 2.4rem;
        font-weight: 700;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        color: #fff;
      }
      & .peso {
        font-size: 1.4rem;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        column-gap: 0.5rem;
        color: #fff;
        & svg {
          width: 2rem;
          fill: #fff;
        }
      }
    }
  }
  & .stats {
    list-style: none;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: baseline;
    row-gap: 0.2rem;
    margin-bottom: 1rem;
    & li {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      column-gap: 0.5rem;
      width: 100%;
      & svg {
        fill: #fff;
      }
      & p {
        color: #fff;
        font-size: 1.6rem;
        font-weight: 500;
      }
      & .status {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        border-radius: 24px;
        border: 1px solid hsla(0, 0%, 100%, 0.2);
        background: rgba(6, 11, 20, 0.8);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        height: 1.8rem;
        padding: 2px;
        width: 100%;
      }
    }
  }
  & .fraquezas {
    display: flex;
    align-items: center;
    column-gap: 1rem;
    width: 90%;
    & p {
      color: #fff;
      font-size: 1.6rem;
      font-weight: 500;
    }
    & ul {
      list-style: none;
      display: flex;
      align-items: center;
      column-gap: 1rem;
      & li {
        & img {
          width: 2.8rem;
        }
      }
    }
  }
}
& .buttons {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
  & .sub {
    border: 1px #4c4e6c solid;
    background-color: #0f1020;
    padding: 0.8rem 1.2rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    & svg {
      width: 3.5rem;
      height: 3.5rem;
    }
    & p {
      font-size: 1.6rem;
      font-weight: 500;
      color: #fff;
    }
  }
  & .more {
    border: 1px #4c4e6c solid;
    background-color: #0f1020;
    padding: 0.8rem 1.2rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    & p {
      font-size: 1.6rem;
      font-weight: 500;
      color: #fff;
    }
    & svg {
      width: 3.5rem;
      height: 3.5rem;
    }
  }
}

#details {
  padding: 5rem;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 2rem;
  & img {
    width: 415px;
    height: 254px;
  }
  & .text {
    width: 80rem;
    & h2 {
      font-size: 3.2rem;
      color: #fff;
      margin-bottom: 3.2rem;
    }
    & p {
      font-size: 1.6rem;
      font-weight: 500;
      color: #fff;
    }
  }
}

#pokedex {
  background-color: #000;
  padding: 5rem 12rem;
  display: flex;
  flex-direction: column;
  & .title {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-self: baseline;
    & img {
      width: 3rem;
      height: 3rem;
    }
    & h2 {
      font-size: 3.2rem;
      color: #fff;
      text-transform: capitalize;
    }
  }
  & .pokedex {
    width: 100%;
    border: 1px #4c4e6c solid;
    background-color: #0f1020;
    padding: 1rem;
    border-radius: 1rem;
    margin-bottom: 8rem;

    & img {
      width: 5rem;
      object-fit: contain;
    }
  }
  & .search {
    display: flex;
    column-gap: 1.8rem;
    margin-bottom: 10rem;
    & .type {
      display: flex;
      flex-direction: column;
      & .title {
        display: flex;
        align-items: center;
        column-gap: 1rem;
        & svg {
          width: 2.5rem;
          height: 2.5rem;
          fill: #fff;
        }
        & p {
          font-size: 1.6rem;
          color: #fff;
        }
      }
      .carousel {
        display: flex;
        width: 58.2rem; /* 3rem é a largura das imagens, 11 é o número de imagens visíveis */
        border: 1px #4c4e6c solid;
        background-color: #0f1020;
        padding: 0.8rem 1.2rem;
        border-radius: 1rem;
        align-items: center;
        column-gap: 1rem;
      }

      .carousel svg {
        width: 3rem;
        height: 3rem;
      }

      .carousel ul {
        list-style: none;
        display: flex;
        align-items: center;
        width: 92%;
        column-gap: 1rem;
        overflow: scroll;
        transition: transform 0.5s ease;
      }

      .carousel li {
        display: inline-block;
        cursor: pointer;
      }

      .carousel img {
        width: 3rem;
        object-fit: contain;
      }
    }
    & .input {
      display: flex;
      align-items: baseline;
      flex-direction: column;
      & .title {
        & svg {
          width: 2.5rem;
          height: 2.5rem;
          fill: #fff;
        }
        & p {
          font-size: 1.6rem;
          font-weight: 500;
          color: #fff;
        }
      }
      & .inputPokemon {
        display: flex;
        align-items: center;
        justify-content: center;
        & input {
          all: unset;
          border: 1px #4c4e6c solid;
          background-color: #0f1020;
          padding: 1.4rem 1.8rem;
          border-top-left-radius: 1rem;
          border-bottom-left-radius: 1rem;
          align-items: center;
          font-size: 1.6rem;
          font-family: "Montserrat", sans-serif;
          width: 57.5rem;
          color: #fff;
        }
        & button {
          border: none;
          width: 9rem;
          height: 4.9rem;
          border-top-right-radius: 1rem;
          border-bottom-right-radius: 1rem;
          background: linear-gradient(45deg, #5e33d6, #6f42c1);
          & svg {
            fill: #fff;
          }
        }
      }
    }
  }
  & .gridPoke {
    display: grid;
    grid-template-columns: repeat(3, 41.5rem);
    column-gap: 2.5rem;
    row-gap: 10rem;
    justify-content: center;
    & .divPoke {
      padding: 12.8rem 4.2rem 4.2rem;
      width: 41.5rem;
      height: 38.5rem;
      background-size: contain;
      background-repeat: no-repeat;
      opacity: 1;
      transform: none;
      border: 1px solid hsla(0, 0%, 100%, 0.2);
      filter: saturate(1.9);
      border-radius: 4.2rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: end;
      row-gap: 1rem;
      cursor: pointer;
      & img {
        width: 28rem;
        object-fit: contain;
      }
      & h2 {
        font-size: 3.2rem;
        color: #fff;
        font-weight: 600;
      }
      & .type {
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem;
        font-weight: 700;
        column-gap: 1rem;
        text-transform: uppercase;
        padding: 1.5rem 2.5rem;
        height: 3.5rem;
        border-radius: 0.8rem;
        margin-bottom: 1rem;
        filter: saturate(1.9);
        & img {
          width: 3rem;
          object-fit: contain;
        }
      }
      & .row {
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: center;
        column-gap: 9rem;

        & .heigth {
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          & p {
            font-size: 2.4rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            color: #fff;
          }
          & .altura {
            font-size: 1.4rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            column-gap: 0.5rem;
            color: #fff;
            & svg {
              width: 3rem;
            }
          }
        }
        & .straig {
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          & p {
            font-size: 2.4rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            color: #fff;
          }
          & .peso {
            font-size: 1.4rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            column-gap: 0.5rem;
            color: #fff;
            & svg {
              width: 2rem;
              fill: #fff;
            }
          }
        }
      }
    }
  }
  & .divPokeMore {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    padding-right: 3rem;
    padding-left: 3rem;
    background-size: auto;
    background-position-y: center;
    background-repeat: no-repeat;
    opacity: 1;
    transform: none;
    border-radius: 2.4rem;
    border: 1px solid hsl(0deg 0% 56.22%);
    filter: saturate(1.9);
    width: 44.5rem;
    height: 66rem;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9;
    & .pokePic {
      object-fit: contain;
      position: relative;
      top: -30px;
      width: 256px;
      transform: scale(1.4);
      margin-bottom: 0.8rem;
    }
    & h2 {
      font-size: 3.2rem;
      font-weight: 500;
      color: #fff;
      margin-bottom: 1.5rem;
    }
    & .details {
      display: flex;
      align-items: center;
      justify-content: space-between;
      column-gap: 3.5rem;
      margin-bottom: 1.5rem;
      & .heigth {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        & p {
          font-size: 2.4rem;
          font-weight: 700;
          text-transform: uppercase;
          display: flex;
          align-items: center;
          color: #fff;
        }
        & .altura {
          font-size: 1.4rem;
          font-weight: 700;
          display: flex;
          align-items: center;
          justify-content: center;
          column-gap: 0.5rem;
          color: #fff;
          & svg {
            width: 3rem;
          }
        }
      }
      & .type {
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem;
        font-weight: 700;
        padding: 0.1rem;
        column-gap: 1rem;
        text-transform: uppercase;
        border-radius: 3rem;
        filter: saturate(1.9);
        & img {
          width: 4rem;
          object-fit: contain;
        }
      }
      & .straig {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        & p {
          font-size: 2.4rem;
          font-weight: 700;
          text-transform: uppercase;
          display: flex;
          align-items: center;
          color: #fff;
        }
        & .peso {
          font-size: 1.4rem;
          font-weight: 700;
          display: flex;
          align-items: center;
          justify-content: center;
          column-gap: 0.5rem;
          color: #fff;
          & svg {
            width: 2rem;
            fill: #fff;
          }
        }
      }
    }
    & .stats {
      list-style: none;
      width: 90%;
      display: flex;
      flex-direction: column;
      align-items: baseline;
      row-gap: 0.2rem;
      margin-bottom: 1rem;
      & li {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        column-gap: 0.5rem;
        width: 100%;
        & svg {
          fill: #fff;
        }
        & p {
          color: #fff;
          font-size: 1.6rem;
          font-weight: 500;
        }
        & .status {
          display: flex;
          align-items: center;
          border-radius: 24px;
          border: 1px solid hsla(0, 0%, 100%, 0.2);
          background: rgba(6, 11, 20, 0.8);
          -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
          height: 18px;
          padding: 2px;
          width: 100%;
        }
      }
    }
    & .fraquezas {
      display: flex;
      align-items: center;
      column-gap: 1rem;
      width: 90%;
      & p {
        color: #fff;
        font-size: 1.6rem;
        font-weight: 500;
      }
      & ul {
        list-style: none;
        display: flex;
        align-items: center;
        column-gap: 1rem;
        & li {
          & img {
            width: 2.8rem;
          }
        }
      }
    }
  }
  & .buttons {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 3rem;
    & .sub {
      border: 1px #4c4e6c solid;
      background-color: #0f1020;
      padding: 0.8rem 1.2rem;
      border-radius: 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      & svg {
        width: 3.5rem;
        height: 3.5rem;
      }
      & p {
        font-size: 1.6rem;
        font-weight: 500;
        color: #fff;
      }
    }
    & .more {
      border: 1px #4c4e6c solid;
      background-color: #0f1020;
      padding: 0.8rem 1.2rem;
      border-radius: 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      & p {
        font-size: 1.6rem;
        font-weight: 500;
        color: #fff;
      }
      & svg {
        width: 3.5rem;
        height: 3.5rem;
      }
    }
  }
}

footer {
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 5rem;
  & .row {
    width: 84.5%;
    border: 1px #4c4e6c solid;
    background-color: #0f1020;
    padding: 0.8rem 1.2rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    & .about {
      display: flex;
      flex-direction: column;
      display: flex;
      row-gap: 1rem;
      & h2 {
        color: #fff;
        font-size: 1.6rem;
        font-weight: 500;
      }
      & h3 {
        color: #fff;
        font-size: 1.6rem;
        font-weight: 600;
      }
    }
    & .links {
      display: flex;
      align-items: center;
      justify-content: center;
      column-gap: 1rem;
      & svg {
        fill: #fff;
        width: 3rem;
        height: 3rem;
      }
    }
  }
}

.divPokeMore {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 600px;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 20px;
  z-index: 1000;
  display: none;
  border-radius: 8px;
  transform: translate(-50%, -50%) scale(0.8);
}

.divPokeMore.show {
  display: block;
}

.divPokeMore .close-modal {
  background-color: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 10px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

.overlay.show {
  display: block;
}

.rowPokemon {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 1rem;
}

.bug {
  background-color: #90c12c;
}

.dark {
  background-color: #5a5366;
}

.dragon {
  background-color: #096dc4;
}

.electric {
  background-color: #f3d23b;
}

.fairy {
  background-color: #ec8fe6;
}

.fighting {
  background-color: #ce4069;
}

.fire {
  background-color: #ff9c54;
}

.ghost {
  background-color: #5269ac;
}

.flying {
  background-color: #92aade;
}

.grass {
  background-color: #63bb5b;
}

.ground {
  background-color: #d97746;
}

.ice {
  background-color: #74cec0;
}

.normal {
  background-color: #9099a1;
}
.poison {
  background-color: #ab6ac8;
}
.psychic {
  background-color: #f97176;
}
.rock {
  background-color: #c7b78b;
}
.steel {
  background-color: #5a8ea1;
}
.water {
  background-color: #4d90d5;
}
.loading-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 38.5rem;
  width: 41.5rem;
  border: 1px solid hsla(0, 0%, 100%, 0.2);
  border-radius: 4.2rem;
  background-color: #00000065;
  backdrop-filter: blur(0.7rem);
  text-align: center;
  & p {
    font-size: 1.8rem;
  }
}
.loading-spinner {
  height: 60px;
  aspect-ratio: 1;
  position: relative;
  &::before,
  &::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    transform-origin: bottom;
  }
  &::after {
    background: radial-gradient(at 75% 15%, #fffb, #0000 35%),
      radial-gradient(at 80% 40%, #0000, #0008),
      radial-gradient(circle 5px, #fff 94%, #0000),
      radial-gradient(circle 10px, #000 94%, #0000),
      linear-gradient(#f93318 0 0) top / 100% calc(50% - 5px),
      linear-gradient(#fff 0 0) bottom/100% calc(50% - 5px) #000;
    background-repeat: no-repeat;
    animation: l20 1s infinite cubic-bezier(0.5, 120, 0.5, -120);
  }
  &::before {
    background: #dddddd00;
    filter: blur(8px);
    transform: scaleY(0.4) translate(-13px, 0px);
  }
  @keyframes l20 {
    30%,
    70% {
      transform: rotate(0deg);
    }

    49.99% {
      transform: rotate(0.2deg);
    }

    50% {
      transform: rotate(-0.2deg);
    }
  }
}
.none {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translate(-50%, -50%) scale(0.9) !important;
}
.close {
  padding: 0.5rem;
  border-radius: 0.5rem;
  border: 2px solid #fff;
  background-color: transparent;
  position: absolute;
  top: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#chains {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 99;
  .closeEvo {
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 2px solid #fff;
    background-color: transparent;
    position: absolute;
    top: 2rem;
    right: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  & .card {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 2rem;
    & .img {
      background-color: #191919;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 2rem;
      & img {
        width: 25rem;
        object-fit: contain;
      }
    }
    & .details {
      & .id {
        & p {
          color: #fff;
          font-size: 1.8rem;
        }
      }
      & .name {
        margin-bottom: 1rem;
        & p {
          color: #fff;
          font-size: 2.5rem;
          font-weight: 700;
        }
      }
      & .type {
        display: flex;
        column-gap: 1rem;
        & p {
          & img {
            width: 3rem;
            object-fit: contain;
          }
        }
      }
    }
  }
  .arraw {
    height: 5rem;
  }
}
