:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  background-color: light-dark(#f1f1f1, #0e0e0e);
  font-family: Raleway, Arial, Helvetica, sans-serif;
}

a[target="_blank"]::after {
  content: " ↗";
}

#quiz {
  background-color: light-dark(white, black);
  margin: 100px auto;
  padding: 40px;
  width: 70%;
  min-width: 300px;
}

h1 {
  text-align: center;  
}

input {
  padding: 10px;
  width: 100%;
  font-size: 17px;
  border: 1px solid light-dark(#aaa, #555);
}

/* Mark input boxes that gets an error on validation: */
input.invalid {
  background-color: light-dark(#fdd, #200);
}

/* Hide all steps by default: */
.tab {
  display: none;
}

button {
  background-color: royalblue;
  color: light-dark(white, black);
  border: none;
  padding: 10px 20px;
  font-size: 17px;
  cursor: pointer;
}

button:hover {
  opacity: 0.8;
}

#prevBtn {
  background-color: light-dark(#bbb, #444);
}

/* Make circles that indicate the steps of the form: */
.step {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: light-dark(#bbb, #444);
  border: none;  
  border-radius: 50%;
  display: inline-block;
  opacity: 0.5;
}

.step.active {
  opacity: 1;
}

/* Mark the steps that are finished and valid: */
.step.finish {
  background-color: light-dark(#04AA6D, #26CC8F);
}

.overflow-auto {
  overflow: auto;
}

.float-right {
  float: right;
}

.feedback {
  color: light-dark(maroon, #f77777);
  font-size: 1.2em;
  font-weight: bold;
}

.steps {
  text-align: center;
  margin-top: 40px;
}