@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

:root {
  --color-light-gray: #f5f5f5;
  --color-white: #ffffff;
  --color-dark: #333333;
  --color-acier: #778289;
  --color-combat: #30336b;
  --color-dragon: #ffeaa7;
  --color-eau: #0190ff;
  --color-electrik: #ffc801;
  --color-fee: #ff0069;
  --color-feu: #f0932b;
  --color-glace: #74b9ff;
  --color-insecte: #26de81;
  --color-normal: #95afc0;
  --color-plante: #00b894;
  --color-poison: #6c5ce7;
  --color-psy: #a29bfe;
  --color-roche: #2d3436;
  --color-sol: #efb549;
  --color-spectre: #a55eea;
  --color-tenebres: #1e2122;
  --color-vol: #399d9d;
}

body {
  font-family: 'Poppins', sans-serif;
display: block;
  margin-top: 900px;
  background-image: url("../image/fond/OIP.jpg");
  background-color: #1e2122;
}



strong {
  font-weight: 600;
}

video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1 {
  color: white;
  font-family: Boldonse;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Effet assombrissant */

}

.header-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  font-size: 2rem;
  font-family: Arial, sans-serif;
}

.slider-btn {
  position: absolute;
  bottom: 300px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  color: black;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 20px;
  transition: 0.3s;
}

.slider-btn:hover {
  background-color: lightgray;
}

/* Section cible */
.content {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
}


/*debut bar nav */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;

background-color: black;
  width: 100%;
  top: 0;
  left: 0;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li {
  display: inline;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #edafb7;
  /* Couleur de survol */
}

/*fin bar nav */

header {
  transition: opacity 0.5s ease, visibility 0.5s ease;
  display: block;
}

.hidden {
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
}


.flag-container {
  display: none;
  text-align: center;
  margin-top: 20px;
}

.country-flag {
  max-width: 100px;
  height: auto;
  margin-top: 20px;
}


.site-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}
.select-box{
  color: black;
}
.main-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.main-title img {
  width: 40px;
}

.filters {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-top: 30px;
  color: white;
}

.select-box {
  display: inline-block;
  width: 210px;
  overflow: hidden;
  text-align: left;
  background-color: var(--color-white);
  position: relative;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;

  &::after {
    content: '';
    display: inline-block;
    border-top: solid 7px var(--color-dark);
    border-right: solid 4px transparent;
    border-left: solid 4px transparent;
    pointer-events: none;

    position: absolute;
    top: 18px;
    right: 13px;
  }
}

.select-box select {
  width: 100%;
  height: 40px;
  padding: 0 10px;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
  color: var(--cllor-dark);
  background-color: transparent;

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  &:focus {
    outline: none;
  }
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 40px;
  text-align: center;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 1279px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 1023px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 10px;
  background-color: var(--color-white);
  background: radial-gradient(circle at 50% 0%,
      var(--color, var(--color-light-gray)) 40%,
      var(--color-white) 40%);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card__img {
  max-height: 150px;
}

.card__label {
  margin-left: auto;
  padding: 5px 15px;
  border-radius: 30px;
  background-color: var(--color-white);
}

.card__types {
  display: flex;
  gap: 10px;
}

.card__type {
  padding: 5px 15px;
  border-radius: 30px;
  background-color: var(--color, var(--color-combat));
  color: var(--color-white);
}



.card__number {
  display: inline-block;
  padding-top: 5px;
  font-size: 18px;
}

.card-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.3s ease;
}

.card-modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.close-btn {
  position: absolute;
  top: 30px;
  right: 50px;
  font-size: 3rem;
  color: rgb(255, 255, 255);
  cursor: pointer;
}
.site-wrapper {
  display: flex;
  margin-top: 50px;
}

.sidebar {
  width: 250px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 20px;
  box-shadow: 2px 0 5px rgba(0,0,0,0.5);
  height: fit-content;
  border-radius: 10px;
  margin-right: 30px;
  position: sticky;
  top: 100px;
}

.sidebar h2 {
  margin-bottom: 20px;
  font-size: 1.3rem;
  border-bottom: 1px solid white;
  padding-bottom: 10px;
}

.sidebar label {
  display: block;
  margin: 20px 0 5px;
  font-weight: bold;
}

.site-container {
  flex: 1;
  max-width: none;
  padding: 0;
}



