:root {
  background: url(/harry-potter-quiz/hogwarts-l.png);
  background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom center;
  background-color: #ecf5ff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: #333;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

h1,
h2,
h3,
h4 {
  margin-bottom: 1rem;
}

h1 {
  font-size: 31px;
  color: #56a5eb;
  margin-bottom: 3rem;
  text-align: center;
}

h2 {
  font-size: 19px;
  margin-bottom: 2rem;
}

h3 {
  font-size: 18px;
}

/* UTILITIES */

.container {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 777px;
  margin: 0 auto;
  padding: 2rem;
}

.container>* {
  width: 100%;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.flex-center {
  justify-content: center;
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.text-center {
  text-align: center;
}

.hidden {
  display: none;
}

/* BUTTONS */
.btn {
  font-size: 17px;
  padding: 1rem 0;
  width: 20rem;
  text-align: center;
  border: 0.1rem solid #56a5eb;
  margin-bottom: 1rem;
  text-decoration: none;
  color: #56a5eb;
  background-color: white;
}

.btn:hover {
  cursor: pointer;
}

.btn[disabled]:hover {
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* FORMS */
form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

input {
  margin-bottom: 1rem;
  width: 20rem;
  padding: 1rem;
  font-size: 20px;
  border: none;
  box-shadow: 0 0.1rem 1.4rem 0 rgba(86, 185, 235, 0.5);
}

input::placeholder {
  color: #aaa;
}













@media (prefers-color-scheme: dark) {
  :root {
    background: url(/harry-potter-quiz/hogwarts.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom center;
    background-color: #0f0f0f;
  }






  

  * {
    color: hsla(0, 0%, 100%, 0.9);
  }

  /* BUTTONS */
  .btn {
    color: #56a5eb;
    background-color: #141414;
  }

  /* FORMS */
  input {
    color: hsla(0, 0%, 100%, 0.9);
    background-color: #141414;
    border: 0.1rem solid #56a5eb;
    box-shadow: none;
  }
}
