html {
  line-height: 1.15;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article, aside, footer, header, nav, section {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

figcaption, figure, main {
  display: block;
}

figure {
  margin: 1em 40px;
}

hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

b, strong {
  font-weight: inherit;
}

b, strong {
  font-weight: bolder;
}

code, kbd, samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

dfn {
  font-style: italic;
}

mark {
  background-color: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

audio, video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

img {
  border-style: none;
}

svg:not(:root) {
  overflow: hidden;
}

button, input, optgroup, select, textarea {
  font-family: sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button, html [type=button], [type=reset], [type=submit] {
  -webkit-appearance: button;
}

button::-moz-focus-inner, [type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring, [type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  display: inline-block;
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox], [type=radio] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details, menu {
  display: block;
}

summary {
  display: list-item;
}

canvas {
  display: inline-block;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

body {
  background-image: url("../assets/background.png");
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0;
  height: 100%;
}

header {
  height: 20vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 30px 0;
}

.wrapper {
  max-width: 1400px;
  width: 90%;
  margin: 0 auto;
}

label {
  cursor: pointer;
}

fieldset {
  border: none;
}

button {
  height: clamp(50px, 0.5vh, 75px);
}

.submit {
  border: none;
  color: #503f39;
  background-color: #ffd2b5;
  height: 75px;
  text-align: center;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  border-radius: 25px;
  width: clamp(250px, 17.5vw, 300px);
}
.submit:hover, .submit:focus {
  background-color: #ffb395;
  color: white;
}
.submit:disabled {
  background-color: #d3d8d8;
  color: white;
}

.nextButton, .finishButton, .startButton, .restart {
  border-radius: 25px;
  border: none;
  background-color: #679b9b;
  color: #1b2424;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
  width: clamp(250px, 17.5vw, 300px);
}
.nextButton:hover, .nextButton:focus, .finishButton:hover, .finishButton:focus, .startButton:hover, .startButton:focus, .restart:hover, .restart:focus {
  background-color: #a5b7b8;
  color: white;
}

footer {
  background-color: transparent;
  width: 100%;
  margin-top: 65px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  position: absolute;
  bottom: 0;
}
footer p {
  -ms-flex-item-align: end;
      align-self: flex-end;
  font-size: 1.6rem;
  margin: 0px;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  padding-right: 10px;
  padding-bottom: 10px;
}
@media (max-width: 900px) {
  footer {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

.loadingIcon {
  color: #679b9b;
}

.stackTop {
  z-index: 9;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transform: translateY(50vh);
          transform: translateY(50vh);
}
.stackTop .loadingIcon {
  -webkit-animation: spin 1.3s infinite linear;
          animation: spin 1.3s infinite linear;
  width: 2em;
  height: 2em;
  position: absolute;
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
            transform: rotate(360deg);
  }
}
html {
  font-size: 62.5%;
}

body {
  font-family: "Bad Script", cursive, sans-serif;
  font-size: clamp(2.2rem, 2vw, 3rem);
  color: #1b2424;
}

h1 {
  color: #637373;
  font-size: clamp(4.5rem, 5vw, 10rem);
  text-align: center;
  margin: 25px 0;
}

h2 {
  font-size: clamp(3rem, 3vw, 6rem);
  margin-top: 100px;
  font-weight: bold;
}

h3 {
  font-size: clamp(2.5rem, 2.5vw, 5rem);
}

button {
  font-family: "Bad Script", cursive;
}

body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  min-height: 100vh;
}

.landingPage {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.landingPage .modeSelection {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.landingPage .modeSelection fieldset {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  border: none;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  margin-top: 30px;
}
.landingPage .modeSelection fieldset legend {
  text-align: center;
  width: 100%;
}
.landingPage .modeSelection fieldset .modes {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  margin: 25px 0px;
  width: 100%;
}
.landingPage .modeSelection fieldset .modes input:checked + label {
  outline: 2px solid white;
  -webkit-box-shadow: 2px 2px 10px white;
          box-shadow: 2px 2px 10px white;
}
@media (max-width: 600px) {
  .landingPage .modeSelection fieldset .modes {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.landingPage .modeSelection fieldset .modes .easyBox {
  background: #a5b7b8;
}
.landingPage .modeSelection fieldset .modes .easyBox:hover, .landingPage .modeSelection fieldset .modes .easyBox:focus {
  background: #679b9b;
  color: white;
}
.landingPage .modeSelection fieldset .modes .hardBox {
  background: #ffd2b5;
}
.landingPage .modeSelection fieldset .modes .hardBox:hover, .landingPage .modeSelection fieldset .modes .hardBox:focus {
  background: #ffb381;
  color: white;
}
.landingPage .modeSelection fieldset .modes .modeInputs {
  visibility: hidden;
}
.landingPage .modeSelection fieldset .modes label {
  padding: 30px 100px;
  background-color: rgb(255, 210, 181);
  border-radius: 50px;
  -webkit-transition: 0.5s ease;
  transition: 0.5s ease;
  min-width: 250px;
  text-align: center;
}
.landingPage .modeSelection fieldset .modes label:hover, .landingPage .modeSelection fieldset .modes label:focus {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
@media (max-width: 750px) {
  .landingPage .modeSelection fieldset .modes label {
    padding: 30px 50px;
  }
}
.landingPage .instructions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background-color: white;
  border-radius: 20px;
  width: 70%;
  padding: 25px;
  margin: 0 0 25px;
  min-width: 250px;
}
.landingPage .instructionsEasy,
.landingPage .instructionsHard {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.landingPage .instructionsEasy p,
.landingPage .instructionsHard p {
  font-size: 2rem;
  margin: 0 0;
}
.landingPage .instructionsEasy .bold,
.landingPage .instructionsHard .bold {
  font-weight: bold;
}
.landingPage .instructionsEasy {
  margin-bottom: 25px;
}

.easyGame {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  text-align: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.easyGame input:checked + label {
  outline: 5px solid #a5b7b8;
  -webkit-box-shadow: 0px 10px 13px -7px #637373, 5px 5px 15px 5px rgba(0, 0, 0, 0);
          box-shadow: 0px 10px 13px -7px #637373, 5px 5px 15px 5px rgba(0, 0, 0, 0);
}
.easyGame input:disabled + label {
  color: #d3d8d8;
  pointer-events: none;
  outline: none;
}

.poetContainer h2 {
  margin: 25px 0;
}

.poemTitleContainer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 7px;
  width: 100%;
}
.poemTitleContainer input {
  visibility: hidden;
}
.poemTitleContainer .easyOption {
  padding: 25px;
  gap: 20px;
  background-color: white;
  border-radius: 25px;
  width: 65%;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
}
.poemTitleContainer .easyOption:hover, .poemTitleContainer .easyOption:focus {
  -webkit-box-shadow: 0px 10px 13px -7px #637373, 5px 5px 15px 5px rgba(0, 0, 0, 0);
          box-shadow: 0px 10px 13px -7px #637373, 5px 5px 15px 5px rgba(0, 0, 0, 0);
}
@media (max-width: 900px) {
  .poemTitleContainer .easyOption {
    min-width: 250px;
  }
}
.poemTitleContainer .correct {
  border: 5px solid #89c2a0;
}
.poemTitleContainer .incorrect {
  border: 5px solid #ff8676;
}
.poemTitleContainer .resultContainer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 65%;
}
@media (max-width: 900px) {
  .poemTitleContainer .resultContainer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .poemTitleContainer .resultContainer .currentScore {
    margin-top: 20px;
  }
}
.poemTitleContainer .buttonContainer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  gap: 20px;
  width: 65%;
  margin-top: 25px;
  min-width: 0;
}
@media (max-width: 900px) {
  .poemTitleContainer .buttonContainer {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.hardGame {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
}
.hardGame .titleContainer {
  width: 80%;
}
.hardGame h2 {
  font-size: 3.5rem;
}
@media (max-width: 900px) {
  .hardGame h2 {
    text-align: center;
  }
}

.hardQuestion {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 80%;
  gap: 25px;
}
@media (max-width: 900px) {
  .hardQuestion {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
.hardQuestion .correct {
  outline: 5px solid #89c2a0;
}
.hardQuestion .incorrect {
  outline: 5px solid #ff8676;
  border: 1px solid white;
}
.hardQuestion input {
  all: unset;
  background-color: white;
  border-radius: 50px;
  width: 80%;
  padding-left: 25px;
}
.hardQuestion input:hover, .hardQuestion input:focus {
  outline: 5px solid #ffd2b5;
}
.hardQuestion input::-webkit-input-placeholder {
  color: #ff9a76;
}
.hardQuestion input::-moz-placeholder {
  color: #ff9a76;
}
.hardQuestion input:-ms-input-placeholder {
  color: #ff9a76;
}
.hardQuestion input::-ms-input-placeholder {
  color: #ff9a76;
}
.hardQuestion input::placeholder {
  color: #ff9a76;
}
.hardQuestion input:disabled {
  color: #d3d8d8;
  pointer-events: none;
}
@media (max-width: 900px) {
  .hardQuestion input {
    height: 50%;
    min-width: 250px;
  }
}

.resultContainer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 80%;
  margin: 25px 0;
}
@media (max-width: 900px) {
  .resultContainer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .resultContainer button.nextButton.nextHard {
    width: 20%;
  }
}
.resultContainer .currentScoreHard {
  -ms-flex-item-align: center;
      align-self: center;
}
@media (max-width: 900px) {
  .resultContainer .currentScoreHard {
    margin-top: 20px;
  }
}

.endPage {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.endPage .finalContent {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  top: 50vh;
  background-color: white;
  border-radius: 50px;
  width: 50%;
  height: 75%;
  min-width: -webkit-fit-content;
  min-width: -moz-fit-content;
  min-width: fit-content;
  min-height: -webkit-fit-content;
  min-height: -moz-fit-content;
  min-height: fit-content;
}
.endPage .finalContent .restart {
  margin-bottom: 50px;
  width: 50%;
  min-width: -webkit-fit-content;
  min-width: -moz-fit-content;
  min-width: fit-content;
  padding: 0 20px;
}
.endPage .finalContent .contentContainer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 60px;
}

.invisible {
  display: none;
}

.hidden {
  display: none;
}