@font-face {
  font-family: Fachada;
  src: url('../fonts/Fachada-Regular.otf') format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --anthrax-purple: #5c2e8c;
}

.section {
  background-color: #000;
  background-image: url('../images/bg_pentagram.png');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: auto;
  background-attachment: fixed;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: auto;
  min-height: 100vh;
  padding: 0;
  display: flex;
  position: relative;
}

.div-block {
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 960px;
  height: 100%;
  max-height: 0;
  margin-top: 0;
  display: flex;
}

.image {
  width: 100%;
  height: auto;
  position: relative;
}

.div-block-2 {
  z-index: 2;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  width: 80vw;
  max-width: 960px;
  height: auto;
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  position: relative;
}

.hangman-canvas {
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  display: flex;
  position: relative;
}

.div-block-4 {
  width: 100%;
  height: 100%;
  position: relative;
}

.div-block-5 {
  text-align: center;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
}

.image-2 {
  z-index: 1;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0%;
}

.letters-wrapper {
  z-index: 3;
  grid-column-gap: 12px;
  grid-row-gap: 12px;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  padding: 16px;
  display: flex;
  position: relative;
  inset: 0%;
}

.letters-wrapper.ouija-arc-board {
  display: none;
}

.ouija-letter {
  color: var(--anthrax-purple);
  font-family: Fachada, Arial, sans-serif;
  font-size: 36px;
  line-height: 1.1;
  position: relative;
}

.ouija-letter-block {
  cursor: pointer;
  padding: 4px;
  position: relative;
}

.letters-row {
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
}

.heading {
  color: var(--anthrax-purple);
  text-align: center;
  margin-top: auto;
  font-family: Fachada, Arial, sans-serif;
  font-size: 40px;
  line-height: 1.2;
}

.guesswords {
  grid-column-gap: 6px;
  grid-row-gap: 6px;
  text-align: center;
  flex-flow: row;
  margin-top: 12px;
  display: flex;
}

.guessword-row {
  flex-flow: row;
  justify-content: center;
  display: flex;
  position: relative;
}

.guess-letter {
  color: var(--anthrax-purple);
  font-family: Caesar Dressing, sans-serif;
  font-size: 40px;
  line-height: 1;
  text-decoration: none;
  position: relative;
}

.text-block {
  color: var(--anthrax-purple);
  font-family: Caesar Dressing, sans-serif;
  font-size: 40px;
  line-height: 1.2;
}

.guess-counter-text {
  color: var(--anthrax-purple);
  text-align: center;
  margin-top: auto;
  margin-bottom: 24px;
  font-family: Caesar Dressing, sans-serif;
  font-size: 16px;
}

.clue-text {
  color: var(--anthrax-purple);
  font-family: Caesar Dressing, sans-serif;
  font-size: 18px;
  line-height: 1.2;
}

.code-embed {
  aspect-ratio: auto;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: 360px;
  height: 100%;
  margin: auto;
  padding: 16px;
  display: flex;
}

.overlay {
  z-index: 999;
  pointer-events: none;
  width: 100vw;
  height: 100vh;
  display: flex;
  position: fixed;
  inset: 0%;
}

.overlay-noise-canvas {
  z-index: 999;
  pointer-events: none;
  mix-blend-mode: normal;
  width: 100vw;
  height: 100vh;
  display: flex;
  position: fixed;
  inset: 0%;
}

.flames-container {
  z-index: 0;
  aspect-ratio: 1;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  display: flex;
  position: fixed;
  inset: 0%;
}

.code-embed-2 {
  aspect-ratio: auto;
  width: 110vh;
  height: 110vh;
  margin: 0;
  position: absolute;
  inset: auto;
}

@media screen and (max-width: 991px) {
  .section {
    flex-flow: column;
  }

  .div-block-2 {
    flex-flow: column;
    width: 100vw;
    height: 100%;
    padding: 12px;
  }

  .hangman-canvas {
    width: 100vw;
  }

  .div-block-5 {
    padding: 20px;
  }

  .image-2 {
    height: auto;
    display: none;
  }

  .letters-wrapper {
    height: auto;
  }

  .ouija-letter {
    font-size: 24px;
  }

  .heading {
    margin-bottom: 12px;
    font-size: 24px;
  }

  .text-block {
    font-size: 18px;
  }

  .clue-text {
    font-size: 14px;
  }

  .flames-container {
    aspect-ratio: auto;
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .div-block-5 {
    width: 80%;
  }

  .letters-wrapper {
    grid-column-gap: 8px;
    grid-row-gap: 8px;
  }

  .ouija-letter, .heading {
    font-size: 20px;
  }

  .guesswords {
    margin-bottom: 12px;
  }

  .flames-container {
    aspect-ratio: auto;
    width: 100%;
  }

  .code-embed-2 {
    height: auto;
  }
}

@media screen and (max-width: 479px) {
  .div-block-2 {
    flex-flow: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 6px;
  }

  .div-block-5 {
    width: 100%;
    height: auto;
    padding: 8px;
    position: relative;
  }

  .letters-wrapper {
    height: 100%;
    padding: 8px;
    position: relative;
  }

  .heading {
    font-size: 18px;
  }

  .guesswords {
    flex-flow: row;
  }

  .guess-letter {
    font-size: 28px;
  }

  .guess-counter-text {
    margin-bottom: 16px;
  }

  .overlay-noise-canvas {
    flex-flow: column;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    display: flex;
    inset: 0%;
  }

  .flames-container {
    aspect-ratio: auto;
    width: 100%;
  }

  .code-embed-2 {
    aspect-ratio: 1;
    width: 110vw;
    height: 110vw;
    margin-top: -5vh;
  }
}


@font-face {
  font-family: 'Fachada';
  src: url('../fonts/Fachada-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}