* {
  box-sizing: border-box;
}

#content {
  display: flex;
}

body {
  background-image: url("./img/wallpaper.jpg"); /*https://pixabay.com/de/illustrations/pokemon-planet-smartphone-weltraum-1619924/*/
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  margin: 0 !important;
  font-family: "Roboto", sans-serif;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 40px;
}

#searchField {
  display: flex;
}

.page-title {
  margin-right: 28px;
  font-size: 35px;
  font-weight: 600;
  color: whitesmoke;
}

.name-logo-container {
  display: flex;
  align-items: center;
}

.pokeball-color {
  width: 68px;
}

input {
  text-align: left !important;
}

.form-outline {
  margin-right: 28px;
}

.form-control {
  text-align: center;
  padding-left: 18px !important;
  padding-right: 18px !important;
  margin-left: 5px !important;
}

.form-control::placeholder {
  font-size: 17px;
}

h1 {
  margin-block-start: 0;
  margin-block-end: 0;
  font-size: 23px !important;
  color: white !important;
}

h5 {
  font-weight: 300 !important;
  font-size: 16px !important;
}

#pokecard-main {
  display: flex !important;
  flex-wrap: wrap;
  color: white;
  display: flex;
  justify-content: center;
  padding: 18px;
  border-radius: 20px;
  box-shadow: inset 0px 5px 10px 0px rgba(255, 255, 255, 0.7);
  border: 2px solid;
}

.single-pokeCard {
  display: flex;
  flex-direction: column;
  padding: 20px;
  width: 300px;
  border-radius: 18px;
  box-shadow: inset 0px 5px 10px 0px rgba(255, 255, 255, 0.65);
  border: 2px solid;
  border-color: white;
  margin: 1%;
  overflow: hidden;
  cursor: pointer;
}
.singlePokecard-id {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  color: black !important;
}

.single-pokeCard:hover .black-pokeball {
  display: none;
}

.single-pokeCard:hover {
  transform: scale(0.98, 0.98);
  transition: 0.4s;
  overflow: visible;
  opacity: 0.9;
  background-color: black !important;
  cursor: pointer;
}

.single-pokeCard:hover #pokemonImage {
  transform: scale(1.55, 1.55);
  transition: 0.4s;
  color: rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
.category-container {
  border: 2px solid;
  border-radius: 5px;
  border-color: black;
  padding: 3px;
  width: 65px;
  text-align: center;
  font-size: 14px !important;
  color: white;
}

.spc-name-category-images-container {
  display: flex !important;
  width: 100% !important;
  position: relative !important;
}

.spc-name-and-category-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 108px;
  gap: 6px;
  justify-content: flex-start;
}

#pokemonImage {
  width: 150px;
  height: 150px;
  position: relative;
  z-index: 2;
  object-fit: contain;
}

/*a href="https://www.flaticon.com/de/kostenlose-icons/pokemon" title="pokémon Icons">Pokémon Icons erstellt von Freepik - Flaticon*/
.black-pokeball {
  left: 162px;
  top: -10px;
  opacity: 0.1;
  position: absolute;
  width: 90%;
}

/* Styles for ColorTags - Category - Container*/

.grass-background-color {
  background-color: #1c850e;
}
.fire-background-color {
  background-color: #f26a09;
}
.water-background-color {
  background-color: #286db1;
}
.bug-background-color {
  background: #93b93c;
}
.normal-background-color {
  background-color: #7e808c;
}
.poison-background-color {
  background-color: #963dbf;
}
.electric-background-color {
  background-color: #e0c617;
}
.ground-background-color {
  background-color: #ce7546;
}
.fairy-background-color {
  background-color: #e25eba;
}
.fighting-background-color {
  background-color: #da3861;
}
.psychich-background-color {
  background-origin: #d84a4c;
}
.ghost-background-color {
  background-color: #3b57ae;
}
.ice-background-color {
  background-color: #52d3c4;
}
.dragon-background-color {
  background-color: #0975da;
}

/* Styles for ColorTags - Category - Container - ENDE */

.popup-card {
  position: fixed; /* schafft Overlay */
  inset: 0; /* top: 0, left: 0, right: 0, bottom: 0; */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 100;
}

.Detail-Main-Container {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 685px;
  width: 420px;
  padding: 14px;
  border: 2px solid;
  border-radius: 20px;
  border-color: #f3f5fa;
  box-shadow: inset 0px 0px 10px 0px rgba(255, 255, 255, 0.7);
  background: white;
}

.Detail-Pokecard-ID {
  font-size: 32px !important;
  font-weight: 500;
  margin-left: 5px;
}

#Detail-Pokemon-Name {
  margin-left: 8px;
  font-size: 27px;
}

.card-top {
  background-color: whitesmoke;
  border-radius: 5px;
  margin-bottom: 4px;
}

.Detail-PokeName-Categories {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  align-items: center;
  gap: 5px;
}

b {
  font-size: 16px;
}

.abilities {
  font-size: 18px;
  font-weight: 500;
  border: 2px solid;
  border-radius: 5px;
  border-color: black;
  padding: 4px;
  width: 103px;
  text-align: center;
  color: white;
  margin-right: 2px;
}

.Detail-Image-Container {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.Detail-Pokemon-Image {
  width: 220px;
}

.Detail-Black-Pokeball {
  opacity: 0.2;
  position: absolute;
  width: 400px;
  left: -30px;
  bottom: -157px;
  z-index: -1;
}

.description {
  background-color: lightgrey;
  margin: 10px;
  padding: 3px;
  border-radius: 5px;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.close-container {
  display: flex;
  justify-content: flex-end;
}

.icon-class {
  width: 26px;
  cursor: pointer;
  margin-top: 5px;
  margin-right: 5px;
}

.card-bottom {
  display: flex;
  flex-direction: column;
  background-color: whitesmoke;
  border-radius: 5px;
  position: relative;
  z-index: 50;
}

.back-forward-container {
  display: flex;
  justify-content: space-between;
  margin: 12px;
}

.navigation-container {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 26px;
}

.without-description-container {
  margin-top: 23px;
}

.link {
  text-decoration: none !important;
  cursor: pointer;
  font-weight: 500 !important;
  color: black;
  font-size: 18px;
}

.information-container {
  padding: 0 9px;
}

#information-text-container {
  height: 190px;
}

.stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
  margin-bottom: 7px;
}

.stat-name {
  width: 250px;
  font-weight: 550;
  font-size: 15px;
}

.stat-value {
  text-align: right;
  font-size: 15px;
  width: 45px;
}

.bar-height-width {
  height: 20px !important;
  width: 100%;
}

.listed-evolutions-container {
  padding-top: 25px;
  display: flex;
  justify-content: space-around;
}

.evolution-container {
  display: flex;
  flex-direction: column-reverse;
  text-align: center;
  cursor: pointer;
}

.evolution-image:hover {
  transform: scale(1.1); /* oder andere Transformationen */
  cursor: pointer;
}

.evolution-name {
  font-size: 16px;
  font-weight: 500;
}

img {
  width: 108px;
}

.d-flex {
  display: flex;
}

.horizontal-position {
  justify-content: space-between;
}

.d-none {
  display: none;
}

/*media-query für main-ansicht*/
@media (max-width: 650px) {
  .header {
    padding: 27px;
  }
  .name-logo-container {
    flex-direction: column;
  }
  .page-title {
    font-size: 32px;
  }
  .pokeball-color {
    width: 57px;
  }
}

@media (max-width: 500px) {
  .single-pokeCard {
    width: 280px;
  }
  .header {
    padding: 20px;
  }
  .name-logo-container {
    flex-direction: column;
    align-items: center;
  }
  .page-title {
    font-size: 30px;
  }
  .pokeball-color {
    width: 52px;
  }
  .form-control {
    font-size: 16px;
    padding: 2px !important;
  }
  .form-control::placeholder {
    font-size: 15px !important;
  }
}

@media (max-width: 420px) {
  .header {
    padding: 16px;
  }
  .page-title {
    font-size: 25px;
  }
  .pokeball-color {
    width: 50px;
  }
}

@media (max-width: 380px) {
  .single-pokeCard {
    width: 275px;
  }
  #pokemonImage {
    width: 132px;
  }
  .black-pokeball {
    width: 88%;
  }

  .form-control::placeholder {
    font-size: 14px !important;
  }
}

@media (max-width: 350px) {
  .single-pokeCard {
    width: 253px;
  }
  h1 {
    font-size: 19px !important;
  }
  #pokemonImage {
    width: 100px;
    height: 100px;
  }
  .spc-name-and-category-container {
    margin-top: -10px;
    width: 104px;
  }
  .category-container {
    font-size: 12px !important;
  }
  .black-pokeball {
    width: 88%;
    top: -10px;
    left: 100px;
  }
  .name-logo-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-title {
    font-size: 22px;
  }
  .pokeball-color {
    width: 38px;
  }
  .header {
    padding: 14px;
  }
  .form-control {
    padding: 2px !important;
    font-size: 14px !important;
    margin-top: 33px;
  }
  .form-control::placeholder {
    font-size: 13px !important;
  }
  .form-outline {
    margin-right: 18px;
  }
}

/*media-query detail-ansichten*/
@media(max-width: 442px){
  .form-control::placeholder {
    font-size: 14px !important;
  }
}
@media (max-width: 435px) {
  .abilities {
    font-size: 16px;
    width: 93px;
  }
  .Detail-Pokemon-Image {
    width: 180px;
  }
  .Detail-Main-Container {
    height: 646px;
    width: 320px;
    padding: 10px;
  }
  .information-container {
    padding: 0px 0px;
    margin-bottom: 11px;
  }
  #information-text-container {
    padding: 0 2px;
  }
  img {
    width: 75px;
  }
  .Detail-Pokemon-Name {
    font-size: 22px;
  }
}

@media(max-width: 350px){
  .btn-secondary {
    padding: 3px !important;
    height: fit-content;
    margin-top: 32px !important;
    font-size: 14px !important;
  }
}
