@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400&display=swap');

* {
  box-sizing: border-box;
}

body {
  display: grid;
  place-items: center;
  height: 100vh;
  margin: 0;
  padding: 10px;
  font-family: Poppins, sans-serif;
  background-color: #b8c6db;
  background-image: linear-gradient(315deg, #b8c6db 0%, #f5f7f4 100%);
}

.quiz-container {
  width: min(100%, 600px);
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px 2px rgba(100, 100, 100, 0.1);
  overflow: hidden;
}
.quiz-content {
  padding: 3rem;
}

h2 {
  text-align: center;
  margin-bottom: 2rem;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
  li {
    font-size: 1.2rem;
    margin-block: 1rem;
    label {
      cursor: pointer;
    }
  }
}

button {
  appearance: none;
  display: block;
  width: 100%;
  padding: 1.3rem;
  font-size: 1.1rem;
  font-family: inherit;
  color: #fff;
  background-color: #8e44ad;
  border: none;
  cursor: pointer;
  &:hover {
    background-color: #732d91;
  }
  &:focus {
    outline: none;
    background-color: #5e3370;
  }
}

/* "Enable" button when answer is selected */
:not(:has(:checked)) ~ .submit-btn {
  cursor: not-allowed;
}
