/* Import fonts */
@font-face {
  font-family: 'Cigaar';
  src: url('../assets/fonts/Cigaar.woff2') format('woff2'),
       url('../assets/fonts/Cigaar.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
/* Roboto */

/* Set root variables */
:root {
  --licht-blauw: #3494c9;
  --blauw: #233362;
  --wit: #ffffff;
  --rood: #dd2821;
}

body {
  font-family: 'Roboto', sans-serif;
  color: var(--blauw, #233362);
  font-size: 24px;
  font-weight: 300;
}

.blauw-achtergrond {
  background-color: var(--licht-blauw, #3494c9);
}

.rood-achtergrond {
  background-color: var(--rood, #dd2821);
}

.wit-achtergrond {
  background-color: var(--wit, #ffffff);
}

.requiredstar::after {
	content: '*';
	font-family: 'Courier';
	color: red;
	font-weight: bold;
}

.error {
	font-weight: bold;
	color: red;
}

h1, h2 {
  font-size: 45px;
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 50px;
  color: var(--blauw, #233362);
  font-family: 'Cigaar', sans-serif;
}

#results h2 {
  margin-top: 10px;
}

#results h1 {
  color: var(--wit, #ffffff);
}

.header h1, .header h2 {
  margin-top: 0;
  padding: 50px 0px 25px 0px;
}

form {
  margin-top: 50px;
}

p {
  line-height: 25px;
}

.svg-image {
  height: 285px;
  position: absolute;
  bottom: 0;
  transition: ease-in-out;
  -webkit-transition: ease-in-out;
  -moz-transition: ease-in-out;
  -ms-transition: ease-in-out;
  -o-transition: ease-in-out;
  transition-duration: 2s;
}

.right {
  right: 0;
}

.left {
  left: 0;
}

.svg-image.hidden.right {
  right: -100%;
}

.svg-image.hidden.left {
  left: -100%;
}

object.mirrored {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
}

section {
  position: relative;
}

input, button, .keuze label, a.keuze {
  background-color: transparent;
  color: var(--blauw, #233362);
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  border: 3px solid var(--blauw, #233362);
  padding: 10px;
  margin-bottom: 20px;
}

a.keuze {
  text-decoration: none;
}

.float-left {
  float: left;
}

.float-right {
  float: right;
}

button {
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
}

button:disabled {
  opacity: 0.5;
}

input:focus, button:focus {
  outline: none;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: var(--wit, #ffffff);
  color: var(--blauw, #233362);
  font-size: 16px;
}

footer div.container {
  padding: 10px;
}

img.logo {
  margin-left: 25px;
}

input::placeholder {
  color: var(--wit, #ffffff);
}

.progress-bar {
  width: 90%;
  margin-bottom: 25px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  margin-left: auto;
  margin-right: auto;
}

.progress-start {
  font-size: 20px;
}

.svg-image.big {
  height: 275px;
}

/* Create .svg-image.big for mobile layout */
@media (max-width: 768px) {
  .svg-image.big {
    height: 200px;
  }
}

.progress {
  width: 100%;
  position: relative;
  box-sizing: border-box;
  border: 3px solid var(--blauw, #233362);
  height: 15px;
  margin-left: 10px;
  margin-right: 10px;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
}

.progress .not-done {
  background-color: var(--wit, #ffffff);
  height: 100%;
}

.progress .done {
  background-color: var(--licht-blauw, #3494c9);
  height: 100%;
}

.keuze input {
  display: none;
}

/* .keuze:hover {
  background-color: var(--licht-blauw, #3494c9);
} */

.keuze, .keuze label, button#start {
  cursor: pointer;
}

button#start:disabled {
  cursor: not-allowed;
  pointer-events: none;
}

button#start:hover {
  background-color: var(--rood, #dd2821);
}

.keuze label {
  width: 100%;
  height: 100%;
  display: block;
  padding: 10px;
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

.keuze:has(input[checked]) {
  background-color: var(--rood);
}

.keuze:has(input[checked]) label {
  color: var(--wit);
}

h3 {
  margin-bottom: 10px;
}

.copyright a {
  font-size: 15px;;
}

div.container {
  max-width: 540px;
}

.download-pdf {
  color: var(--wit, #ffffff);
  background-color: var(--rood, #dd2821);
  border: 2px solid var(--licht-blauw, #3494c9);
  width: 150px;
  aspect-ratio: 2 / 1;
  padding: 10px;
  cursor: pointer;
  font-size: 18px;
  margin-bottom: 5px;
}

.download-pdf p {
  line-height: 1;
}

.vragenlijstStyling input, .vragenlijstStyling button, .vragenlijstStyling .keuze label, .vragenlijstStyling a.keuze {
  color: var(--blauw, #233362);
  border: 3px solid var(--blauw, #233362);
}

.vragenlijstStyling p {
  color: var(--blauw, #233362);
}

.header.rood-achtergrond h1, .header.rood-achtergrond h2 {
  color: var(--wit, #ffffff);
}