html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-image: linear-gradient(135deg, #fdfcfb 0%, #e2d1c3 100%);
}
.main-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 100px;
}

.nav-logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.header-logo {
  margin: 0;
  height: 90px;
}

nav {
  min-height: 100px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-image: linear-gradient(135deg, #fdfcfb 0%, #e2d1c3 100%);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

.headline {
  margin-left: 30px;
  font-size: 36px;
  color: #e62129;
  font-weight: 800;
}
.modal.show .modal-dialog {
  height: 100vh;
  transform: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  border-radius: 40px !important;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  height: 80%;
  width: 380px;
  overflow: hidden;
}

#info-container-top {
  display: flex;
  flex-direction: column;
  position: relative;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  overflow: hidden;
  color: white;
  height: 40% !important;
  padding: 20px;
}
#pokemonName {
  font-size: 36px;
}
.pokemon-types {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.pokemon-type {
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  padding: 6px;
  background: rgb(255 255 255 / 35%);
  border-radius: 7px;
  margin: 0 0 0 6px;
}
.pokemon-type span {
  font-size: 26px;
  color: #fff;
  font-weight: 600;
  padding: 2px 12px 4px 12px;
  background: rgb(255 255 255 / 35%);
  margin: 10px;
  border-radius: 7px;
}

#info-container {
  background-color: white;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  color: black;
  height: 60% !important;
  width: 100% !important;
}
#pokemonImage {
  width: 250px;
  height: 250px;
  z-index: 999;
  margin-top: -201px;
}
.accordion {
  width: 90%;
}
.accordion-stats {
  padding: 0px !important;
}
#pokemonCardList {
  margin: 30px;
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
#pokemonModalCardList {
  height: 100% !important;
  width: 100% !important;
}

.pokemon-card {
  width: 250px;
  height: 250px;
  margin: 20px;
  color: white;
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.8));
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.info-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.info-head span {
  font-size: 26px;
}
.cardContent {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
#cardPokemonImage {
  width: 200px;
  height: 200px;
  margin-top: -15px;
  margin-left: -25px;
  filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.8));
}
#cardPokemonImage:hover {
  width: 205px;
  height: 205px;
  transition: 0.2s ease;
}
.divImage {
  display: flex;
  justify-content: center;
  align-items: center;
}
.button-container {
  margin-top: 20px; /* oder den gewünschten Abstand */
}

.btn-lg {
  margin-bottom: 100px !important;
}

.carousel-control-next {
  color: black !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  margin-top: 60px !important;
  width: 4rem !important;
  height: 4rem !important;
}

#to-top-btn {
  width: 70px;
  height: 90px;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 28px;
  right: 28px;
  background-color: rgb(255 255 255);
  padding: 8px;
  border-radius: 100%;
  cursor: pointer;
  z-index: 99;
}

.pikachu {
  width: 100%;
  height: 100%;
}

.d-none {
  display: none;
}

@media (max-width: 660px) {
  nav {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
  .search-content {
    padding: 10px;
  }
  .nav-logo {
    padding-top: 10px;
  }
  .header-logo {
    height: 60px;
  }
  .accordion-button {
    padding: 5px !important;
  }
  #pokemonImage {
    width: 170px;
    height: 170px;
    z-index: 999;
    margin-top: -115px;
  }
  .modal-content {
    width: 90% !important;
  }
}
@media (max-width: 400px) {
  #pokedex {
    min-height: 100%;
    border-radius: 0px;
  }
  #info-container {
    height: 450px;
    width: 95%;
  }
}
