body {
  margin: 0;
  background-image: url(img/background.JPG);
  background-repeat: no-repeat;
  background-size: cover;
  background-position-x: center;
  background-position-y: center;
  background-attachment: fixed;
  font-family: "Open Sans", sans-serif;
  display: flex;
  flex-direction: column;
}

h1 {
  text-align: center;
  margin-left: 128px;
}

.d-none {
  display: none !important;
}

.pokemonCardHeader {
  color: white;
}

.PokemonInfo {
  width: 400px;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: right;
  height: 100%;
  padding-top: 20px;
}

.infoContainer {
  background-color: white;
  border-radius: 40px;
  margin-top: -50px;
  min-height: 100px;
  height: 300px;
  display: flex;
  flex-direction: column;
  width: 400px;
}

.InfoTable {
  padding-left: 40px;
  padding-right: 40px;
  width: 400px;
  height: 100%;
}

.InfoTable tr {
  display: flex;
  justify-content: space-between;
  height: 100%;
}

.InfoTable tbody {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pokemonName {
  text-align: center;
  font-size: 35px;
  margin: 0;
  position: relative;
  z-index: 2;
}

.pokemonHeader {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 40px;
  width: 300px;
  height: 400px;
  border: 1px solid white;
  border-radius: 40px;
  box-shadow: 0px 0px 10px 1px lightslategray;
  transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
}

.pokemonCards {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 10vh;
  min-height: 74vh;
}

.pokemonIMG {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.pokemonCard {
  width: 310px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pokemonHeader:hover {
  cursor: pointer;
  width: 310px;
  height: 410px;
}

.openPokemonHeader {
  border-radius: 40px 40px 0 0;
}

.pokemonCard img {
  width: 90%;
}

.openCardStyle {
  filter: none !important;
  border-radius: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 6 !important;
  top: 0px;
  border: none !important;
}

.openCardStyle .pokemonHeader {
  border-bottom-left-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}

.pokemonCard .pokemonCard {
  width: 400px;
}

.hoverPointer:hover {
  cursor: pointer;
}

.header {
  background-color: rgb(218, 218, 218);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  z-index: 3;
  position: fixed;
  width: 100%;
  height: 10vh;
}

.header img {
  padding: 6px;
  height: 10vh;
  margin-left: 128px;
}

.header input {
  background-color: rgb(220, 220, 220);
  border: 2px solid rgb(127, 127, 127);
  height: 50px;
  width: 200px;
  padding-left: 20px;
  padding-right: 20px;
  margin-right: 128px;
}

.header input::placeholder {
  text-align: center;
  color: black;
}

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

.loadMoreContainer a {
  color: white;
  gap: 10px;
}

.loadMore {
  background-color: dimgray;
  border: none;
  text-align: center;
  font-size: 32px;
  padding: 32px;
  border-radius: 50px;
  border: black 1px solid;
  height: 110px;
  width: 220px;
}

.loadMore:hover {
  width: 222px;
  height: 112px;
  cursor: pointer;
}

.menuButton {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: grey;
  border-radius: 20px;
  width: 40px;
  height: 40px;
  margin-left: 20px;
  border: none;
}

.infoContainerHeader {
  padding-top: 20px;
  padding-bottom: 10px;
  display: flex;
  gap: 200px;
  justify-content: center;
  align-items: center;
  width: 400px;
  border-bottom: 1px solid black;
}

.infoContainerHeader a {
  border-radius: 20px;
  padding: 10px;
  position: relative;
  z-index: 4;
}

.infoContainerHeader a:hover {
  text-decoration: underline black 1px solid;
}

.openCardImg {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.openCardImg img {
  width: 300px;
}

.menu {
  background-color: grey;
  padding: 20px;
  border-radius: 40px;
  gap: 20px;
}

.pageInfo {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 400px;
}

.footer {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  height: 16vh;
}

.openCardBackground:hover {
  cursor: auto;
}

.openCardStyle:hover {
  cursor: auto !important;
}

.cardBackground {
  position: absolute;
  z-index: 1;
}

.cardBackground svg {
  width: 90%;
  fill: rgba(91, 90, 90, 0.2);
}

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

.openCardBackgroundImg {
  align-items: start;
  width: 400px;
}

canvas {
  padding: 0px 20px;
  height: auto !important;
  width: auto !important;
}

.openButton {
  background-color: lightgray;
}

.openPokemonCard {
  position: relative;
  z-index: 20 !important;
}

.openCardBackground {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: 100%;
  height: 100vh;
  z-index: 6;
  background-color: rgba(0, 0, 0, 0.5);
}

.navigateButton path {
  stroke: rgba(91, 90, 90, 0.2);
}

.navigateButton {
  position: absolute;
  display: flex;
  justify-content: space-between;
  width: 400px;
}

.navigateButton svg {
  position: relative;
  z-index: 3;
  width: 80px;
}

.navigateButton:hover {
  cursor: pointer;
}

::-webkit-scrollbar {
  width: 18px;
  height: 18px;
}

::-webkit-scrollbar-button {
  width: 0px;
  height: 0px;
}

::-webkit-scrollbar-thumb {
  background: #808080;
  border: 0px none #ffffff;
  border-radius: 50px;
}

::-webkit-scrollbar-thumb:hover {
  background: #bdbdbd;
}

::-webkit-scrollbar-thumb:active {
  background: #bdbdbd;
}

::-webkit-scrollbar-track {
  background: #666666;
  border: 0px none #ffffff;
}

::-webkit-scrollbar-track:hover {
  background: #666666;
}

::-webkit-scrollbar-track:active {
  background: #666666;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

@media (max-width: 800px) {
  .header img {
    margin-left: 20px;
  }

  .header input {
    padding-right: 20px;
    margin-right: 20px;
  }
}
