body {
  margin: 0;
  background-color: #98280f;  
}
header {
  position: sticky;
  top:0;
  left:0;
  right: 0;
  background-color: #e3350d;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  z-index: 99;
  box-shadow: 5px 5px 18px #000000;
}

.menuBar{
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.dexLink{
  text-decoration: none;
  color: white;
  background-color: red;
  border: 1px solid black;
  border-radius: 15px;
  margin: 10px;
}

.dexLink:hover{
  background-color: blue;
}

footer {
  background-color: #e3350d;
  color: white;
  height: 70px;
}

#content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

/* .reloadBtn{
  border: 1px solid white;
  border-radius: 15px;
  color: white;
  background-color: red;
  position: fixed;
  bottom: 15px;
  left: 0;
  right: 0;
  cursor: pointer;
  transition: all 0.3s ease;
} */

.reloadBtn {
  border: 1px solid white;
  border-radius: 15px;
  color: white;
  background-color: red;
  position: fixed;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px; /* oder eine andere feste Breite */
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.reloadBtn:hover{
  border: 2px solid rgb(251, 202, 60);
  color: rgb(251, 202, 60);

}

.loader{
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 100%;
  height: 100vh;
}

.smallCard {
  height: 180px;
  width: 150px;
  border-radius: 15px;
  border: 1px solid black;
  margin: 10px;
  padding: 5px;
  display: flex;
  flex-direction: column;
}

.smallCard:hover {
  border: 3px solid whitesmoke;
  transform: scale(1.2);
  object-fit: contain;
  cursor: pointer;
}

.Balls {
  height: 70px;
  width: 70px;
  margin: 20px;
}

.footerBall {
  object-fit: cover;
}

.PokeImage {
  height: 50%;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pokemon-img {
  height: 100%;
  width: 100%;
}

.PokeInfo {
  flex-direction: column;
  justify-content: end;
  align-items: start;
}

.blackscreen {
  background-color: rgba(0, 0, 0, 0.499);
  z-index: 999;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}
.d-none {
  display: none;
}
.bigCard {
  height: 750px;
  width: 500px;
  border-radius: 15px;
  border: 5px solid rgb(255, 255, 255);
  margin: 10px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
}

.directionArrow{
  height: 25px;
  width: 25px;
  background-color: inherit;
  border: 2px solid black;
  border-radius: 50px;
  cursor: pointer;
}

.Btn4Arrow{
  background-color: inherit;
  border: none;
}

.PokeHead{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 30px;
    font-size: 25px;
    color: white;
}

.PokeBigInfo{
    font-size: 25px;
    color: white;
    border-radius: 15px;
    border: 2px solid black;
    width: 80%;
    padding: 15px;
    padding-top: 0;
    height: 250px;
}

.PokeBigImage {
    height: 250px;
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .menuContainer{
    display: flex;
    justify-content: space-between;
    width: 100%;
  }

.tab {
  overflow: hidden;
  display: flex;
  justify-content: space-between;
}

.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}

.tab button:hover {
  background-color: #ddd;
}

.tab button.active {
  background-color: #ccc;
}

.tabcontent {
  display: none;
  padding: 0px 12px;
}

#statsChart{
  width: 250px;
  height: 250px;
}

.search-field {
  border: 1px solid black;
  border-radius: 15px;
}

.search-field:focus{
  background-color: rgb(251, 202, 60);
}

.closeImage{
  width: 30px;
  height: 30px;
  color: inherit;
  cursor: pointer;
  transition: height 1.5s, width 1.5s,  transform 2s;
}

.closeImage:hover{
 transform: rotate(90deg);
 width: 35px;
 height: 35px;
}

.closeBtn{
  background-color: inherit;
  border: none;
}

#soundBtn {
  height: 45px;
  width: 45px;
  border-radius: 50px;
  border: solid, 0.1px, red;
  background-image: url("./img/sound_on.png");
  background-color: inherit;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  cursor: pointer;
  box-shadow: 5px 5px 18px #000000;
}
#soundBtn:hover{
  border-color: rgb(251, 202, 60);
}

/* ---------------------------Media Querys------------- */

@media (max-width: 1040px){
  header{
    flex-direction: column;
  }
  .search-field {
  margin-bottom: 10px;
}
}
@media(max-width: 830px) {
  .Balls {
    display: none;
  }
}

@media(max-width: 750px){
  .logoWritten{
    width: 350px;
  }
}

@media(max-width: 400px){
  .logoWritten{
    width: 175px;
  }
  .smallCard:hover {
    transform: scale(1);
  } 
}