header {
  position: sticky;
  align-self: center;
  top: 8px;
  width: 890px;
  height: 178px;
  background: linear-gradient(
    to right,
    rgba(0, 117, 190, 0.7),
    rgba(255, 204, 0, 0.7)
  );
  z-index: 10;
  border-radius: 50%;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

#inheader {
  position: absolute;
  top: -25px;
  left: -25px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  height: 100%;
  padding: 24px;
  z-index: 10;
  border-radius: 50%;
}

.pokeball {
  height: 120px;
  filter: drop-shadow(0px 0px 15px #ffffff);
}

.big {
  height: 200px !important;
}

.pokedex {
  height: 130px;
}

header span {
  font-weight: bold;
  font-size: 48px;
}

#input {
  height: 32px;
  border: none;
  border-radius: 24px;
  padding: 4px 8px 4px 8px;
  filter: drop-shadow(0px 0px 4px #ffffff);
  margin-right: 48px;
  margin-left: 40px;
}

#input:focus {
  outline: none;
}

#maincontent {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100vh - 90px);
}

/* Scroll Up Button */
#buttonup {
  display: none;
  position: fixed;
  align-items: center;
  justify-content: center;
  top: 170px;
  right: 3%;
  background: radial-gradient(#0075be, rgba(255, 255, 255, 0.4));
  border-radius: 50%;
  padding: 10px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  transition: all 0.3s ease-in-out;
}

/* Scroll Down Button */
#buttondown {
  position: fixed;
  align-items: center;
  justify-content: center;
  bottom: 80px;
  right: 3%;
  background: radial-gradient(#0075be, rgba(255, 255, 255, 0.4));
  background-blend-mode: multiply;
  border-radius: 50%;
  padding: 10px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  transition: all 0.3s ease-in-out;
}

#buttondown:hover,
#buttonup:hover {
  transform: scale(1.2);
  filter: brightness(120%);
}

#pokedex {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 32px 48px 32px 48px;
}

/* Main Card in Overview */
.pokecard {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  height: 390px;
  width: 260px;
  padding: 16px 16px 24px 16px;
  margin: 24px 24px 0px 0px;
  border-radius: 24px;
  color: white;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  transition: all 0.3s ease-in-out;
}

.pokecard:hover {
  box-shadow: 0px 0px 100px 4px #ffffff;
  transform: scale(1.1);
  filter: brightness(110%);
}

.pokecard h2,
span::first-letter {
  text-transform: capitalize;
}

.pokecard img {
  width: 200px;
  filter: drop-shadow(0px 0px 7px #ffffff);
  transition: all 0.3s ease-in-out;
}

.identifier,
.identifiercard {
  margin: 0;
  font-size: 40px;
  filter: drop-shadow(0px 0px 4px rgba(255, 255, 255, 0.7));
  align-self: flex-end;
}

.bg-ball {
  position: absolute;
  top: 200px;
  width: 700px !important;
  filter: opacity(10%) !important;
  z-index: 0;
  transition: all 0.3s ease-in-out;
}

.bg-rep {
  top: 150px !important;
}

button {
  width: 180px;
  height: 60px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: linear-gradient(
    to right,
    rgba(0, 117, 190, 0.7),
    rgba(255, 204, 0, 0.7)
  );
  color: white;
  font-size: 24px;
  cursor: pointer;
  border: none;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  transition: all 0.3s ease-in-out;
}

button span {
  filter: drop-shadow(0px 0px 7px #ffffff);
  font-size: 24px;
}

button:hover {
  transform: scale(1.1);
  filter: brightness(130%);
}

/* Blurred Container for Loading and InfoCard */
#blockcontainer {
  display: none;
  position: fixed;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  top: 0px;
  left: 0px;
  gap: 50%;
  width: 100vw;
  height: 100vh;
  z-index: 99;
  backdrop-filter: blur(30px);
  background-color: rgba(0, 0, 0, 0.4);
}

.pokeinfo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 413px;
  border-radius: 24px;
  color: white;
  box-shadow: 0px 0px 115px 4px #ffffff;
  transition: all 0.3s ease-in-out;
}

.pokeinfo h2::first-letter {
  text-transform: capitalize;
}

.element span::first-letter {
  text-transform: capitalize;
}

.pokeinfo h3 {
  align-self: flex-start !important;
}

.pokeimg {
  width: 250px;
  filter: drop-shadow(0px 0px 7px #ffffff);
  transition: all 0.3s ease-in-out;
  z-index: 10;
}

.x {
  align-self: flex-start;
  width: 60px !important;
  transition: all 0.3s ease-in-out;
}

.upperinfo {
  padding: 32px;
  flex-direction: column;
  position: relative;
  height: 300px;
  overflow: visible;
}

.info {
  width: 100%;
  min-width: 292px;
  min-height: 398px;
  background-color: white;
  border-radius: 24px;
  box-sizing: border-box;
  padding: 8px 16px 24px 16px;
  overflow: hidden;
  color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 5;
}

.basestats {
  box-shadow: rgba(50, 50, 93, 0.05) 0px 30px 60px -12px inset,
    rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
  border-radius: 16px;
  margin-top: 40px;
  margin-bottom: 16px;
}

.info img {
  height: 32px;
}

.info span:hover {
  cursor: pointer;
  text-decoration: underline;
}

#infoContent {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 230px;
  box-shadow: rgba(50, 50, 93, 0.05) 0px 30px 60px -12px inset,
    rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
  border-radius: 16px;
}

.buttons {
  border-radius: 16px;
  box-sizing: border-box;
  padding: 0px 16px 0px 16px;
  margin-bottom: 16px;
}

.buttons div {
  padding: 12px;
  border-radius: 12px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px,
    rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
  text-align: center;
}

.element {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  max-height: 32px;
  border-radius: 16px;
  box-shadow: rgba(50, 50, 93, 0.05) 0px 30px 60px -12px inset,
    rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}

.icon {
  width: 40px;
  transition: all 0.3s ease-in-out;
  z-index: 5;
}

.icon:hover {
  transform: scale(1.1);
  filter: drop-shadow(0px 0px 7px #ffffff);
  cursor: pointer;
}

.move {
  padding: 12px;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px,
    rgba(0, 0, 0, 0.05) 0px 5px 10px;
  text-align: center;
}

.move p {
  margin: 0;
  color: white;
  filter: drop-shadow(0px 0px 7px #ffffff);
  text-align: center;
}

#moves {
  display: none;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  border-radius: 12px;
}

canvas {
  width: 362px !important;
  height: 220px !important;
}

.evolutions {
  padding: 16px;
  display: none;
  align-items: center;
  justify-content: space-evenly;
  width: 100%;
}

.gif {
  height: 70px !important;
  max-width: 110px !important;
  margin-bottom: 16px;
}