@font-face {
  font-family: "NotoSans";
  src: url("/fonts/NotoSans-Variable.ttf") format("truetype");
}
@font-face {
  font-family: "NotoSans";
  src: url("/fonts/NotoSans-Italic.ttf") format("truetype");
  font-style: italic;
}
body {
  font-family: "NotoSans", sans-serif;
  background-color: #f9f9e2;
  max-width: 100%;
  overflow-x: hidden;
}

a {
  color: black;
  text-decoration: none;
  font-weight: bold;
}
a:hover {
  color: gray;
}

hr {
  border: 2px solid #5c8d5b;
}

ul {
  padding: 0;
  list-style-type: none;
}

#TableOfContents ul {
  padding-left: 2em;
  list-style-type: square;
}

.loavso-grid {
  display: grid;
  width: 100%;
  margin: 0 auto;
  padding: 1em;
  row-gap: 1em;
  column-gap: 1svw;
  min-height: 0;
  min-width: 0;
  place-items: center;
}

@media (min-width: 1024px) {
  .loavso-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto 20vh;
    grid-template-areas: ". logo logo logo logo ." "banner banner banner banner banner banner" "hero hero hero . frog-logo ." "hero hero hero desc desc desc" "hero hero hero desc desc desc" "hero hero hero buttons buttons buttons" "hero hero hero progress progress next-game" "topsep topsep topsep topsep topsep topsep" "game-box game-box game-box game-box game-box game-box" "botsep botsep botsep botsep botsep botsep" "done-box done-box done-box done-box done-box done-box" ". game-info game-info game-info game-info .";
    max-width: 1280px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .loavso-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 10vh 15vh;
    grid-template-areas: "logo logo logo" "banner banner banner" ". frog-logo ." "hero desc desc" "buttons buttons buttons" "progress progress next-game" "topsep topsep topsep" "game-box game-box game-box" "botsep botsep botsep" "done-box done-box done-box" "game-info game-info game-info";
  }
}
@media (max-width: 767px) {
  .loavso-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 82px 10vh;
    grid-template-areas: "logo logo logo" "banner banner banner" "hero hero hero" ". frog-logo ." "desc desc desc" "buttons buttons buttons" "progress progress progress" "next-game next-game next-game" "topsep topsep topsep" "game-box game-box game-box" "botsep botsep botsep" "done-box done-box done-box" "game-info game-info game-info";
  }
}
.article-grid {
  display: grid;
  width: 100%;
  margin: 0 auto;
  padding: 1em;
  row-gap: 1em;
  column-gap: 1svw;
  min-height: 0;
  min-width: 0;
}

@media (min-width: 1024px) {
  .article-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 10vh 20vh;
    grid-template-areas: ". . logo logo . ." "banner banner banner banner banner banner" ". keyart keyart keyart keyart ." ". article article article article .";
    max-width: 1280px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .article-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 10vh 15vh;
    grid-template-areas: ". logo ." "banner banner banner" "keyart keyart keyart" "article article article";
  }
}
@media (max-width: 767px) {
  .article-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 82px 10vh;
    grid-template-areas: ". logo ." "banner banner banner" "keyart keyart keyart" "article article article";
  }
}
.notfound-grid {
  display: grid;
  width: 100%;
  margin: 0 auto;
  padding: 1em;
  row-gap: 1em;
  column-gap: 1svw;
  min-height: 0;
  min-width: 0;
  place-items: center;
}
.notfound-grid .title {
  font-size: 4em;
  font-weight: bold;
}
.notfound-grid .subtitle {
  font-size: 2em;
}
.notfound-grid .logo {
  border-radius: 10% 50%/40% 5%;
}

.logo {
  grid-area: logo;
  justify-self: center;
  align-self: center;
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 45vw;
  max-height: 120px;
  padding: 0.35em;
  background: linear-gradient(rgb(27, 38, 27) 0%, rgb(56, 83, 55) 50%, rgb(81, 86, 53) 100%);
  border-radius: 10% 40%/50% 20%;
}

.banner {
  grid-area: banner;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.banner-img {
  object-fit: cover;
  width: 100%;
}
@media (min-width: 1024px) {
  .banner-img {
    object-position: 100% -140px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .banner-img {
    object-position: 100% -70px;
  }
}
@media (max-width: 767px) {
  .banner-img {
    object-position: 100% -40px;
  }
}

.frog-logo {
  grid-area: frog-logo;
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 30vw;
  max-height: 8vh;
}

.hero {
  grid-area: hero;
  align-self: start;
  width: 100%;
  min-height: 375px;
  object-fit: scale-down;
}

.desc {
  grid-area: desc;
  background-color: #f9f9e2;
  padding: 2em;
  margin: 0;
  border-radius: 50% 20%/10% 40%;
  box-shadow: 10px 5px 5px gray, -10px 5px 5px #5c8d5b;
}

.buttons {
  grid-area: buttons;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  width: 100%;
  place-items: center;
}
@media (max-width: 479px) {
  .buttons {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 0.5em;
  }
}

.pokeathon-progress {
  grid-area: progress;
  width: 100%;
}

.pokeathon-iframe {
  width: 100%;
  min-height: 218px;
}

.next-game {
  grid-area: next-game;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.topsep {
  grid-area: topsep;
  align-self: center;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.botsep {
  grid-area: botsep;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.game-box,
.done-box {
  display: grid;
  column-gap: 0.5em;
  row-gap: 0.5em;
  justify-content: space-evenly;
  width: 100%;
}
@media (min-width: 1024px) {
  .game-box,
  .done-box {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .game-box,
  .done-box {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 480px) and (max-width: 767px) {
  .game-box,
  .done-box {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 479px) {
  .game-box,
  .done-box {
    grid-template-columns: repeat(2, 1fr);
  }
}

.game-box {
  grid-area: game-box;
}

.done-box {
  grid-area: done-box;
}

.game-info {
  grid-area: game-info;
  display: grid;
  width: 100%;
  justify-self: stretch;
  grid-template-areas: "banner" "article";
}

.article {
  grid-area: article;
  min-width: 0;
  overflow-wrap: break-word;
}

.game-card {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  background: #345435;
  background: linear-gradient(rgb(52, 84, 53) 0%, rgb(106, 164, 105) 50%, rgb(214, 225, 155) 100%);
  margin: 0;
  padding: 0.5em;
}
@media (max-width: 767px) {
  .game-card {
    padding: 0.25em;
  }
}

.square {
  position: relative;
  border: 1px solid;
  box-sizing: border-box;
  width: 100%;
}
.square::before {
  content: "";
  display: block;
  padding-top: 100%;
}
.square .content {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.card-img {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  border-style: none;
  height: 100%;
  width: 100%;
  object-fit: contain;
  padding: 0;
}

.card-text {
  background-color: #f9f9e2;
  border-radius: 3px;
  padding: 0.5em;
  margin: 1em;
  font-size: small;
}
@media (max-width: 767px) {
  .card-text {
    padding: 0.25em;
    margin: 0.5em;
    font-size: x-small;
  }
}

.grow-span {
  height: 100%;
}

.grayscale {
  filter: grayscale(1);
}

.btn-circle {
  width: 30px;
  height: 30px;
  padding: 6px;
  border-radius: 15px;
  text-align: center;
  font-size: 16px;
  line-height: 1.42857;
}
.btn-circle.btn-xl {
  width: 70px;
  height: 70px;
  padding: 10px 16px;
  border-radius: 35px;
  font-size: 28px;
  line-height: 1.75;
  align-self: center;
}

.lbutton {
  background-color: #345435;
  --bs-btn-hover-bg: #467847;
  --bs-btn-border-color: #345435;
}

.pokeathlon-key {
  grid-area: keyart;
  object-fit: contain;
  width: 100%;
}

.pokeathlon-logo {
  grid-area: banner;
  width: 80%;
  place-self: center;
}

.center-text {
  text-align: center;
}

.home-link {
  padding-left: 1em;
  font-size: 0.8em;
}

.home-sep {
  margin: 1rem 0;
  border: 1px solid #5c8d5b;
  opacity: 0.25;
}

.credits-card .card-inner {
  position: relative;
  width: inherit;
  height: 24rem;
  padding: 0.625rem;
  background: #f9f9e2;
  border-bottom-right-radius: 0;
}
.credits-card .card-inner .box {
  width: 100%;
  height: 100%;
  background: #f9f9e2;
  border-radius: 1.6rem;
  overflow: hidden;
}
.credits-card .card-inner .box .img-box {
  position: relative;
  overflow: hidden;
  inset: 0;
  margin: 0 auto;
}
.credits-card .card-inner .box .img-box img {
  width: auto;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  margin: auto;
}
.credits-card .card-inner .box .icon {
  display: flex;
  flex-direction: column;
  position: absolute;
  bottom: 0.3rem;
  height: 3rem;
  justify-content: space-between;
  align-items: center;
  background: #f9f9e2;
  pointer-events: none;
  width: 18rem;
  border-top-left-radius: 1rem;
  right: -0.375rem;
}
.credits-card .card-inner .box .icon::before {
  position: absolute;
  content: "";
  bottom: 0.375rem;
  left: -1.25rem;
  background: transparent;
  width: 1.25rem;
  height: 1.25rem;
  border-bottom-right-radius: 1rem;
  box-shadow: 0.313rem 0.313rem 0 0.313rem var(--clr);
}
.credits-card .card-inner .box .icon::after {
  position: absolute;
  content: "";
  top: -1.25rem;
  right: 0.375rem;
  background: transparent;
  width: 1.25rem;
  height: 1.25rem;
  border-bottom-right-radius: 1.25rem;
  box-shadow: 0.313rem 0.313rem 0 0.313rem var(--clr);
}
.credits-card .card-inner .box .icon .artist {
  margin-left: 0.3em;
  margin-bottom: 0.3em;
  padding-bottom: 0.5em;
  font-size: 0.9rem;
}