@import url("https://fonts.googleapis.com/css2?family=Poetsen+One&display=swap");

*,
::after,
::before {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poetsen One", sans-serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
}

body {
  background-color: #fbf7f4;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  flex-direction: column;
  gap: 24px;
  padding: 40px;
}

#picture {
  max-width: 300px;
}

#form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: center;

  #submit-button {
    width: 80px;
    height: 40px;
    background-color: #eed2cc;
    border: none;
    border-radius: 8px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    color: white;
    cursor: pointer;
  }
}

#good-answer,
#bad-answer {
  display: none;
  color: white;
  justify-content: center;
  flex-direction: column;
  padding: 8px;
  width: 200px;
  height: 80px;
  border-radius: 8px;
  background-color: #6c9a8b;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

#bad-answer {
  background-color: #e8998d;
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 1.5em;
  }

  #picture {
    max-width: 250px;
  }

  body {
    gap: 12px;
  }

  form {
    gap: 8px;
  }
}
