	body {
    background: #fdf2df;
    padding: 0px;
    margin: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    -webkit-touch-callout: none; /* Safari */
    -webkit-user-select: none; /* Chrome */     
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; 
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-tap-highlight-color: transparent;
    transition: 0.2s box-shadow;
    flex-direction: column;
	}

  body.disable-temporarily {
    pointer-events:none;
  }

  :root {
    --card-width: 300px;
    --card-height: 360px;
  }

  div {
    box-sizing: border-box;
  }

  .site-header{
    width: 100vw;
    background-color: #101076;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .site-sub-header{
    height: 48px;
    width: 100vw;
    background-color: #0044a8;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    position: relative
  }

  .site-footer{
    height: 48px;
    width: 100vw;
    background-color: #c4baa7;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .site-title {
    font-family: montserrat;
    font-size: 50px;
    font-weight: 600;
    cursor: pointer;
    line-height: 40px;
    color: #FFF;
    margin-top: 32px;
    margin-bottom: 0px;
  }

  .level-up-star-parent{
    width: 100px;
    height: 100px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .level-up-star {
    width: 100px;
    height: 100px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFF' viewBox='0 0 24 24'%3E%3Ctitle%3Estar%3C/title%3E%3Cpath d='M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z' /%3E%3C/svg%3E");
    animation-name: levelUp;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    transform-origin: center;
    left: 50%;
  }

  .level-star-container {
    display: flex;
    flex-direction: row;
    margin-top: 12px;
    margin-bottom: 12px;
  }

  .level-star {
    width: 26px;
    height: 26px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FFF' viewBox='0 0 24 24'%3E%3Ctitle%3Estar%3C/title%3E%3Cpath d='M12,17.27L18.18,21L16.54,13.97L22,9.24L14.81,8.62L12,2L9.19,8.62L2,9.24L7.45,13.97L5.82,21L12,17.27Z' /%3E%3C/svg%3E");
    opacity: 0.6;
  }

  .level-star.achieved {
    opacity: 1;
  }

  .site-content {
    flex: 1;
    position: relative;
    width: 100vw;
    height: calc(100vh - 168px);
    overflow: hidden;
  }

  .instructions, .start-instructions {
    font-family: Open Sans, sans-serif;
    font-size: 16px;
    text-align: center;
    line-height: 23px;
    margin-top: 24px;
    padding: 24px;
    color: #333;
    background-color: #f5f8f8;
    border-radius: 24px;
    width: 320px;
    max-width: 80vw;
    display: flex;
    flex-direction: column;
    justify-self: center;
    justify-content: center;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  }

  .language-home-container {
    display: flex;
    flex-direction: row;
    gap: 6px;
    align-self: center;
    max-height: 33px;
    margin-bottom: 12px;
    margin-top: 12px;
  }

  .language-home-container .change-language {
    display: flex;
    width: 18px;
    height: 18px;
    border-radius: 100%;
    cursor: pointer;
  }

  @keyframes dropFadeIn {
    0% {
      opacity: 0;
      transform: translateY(-30px) translateX(-50%);
    }
    100% {
      opacity: 1;
      transform: translateY(0) translateX(-50%);
    }
  }

   @keyframes riseFadeIn {
    0% {
      opacity: 0;
      transform: translateY(30px) translateX(-50%);
    }
    100% {
      opacity: 1;
      transform: translateY(0) translateX(-50%);
    }
  }

  @keyframes stageFadeIn {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  .spot-current {
    padding: 6px;
    padding-left: 18px;
    padding-right: 18px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background-color: #f5f8f8;
    border-radius: 24px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    font-family: Open Sans, sans-serif;
    font-size: 14px;
    font-weight: 600;
    display: none;
    gap: 6px;
    align-items: center;
    opacity: 1;
    transition: background-color 0.3s ease, opacity 0.2s ease;
    white-space: nowrap;
  }

  .spot-current a {
    position: absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
  }

  #help-icon {
    width: 18px;
    height: 18px;
    display: none;
    margin-right: -8px;
  }

  .spot-current.animate {
    animation: dropFadeIn 0.6s ease-out forwards;
    display:flex;
  }
  
  .spot-current svg {
    width: 18px;
    height: 18px;
  }

  .spot-helper {
    padding: 6px;
    padding-left: 18px;
    padding-right: 18px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background-color: #f5f8f8;
    border-radius: 24px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    font-family: Open Sans, sans-serif;
    font-size: 14px;
    font-weight: 600;
    display: none;
    gap: 6px;
    align-items: center;
    opacity: 1;
    transition: background-color 0.3s ease, opacity 0.2s ease;
    white-space: nowrap;
    cursor:pointer;
  }

  .spot-helper:active {
    transform: translateX(-50%) translateY(2px);
    box-shadow: rgba(50, 50, 93, 0.22) 0px 2px 5px -1px, rgba(0, 0, 0, 0.25) 0px 1px 3px -2px;
  }

  .spot-helper.animate {
    animation: riseFadeIn 0.6s ease-out forwards;
    display:flex;
  }

  .spot-current.wrong{
    background-color: #680000;
    color: #fff;
    opacity: 0;
  }

  .spot-current.correct{
    background-color: #4e8074; /* Tailwind green-500 */
    color: #FFF;
    opacity: 0;
  }

   #stage {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    animation: stageFadeIn 0.6s ease-out forwards;
  }

  #stage img {
    position: absolute;
    transform-origin: center center;
    will-change: transform;
  }

  #stage.loading{
    opacity: 0.1 !important;
    filter: blur(1px);
    pointer-events: none;
  }

  .loader {
    display: none;
    top: calc(100vh / 2 - 200px);
     position: absolute; top: calc(50% - 48px); left: 50%; transform: translate(-50%, -50%);
  }

  .item {
    position: absolute;
    will-change: transform, opacity;
    transition: transform 0.3s ease;
    top: 0;
    left: 0;
  }

  .item {
    transform-origin: center center;
    animation: grow 0.3s ease-out forwards;
    opacity: 0;
  }

  @keyframes grow {
    from { transform: scale(0.2) rotate(var(--rot)); opacity: 0; }
    to   { transform: scale(1) rotate(var(--rot)); opacity: 1; }
  }

  .item:hover{
    z-index: 999 !important;
    cursor: pointer !important;
  }

  .item img {
    display: block;
    height: auto;
    pointer-events: none;
    transition: transform 0.2s ease;
  }

  .item:hover img{
    transform: scale(1.3);
    transition: transform 0.3s ease;
  }

  .button svg {
    width: 24px;
    height: 24px;
  }

  .button {
    font-family: 'Montserrat';
    color: #F2F2F2;
    font-weight: 500;
    font-size: 16px;
    padding: 8px;
    padding-left: calc(8px * 1.5);
    padding-right: calc(8px * 1.5);
    border-radius: 360px;
    transition: 0.2s all;
    display: flex;
    cursor: pointer;
    width: fit-content;
    justify-items: center;
    align-items: center;
    position: relative;
    box-sizing: border-box;
    white-space: nowrap;
    background-color: #101076;
  }

  .button.light {
    background-color: #0044A6;
  }

  .button.grey {
    background-color: #CBD4DA;
    color:#333;
  }

  .button.grey:hover {
    color: #f5f8f8
  }

  .button:hover {
    background-color: #0044A6;
  }

  .button:active {
    transform: translateY(1px);
  }

  @keyframes shake {
    0%   { transform: translateX(0) scale(1.3); }
    15%  { transform: translateX(-6px) scale(1.3); }
    30%  { transform: translateX(6px) scale(1.3); }
    45%  { transform: translateX(-4px) scale(1.3); }
    60%  { transform: translateX(4px) scale(1.3); }
    75%  { transform: translateX(-2px) scale(1.3); }
    100% { transform: translateX(0) scale(1.3); }
  }

  .shake {
    animation: shake 0.4s ease;
  }

  @keyframes glow {
    0% {
      filter: drop-shadow(0 0 1px rgba(16, 16, 118, 0.15))
              drop-shadow(0 0 3px rgba(0, 68, 168, 0.10));
    }

    50% {
      filter: drop-shadow(0 0 12px rgba(16, 16, 118, 0.85))
              drop-shadow(0 0 26px rgba(0, 68, 168, 0.70));
    }

    100% {
      filter: drop-shadow(0 0 1px rgba(16, 16, 118, 0.15))
              drop-shadow(0 0 3px rgba(0, 68, 168, 0.10));
    }
  }

  .glow {
    animation: glow 1s ease;
  }
  
  .screen-warn {
    display: none;
    font-size: 14px;
    font-weight: 600;
    margin-top: 12px;
  }

  .screen-warning, .screen-finished {
    display: none;
  }

  .screen-warning::before, .screen-finished::before {
    content: '';
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0, 0.8);
    justify-content: center;
    align-items: center;
  }

  .screen-warning .instructions {
    z-index: 1000;
    position: absolute;
    display: flex;
    justify-self: center;
    top: calc(100vh / 2 - 200px);
    box-sizing: content-box;
  }

  .screen-finished .instructions {
    z-index: 1000;
    position: absolute;
    display: flex;
    justify-self: center;
    top: calc(100vh / 2 - 200px);
  }

  @media screen and (max-width: 950px) {
      /* Desktop */
      .screen-warn {
        display: flex;
      }
  }

  @media screen and (max-width: 767px) {
      /* Tablet */
      
  }

  @media screen and (max-width: 479px) {
      /* Telefoon */
    
  }

  @keyframes levelUp {
    0%{
      opacity: 0;
      transform: scale(0) translateY(200px);
    }
    50%{
      opacity: 1;
      transform: scale(1) translateY(-80px) translateY(0px) rotateY(360deg);
    }
    70% {
      opacity: 0;
      transform: scale(2) translateY(-80px) translateY(0px) rotateY(360deg);
    }
    100% {
      opacity: 0;
      transform: scale(2) translateY(-80px) translateY(0px) rotateY(360deg);
    }
  }

  .fireworks-container {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
  }

 .spot-timer {
  position: relative;
  width: 200px;
  max-width: 80vw;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  display: none;
}

/* background bar (never shrinks) */
.spot-timer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  z-index: 0;
}

/* animated foreground bar */
.spot-timer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #f5f8f8;
  transform-origin: left;
  transform: scaleX(1);
  border-radius: 3px;
  z-index: 1;
}

/* animate only the ::after */
.spot-timer.is-running::after {
  animation: spotCountdown 20s linear forwards;
}

@keyframes spotCountdown {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}