.nav_content {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: clamp(5px, 3vw, 40px);
  padding-right: clamp(5px, 3vw, 40px);
}

.nav_right {
  margin-top: 9px;
  display: flex;
}

.footer_content {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: clamp(5px, 3vw, 40px);
  padding-right: clamp(5px, 3vw, 40px);
}

.main_content_container {
  margin-top: 132px;
  margin-bottom: 60px;
  max-width: 1920px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.impressum_data_protection_container {
  padding: 30px;
  background-color: white;
}

.pokemon_card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 240px;
  width: 150px;
  margin: 15px clamp(1%, 2%, 3%);
  border-radius: 10px;
  box-shadow: 3px 3px 10px 2px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.5s ease,
    background 0.5s ease 0.25s;
  cursor: pointer;
}

.pokemon_card:hover {
  transform: scale(1.05);
  background: linear-gradient(125deg, rgba(253, 253, 253, 0.1), rgba(236, 236, 236, 0), rgba(253, 253, 253, 0.1), rgba(236, 236, 236, 0), rgba(253, 253, 253, 0.1));
}

.pokeball_loader {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 100px;
  border-radius: 50%;
  box-shadow: 0 0 50px 7px rgba(255, 0, 0, 0.612);
}

.pokeball_loader img {
  width: 100%;
  height: auto;
  animation: rotatePokeball 1.2s linear infinite;
}

@keyframes rotatePokeball {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.large_card_container {
  position: fixed;
  top: 51%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(0, 0, 0);
  z-index: 12;
  border-radius: 10px;
  border: 2px solid rgba(0, 0, 0, 0.644);
  box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.55);
}

.tab_header {
  display: flex;
  justify-content: space-around;
  width: 250px;
  margin-top: -16px;
  margin-bottom: -13px;
  border-radius: 10px;
  padding: 5px;
  z-index: 15;
}

.large_card_content {
  background-image: url("./assets/imgs/background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  width: 266px;
  display: flex;
  flex-direction: column;
  z-index: 13;
  align-items: center;
  border-radius: 10px;
  padding-bottom: 0px;
}

.pokemon_card {
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  appearance: none;
  text-align: center;
}

.pokemon_card:focus-visible {
  outline: 3px solid black;
  outline-offset: 4px;
}

.large_card_tabs {
  display: flex;
  justify-content: space-around;
  width: 240px;
  height: 145px;
  margin-top: 0px;
  margin-bottom: 5px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding-bottom: 5px;
}

.bottom_part_card {
  margin-top: -30px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  padding: 35px 6px 5px 6px;
  display: flex;
  flex-direction: column;
}

.large_card_tabs,
.prev_next_buttons {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 8px;
}

.large_card_about_table {
  width: 240px;
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.large_card_stats_table {
  width: 240px;
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 0.9em;
}

.stats_progress_bar_container {
  position: absolute;
  height: 2px;
  width: 200px;
  border-radius: 2px;
  background-color: rgb(219, 219, 219);
}

.stats_progress_bar {
  position: absolute;
  height: 2px;
  border-radius: 2px;
}

.little_type_container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding-right: 10px;
  padding-bottom: 8px;
  border-radius: 10px;
  box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.3);
}

.prev_button,
.next_button {
  position: absolute;
  background: transparent;
  border: none;
  cursor: pointer;
}

.prev_button {
  left: 10px;
}

.next_button {
  right: 10px;
}

.tab_button {
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0;
  color: rgba(0, 0, 0, 0.6);
  background: transparent;
  border: none;
  font-family: inherit;
}

.tab_button:focus-visible {
  outline: 2px solid black;
  outline-offset: 4px;
  border-radius: 4px;
}

.close_button {
  height: 20px;
  width: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: 220px;
  margin-top: 8px;
}

.search_error_message {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  gap: 20px;
}

.start_overlay {
  background-image: url("./assets/imgs/landscape2.png");
  background-size: cover;
  background-position: 0px -60px;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 260px;
  height: 200px;
  position: fixed;
  top: 51%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  border: 2px solid #2b5200;
}

.wrong_answer_container {
  background-image: url("./assets/imgs/pikachu1.png");
  background-size: cover;
  background-position: 0px -60px;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 260px;
  height: 200px;
  position: fixed;
  top: 51%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 10px;
  border: 2px solid #2b5200;
}

.start_overlay_content {
  margin-top: 10px;
}

.start_overlay_colors button {
  flex-direction: row;
  justify-content: space-around;
  width: 58px;
  height: 30px;
  gap: 20px;
  margin-top: 30px;
  border: 1.5px solid black;
  border-radius: 5px;
}

.green_button {
  background-color: green;
  margin: 7px;
}

.blue_button {
  background-color: rgb(45, 45, 252);
  margin: 7px;
}

.yellow_button {
  background-color: yellow;
  margin: 7px;
}

.loading_spinner_container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  z-index: 1000;
}

@media (max-width: 430px) {
  .nav_content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav_right {
    margin: 0;
  }
}
.d_none {
  display: none;
}

.d_none_two {
  display: none;
}

.d_none_three {
  display: none;
}

.compare_controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 80px;
  position: fixed;
  z-index: 12;
}

.compare_button,
.generation_button {
  border: none;
  border-radius: 8px;
  padding: 3px 9px 6px 9px;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  color: rgb(255, 255, 255);
  background: linear-gradient(to bottom right, rgba(0, 23, 199, 0.508), rgba(82, 98, 212, 0.508), rgba(0, 23, 199, 0.508));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.compare_button:hover {
  transform: translateY(-1px);
}

.compare_button:focus-visible {
  outline: 3px solid black;
  outline-offset: 4px;
}

.compare_message {
  margin: 0;
  border: none;
  border-radius: 8px;
  font: inherit;
  font-weight: 500;
  color: rgb(255, 255, 255);
}

.compare_message:empty {
  display: none;
}

.compare_message:not(:empty) {
  display: block;
  padding: 5px;
  background: linear-gradient(to bottom right, rgba(0, 23, 199, 0.508), rgba(82, 98, 212, 0.508), rgba(0, 23, 199, 0.508));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.compare_overlay_container {
  position: fixed;
  inset: 0;
  z-index: 30;
}

.compare_overlay {
  width: 100%;
  height: 100vh;
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.65);
}

.compare_content {
  position: relative;
  width: min(760px, 100%);
  max-height: 95vh;
  overflow: visible;
  background: transparent;
  border-radius: 0;
  padding: 0 0 0;
}

.compare_close_button {
  position: absolute;
  top: -32px;
  right: 60px;
  z-index: 31;
  background-color: white;
  border: none;
  border-radius: 50%;
  padding: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.compare_close_button img {
  width: 20px;
  height: 20px;
  display: block;
}

.compare_cards {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}

.compare_pokemon_card {
  width: min(360px, 100%);
  padding: 16px;
  border-radius: 16px;
  background-color: rgba(0, 0, 0, 0.05);
}

.compare_pokemon_card img {
  width: 160px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .compare_overlay {
    align-items: flex-start;
    padding: 12px;
    overflow-y: auto;
  }

  .compare_content {
    width: 100%;
    max-height: none;
    padding-top: 44px;
  }

  .compare_cards {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .compare_close_button {
    top: 14px;
    right: 28px;
  }
}

.d_none_three {
  display: none !important;
}

.main_action_buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.generation_overlay_container {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.generation_overlay {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  background-color: rgba(0, 0, 0, 0.65);
}

.generation_overlay_content {
  position: relative;
  width: min(360px, 100%);
  padding: 32px 24px;
  border-radius: 16px;
  background: white;
}

.generation_overlay_content h2 {
  margin-bottom: 20px;
  align-items: center;
}

.generation_overlay_close_button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 6px;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.generation_overlay_close_button img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.generation_list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.generation_select_button {
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
