@import url("https://use.typekit.net/mwm5qhe.css");
body {
  font-family: futura-pt, sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.q {
  font-family: Soleil, sans-serif;
}
#gamePage:before {
  content: '';
  background: #0675CD;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
}
#gameBoard {
  height: auto;
  margin: 0 auto;
  display: none;
  overflow: auto;
  position: absolute;
  top: 100px;
  bottom: 0;
  width: 100%;
  max-width: 1920px;
  left: 50%;
  transform: translateX(-50%);
}
#gameHeader {
  height: 100px;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
  max-width: 1400px;
  margin: auto;
  font-size: 8px;
}
@media screen and (min-width: 960px) {
  #gameHeader {
    font-size: 16px;
  }
}
#gameHeader div {
  flex: 0 1 calc(100% / 3);
  align-self: center;
  font-size: 3em;
  color: white;
  font-weight: 700;
  font-family: 'futura-pt';
}
#gameHeader .timeContainer {
  text-align: left;
}
#gameHeader .timeContainer #timer {
  padding: 0 1rem;
}
#gameHeader .aedCount img {
  max-width: 30px;
  vertical-align: bottom;
}
@media screen and (min-width: 960px) {
  #gameHeader .aedCount img {
    max-width: 60px;
  }
}
#gameHeader .logo {
  text-align: right;
}
#gameHeader .logo img {
  max-width: 80px;
  margin: auto;
  padding-right: 1rem;
  vertical-align: middle;
}
@media screen and (min-width: 960px) {
  #gameHeader .logo img {
    max-width: 160px;
  }
}
#gameImage {
  width: 100%;
  display: block;
  width: 1920px;
}
.item {
  position: absolute;
  cursor: pointer;
  width: 25px;
  height: 25px;
  transform: translate(-50%, -50%);
}
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 66, 107, 0.8);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  display: none;
  flex-wrap: wrap;
  align-content: center;
}
#overlay h2 {
  font-size: 4em;
  font-family: 'futura-pt';
  flex: 1 0 100%;
  margin: 0;
}
#overlay p {
  margin: 0;
  font-size: 1.25em;
}
#overlay #clock {
  max-width: 30%;
  min-width: 300px;
  animation: tilt-shaking 0.15s 4;
}
#magnifier {
  position: absolute;
  pointer-events: none;
  /* Ensure the magnifier doesn't interfere with interaction */
  border-radius: 50%;
  box-shadow: 0 0 3px 3px rgba(0, 0, 0, 0.5);
  border: 3px solid #fff;
  width: 100px;
  height: 100px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 200%;
  display: none;
  z-index: 10;
  /* Ensure the magnifier is above other elements */
}
#introPage {
  background: #0675CD;
  height: 100svh;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
}
#introPage .content {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  padding: 1rem;
  width: 100%;
  align-self: flex-end;
}
#introPage h1 {
  color: #ffffff;
  font-size: 3.25em;
  border: 4px solid #F58025;
  width: fit-content;
  margin: auto auto 2rem auto;
  padding: 1rem 1.5rem;
}
#introPage p {
  color: #ffffff;
  font-size: 1.75em;
  font-weight: 300;
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 0 1.25rem 0;
}
#instructionsPage {
  height: 100svh;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
}
#instructionsPage:before {
  content: '';
  background-image: url(../images/triangle-topleft.svg);
  height: 30%;
  width: 100%;
  position: absolute;
  background-repeat: no-repeat;
  top: 0;
  left: 0;
  background-position: top left;
  z-index: -1;
  background-size: contain;
}
#instructionsPage:after {
  content: '';
  background-image: url(../images/triangle-bottomright.svg);
  height: 60%;
  width: 100%;
  position: absolute;
  background-repeat: no-repeat;
  bottom: 0;
  right: 0;
  background-position: bottom right;
  z-index: -1;
  background-size: contain;
}
#instructionsPage .content {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  padding: 1rem;
  width: 100%;
  align-self: flex-end;
}
#instructionsPage .footer:before {
  content: '';
  background-image: url(../images/person.svg);
  background-repeat: no-repeat;
  background-position: bottom left;
  background-size: 60%;
  width: 50%;
  height: 100svh;
  position: absolute;
  bottom: 25px;
  left: 30px;
  z-index: 0;
}
@media screen and (min-width: 960px) {
  #instructionsPage .footer:before {
    bottom: 90px;
  }
}
#instructionsPage h3 {
  color: #0675CD;
  font-size: 2.5em;
  margin: auto;
  padding: 1rem;
}
#instructionsPage p {
  color: #0675CD;
  font-size: 2em;
  font-weight: 700;
  max-width: 450px;
  margin: 0 auto;
  padding: 1rem;
}
#instructionsPage .number {
  font-size: 6em;
  border: 2px solid #bfd430;
  color: #0675CD;
  font-weight: 900;
  width: fit-content;
  margin: auto;
  padding: 0.5rem 1.5rem;
  line-height: 1;
  font-family: futura-pt-bold, sans-serif;
}
#instructionsPage button {
  background: #F58025;
}
#endPage {
  height: 100svh;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
}
#endPage:before {
  content: '';
  background-image: url(../images/triangle-topleft.svg);
  height: 30%;
  width: 100%;
  position: absolute;
  background-repeat: no-repeat;
  top: 0;
  left: 0;
  background-position: top left;
  z-index: -1;
  background-size: contain;
}
#endPage:after {
  content: '';
  background-image: url(../images/triangle-bottomright.svg);
  height: 60%;
  width: 100%;
  position: absolute;
  background-repeat: no-repeat;
  bottom: 0;
  right: 0;
  background-position: bottom right;
  z-index: -1;
  background-size: contain;
}
#endPage .content {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  padding: 1rem;
  width: 100%;
  align-self: flex-end;
}
#endPage h3 {
  color: #0675CD;
  font-size: 3em;
  margin: auto;
  padding: 1rem;
}
#endPage p {
  color: #0675CD;
  font-size: 2em;
  font-weight: 700;
  max-width: 450px;
  margin: 0 auto;
  padding: 1rem;
}
#endPage #greatJob {
  font-size: 4em;
}
#endPage .number {
  font-size: 6em;
  border: 2px solid #bfd430;
  color: #0675CD;
  font-weight: 900;
  width: fit-content;
  margin: auto;
  padding: 0.5rem 1.5rem;
  line-height: 1;
  font-family: futura-pt-bold, sans-serif;
}
#endPage button {
  background: #F58025;
}
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  width: 100%;
}
.footer #source {
  font-size: 0.75em;
  color: #ffffff;
  padding: 2rem;
  flex: 100%;
  text-align: left;
}
.footer .buildings {
  flex: 0 1 75%;
  max-width: 1200px;
  z-index: 1;
}
.footer .logo {
  flex: 1;
  align-self: center;
  padding: 2rem;
  display: flex;
  align-self: stretch;
}
.footer .logo img {
  max-width: 160px;
  margin: auto 2% auto auto;
}
.footer img {
  width: 100%;
  display: block;
}
.footer + .quote-component .quote-text {
  width: 100%;
}
.footer + .quote-component h2,
.footer + .quote-component h3 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}
.footer + .quote-component li::marker {
  content: none;
}
@media screen and (min-width: 700px) {
  .footer + .quote-component .quote-text {
    width: 100%;
  }
}
button {
  z-index: 9999;
  font-size: 4em;
  font-weight: bold;
  color: #ffffff;
  text-align: left;
  margin: 0 auto;
  cursor: pointer;
  content: '';
  border: 0;
  --t: 50%;
  --h: 20%;
  aspect-ratio: 6 / 2;
  width: 350px;
  background: #bfd430;
  clip-path: polygon(0 calc(40% - var(--t) / 2), calc(100% - var(--h)) calc(40% - var(--t) / 2), calc(100% - var(--h)) 0, 100% 50%, calc(100% - var(--h)) 100%, calc(100% - var(--h)) calc(60% + var(--t) / 2), 0 calc(60% + var(--t) / 2));
}
button span {
  display: block;
  text-align: center;
  padding-right: 50px;
}
@keyframes tilt-shaking {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(5deg);
  }
  50% {
    transform: rotate(0eg);
  }
  75% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
