/* 
 * In this file you should declare any global variables
 * For example: brand colours, typefaces, etc.
 * imported by style.scss
 */
html:has(#wpadminbar) .modal {
  padding-top: 32px;
}

main#wheeljamCollection-page {
  background-color: #252324;
}
main#wheeljamCollection-page::after {
  content: "";
  display: block;
  z-index: -1;
  position: absolute;
  height: 100%;
  width: 100vw;
  background: url("../../img/WheeljamCollection/pattern.svg");
  background-size: 500px;
  opacity: 0.5;
  animation: slide 100s linear infinite;
}
@keyframes slide {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: -200px -500px;
  }
}
main#wheeljamCollection-page p {
  font-family: "Inter", sans-serif !important;
}
main#wheeljamCollection-page h1,
main#wheeljamCollection-page h2,
main#wheeljamCollection-page h3,
main#wheeljamCollection-page h4,
main#wheeljamCollection-page h5,
main#wheeljamCollection-page h6,
main#wheeljamCollection-page button,
main#wheeljamCollection-page a {
  font-family: "Jersey 25", sans-serif !important;
}

#return_btn {
  position: absolute;
  top: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: #FBF7E0;
  text-decoration: none;
  text-transform: uppercase;
}

#logo {
  position: absolute;
  height: 50px;
  width: 100px;
  top: 16px;
  right: 16px;
}
#logo .icon {
  display: block;
  height: 100%;
  width: 100%;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-image: url(../../img/logo_Horizontal-monochrome.svg);
  mask-image: url(../../img/logo_Horizontal-monochrome.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  background-color: #FBF7E0;
}

.wheeljamCollection-header {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}
.wheeljamCollection-header .logo_container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 32px;
  max-width: 500px;
}
.wheeljamCollection-header .logo_container img {
  width: 100%;
  height: auto;
}
@media (max-width: 639px) {
  .wheeljamCollection-header .logo_container {
    padding: 1rem;
    padding-top: 3rem;
  }
}
.wheeljamCollection-header .logo_container #wheel {
  animation-name: bob;
  animation-duration: 6s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
@keyframes bob {
  0% {
    transform: translateY(0%);
  }
  100% {
    transform: translateY(3%);
  }
}
.wheeljamCollection-header .logo_container #title {
  transform: translateY(-64px);
}

.modal {
  z-index: 9999;
  inset: 0;
  position: fixed;
  height: 100vh;
  width: 100vw;
  pointer-events: none;
  display: none;
  justify-content: center;
  align-items: center;
}
.modal.loading .modal__content {
  display: flex;
}
.modal.loading .modal__loading {
  display: flex;
}
.modal.loading .modal__header_container,
.modal.loading .modal__grid {
  transform: translateY(-2%);
  opacity: 0;
}
.modal.active, .modal.loading {
  display: flex;
  pointer-events: all;
  background-color: rgba(0, 0, 0, 0.631372549);
}
.modal.active .modal__content {
  opacity: 1;
}
.modal.active .modal__header_container,
.modal.active .modal__grid {
  transform: translateY(0);
  opacity: 1;
}
.modal__loading {
  display: none;
  position: absolute;
  gap: 1rem;
  inset: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}
.modal__loading h1 {
  font-size: clamp(1.62rem, 1.509rem + 0.5552vw, 1.9531rem);
  color: #FBF7E0;
}
.modal__header_container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  padding: 1em 0;
  text-transform: uppercase;
  transition: all 0.2s ease-in-out;
}
@media (max-width: 1024px) {
  .modal__header_container {
    width: 100%;
    padding: unset;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    grid-gap: 1rem;
  }
}
.modal__header_container .header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #252324;
  color: #FBF7E0;
  border: #FBF7E0 4px solid;
  padding: 1em;
}
.modal__header {
  font-size: clamp(1.62rem, 1.509rem + 0.5552vw, 1.9531rem);
}
.modal__subheader {
  font-size: clamp(1.125rem, 1.0833rem + 0.2083vw, 1.25rem);
}
.modal__exit {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 0.5em;
  width: 100%;
  text-transform: uppercase;
  background-color: transparent;
  font-size: clamp(1.125rem, 1.0833rem + 0.2083vw, 1.25rem);
  border-style: none;
  color: #FBF7E0;
  cursor: pointer;
}
@media (max-width: 1024px) {
  .modal__exit {
    justify-content: flex-start;
  }
}
.modal__content {
  width: 80%;
  height: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 1024px) {
  .modal__content {
    height: 100%;
    width: 100%;
    padding: 1rem;
    padding-bottom: unset;
    gap: 1rem;
    display: grid;
    grid-template-rows: auto 1fr;
  }
}
.modal__grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-direction: row;
  transition: all 0.35s ease-in-out;
}
@media (max-width: 1024px) {
  .modal__grid {
    height: 100%;
    display: grid;
    overflow-y: scroll;
    overscroll-behavior-y: contain;
    padding-right: 1rem;
    padding-bottom: 1rem;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: row;
    grid-auto-rows: min-content;
  }
  .modal__grid .game_member {
    width: 100%;
  }
}
@media (max-width: 390px) {
  .modal__grid {
    grid-template-columns: 1fr;
  }
}
.modal__grid::-webkit-scrollbar {
  width: 16px;
}
.modal__grid::-webkit-scrollbar-track {
  background: #FBF7E0;
}
.modal__grid::-webkit-scrollbar-thumb {
  background: #252324;
  border: solid #FBF7E0 4px;
}
.modal .game_member {
  width: 300px;
  max-height: 100%;
}
@media (max-width: 1024px) {
  .modal .game_member {
    width: 100%;
  }
}
.modal .game_member .missing {
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: bottom center;
     object-position: bottom center;
  padding: 1rem;
}
.modal .game_member .image_container {
  aspect-ratio: 1/1;
  width: 100%;
  height: auto;
  max-height: 300px;
  max-width: 300px;
}
.modal .game_member .description {
  flex: 1;
  font-size: clamp(0.7813rem, 0.775rem + 0.0313vw, 0.8rem);
  overflow-y: auto;
  padding: 0.5rem;
}
.modal .game_member .social_section {
  flex: 1;
  padding: 0.5em;
  border-top: 4px #252324 solid;
  background-color: #F37B50;
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.modal .game_member .social_section h6 {
  color: #252324;
  text-transform: uppercase;
  text-wrap: balance;
  text-align: center;
  font-size: clamp(1.125rem, 1.0833rem + 0.2083vw, 1.25rem);
}
.modal .game_member .social_section a:link,
.modal .game_member .social_section a:visited,
.modal .game_member .social_section a:hover,
.modal .game_member .social_section a:active {
  color: #252324;
}
.modal .game_member .social_section a:link i,
.modal .game_member .social_section a:visited i,
.modal .game_member .social_section a:hover i,
.modal .game_member .social_section a:active i {
  color: inherit;
}

#games_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  max-width: 1440px;
  margin: 0 auto;
  grid-gap: 16px;
  margin-top: -32px;
  padding-bottom: 32px;
}
@media (max-width: 720px) {
  #games_container {
    padding: 0 1rem;
  }
}

.card {
  background-color: #252324;
  border: solid #FBF7E0 4px;
  width: 340px;
}
@media (max-width: 720px) {
  .card {
    width: 100%;
  }
}
.card .content_container {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: solid #252324 4px;
}
.card .image_container {
  position: relative;
  background-color: #FBF7E0;
  max-height: 300px;
  aspect-ratio: 4/3;
  width: 100%;
  height: auto;
}
.card .image_container img {
  position: absolute;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}
.card .title {
  background-color: #252324;
  color: #FBF7E0;
  text-transform: uppercase;
  padding: 0.5rem;
  font-size: clamp(1.35rem, 1.2792rem + 0.3542vw, 1.5625rem);
  font-weight: 800;
  text-align: center;
}
.card .description {
  flex: 1;
  font-size: clamp(0.7813rem, 0.775rem + 0.0313vw, 0.8rem);
  padding: 0.75em;
  height: 100%;
  background-color: #FBF7E0;
}
.card .expand_btn {
  text-wrap: balance;
  width: 100%;
  height: -moz-max-content;
  height: max-content;
  background-color: #F37B50;
  color: #252324;
  font-size: clamp(0.9375rem, 0.9167rem + 0.1042vw, 1rem);
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.75em;
  border: none;
  border-top: solid #252324 4px;
  cursor: pointer;
}

.wheeljamCollection-footer {
  background-color: #252324;
  border-top: 4px #FBF7E0 solid;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
}
@media (max-width: 1024px) {
  .wheeljamCollection-footer {
    display: flex;
    flex-direction: column-reverse;
    gap: 1rem;
    justify-content: center;
    align-items: center;
  }
}
.wheeljamCollection-footer {
  color: #FBF7E0;
  padding: 0.75rem;
  text-transform: uppercase;
}
.wheeljamCollection-footer p {
  font-size: clamp(0.7813rem, 0.775rem + 0.0313vw, 0.8rem);
}
.wheeljamCollection-footer #btt-btn {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  border-style: none;
  background-color: transparent;
  color: #FBF7E0;
  text-transform: inherit;
  font-size: clamp(0.9375rem, 0.9167rem + 0.1042vw, 1rem);
  cursor: pointer;
}/*# sourceMappingURL=wheeljamCollection.css.map */