html,
body {
  color: #121113;
  margin: 0;
  padding: 0;
  background-color: #a63446;
  font-family: "Press Start 2P", serif;
}

header {
  background-color: #297373;
  background: linear-gradient(to bottom left, #297373, #022c2c);
  padding: 20px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  color: #ffeedb;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 0.08px solid #ffeedb;
}

.toggleOff {
  display: none;
}

.toggleOn {
  display: block !important;
  width: 100%;
}

.content {
  padding: 0 3px;
}

.my-card {
  display: flex;
  justify-content: center;

  .volume-container .external-btn {
    height: 24px;
    padding: 2px 8px;
    font-size: 10px;
    margin-left: 6px;
  }
  align-items: center;
  flex-direction: column;
  border: solid 3px white;
  box-shadow: 0px 0px 6px 0px black;
  background-color: #ffeedb;

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    padding: 0;
    margin: 4px;
  }
}

.my-card:hover {
  transform: scale(1.05);
  transition: transform 0.5s;
  cursor: pointer;
}

.my-card-img-top {
  width: 18rem;
  max-height: 288px;
  min-height: 288px;
}

.content_wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-grow: 1;
}

.content_left {
  width: calc(100% - 400px);
  height: 100%;
}

.pokePics {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.content_right {
  z-index: 8;
  display: flex;
  justify-content: center;
  height: 100vh;
  flex-grow: 1;
  position: sticky;
  top: 0;
}

.numberAndCross {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cross-btn {
  background-color: #297373;
  width: 24px;
  height: 24px;
  position: relative;
}

.cross-btn::before,
.cross-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 2px;
  background-color: #ffeedb;
}

.cross-btn::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.cross-btn::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.cross-btn:hover {
  scale: 1.09;
  background-color: #a63446;
  cursor: pointer;
}

.my-card-img-top-right {
  width: 22rem;
}

.my-card-img-top-right-more-info {
  width: 16rem;
}

.my-card-right {
  z-index: 10;
  padding: 0 20px;
  width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  border: solid 3px white;
  box-shadow: 0px 0px 6px 0px black;
  background-color: antiquewhite;

  img:hover {
    transform: scale(1.02);
    transition: transform 0.5s;
    cursor: pointer;
  }
}

.my-card-info {
  z-index: 10;
  padding: 0 20px;
  width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  border: solid 3px white;
  box-shadow: 0px 0px 6px 0px black;
  background-color: antiquewhite;
}

.entry {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border: solid 3px white;
  background-color: #ffeedb;
  /* margin: 10px;
    padding: 10px; */
}

.type_style {
  border: solid 3px white;
  padding: 14px;
  background-color: white;
}

.height-weight {
  margin: 2px;
  display: flex;
  justify-content: space-around;
  width: 100%;

  p {
    padding: 5px;
    background-color: #fffefd;
    font-size: smaller;
  }
}

.button-container {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.my-btn-1,
.my-btn-2 {
  font-family: "Press Start 2P", serif;
  background-color: #297373;
  color: #ffeedb;
  border: none;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
}

.my-btn-1:hover,
.my-btn-2:hover {
  background-color: #a63446;
  scale: 1.09;
}

.centre {
  display: flex;
  justify-content: center;
  align-items: center;
}

.overlayOff {
  display: none;
}

.overlayOn {
  display: block;
  position: fixed;
  z-index: 9999;
  background-color: #2973739f;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
}

.moreInfoStyle {
  background-color: #297373;
}

.moreInfoStyle:hover {
  transform: scale(1.02);
  transition: transform 0.5s;
  cursor: pointer;
  background-color: #a63446;
}

.morePkmInfo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 400px;
  height: 100vh;
  margin: auto;
  padding: 20px;
}

.p_info_style {
  margin: 1px;
}

.searchBar {
  position: sticky;
  top: 0;
  z-index: 8;
  padding: 0;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #297373;

  button {
    font-family: "Press Start 2P", serif;
    height: 28px;
    background-color: #ffeedb;
    border: none;
  }

  button:hover {
    background-color: #a63446;
    scale: 1.09;
    cursor: pointer;
  }

  input {
    height: 24px;
  }

  input::placeholder {
    font-family: "Press Start 2P", serif;
  }
  }

.searchBar .volume-slider {
    width: 90px;
    margin-left: 8px;
    opacity: 0.6;
    accent-color: #00ffff;
    transition: opacity 0.2s ease-in-out;
}

.volume-container {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
}

.volume-label {
  font-family: "Press Start 2P", serif;
  font-size: 10px;
  color: #ffeedb;
  opacity: 0.7;
}

.searchBar .volume-slider:hover,
.searchBar .volume-slider:focus {
    opacity: 1;
}
}

.loadInput {
  margin-left: 10px;
}

.loadGen {
  margin-left: 10px;
}

.loadingSection {
  z-index: 8;
  padding: 0;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #297373;

  button {
    font-family: "Press Start 2P", serif;
    height: 28px;
    background-color: #ffeedb;
    border: none;
  }

  button:hover {
    background-color: #a63446;
    scale: 1.09;
    cursor: pointer;
  }

  input {
    height: 24px;
  }

  input::placeholder {
    font-family: "Press Start 2P", serif;
  }
}

.goodBye {
  display: flex;
  justify-content: center;
  align-items: center;
}

.overlaySpinner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #297373b0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99;
}

.spinner {
  border: 16px solid #ffeedb;
  border-top: 16px solid #a63446;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.hidden {
  display: none;
}

.searchMessage {
  position: absolute;
  margin-top: 5px;
  padding: 5px;
  border-radius: 5px;
  color: white;
  font-size: 14px;
  z-index: 10;
}
