* {
  box-sizing: border-box; }

body {
  height: 100vh;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Roboto;
  background-image: url(../img/background.jpg);
  background-size: cover;
  background-attachment: fixed; }
  body .screen {
    width: 800px;
    max-width: 90vw;
    min-height: 60vh;
    background-color: rgba(240, 240, 240, 0.8); }
  body h1 {
    font-family: "Kaushan Script";
    font-size: 200%; }
  body h2 {
    font-weight: normal; }
  body button:hover {
    background-color: #eee; }

.start-screen, .end-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column; }
  .start-screen .logo, .end-screen .logo {
    max-width: 130px; }
  .start-screen .btn-start, .end-screen .btn-start {
    padding: 0.25em;
    border: 1px solid lightgray;
    border-radius: 0;
    width: 25%; }
  .start-screen .score, .end-screen .score {
    text-align: center; }

.ingame-screen {
  display: grid;
  grid-template-rows: 2fr 6fr 2fr; }
  .ingame-screen .score.focus {
    animation: 1s attention; }
  .ingame-screen header, .ingame-screen footer {
    padding: 1rem 2rem; }
  .ingame-screen .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: black;
    color: white; }
    .ingame-screen .header h1 {
      margin: 0;
      padding: 0; }
  .ingame-screen .question {
    padding: 2rem; }
    .ingame-screen .question.revealed .answer {
      background-color: lightgray; }
      .ingame-screen .question.revealed .answer.chosen {
        background-color: #b34040;
        color: white; }
      .ingame-screen .question.revealed .answer.correct {
        background-color: #8fb340;
        color: white; }
        .ingame-screen .question.revealed .answer.correct.chosen {
          background-color: #8fb340;
          color: white; }
    .ingame-screen .question .question-answers .answer {
      display: block;
      padding: 0.5rem;
      width: 100%;
      margin-bottom: 2px;
      border: 1px solid lightgray;
      border-radius: 0;
      text-align: left;
      counter-increment: answer; }
      .ingame-screen .question .question-answers .answer::before {
        content: counter(answer);
        color: lightgray;
        padding: 0.5em; }
    .ingame-screen .question .question-estimate {
      display: grid;
      grid-template-columns: 7fr 3fr; }
      .ingame-screen .question .question-estimate .input-estimate {
        margin: 0;
        box-sizing: border-box; }
      .ingame-screen .question .question-estimate .btn-submit-estimate {
        padding: auto 0.25rem;
        margin: 0;
        box-sizing: border-box; }
    .ingame-screen .question .question-result-wrapper {
      padding-top: 1px;
      margin-top: 2rem;
      display: none;
      background-color: rgba(21, 45, 59, 0.7);
      border-radius: 5px;
      color: white; }
      .ingame-screen .question .question-result-wrapper.visible {
        display: block; }
    .ingame-screen .question .question-result {
      position: relative;
      height: 100px;
      width: 80%;
      margin: 0 auto;
      margin-top: 7rem;
      border-top: 2px solid #ddd; }
      .ingame-screen .question .question-result .correct-result, .ingame-screen .question .question-result .estimate {
        position: absolute;
        transform: translateX(-50%) translateY(20px);
        text-align: center; }
        .ingame-screen .question .question-result .correct-result strong, .ingame-screen .question .question-result .estimate strong {
          font-size: 150%; }
        .ingame-screen .question .question-result .correct-result::before, .ingame-screen .question .question-result .estimate::before {
          content: "";
          display: block;
          position: absolute;
          width: 30px;
          height: 30px;
          left: 50%;
          transform: translateX(-50%) translateY(-37px); }
      .ingame-screen .question .question-result .correct-result {
        z-index: 5;
        transform: translateX(-50%) translateY(-75px); }
      .ingame-screen .question .question-result .correct-result::before {
        background-image: url(../img/star.png);
        background-size: contain;
        transform: translateX(-50%) translateY(55px); }
      .ingame-screen .question .question-result .estimate::before {
        background-image: url(../img/snowflake.png);
        background-size: contain; }
  .ingame-screen .btn-continue {
    display: block;
    margin-top: 1rem;
    width: 100%;
    border-radius: 0;
    border: 1px solid lightgray;
    padding: 0.5rem; }

@keyframes attention {
  0% {
    transform: scale(1); }
  25% {
    transform: scale(1.2); }
  50% {
    transform: scale(0.9); }
  75% {
    transform: scale(1.2); }
  100% {
    transform: scale(1); } }
@media screen and (max-width: 600px) {
  body {
    margin: 0;
    padding: 0; }
    body .screen {
      width: 100vw;
      height: 100vh;
      max-width: 100vw;
      min-height: 100vh;
      overflow-y: scroll; }
      body .screen .headline {
        text-align: center; }
      body .screen .btn-start {
        padding: 1rem 2rem;
        width: auto; }
    body .header {
      flex-direction: column; }
    body .question-text {
      font-size: 14pt; }
    body .question.estimate {
      max-width: 95vw;
      height: auto;
      box-sizing: border-box; }
      body .question.estimate .question-estimate {
        display: block; }
      body .question.estimate .input-estimate,
      body .question.estimate .btn-submit-estimate {
        width: 100%;
        padding: 0.5rem 1rem; }
      body .question.estimate .question-result {
        width: 60%; } }

/*# sourceMappingURL=style.css.map */
