/* RESET / BASE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f5f6fa;
  color: #222;
  line-height: 1.4;
}

/* HEADER */
.header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(
    11deg,
    rgba(235, 199, 199, 1) 0%,
    rgba(214, 217, 255, 1) 61%,
    rgba(181, 188, 255, 1) 100%
  );
}

.headline h1 {
  font-size: 20px;
  white-space: nowrap;
}

.spacer {
  flex: 1;
}

/* NAV */
.topics ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.topics a {
  text-decoration: none;
  font-weight: bold;
  color: #000;
  padding: 6px 10px;
  border-radius: 6px;
}

.topics a:hover {
  background: rgba(0, 0, 0, 0.1);
}

/* QUIZ CONTAINER */
#quiz {
  max-width: 640px;
  margin: 24px auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* QUESTION */
#question {
  font-size: 18px;
  font-weight: bold;
}

#question p {
  font-size: 18px;
  font-weight: regular;
}

/* OPTIONS */
#options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.option.selected {
  border-color: #4a6cff;
  background: #eef1ff;
}

.option.correct {
  background: #d4f5d4;
  border-color: #2e8b57;
}

.option.wrong {
  background: #f7d4d4;
  border-color: #8b2e2e;
}

/* BUTTONS */
button {
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#check {
  background: #4a6cff;
  color: #fff;
}

#next {
  background: #444;
  color: #fff;
}

/* WIP PAGES */
.wipCnt {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  text-align: center;
}

.wipCnt h1 {
  font-size: 22px;
  margin-bottom: 12px;
}

.wipCnt p {
  font-size: 16px;
  color: #555;
}

/* DESKTOP ENHANCEMENTS */
@media (min-width: 768px) {
  .headline h1 {
    font-size: 24px;
  }

  #question {
    font-size: 20px;
  }

  .topics ul {
    gap: 20px;
  }
}
