/*********/
/* fonts */
/*********/
@font-face {
  font-family: "SeverancetheSequel";
  src: url("fonts/SeverancetheSequel.woff") format("woff");
}
@font-face {
  font-family: "ChunkReThunk";
  src: url("fonts/ChunkReThunk.woff") format("woff");
}
@font-face {
  font-family: "ProximaNova-Reg";
  src: url("fonts/ProximaNova.woff") format("woff");
}
/*******************/
/* utility classes */
/*******************/
.content-container {
  position: var(--position, relative);
  padding: 0 var(--basis-marge);
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--bg-color, transparent);
}

.spreek-wolk {
  position: relative;
  width: 100%;
  max-width: 28rem;
  margin: var(--basis-marge) 0;
  padding: var(--basis-marge);
  background-color: var(--bg-color, white);
  border-radius: 1.25rem;
  color: var(--clr, var(--main-color));
}

.spreekWolkStreepje::after {
  content: "";
  position: absolute;
  top: calc(100% + 0.25em);
  left: var(--left, 0.25em);
  width: 2em;
  height: 3em;
  background-color: var(--bg-color, white);
  clip-path: polygon(50% 0, 100% 100%, 0 100%, 50% 0);
}
@media (min-width: 40em) {
  .spreekWolkStreepje::after {
    top: calc(100% + 0.5em);
  }
}

/**********/
/* remedy */
/**********/
*, *::before, *::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/**********************/
/* custom properties  */
/**********************/
:root {
  /* kleurtjes */
  --main-color:#0a6082;
  --second-color:#3b7a10;
  --accent-color:#ffcc00;
  --alert-color:#cc0000;
  --neutral-background-color:#57a1cd;
  --light-background-color:#d4e4ef;
  /* maten */
  --help-hoogte:100vh;
  --basis-marge:min(calc(1rem + 1.33vw), 2rem);
  /* tijd */
  --basis-tijd:.5s;
  /* fonts */
  --kopgrootte:clamp(1.125rem, 3.333vw, 1.375rem);
  /* header */
  --header-link-bg:#fff8;
  --header-link-done-bg:#fff;
}
@media (prefers-reduced-motion: reduce) {
  :root {
    --basis-tijd:5s;
  }
}

/**********/
/* basics */
/**********/
html {
  height: 100%;
  overflow-x: hidden;
}

body {
  height: 100%;
  overflow-x: hidden;
  background-image: linear-gradient(var(--neutral-background-color), var(--light-background-color) 70%);
  background-attachment: fixed;
  font-family: ProximaNova-Reg;
  color: var(--main-color);
}

h1 {
  font: normal var(--kopgrootte) SeverancetheSequel;
}

h2 {
  font-size: 1.125rem;
}

ul {
  list-style: none;
}

[type=text],
[type=search],
[type=button],
button {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: none;
  outline: none;
}

[type=button]:not(:disabled),
button:not(:disabled) {
  cursor: pointer;
}

a {
  text-decoration: none;
  outline: none;
  color: var(--accent-color);
}
a:hover, a:focus {
  text-decoration: underline;
}

/*********************************/
/* header including sequence map */
/*********************************/
body > header {
  position: relative;
  display: grid;
  justify-items: center;
}

/* logo */
body > header > img {
  width: 7.25em;
  margin: 0.75em 0 0.25em;
}

/* sequence map */
body > header nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: calc(var(--basis-marge) / 3);
}

body > header a {
  position: relative;
  width: 2.5em;
  aspect-ratio: 1/1;
  background-color: var(--header-link-bg);
  background-position: center;
  background-size: 1.5rem;
  background-repeat: no-repeat;
  border-radius: 50%;
  line-height: 2.5em;
  text-align: center;
  color: currentColor;
  transition: border-radius var(--basis-tijd);
  /* statussen */
  /* icons */
  /* de prijs/kassa */
}
body > header a span {
  display: none;
}
body > header a[aria-current=page] {
  text-decoration: none;
  background-color: var(--main-color);
  background-image: url("../images/cow-right.png");
  background-position: 1rem 0.5rem;
  background-size: 4rem;
}
body > header a.spreekWolkStreepje::after {
  --bg-color:var(--main-color);
}
body > header a.complete {
  background-color: var(--header-link-done-bg);
}
body > header a:focus, body > header a:hover:not([aria-current=page]) {
  border-radius: 10%;
}
body > header a:nth-child(1) {
  background-image: url(../images/icon-doos.svg);
}
body > header a:nth-child(2) {
  background-image: url(../images/icon-color.svg);
}
body > header a:nth-child(4) {
  background-image: url(../images/icon-text.svg);
}
body > header a:nth-child(5) {
  background-image: url(../images/icon-surprise.svg);
}
body > header a:nth-child(6) span:last-child {
  display: block;
}

@media (min-width: 38em) and (min-height: 52rem) {
  /* sequence map */
  body > header a {
    /* statussen */
  }
  body > header a.spreekWolkStreepje::after {
    content: none;
  }
}
@media (min-width: 48em) and (min-height: 52rem) {
  body > header {
    min-height: 4.5rem;
    display: grid;
    grid-template-columns: max-content 1fr clamp(6rem, 15vw, 13.75rem);
    background: var(--main-color);
  }
  /* logo */
  body > header img {
    margin: 0.5rem 0.5rem 0.25rem;
    width: 12.75rem;
  }
  /* sequence map */
  body > header nav {
    gap: calc(var(--basis-marge) / 1.5);
  }
  body > header a {
    width: auto;
    aspect-ratio: unset;
    padding: 1.75rem 0 0;
    background-color: transparent;
    background-position: center top;
    border-radius: 0;
    opacity: 0.5;
    font-size: clamp(0.75rem, 1.25vw, 1em);
    line-height: 1em;
    color: white;
    /* statussen */
    /* icons */
  }
  body > header a span {
    display: block;
  }
  body > header a[aria-current=page] {
    color: var(--accent-color);
    background-color: transparent;
    background-position: center top;
    background-size: 1.5rem;
    opacity: 1;
  }
  body > header a.complete {
    background-color: transparent;
    opacity: 1;
  }
  body > header a:nth-child(1) {
    background-image: url(../images/icon-doos-white.svg);
  }
  body > header a:nth-child(2) {
    background-image: url(../images/icon-color-white.svg);
  }
  body > header a:nth-child(3) {
    background-image: url(../images/icon-smaak-yellow.svg);
  }
  body > header a:nth-child(4) {
    background-image: url(../images/icon-text-white.svg);
  }
  body > header a:nth-child(5) {
    background-image: url(../images/icon-surprise-white.svg);
  }
  body > header a:nth-child(6) {
    background-image: url(../images/icon-wallet-white.svg);
  }
}
@media (min-width: 64em) and (min-height: 52rem) {
  /* sequence map */
  body > header a,
body > header a[aria-current=page] {
    padding: 0 0 0 1.875rem;
    font-family: SeverancetheSequel;
    text-align: left;
    background-position: left center;
  }
}
/********/
/* help */
/********/
body > form {
  --left-ws:clamp(3.5rem, 20vw, 8rem);
  position: fixed;
  inset: 0;
  padding: 2.5rem var(--basis-marge) 0 var(--left-ws);
  z-index: 1000;
  display: grid;
  grid-template-columns: auto min-content;
  place-content: start;
  column-gap: calc(var(--basis-marge) / 4);
  background-color: var(--second-color);
  background-image: url(../images/cow-left.png);
  background-position: calc(var(--left-ws) - 11rem) 2rem;
  background-size: 10rem auto;
  background-repeat: no-repeat;
  transform: translateY(-100%);
  transition: transform 0.5s;
  overscroll-behavior: contain;
}

body.help > form {
  transform: translateY(0);
}

body > form label {
  grid-column: 1/-1;
  color: white;
}

body > form input[type=search] {
  width: 100%;
  max-width: 28rem;
  padding: 0 0.5rem;
  font: inherit;
  line-height: 2.5rem;
  background: white;
  border-radius: 0.5rem;
}

body > form a {
  grid-column: 1/-1;
  margin-top: 0.5rem;
  color: var(--accent-color);
}

/* help open */
body > form > button[type=button]:first-of-type {
  position: absolute;
  top: 100%;
  right: var(--basis-marge);
  width: 4.5rem;
  height: 1.5rem;
  display: grid;
  place-items: start center;
  background-color: var(--second-color);
  background-image: url(../images/down.svg);
  background-position: bottom center;
  background-size: 1rem;
  background-repeat: no-repeat;
  font-size: 0.8rem;
  color: white;
  clip-path: circle(2.25rem at 50% -0.75rem);
}

/* help close */
body > form > button[type=button]:last-of-type {
  position: absolute;
  top: calc(var(--basis-marge) / 2);
  right: calc(var(--basis-marge) / 2);
  width: 2rem;
  aspect-ratio: 1/1;
  background-image: url(../images/close.svg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* help zoeken */
body > form button[type=submit] {
  width: 3.75rem;
  line-height: 2.5rem;
  background-image: url(../images/zoeken.svg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

@media (min-width: 30em) and (min-height: 52em) {
  body > form {
    box-shadow: 0 0.25em 0 rgba(0, 3, 6, 0.25);
    transform: translateY(calc(-100% - 1.5em));
    transition: 1s;
  }
  /* help open */
  @keyframes helpButton {
    0% {
      transform: rotate(-2deg);
    }
    100% {
      transform: rotate(2deg);
    }
  }
  body > form > button[type=button]:first-of-type {
    top: calc(100% + 2.75rem);
    right: calc(var(--basis-marge) / 2);
    width: 2rem;
    height: 2rem;
    align-items: center;
    font-family: ProximaNova-Reg;
    font-size: 0.75em;
    color: maroon;
    background: url("../images/hout.png") center/cover;
    border-radius: 50%;
    box-shadow: inset 0.125rem 0.125rem 0.125rem rgba(255, 255, 204, 0.75), inset 0.25rem 0.25rem 0.25rem rgba(255, 255, 204, 0.5), inset -0.125rem -0.125rem 0.125rem rgba(102, 51, 0, 0.75), inset -0.25rem -0.25rem 0.25rem rgba(102, 51, 0, 0.5), 0.1rem 0.1rem rgba(0, 3, 6, 0.25), 0.125rem 0.125rem 0.125rem 0.0625rem rgba(0, 3, 6, 0);
    clip-path: unset;
    overflow: visible;
    transform-origin: center -3rem;
    animation: helpButton 3s ease-in-out infinite alternate;
  }
  /* gaatje */
  body > form > button[type=button]:first-of-type::before {
    content: "";
    position: absolute;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    background-color: black;
    background-image: radial-gradient(closest-side, black 50%, transparent 50%), conic-gradient(from 135deg, #bd9, #3b7a10 60deg, #021 150deg 210deg, #3b7a10 300deg, #bd9);
    top: calc(-4.25rem + 2px);
    pointer-events: none;
  }
  /* touwtje */
  body > form > button[type=button]:first-of-type::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 3.5rem;
    background-color: currentColor;
    bottom: 100%;
    border-radius: 1px 1px 0 0;
    box-shadow: 0.175rem 0 0 rgba(0, 3, 6, 0.25);
    pointer-events: none;
  }
  /* help close */
  body > form > button[type=button]:last-of-type {
    top: 1.25rem;
    right: calc(var(--basis-marge) / 2);
  }
}
/********/
/* main */
/********/
/****************/
/* main header */
/****************/
main > header.spreek-wolk {
  --bg-color:var(--main-color);
  --clr:white;
}
@media (min-width: 30em) {
  main > header.spreek-wolk {
    text-align: center;
  }
}
@media (min-width: 38em) and (min-height: 52em) {
  main > header.spreek-wolk {
    --bg-color:transparent;
    --clr:var(--main-color);
    padding: 0;
  }
}
@media (min-width: 62em) and (min-height: 52em) {
  main > header.spreek-wolk {
    position: absolute;
    left: var(--basis-marge);
    top: var(--basis-marge);
    max-width: 24rem;
    margin: 0;
    text-align: left;
  }
}

main > header p {
  margin-top: calc(var(--basis-marge) / 2);
  padding-top: calc(var(--basis-marge) / 2);
  line-height: 1.5em;
  border-top: solid 1px rgba(255, 255, 255, 0.25);
}
main > header p span {
  display: inline-block;
  width: 1em;
  height: 1em;
  padding-left: 1em;
  transform: translateY(0.125rem);
  overflow: hidden;
  background-size: 1em;
}
main > header p span:first-of-type {
  background-image: url("../images/plus.svg");
}
main > header p span:last-of-type {
  background-image: url("../images/min.svg");
}
@media (min-width: 38em) and (min-height: 52em) {
  main > header p {
    margin-top: 0;
    padding-top: 0;
    border: none;
    color: black;
    overflow: hidden;
  }
  main > header p a {
    color: var(--main-color);
  }
}

/*************/
/* de ijsjes */
/*************/
#ijsvoorraad {
  --ijsjesMaat:10em;
  user-select: none;
}

#ijsvoorraad > ul {
  max-width: 27em;
  margin: 0 auto;
  padding-bottom: 3em;
}

/*************/
/* een ijsje */
/*************/
#ijsvoorraad li {
  --ijsKolom:2fr;
  --formKolom:minmax(10.5rem, 3fr);
  justify-self: center;
  padding: var(--basis-marge) 0;
  display: grid;
  justify-items: center;
  row-gap: calc(var(--basis-marge) / 2);
  border-bottom: dotted 5px var(--main-color);
}
#ijsvoorraad li:nth-of-type(odd) {
  grid-template-columns: var(--ijsKolom) var(--formKolom);
  grid-template-areas: "a b" "a c";
}
#ijsvoorraad li:nth-of-type(even) {
  grid-template-columns: var(--formKolom) var(--ijsKolom);
  grid-template-areas: "b a" "c a";
}

/* naam van ijsje */
#ijsvoorraad h2 {
  grid-area: b;
  align-self: flex-end;
  padding: 0 calc(var(--basis-marge) / 2);
  text-align: center;
}

/* image of ijsje */
#ijsvoorraad img {
  grid-area: a;
  width: 100%;
  max-width: var(--ijsjesMaat);
}

/* bevat noten */
#ijsvoorraad p {
  grid-area: a;
  align-self: flex-end;
  justify-content: center;
  width: 6.75rem;
  height: 2rem;
  padding: 0.2rem 0.2em 0.2em 2.25rem;
  font-size: 0.8rem;
  line-height: 1em;
  text-align: left;
  color: black;
  background: white url(../images/nuts.svg) 0.25rem center/1.75rem no-repeat;
  box-shadow: 0 0.125rem 0.125rem rgba(0, 0, 0, 0.25);
}
li:nth-of-type(odd) p {
  transform: perspective(20rem) rotateX(10deg) rotateY(-20deg) rotateZ(10deg) translateX(-1em);
}

li:nth-of-type(even) p {
  transform: perspective(20rem) rotateX(10deg) rotateY(20deg) rotateZ(-10deg) translateX(1em);
}

/* controls voor ijsje */
#ijsvoorraad form {
  --form-maat:min(17vw, 4rem);
  grid-area: c;
  align-self: flex-start;
  display: flex;
  justify-content: center;
}

/* plus en min */
[type=button] {
  display: inline-block;
  width: var(--form-maat);
  height: var(--form-maat);
  padding-left: var(--form-maat);
  overflow: hidden;
  background-size: contain;
}
[type=button][value=min] {
  background-image: url(../images/min.svg);
}
[type=button][value=plus] {
  background-image: url(../images/plus.svg);
}
[type=button]:focus-visible {
  filter: drop-shadow(0 0 0.5em var(--main-color));
}
[type=button]:disabled {
  filter: grayscale(0.9) brightness(1.25);
}

/* counter per ijsje */
output {
  display: inline-block;
  min-width: var(--form-maat);
  height: var(--form-maat);
  line-height: var(--form-maat);
  font-family: ChunkReThunk;
  font-size: 2.75em;
  text-align: center;
  letter-spacing: 1px;
  color: black;
}
output::after {
  content: "x";
  font-size: 0.5em;
}
.lekker output {
  opacity: 1;
}
output.veel {
  font-size: 2.25em;
  letter-spacing: 0px;
}
output.heel.veel {
  font-size: 2.125em;
  letter-spacing: -1px;
}
output.super.heel.veel {
  font-size: 1.75em;
  letter-spacing: -2px;
}
[disabled] + output {
  opacity: 0.5;
}

/* traan */
@keyframes traan {
  0% {
    transform: translateX(calc(var(--traan-maat) * var(--t-base) * var(--tx))) translateY(calc(var(--traan-maat) * var(--t-base) * var(--ty) * 0.5)) scale(0) rotate(calc(45deg + var(--tx) * 7.5deg));
    opacity: 0;
    animation-timing-function: ease-out;
  }
  8%, 35% {
    transform: translateX(calc(var(--traan-maat) * var(--t-base) * var(--tx))) translateY(calc(var(--traan-maat) * var(--t-base) * var(--ty) * 0.5)) scale(var(--sc)) rotate(calc(45deg + var(--tx) * 7.5deg));
    opacity: 1;
    animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }
  100% {
    transform: translateX(calc(var(--traan-maat) * var(--t-base) * var(--tx) * 0.25)) translateY(calc(var(--traan-maat) * var(--t-base) * 4)) scale(var(--sc)) rotate(calc(45deg + var(--tx) * 7.5deg));
    opacity: 0.5;
  }
}
#ijsvoorraad li div {
  --traan-maat:min(10vw, 2.5em);
  --t-base:.67;
  --clr-gezicht:var(--clr-gezicht-cust, var(--main-color));
  --bg-gezicht:var(--bg-gezicht-cust, #cffd, #09c);
  --highlight-gezicht:var(--highlight-gezicht-cust, #fff9);
  --schaduw-gezicht:var(--schaduw-gezicht-cust, #0699);
  z-index: 500;
  grid-area: a;
  margin-top: 65%;
  width: var(--traan-maat);
  aspect-ratio: 1/1;
  display: grid;
  place-items: end;
  background-image: radial-gradient(circle at 20% 40%, var(--bg-gezicht));
  border-radius: 0 100% 40% 60%/0 60% 40% 100%;
  box-shadow: inset calc(var(--traan-maat) * -0.125) calc(var(--traan-maat) * -0.08) calc(var(--traan-maat) * 0.1) var(--schaduw-gezicht), inset calc(var(--traan-maat) * 0.08) calc(var(--traan-maat) * -0.125) calc(var(--traan-maat) * 0.1) var(--highlight-gezicht), calc(var(--traan-maat) * 0.06) calc(var(--traan-maat) * 0.02) calc(var(--traan-maat) * 0.1) rgba(0, 0, 0, 0.8);
  opacity: 0;
  pointer-events: none;
  user-select: none;
  animation: traan calc(var(--basis-tijd) * var(--ad) * 2.5) both;
}

#ijsvoorraad li div.traan1 {
  animation-delay: calc(var(--basis-tijd) * 0.2);
}

#ijsvoorraad li div.traan2 {
  animation-delay: calc(var(--basis-tijd) * 0.4);
}

#ijsvoorraad li div.traan3 {
  animation-delay: calc(var(--basis-tijd) * 0.6);
}

#ijsvoorraad li div.traan4 {
  animation-delay: calc(var(--basis-tijd) * 0.8);
}

#ijsvoorraad li div::after {
  content: "";
  position: relative;
  width: 75%;
  height: 75%;
  transform: rotate(-45deg);
  background: conic-gradient(at -100% 100%, transparent 18%, var(--clr-gezicht) 18.5% 20.5%, transparent 21%) 20% 5%/25% 25% no-repeat, conic-gradient(at 200% 100%, transparent 79%, var(--clr-gezicht) 78.5% 81.5%, transparent 82%) 80% 5%/25% 25% no-repeat, radial-gradient(closest-side, transparent 33%, var(--clr-gezicht) 34% 99%, transparent 100%) 30% 25%/20% 20% no-repeat, radial-gradient(closest-side, transparent 33%, var(--clr-gezicht) 34% 99%, transparent 100%) 70% 25%/20% 20% no-repeat, rgba(255, 0, 255, 0) radial-gradient(farthest-side at center 200%, transparent 70%, var(--clr-gezicht) 51% 99%, transparent 100%) 50% 65%/50% 9% no-repeat;
}

@media (min-width: 26em) and (min-height: 52em) {
  #ijsvoorraad li div {
    --t-base:.75;
  }
}
@media (min-width: 38em) and (min-height: 52em) {
  #ijsvoorraad li div {
    --t-base:1;
    position: absolute;
    left: calc(50% - var(--traan-maat) / 2);
    margin-top: 75%;
  }
}
/* carrousel */
@media (min-width: 38em) and (min-height: 52em) {
  /* de ijsjes */
  #ijsvoorraad {
    --carrouselChromeHeight:22.95rem;
    --carrouselStraal:calc(var(--ijsjesMaat) * 2.2875);
    --carrouselHoek:0;
    --ijsjesMaat:14em;
    height: calc(100vh - var(--carrouselChromeHeight));
  }
  #ijsvoorraad ul {
    display: block;
    max-width: none;
    height: 100%;
    margin: 0;
    padding: 0;
    perspective-origin: center calc(-100vh + var(--ijsjesMaat) * 1.6448214286 + var(--carrouselChromeHeight));
    perspective: calc(var(--carrouselStraal) * 2);
    transform-style: preserve-3d;
  }
  /* een ijsje */
  #ijsvoorraad li {
    --ijsjehoek:calc( (var(--carrouselHoek) + var(--ijsjeBasisHoek)) * 30deg );
    position: absolute;
    display: block;
    width: var(--ijsjesMaat);
    padding: 0;
    left: calc(50% - var(--ijsjesMaat) / 2);
    bottom: 0em;
    border: none;
    transform: translateZ(calc(var(--carrouselStraal) * -1)) rotateY(calc(var(--ijsjehoek) * -1)) translateZ(var(--carrouselStraal)) rotateY(var(--ijsjehoek));
    transition: var(--basis-tijd) cubic-bezier(0.365, 1.09, 0.845, 1.065);
  }
  #ijsvoorraad li:nth-of-type(1) {
    --ijsjeBasisHoek: 1 - 1;
  }
  #ijsvoorraad li:nth-of-type(2) {
    --ijsjeBasisHoek: 2 - 1;
  }
  #ijsvoorraad li:nth-of-type(3) {
    --ijsjeBasisHoek: 3 - 1;
  }
  #ijsvoorraad li:nth-of-type(4) {
    --ijsjeBasisHoek: 4 - 1;
  }
  #ijsvoorraad li:nth-of-type(5) {
    --ijsjeBasisHoek: 5 - 1;
  }
  #ijsvoorraad li:nth-of-type(6) {
    --ijsjeBasisHoek: 6 - 1;
  }
  #ijsvoorraad li:nth-of-type(7) {
    --ijsjeBasisHoek: 7 - 1;
  }
  #ijsvoorraad li:nth-of-type(8) {
    --ijsjeBasisHoek: 8 - 1;
  }
  #ijsvoorraad li:nth-of-type(9) {
    --ijsjeBasisHoek: 9 - 1;
  }
  #ijsvoorraad li:nth-of-type(10) {
    --ijsjeBasisHoek: 10 - 1;
  }
  #ijsvoorraad li:nth-of-type(11) {
    --ijsjeBasisHoek: 11 - 1;
  }
  #ijsvoorraad li:nth-of-type(12) {
    --ijsjeBasisHoek: 12 - 1;
  }
  #ijsvoorraad h2 {
    position: fixed;
    left: -9999em;
  }
  /* ijsje image */
  #ijsvoorraad img {
    position: relative;
    z-index: 5;
    cursor: pointer;
  }
  /* bevat noten */
  #ijsvoorraad li:nth-of-type(odd) > p,
#ijsvoorraad li:nth-of-type(even) > p {
    position: absolute;
    width: 8.25rem;
    height: 2.5rem;
    left: calc(50% - 4.125rem);
    bottom: 0;
    padding-top: 0.35rem;
    padding-left: 3rem;
    z-index: 5;
    font-size: 0.9rem;
    background-size: 2.5rem;
    opacity: 0;
    transform-origin: center center -7em;
    transform: perspective(20rem) translateY(-13.75em) rotateY(-120deg) rotateZ(45deg) scale(0.5);
    transition: all var(--basis-tijd);
  }
  #ijsvoorraad li[data-index="1"] > p {
    opacity: 1;
    transform: perspective(20rem) translateY(-3.5em) rotateY(-15deg) rotateZ(10deg) scale(0.75);
    transition: all var(--basis-tijd), opacity calc(var(--basis-tijd) / 2);
  }
  /* plus en min */
  #ijsvoorraad li form {
    flex-direction: row;
  }
  [type=button] {
    transition: calc(var(--basis-tijd) * 3 / 4);
  }
  [type=button][value=min] {
    transform: translate(6em, -6em) scale(0.1) rotate(180deg);
  }
  [type=button][value=plus] {
    transform: translate(-6em, -6em) scale(0.1) rotate(-180deg);
  }
  li[data-index="1"] [type=button] {
    transform: translateY(0) scale(1) rotate(0deg);
  }
  /* counter per ijsje */
  output {
    transform: translateY(-0.75rem) scale(0.75);
    transition: transform calc(var(--basis-tijd) * 3 / 4) ease-in, opacity var(--basis-tijd) ease-in;
  }
  [disabled] + output {
    transform: translateY(-5rem) scale(0.5);
  }
  [data-index="1"] output {
    transform: translateY(0) scale(1);
  }
  [data-index="2"] output, [data-index="12"] output {
    opacity: 0.8;
  }
  [data-index="3"] output, [data-index="11"] output {
    opacity: 0.72;
  }
  [data-index="4"] output, [data-index="10"] output {
    opacity: 0.64;
  }
  [data-index="5"] output, [data-index="9"] output {
    opacity: 0.56;
  }
  [data-index="6"] output, [data-index="8"] output {
    opacity: 0.48;
  }
  [data-index="7"] output {
    opacity: 0.4;
  }
}
@media (min-width: 48em) and (min-height: 52em) {
  /* de ijsjes */
  #ijsvoorraad {
    --carrouselChromeHeight:22em;
  }
}
@media (min-width: 62em) and (min-height: 52em) {
  /* de ijsjes */
  #ijsvoorraad {
    --carrouselChromeHeight:19em;
    --ijsjesMaat:16em;
    margin-top: 6em;
  }
}
/*************************/
/* draai links en rechts */
/*************************/
#ijsvoorraad > button {
  display: none;
}

@media (min-width: 38em) and (min-height: 52em) {
  #ijsvoorraad > button {
    position: absolute;
    display: block;
    bottom: 2em;
    width: 6rem;
    height: 3.5rem;
  }
  #ijsvoorraad > button:first-of-type {
    right: calc(50% + 12rem);
    background: url("../images/to-the-left.png") center/cover no-repeat;
    transform: perspective(10em) rotateX(52.5deg) rotateZ(22.5deg);
  }
  #ijsvoorraad > button:last-of-type {
    left: calc(50% + 12rem);
    background: url("../images/to-the-right.png") center/cover no-repeat;
    transform: perspective(10em) rotateX(52.5deg) rotateZ(-22.5deg);
  }
}
@media (min-width: 48em) and (min-height: 52em) {
  #ijsvoorraad > button {
    bottom: 2.5em;
  }
  #ijsvoorraad > button:first-of-type {
    right: calc(50% + 15rem);
  }
  #ijsvoorraad > button:last-of-type {
    left: calc(50% + 15rem);
  }
}
@media (min-width: 62em) and (min-height: 52em) {
  #ijsvoorraad > button {
    bottom: 3em;
  }
  #ijsvoorraad > button:first-of-type {
    right: calc(50% + 18rem);
  }
  #ijsvoorraad > button:last-of-type {
    left: calc(50% + 18rem);
  }
}
/*******************/
/* de uitdeeldozen */
/*******************/
#dedozen {
  --position:fixed;
  --bg-color:var(--second-color);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 750;
  transform: translateY(calc(100% - 3rem));
  transition: transform 0.5s;
}
#dedozen::before {
  content: "";
  position: absolute;
  height: 1.525rem;
  left: 0;
  right: 0;
  top: -1.45rem;
  background: url(../images/gras.png) center top/auto 1.525rem;
}
.toonSelectie #dedozen {
  transform: translateY(0);
}

#dedozen header {
  align-self: stretch;
  text-align: center;
  /* het handvat */
}
#dedozen header::before {
  --selectieHandvatMaat:4.5em;
  content: "";
  position: absolute;
  width: var(--selectieHandvatMaat);
  height: calc(var(--selectieHandvatMaat) * 0.4);
  top: calc(var(--selectieHandvatMaat) * -0.39);
  left: calc(50% - var(--selectieHandvatMaat) * 0.5);
  background: var(--second-color) url(../images/down.svg) center/1rem no-repeat;
  border-radius: 0 0 50% 50%/0 0 100% 100%;
  transform: rotate(180deg);
  cursor: pointer;
}
.toonSelectie #dedozen header::before {
  background-image: url(../images/close.svg);
}

#dedozen p {
  display: inline-block;
  position: relative;
  line-height: 3rem;
  padding-left: 2.25rem;
  background: url(../images/dedozen.svg) left center/2rem no-repeat;
  color: white;
}
#dedozen p::after {
  --bg-color:white;
  left: -0.25em;
}

#dedozen ul {
  --bg-color:white;
}

#dedozen li {
  display: grid;
  grid-template-columns: 2em 1fr;
  grid-gap: 0.5rem;
  align-items: center;
}

/* aantal */
#dedozen li span:first-child {
  display: inline-block;
  font-family: ChunkReThunk;
  color: black;
  text-align: right;
  font-size: 1.375em;
}
#dedozen li span:first-child::after {
  content: "x";
  font-size: 0.5em;
}

/* smaak */
#dedozen li span:last-child {
  display: inline-block;
  min-height: 2rem;
  padding: 0.75em 0 0.75em 2.25rem;
  font-size: 1.125rem;
  font-weight: bold;
  text-align: left;
  background: url("../images/ice-vanilla.png") left center/2rem auto no-repeat;
}

/*******/
/* nav */
/*******/
body > nav {
  display: none;
}

/**********/
/* wolken */
/**********/
.wolk {
  display: none;
}

@media (min-width: 32em) {
  @keyframes wolk {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(100vw);
    }
  }
  .wolk {
    position: fixed;
    display: block;
    background: center center/contain no-repeat;
    pointer-events: none;
  }
  #wolk1 {
    width: 396px;
    height: 233px;
    left: -198px;
    top: 14em;
    background-image: url(../images/wolk1.png);
    animation: wolk 900s 0s ease-in-out infinite alternate;
  }
  #wolk2 {
    width: 357px;
    height: 200px;
    left: -178.5px;
    top: 1em;
    background-image: url(../images/wolk2.png);
    animation: wolk 720s -855s ease-in-out infinite alternate;
  }
  #wolk3 {
    width: 254px;
    height: 195px;
    left: -127px;
    top: 15rem;
    background-image: url(../images/wolk3.png);
    animation: wolk 540s -765s ease-in-out infinite alternate;
  }
  #wolk4 {
    width: 164px;
    height: 128px;
    left: -82px;
    top: 28em;
    background-image: url(../images/wolk4.png);
    animation: wolk 360s -405s ease-in-out infinite alternate;
  }
}