/* CSS Reset
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */

/* Import */
@import url("https://fonts.googleapis.com/css2?family=Inconsolata:wght@500;800&display=swap");

/* Palette */
:root {
  --light: #bfef39;
  --dark: #4163189f;
  --strong: #61d44a;
  --easy: #effd5e;
  --deep: #cae354;
  --white: #ffff;
}

/* ----------------------------------------Responsive---------------------------------------- */

@media (max-width: 668px) {
  body {
    max-width: 400px;
    overflow: hidden;
  }

  input[type="radio"] {
    transform: scale(2);
    cursor: pointer;
  }

  .answer {
    font-size: 20px;
    margin-bottom: 30px;
  }
}

/* ----------------------------------------CSS Style---------------------------------------- */

body {
  font-family: "Inconsolata", monospace;
  background-color: var(--dark);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
}

.app {
  position: relative;
  width: 800px;
  height: 500px;
  background-color: var(--white);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.55);
  justify-content: center;
}

/* .game {
  display: none;
} */

.content {
  margin: 50px;
}

.question {
  font-weight: 900;
  font-size: 24px;
  margin: 30px;
}

.answer {
  font-size: 25px;
  margin-bottom: 30px;
}

/* Make Radio Input much COOL! */

input[type="radio"] {
  transform: scale(1.5);
  cursor: pointer;
}

input[type="radio"]:after {
  width: 15px;
  height: 15px;
  border-radius: 15px;
  top: -2px;
  left: -1px;
  position: relative;
  background-color: #d1e2d1;
  content: "";
  display: inline-block;
  visibility: visible;
  border: 2px solid white;
}

input[type="radio"]:checked:after {
  width: 15px;
  height: 15px;
  border-radius: 15px;
  top: -2px;
  left: -1px;
  position: relative;
  background-color: var(--light);
  content: "";
  display: inline-block;
  visibility: visible;
  border: 1px solid black;
}

.submit {
  font-size: 24px;
  background-color: var(--strong);
  color: var(--white);
  padding: 20px;
  width: 100%;
  font-weight: 900;
  position: absolute;
  bottom: 0;
  cursor: pointer;
  border: 1px;
}

/* Interface ending quiz */

.result {
  text-align: center;
  padding: 50px;
  display: none;
}

.result > h1 {
  font-size: 40px;
}

.correct {
  color: var(--strong);
  font-size: 30px;
}

.wrong {
  color: red;
  font-size: 25px;
}

.score {
  color: black;
  font-weight: 800;
  text-decoration: overline;
  font-size: 40px;
}

.play {
  font-weight: 900;
  padding: 15px;
  font-size: 20px;
  color: #ffff;
  background-color: var(--strong);
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.45);
}

footer {
  position: absolute;
  bottom: 0;
  text-align: center;
}
