body,
html {
  margin: 0%;
  overflow-x: hidden;
  width: 100vw;
  font-family: "Righteous";

}

:root {
  --primary-color: #007057;

}



h1,
h2,
h3,
h5,
h6,
p {
  color: var(--primary-color);
}

h4 {
  color: #ffffff;
  margin-left: 3%;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  border-radius: 50%;
}

.switch input:checked + .slider {
  background-color: #2196f3;
}

.switch input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

.switch input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.righteous-regular {
  font-family: "Righteous", sans-serif;
  font-weight: 400;
  font-style: normal;
}

header {
  background-color: #007057;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.themebtn {
  background-color: inherit;
  font-family: "Righteous", sans-serif;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
}

.theme {
  position: relative;
  display: inline-block;
  margin-left: 10%;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #0b8067;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  flex-direction: column;
}

.theme-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
}

.theme-option:hover {
  background-color: #0c0e0c;
}

.theme:hover .dropdown-content {
  display: flex;
}

.theme:hover .themebtn {
  background-color: #0b8067;
  transition: ease 0.3s;
}

nav {
  display: flex;
  flex-direction: row;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  padding: 3px;
  margin-right: 3vw;
}

.logo {
  width: 70px;
  height: 70px;
  margin: 1%;
  margin-left: 2vw;
  border-radius: 50%;
  border: solid #0b8067 2px;
}
body.dark-mode {
  background-color: #11151a;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode p {
  color: #d8eee9;
}

body.dark-mode header,
body.dark-mode footer {
  background-color: #182229;
}

body.dark-mode .dropdown-content {
  background-color: #1f2c35;
}

body.dark-mode .theme:hover .themebtn {
  background-color: #1f2c35;
}

body.dark-mode .vraag {
  background-color: #1a2730;
  border-color: #5aa194;
}

body.dark-mode .vraag label,
body.dark-mode .vraag-teller {
  color: #d8eee9;
}

body.dark-mode .navigatie {
  background-color: #1a2730;
}

body.dark-mode .submit-btn,
body.dark-mode .nav-btn {
  background-color: #22323d;
}

body.dark-mode .submit-btn:hover {
  background-color: #2d4250;
}

body.dark-mode input[type="radio"] {
  accent-color: #0b8067;
  filter: invert(1) hue-rotate(170deg);
}

.quiz {
  padding: 20px 40px;
}

.quiz h1 {
  font-size: 2em;
}

.quiz p {
  font-size: 1.1em;
}

.questions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px 40px;
}

.vraag {
  background-color: #ffffff;
  border: 2px solid #0b8067;
  border-radius: 0px;
  padding: 16px;
}

.vraag h2 {
  font-size: 1em;
  margin-bottom: 10px;
}

.vraag p {
  font-size: 0.95em;
  margin-bottom: 12px;
}

.vraag label {
  display: block;
  color: #0b8067;
  margin: 6px 0;
  cursor: pointer;
  font-family: "Righteous", sans-serif;
}

.vraag label input[type="radio"] {
  margin-right: 8px;
  accent-color: #0b8067;
}

.submit-btn {
  background-color: #0b8067;
  color: white;
  border: none;
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-family: "Righteous", sans-serif;
  font-size: 0.9em;
  margin-top: 10px;
}

.submit-btn:hover {
  background-color: #007057;
}
footer {
  background-color: #007057;
  height: 60px;
  margin-top: 6%;
}

@media (max-width: 2000px) {
  .questions-grid {
    display: block;
    position: relative;
  }

  .vraag {
    display: none;
    padding: 16px;
  }

  .vraag.actief {
    display: block;
  }

  .navigatie {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: #f0faf7;
    margin: 0 16px 20px 16px;
    border-radius: 8px;
  }

  .nav-btn {
    background-color: #0b8067;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 1.2em;
    cursor: pointer;
    font-family: "Righteous", sans-serif;
  }

  .nav-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
  }

  .vraag-teller {
    color: #0b8067;
    font-family: "Righteous", sans-serif;
    font-size: 0.95em;
  }
  footer {
    display: none;
}
}




@media (min-width: 2001px) {
  .navigatie {
    display: none;
  }

} 