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

html {
  font-size: 62.5%;
}

body {
  font-family: "Roboto", sans-serif;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #ffd692;
}

/* NAVIGATION */

.navigation {
  position: absolute;
  top: 0;
}

/* PROJECT CONTAINER */
.project-container {
  width: 40%;
  text-align: center;
  background: #f7f6de;
  border-radius: 1rem;
  height: 34rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* TITLE */

.question-txt,
.end-quiz {
  font-size: 3rem;
  margin: 2rem 0;
  color: #6e2142;
  height: 7rem;
  padding: 0 2rem;
}

/* ANSWER */

.answer-container {
  /* margin-bottom: 3rem; */
  height: 15rem;
}

.answer {
  margin-left: 45%;
  text-align: left;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

input[type="radio"] {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.5rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 2px solid #dbc8ac;
  background-color: #eddbc0;
  border-radius: 50%;
}

input[type="radio"]:checked {
  background-color: #d3756b;
}

label {
  color: #943855;
  font-size: 2rem;
  cursor: pointer;
}

.results {
  font-size: 3rem;
  flex-grow: 1;
  /* display: flex;
  flex-direction: column; */
  margin-top: 5rem;
  color: #6e2142;
}

.result,
.questions-no {
  font-weight: 600;
}
.result {
  color: #3c6255;
}
.questions-no {
  color: #cc5c5c;
}

/* SUBMIT BUTTON */

input[type="submit"],
.restart {
  width: 100%;
  padding: 1.5rem;
  border-radius: 0 0 1rem 1rem;
  border: none;
  background-color: #e16363;
  font-size: 1.6rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #6e2142;
  cursor: pointer;
}

.restart {
  color: #ffd56f;
  background-color: #3c6255;
}

input[type="submit"]:hover {
  background-color: #e97474;
}

.restart:hover {
  color: #3d5656;
  background-color: #ff7b54;
}
/* MOBILE */

@media screen and (max-width: 1200px) {
  .project-container {
    width: 60%;
  }

  .question-txt {
    margin-bottom: 2rem;
  }
}

@media screen and (max-width: 600px) {
  body {
    overflow-y: auto;
  }
  .project-container {
    width: 90%;
  }

  .answer {
    margin-left: 20%;
  }

  .question-txt {
    margin-bottom: 4rem;
  }
}
