@import url("https://fonts.googleapis.com/css2?family=Bungee&display=swap");
html {
  background-color: rgb(43, 43, 43);
  color: white;
  font-family: "Bungee", sans-serif;
  font-weight: 400;
  font-style: normal;
}
img {
  max-width: 100%;
}
nav {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  margin: auto;
  width: 90%;
  height: 75px;
  border-radius: 50px;
  background-color: rgb(65, 3, 3);
}
a {
  cursor: pointer;
  flex: 1;
  color: white;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease-in-out;
}
a:hover {
  color: rgb(121, 121, 121);
}
#logo {
  width: 100px;
  margin-top: 50px;
  cursor: pointer;
}
section {
  padding: 50px 5%;
}
span {
  font-size: 13px;
}
.limite {
  background: linear-gradient(
    90deg,
    rgb(63, 80, 228),
    rgb(10, 231, 47),
    rgb(217, 233, 2),
    rgb(255, 35, 35)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rare {
  color: rgb(0, 106, 245);
}
.communs {
  color: rgb(146, 146, 146);
}
.titre {
  font-size: 17px;
  border-bottom: 1px solid white;
  padding-bottom: 10px;
  margin-bottom: 25px;
}
.pokecouilles {
  position: relative;
  margin: 10px;
  width: 200px;
  perspective: 800px;
}
.nom {
  position: relative;
  border-top: 1px solid white;
  padding-top: 10px;
}
.pokecouille {
  cursor: pointer;
  position: relative;
  width: 200px;
  border-radius: 12px;
  overflow: hidden;
  max-height: 280px;
  object-fit: cover;
  transform-style: preserve-3d;
  transition: transform 0.2s ease;
  will-change: transform;
}

.card-img {
  display: block;
  width: 100%;
  border-radius: 15px;
}
#pokecouideck {
  display: flex;
  gap: 40px;
  align-self: start;
  flex-wrap: wrap;
}

/* effet carte */
#epique::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at var(--x, 50%) var(--y, 50%),
    rgba(255, 209, 209, 0.45),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
#epique::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255, 166, 0, 0.25),
    rgba(247, 4, 4, 0.25),
    rgba(255, 166, 2, 0.25)
  );
  mix-blend-mode: overlay;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

#epique:hover::before,
#epique:hover::after {
  opacity: 1;
}
button {
  background-color: rgb(0, 0, 0);
  font-family: "Bungee", sans-serif;
  color: white;
  padding: 15px 32px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 10px;
  border: 1px solid rgb(109, 109, 109);
  transition: all 0.3s ease-in-out;
}
button:hover {
  scale: 1.05;
  border: 1px solid rgb(255, 255, 255);
}
