html {
  background: url(img/hands-pokémon-ball-dark-wallpaper.jpg) no-repeat center
    center fixed;
  background-size: cover;
}

body {
  background: transparent;
}

@media (min-width: 1600px) {
  .cardContainer {
    max-width: 1600px;
    margin: auto;
  }
}

img {
  z-index: 2;
}

button {
  border: 2px solid black;
  background-color: rgba(0, 167, 0, 0.4);
  box-shadow: 5px 5px 5px black;
  color: white;
  z-index: 2;
}

.card {
  cursor: pointer;
}

.navbar-brand {
  color: white;
}

.buttonContainer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 25px;
  margin-top: 10px;
}

.pokemonImg {
  height: 125px;
  width: 125px;
}

.pokemonGif {
  height: 50px;
  width: 50px;
  position: relative;
  left: 10px;
}

.card {
  width: 250px;
}

.cardContainer {
  margin: 20px 10px 0px 20px;
  margin: auto;
}

.navbar {
  max-width: 1600px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 15px;
}

.pokeballImg {
  position: absolute;
  top: 0;
  left: 46px;
  height: 200px;
  z-index: 0;
  transform: rotate(325deg);
  opacity: 0.2;
}

.pokeballPokemonInfoImg {
  position: absolute;
  top: 0;
  left: 110px;
  height: 250px;
  z-index: 0;
  transform: rotate(325deg);
  opacity: 0.2;
}

.pokemonId {
  background-color: white;
  width: 35px;
  height: 25px;
  border-radius: 10px;
  text-align: center;
  z-index: 2;
}

.figure {
  position: relative;
  transform: rotateY(0deg);
  transition: ease-in-out 0.5s;
}

.figure:hover {
  transform: rotateY(-180deg);
}

.pokemonCardHeader {
  display: flex;
  justify-content: space-between;
}

.card-title {
  font-weight: bold;
  color: white;
}

.pokemonImgAndButton {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.modal-header {
  flex-direction: column;
  height: 400px;
  border-radius: 25px;
}

.col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  width: 400px;
  margin: auto;
  border-bottom-right-radius: 25px;
  border-bottom-left-radius: 25px;
}

.aboutContainer {
  background-color: transparent;
  width: 400px;
  height: 200px;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 25px;
  transition: transform 0.6s;
  margin: 0px 25px;
  perspective: 1000px;
}

.aboutContainerInner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.frontStats,
.backStats {
  background-color: dodgerblue;
  color: white;
  position: absolute;
  width: 100%;
  height: 101%;
  backface-visibility: hidden;
  border-bottom-right-radius: 25px;
  border-bottom-left-radius: 25px;
}

.backStats {
  transform: rotateY(180deg);
}

.aboutContainer:hover .aboutContainerInner {
  transition: transform 2s;
  transform: rotateY(180deg);
}

.aboutStats {
  display: flex;
  justify-content: flex-start;
  width: 300px;
}

.aboutStatsName {
  width: 100px;
}

.aboutBaseStatsName {
  width: 150px;
  display: flex;
  padding-left: 20px;
}

.baseStats {
  display: flex;
}

.pokemonInfoTitelAndCloseButton {
  display: flex;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 90%;
}

.btn-close {
  margin: 0;
  background-color: white;
}

.pokemonInfoAttributeAndImg {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: 25px;
  gap: 10px;
}

.pokemonInfoAttributeAndImg button {
  height: 50px;
}

.modal-header {
  padding: 0;
}

.pokemonInfoAttributeButton {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  left: -45px;
  gap: 10px;
}

.modal-title {
  color: white;
}

.row-cols-md-3,
.row-cols-lg-4 {
  margin-right: 20px;
  margin-left: 20px;
}

.loader {
  border: 16px solid #f3f3f3;
  border-top: 16px solid #3498db;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  animation: spin 2s linear infinite;
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -40px;
  margin-left: -40px;
  z-index: 9999;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
