/*-----------------------||| FONTS |||------------------------*/
.lilita-one-regular {
  font-family: "Lilita One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.alumni-sans-pinstripe-regular {
  font-family: "Alumni Sans Pinstripe", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.barlow-condensed-bold {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.barlow-condensed-extrabold {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.metal-mania-regular {
  font-family: "Metal Mania", system-ui;
  font-weight: 400;
  font-style: normal;
}

html {
  /* Stop browsers from "helping" with font sizes */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Force a consistent starting point */
  font-size: clamp(8px, 2.2vw, 30px);
}

/*-----------------------||| BODY |||------------------------*/

body {
  height: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: rgb(255, 255, 255);
  text-align: center;
  background-color: #000000;
  background-image: url("/images/circles-mobile-bg.svg");
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  overflow-x: hidden;
  /*--- VARIABLES ---*/
  /*--- SCROLL VARIABLES ---*/
  --sb-track-color: #625000;
  --sb-thumb-color: #ffd000;
  --sb-size: 14px;
  --sm-track-color: #17193d;
  --sm-thumb-color: #5a64fa;
  --sm-size: 12px;
  /*--- ICON COLORS ---*/
  --icon-color-border: #925800;
  --icon-color-main: #6f2f01;
  --icon-color-selected: rgb(254, 241, 162);
  --icon-color-lb: #043752;
  --icon-info-bg: #ffffff;
  --icon-info-border: #777777;
  --icon-info-accent: #585858;
  --icon-info-gradient: #a7a7a7;
  /*--- FOOTER VARIABLES ---*/
    --ft-nav-font:  "Barlow Condensed", sans-serif;
    --ft-font-size: 20px;
    --ft-hover-color: #dca743;
    --ft-text-color: #ffffff;
    --ft-accent-color: #dca743;
    --ft-copyright-color: #878787;
    --ft-copyright-size: 17px;
    --nav-bg: #000000;       
}


p, #finalscore {
  font-size: 23px;
}

footer {
  text-align: center;
  background: var(--nav-bg);
  border-top: 3px solid var(--ft-accent-color);
  display: flex;
  font-size: 17px;
  font-weight: 200;
  line-height: 1.6;
  justify-content: center;
}

footer > nav {
  /* min-width: auto; */
  width: 90vw;
  margin-left: auto;
  padding-top: 30px;
  background: var(--nav-bg);
  background-size: cover;
  margin: auto;
}

footer > nav > a {
  color:  var(--ft-text-color);
  font-family: var(--ft-nav-font);
  font-size: var(--ft-font-size);
  text-decoration: none;
  margin: 0 10px;
  transition: 0.3s;
}

footer > nav > p {
  margin-top: 20px;
  font-family: var(--ft-nav-font);
  color: var(--ft-copyright-color);
  font-size: var(--ft-copyright-size);
}

footer a:hover {
  color: var(--ft-hover-color);
}

/*-----------------------||| SCROLLBARS |||------------------------*/

/*------- SCROLLBAR MAIN -------*/
body::-webkit-scrollbar {
  width: var(--sb-size);
  border-radius: 15px;
}

body::-webkit-scrollbar-track {
  background: var(--sb-track-color);
}

body::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 10px;
  border: 3px solid #000000;
}

/*------- SCROLLBAR LEADERBOARD -------*/

#leaderboardList::-webkit-scrollbar{
  width: var(--sm-size);
}

#leaderboardList::-webkit-scrollbar-track {
  background: var(--sm-track-color);
  border-radius: 15px;
}

#instructions::-webkit-scrollbar {
  width: 2px;
  border-radius: 5px;
}

#leaderboardList::-webkit-scrollbar-thumb {
  background: var(--sm-thumb-color);
  border-radius: 15px;
  border: 2px solid #000000;
}


#instructions::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0);
}

#instructions::-webkit-scrollbar-thumb {
  background: rgba(218, 165, 21, 0.537);
}

@supports not selector(::-webkit-scrollbar) {
  body,
  #leaderboardList {
    scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);
  }
}

/*-----------------------||| HEADER SECTION |||------------------------*/

.topbar {
  padding: 10px 5px 10px 0px;
  position: relative;
  /*min-width: 100vw;*/
  width: 100vw;
  background: var(--nav-bg);
  border-bottom: 3px solid var(--ft-accent-color);
  display: flex;
  justify-content: center;
  z-index: 10 !important;
}

.stats {
  justify-self: center;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 0.5fr 0.5fr 1fr;
  grid-template-rows: 1fr;
  grid-column-gap: 5rem;
  grid-row-gap: 0px;
}

.stats span {
  margin: auto 0px;
  font-family: "Metal Mania";
  font-weight: 100;
  font-size: xx-large;
}

#timer {
  /*display: inline-block;*/
  min-width: 5ch; /* enough for 00:00 or even 000:00 */
  font-variant-numeric: tabular-nums; /* equal-width numbers */
}
#score,
#timer {
  display: block;
}

/*-----------------------||| GAME SECTION |||------------------------*/

#game-section {
  width: 100%;
  display: flex;
  position: relative;
  justify-content: center;
}

#game {
  z-index: 9;
  /* Shrinks base font-size on small screens */

  /* Use em for width so it scales with the font-size */
  width: 44rem;
  min-height: 55rem;
  margin: 0 auto;
  position: relative;

  /* This prevents the "page sliding" during drag */
  touch-action: pan-y;
  overflow: visible;
}

.card {
  height: 8rem;
  position: absolute;
  border-radius: 1px;
  overflow: visible;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
}

.card.interactive:hover,
.card.interactive:hover ~ .card {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.35);
}

.card.selected {
  outline: 4px solid #ffd000 !important;
  transform: translateY(-15px) scale(1.05) !important;
  z-index: 1000 !important;
  box-shadow: 0 0 25px rgba(255, 208, 0, 1);
}

.card img {
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
}

.red {
  color: red;
}

#unlockModal {
  z-index: 200;
}

.modal {
  z-index: 2000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #1e293b;
  padding: 30px;
  border-radius: 10px;
  width: 300px;
  align-items: center;
}

.hidden {
  display: none !important;
}

.foundation-container {
  position: relative;
  width: 100%;
}

.foundation-slot {
  border: 2px dashed rgb(255, 255, 255);
  border-radius: 2px;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}

.foundation-slot.filled {
  border: none;
  opacity: 1;
}

/*-----------------------||| BUTTONS |||------------------------*/

button {
  margin: 5px;
  padding: 8px 12px;
  border: none;
  color: black;
  cursor: pointer;
}

body > header > div > button:nth-child(4) {
  background-color: red;
}

.brutalist-button > .close {
  visibility: visible !important;
}

/*-------- DESKTOP MENU BUTTONS --------*/
/* From Uiverse.io by 0xnihilism */
.brutalist-button {
  touch-action: manipulation;
  display: inline-block;
  outline: none;
  font-family: inherit;
  font-size: 1em;
  box-sizing: border-box;
  border: none;
  border-radius: 0.3em;
  height: 2.75em;
  line-height: 2.5em;
  text-transform: uppercase;
  padding: 0 1em;
  /*box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(110, 80, 20, 0.4),
    inset 0 -2px 5px 1px rgba(139, 66, 8, 1),
    inset 0 -1px 1px 3px rgba(250, 227, 133, 1);*/
  background-image: linear-gradient(
    160deg,
    #a54e07,
    #b47e11,
    #fef1a2,
    #bc881b,
    #a54e07
  );
  color: rgb(120, 50, 5);
  text-shadow: 0 2px 2px rgba(250, 227, 133, 1);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  background-size: 100% 100%;
  background-position: center;

  display: flex;
  align-items: center;
  align-content: center;

  cursor: pointer;
  width: 169px;
  height: 50px;
  /*background-color: #00c746;
  color: #6E2F00;
  text-decoration: none;*/
  font-family: "Metal Mania", sans-serif;
  font-weight: BOLD;
  font-size: 1.4rem;
  /*border: 3px solid #ffffff;
  outline: 3px solid #000;*/
  box-shadow: 3px 3px 0 #6e2f00;
  transition: all 0.1s ease-out;
  padding: 0 15px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
}

.brutalist-button:nth-child(9) {
  background-color: red;
}

.brutalist-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
  z-index: 1;
  transition: none;
  /* Initially hide the pseudo-element */
  opacity: 0;
}

@keyframes slide {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.brutalist-button:hover::before {
  /* Show the pseudo-element on hover */
  opacity: 1;
  animation: slide 2s infinite;
}

.brutalist-button:hover {
  /*transform: translate(-4px, -4px);*/
  box-shadow: 0 0 15px rgba(250, 227, 133, 1);
  background-color: #000;
  color: #fff;
}

@keyframes slide {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.brutalist-button:active {
  background-color: #fff;
  border: 1px solid #a55d07;
  color: rgb(93 39 4);
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.16),
    0 3px 6px rgba(110, 80, 20, 0.4),
    inset 0 -2px 5px 1px rgba(139, 66, 8, 1),
    inset 0 -1px 1px 3px rgba(250, 227, 133, 1);
  text-shadow: 0 2px 2px rgba(250, 227, 133, 1);
  background-image: linear-gradient(
    160deg,
    #6e2f00,
    #b47e11,
    #bc881b,
    #bc881b,
    #6e2f00
  );
}

.button-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  transition: transform 0.2s ease-out;
  position: relative;
  z-index: 1;
}

.button-text span:first-child {
  font-size: 11px;
  text-transform: uppercase;
}

.button-text span:last-child {
  font-size: 16px;
  text-transform: uppercase;
}

button.brutalist-button {
  justify-content: center;
}

/*!!! BUG FIX: btn text while lb active
displays above bg overlay !!!*/

#reset,
#auto-finish {
  z-index: 0;
  font-size: large;
}

/*-------- MOBILE MENU BUTTONS --------*/

/* From Uiverse.io by Lucaasbre */
.button-menu {
  cursor: pointer;
  position: absolute;
  z-index: 5;
  background-image: linear-gradient(
    160deg,
    #a54e07,
    #b47e11,
    #fef1a2,
    #bc881b,
    #a54e07
  );

  /* outline: 3px solid #000;*/
  box-shadow: 3px 3px 0 #6e2f00;
  border: 3px solid var(--icon-color-border);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  /*-webkit-box-shadow: 0px 3px 10px 0px rgba(16, 16, 16, 0.5);
  -moz-box-shadow: 0px 3px 10px 0px rgba(16, 16, 16, 0.5);
  box-shadow: 0px 3px 10px 0px rgba(16, 16, 16, 0.5);*/
}

/*.button-menu::before,
.button-menu::after {
  color: white;
  -webkit-text-stroke: 2px black;
  font-size: 1.3rem;
}*/

.checkbox {
  width: 55px;
  height: 55px;
  opacity: 0;
  z-index: 10;
  cursor: pointer;
}

.option {
  position: absolute;
  background-image: linear-gradient(
    160deg,
    #a54e07,
    #b47e11,
    #fef1a2,
    #bc881b,
    #a54e07
  );
  /*border: 3px solid #fff;*/
  /*outline: 3px solid #000;*/
  color: #000;
  /*box-shadow: 6px 6px 0 #a754ff;*/
  z-index: 1;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  font-weight: 700;
  transition: all 0.3s;
  /*-webkit-box-shadow: 3px 3px 10px 0px rgba(16, 16, 16, 0.5);
  -moz-box-shadow: 3px 3px 10px 0px rgba(16, 16, 16, 0.5);
  box-shadow: 3px 3px 10px 0px rgba(16, 16, 16, 0.5);*/
}
.option-a {
  background-image: linear-gradient(
    160deg,
    #a54e07,
    #b47e11,
    #fef1a2,
    #bc881b,
    #a54e07
  );
  background-size: 100%;
  background-position-x: center;
  background-position-y: center;
  background-repeat: no-repeat;
  margin: 0 auto;
}

.option-b {
  background-image: linear-gradient(
    160deg,
    #a54e07,
    #b47e11,
    #fef1a2,
    #bc881b,
    #a54e07
  );
  background-size: 100%;
  background-position-x: center;
  background-position-y: center;
  background-repeat: no-repeat;
  margin: 0 auto;
}
.option-c {
  background-image: linear-gradient(
    160deg,
    #043752,
    #0783a5,
    #62e5fc,
    #0783a5,
    #043752
  );
  background-size: 100%;
  background-position-x: center;
  background-position-y: center;
  background-repeat: no-repeat;
  margin: 0 auto;
  border: 3px solid var(--icon-color-lb);
  box-shadow: 2px 2px 0 var(--icon-color-lb);
}

.option-d {
  background-image: linear-gradient(
    160deg,
    #a54e07,
    #b47e11,
    #fef1a2,
    #bc881b,
    #a54e07
  );
  background-size: 100%;
  background-position-x: center;
  background-position-y: center;
  background-repeat: no-repeat;
  margin: 0 auto;
}

.option-e {
  background-image: linear-gradient(
    160deg,
    var(--icon-info-accent),
    var(--icon-info-gradient),
    var(--icon-info-bg),
    var(--icon-info-gradient),
    var(--icon-info-accent)
  ) !important;
  background-size: 100%;
  background-position-x: center;
  background-position-y: center;
  background-repeat: no-repeat;
  margin: 0 auto;
  border: 3px solid var(--icon-info-border);
  box-shadow: 2px 2px 0 var(--icon-info-accent);
}

.option-e > .icon-svg {
  scale: 1.5;
  fill: var(--icon-info-accent);
  stroke: var(--icon-info-accent);
  stroke-width: .7px;
}

.icon-svg {
  padding: 0;
  margin: 0;
  scale: 1.3;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  fill: var(--icon-color-main);
}

.icon-svg-menu {
  padding: 0;
  margin: 0;
  scale: 0.6;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}

.icon-svg-drop {
  padding: 0;
  margin: 0;
  scale: 1.8;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  fill: var(--icon-color-main);
}

.icon-svg-menu:hover::after {
  padding: 0;
  margin: 0;
  scale: 0.6;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  fill: var(--icon-color-selected);
}

.icon-svg-blue {
  fill: var(--icon-color-lb) !important;
}

.brutalist-button.option-c#leaderboard-button {
  width: 55px;
  height: 55px;
  box-shadow: 3px 3px 0 #03283b;
  justify-self: center;
  align-self: center;
}

.brutalist-button.option-e#openInstructions {
  width: 55px;
  height: 55px;
  box-shadow: 3px 3px 0 var(--icon-info-accent);
  justify-self: center;
  align-self: center;

    --icon-info-border: #777777;
  --icon-info-accent: #585858;
  --icon-info-gradient: #a7a7a7;
}

.brutalist-button.option-e#openInstructions:hover {
  width: 55px;
  height: 55px;
  background-image:
    linear-gradient(160deg, var(--icon-info-accent), var(--icon-info-border), var(--icon-info-gradient), var(--icon-info-border), var(--icon-info-accent));
  box-shadow: 0 0 15px rgb(196, 196, 196);
}

.brutalist-button.option-e#openInstructions:active {
  transform: translate(3px, 3px);

  background-image:
    linear-gradient(160deg, var(--icon-info-accent), var(--icon-info-accent), var(--icon-info-border), var(--icon-info-accent), var(--icon-info-accent));
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.16),
    0 3px 6px rgba(110, 80, 20, 0.4),
    inset 0 -2px 5px 1px var(--icon-info-accent),
    inset 0 -1px 1px 3px var(--icon-info-border);
  text-shadow: 0 2px 2px var(--icon-info-gradient);
  border: none;
}

.brutalist-button.option-c#leaderboard-button:hover {
  width: 55px;
  height: 55px;
  background-image:
    linear-gradient(160deg, #043752, #0783a5, #62e5fc, #0783a5, #043752);
  box-shadow: 0 0 15px rgb(133, 215, 250);
  background-color: #0d52ff;
}

.brutalist-button.option-c#leaderboard-button:active {
  transform: translate(3px, 3px);

  background-image:
    linear-gradient(160deg, rgb(4, 55, 82), #043f50, #4cb1c3, #043f50, #043752);
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.16),
    0 3px 6px rgba(110, 80, 20, 0.4),
    inset 0 -2px 5px 1px rgb(4, 55, 82),
    inset 0 -1px 1px 3px rgb(152, 219, 255);
  text-shadow: 0 2px 2px rgb(201, 249, 255);
  border: none;
}

.brutalist-button.option-d#card-box-button {
  width: 55px;
  height: 55px;
  box-shadow:
    0 0 15px rgba(250, 227, 133, 1),
    3px 3px 0 var(--icon-color-main);
  justify-self: center;
  align-self: center;
}

.brutalist-button.option-d#card-box-button:hover {
  width: 55px;
  height: 55px;
  box-shadow:
    0 0 15px rgba(250, 227, 133, 1),
    3px 3px 0 var(--icon-color-main);
}

.brutalist-button.option-d#card-box-button:hover::before {
  /* Show the pseudo-element on hover */
  opacity: 1;
  animation: slide 2s infinite;
}

.brutalist-button.option-d#card-box-button:active {
  transform: translate(3px, 3px);
  border: 1px solid #a55d07;
  color: rgb(93 39 4);
  box-shadow:
    0 3px 6px rgba(0, 0, 0, 0.16),
    0 3px 6px rgba(110, 80, 20, 0.4),
    inset 0 -2px 5px 1px rgba(139, 66, 8, 1),
    inset 0 -1px 1px 3px rgba(250, 227, 133, 1);
  border: none;
}

.checkbox:hover ~ .button-menu,
.checkbox:checked ~ .button-menu {
  background-color: #eccd00;
}
.checkbox:checked ~ .button-menu {
  box-shadow:
    0 0 15px rgba(250, 227, 133, 1),
    3px 3px 0 var(--icon-color-main);
}
.checkbox:not(:checked) ~ .button-menu::before {
  padding-top: 9px;
  align-content: center;
}

.checkbox:checked ~ .button-menu::after {
  z-index: 30;
  padding-top: 9px;
}

.checkbox:checked ~ .button-menu .icon-svg-menu path {
  fill: var(--icon-color-selected) !important;
  filter: box-shadow
    (0 0 15px rgba(250, 227, 133, 1), 3px 3px 0 var(--icon-color-main));
}

.option:hover,
.option:active,
.option:focus {
  box-shadow: none;
}

.checkbox:checked ~ .option-a {
  transition-delay: 0.1s;
  transform: translateY(90px);
}

.checkbox:checked ~ .option-b {
  transition-delay: 0.2s;

  transform: translateY(170px);
}

.checkbox:checked ~ .option-c {
  transition-delay: 0.3s;
  transform: translateY(250px);
}


.checkbox:checked ~ .option-e {
  transition-delay: 0.4s;
  transform: translateY(330px);
}

.checkbox,
.option,
.button-menu {
  display: none;
}

.message {
  display: none;
}

/*-----------------------||| LEADERBOARD |||------------------------*/

/*------ LB HEADER -------*/

#win-session {
  font-size: 30px;
  margin-bottom: -10px;
  font-family: "Metal Mania", sans-serif;
}

#top-players-header {
  margin-bottom: 0.5em;
  font-family: "Metal Mania", sans-serif;
  font-size: 25px;
}

#yourScore {
    font-family: "Metal Mania", sans-serif;
}

#yourScore, #finalScore {
  font-size: 27px;
}


/*------ LB LIST -------*/

#leaderboardList {
  margin-top: -0.5rem;
  margin-bottom: 2rem;
  height: 300px;
  overflow-y: scroll;
  font-size: 2rem;
}

/*------ INPUT -------*/

#playerName {
  display: grid;
  justify-content: center;
  padding: 8px 10px;
  margin: 1rem auto 1rem auto;
  border-radius: 20px;
  text-align: center;
  outline: 2px solid #3a4459;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 400;
  font-size: 18px;
}

.brutalist-button#close,
.brutalist-button#play-again,
.brutalist-button#submit, .brutalist-button#close-intro {
  display: grid;
  margin: 10px auto;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.8rem;
}

   .brutalist-button#close-intro {
    display: flex;
    justify-self: center;
    margin-top: 30px;
   }

.brutalist-button#reset {
  justify-self: center;
  align-self: center;
}
.brutalist-button#auto-finish {
  justify-self: center;
  align-self: center;
}

/*--------||| Instructions Modal |||----------*/

#instructions > p {
  font-size: 17px;
  font-weight: 300;
}

#instructions > h1, h2, h3 {
  text-align: center;
}

#instructions > h1 {
  font-size: 30px;
}

#instructions > h2 {
  font-size: 23px;
}

.intro-content-text {
  font-size: 17px;
  font-weight: 300;
  text-align: justify;
    padding-left: 0;
  margin-left: 0;
}


#instructions > ol {
  padding-left: 0;
  margin-left: 0;
  list-style-type: none;
}

#instructions > .intro-text {
  text-align: center !important;
}

#instructions > h3 {
  font-size: 15px;
  margin-top: -10px;
  font-weight: 300;
}

#instructionsModal, strong, b {
  font-weight: bold;
}

#instructions {
  max-height: 400px;
  overflow-y: scroll;
  overscroll-behavior: contain;
}

#instructions > p > a {
  text-decoration: none;
  color: var(--sb-thumb-color);
  font-weight: bold;
}
#instructions > p > a:hover, a:active {
  text-decoration: none;
  color: var(--ft-hover-color);
  font-weight: bold;
}

.howTo {
  display: block;
  margin: 15px auto;
  width: 100%;          /* Take up full width of the modal-content */
  max-width: 250px;     /* Set a hard limit so they don't get huge on desktop */
  height: auto;
  border: 2px solid #ffd000; /* Matches your Snek/Gold theme */
}
/*-----------------------||| MEDIA QUERIES |||------------------------*/


@media (max-width: 1049px) {
  .body {
    background-image: url("/images/circles-mobile-bg.svg");
    background-size: auto;
    background-repeat: no-repeat;
     /* Ensures the body doesn't expand beyond the viewport */
  }


  /*--- Hover effect for cards turned off on mobile, investigating
  bug where the hover effect is causing issues ---*/
  .card.interactive:hover,
  .card.interactive:hover ~ .card {
    transform: none;
    box-shadow: none;
  }

  #game-section {
    margin-top: 20px;
  }

  #game {
    overflow-y: visible !important;
    min-height: 100vh;
  }

  .card.selected,
  .card {
    overflow-y: visible !important;
  }

  .foundation-slot {
    border: 1px dashed rgb(255, 255, 255);
  }

  .stats {
    grid-template-columns: 4fr 4fr 1fr 1fr;
    padding: 7px 20px 0px 15px;
    align-items: center;
  }

  .stats span {
    margin: auto 0px;
    font-family: "Metal Mania";
    font-weight: 100;
    font-size: x-large;
  }

  #playerName {
    font-size: 18px;
    font-family: "Barlow Condensed", sans-serif;
}

  .checkbox,
  .option,
  .button-menu {
    display: grid;
  }

  .brutalist-button,
  .button-text {
    display: none;
  }



  .brutalist-button.option-d {
    display: grid;
    translate: none;
    border: 3px solid var(--icon-color-border);
    box-shadow:
      0 0 15px rgba(250, 227, 133, 1),
      3px 3px 0 var(--icon-color-main);
  }

  #auto-finish {
    display: none;
  }

  .brutalist-button#close, .brutalist-button#close-intro, .brutalist-button#play-again, .brutalist-button#submit {
    font-size: 22px; 
  }


  #game {
    padding-right: 2rem;
  }
  .option-d {
    display: none;
    /*width: 55px;
    height: 55px;*/
  }

  .option-d.icon-svg {
    stroke: var(--icon-color-main);
  }

  .option-a,
  .option-b {
    width: 55px;
    height: 55px;
    border: 3px solid var(--icon-color-border);
    box-shadow: 3px 3px 0 var(--icon-color-main);
  }

}

@media (min-width: 1050px) {
  .stats {
    justify-self: center;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 0.5fr 0.5fr 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 5rem;
    grid-row-gap: 0px;
  }

  .card {
  width: 4.5rem;
  height: 6.5rem;
  }

  #instructions > ol{
    font-size: 17px;
  }

  #leaderboardList {
        font-size: .7rem;
        max-height: 10rem;
        margin-bottom: 1rem;
  }

  #top-players-header {
    margin-bottom: 0.5em;
    font-family: "Metal Mania", sans-serif;
    font-size: 1.3rem;
}
#win-session{
  font-size: 1.5rem;
}
}
