@font-face {
    font-family: "Nunito";
    src: url("/assets/fonts/Nunito-VariableFont_wght.woff2") format("woff2");
    font-weight: 100 900; /* bereik van het font */
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: "Nunito";
    src: url("/assets/fonts/Nunito-Italic-VariableFont_wght.woff2") format("woff2");
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-regular);
    font-style: normal;
    color: var(--color-text);
  }

  body.overlay-open {
    overflow: hidden;
    height: 100vh;
  }

  /* Firefox */
body {
  scrollbar-width: thin;
  scrollbar-color: #888 transparent;
}

/* Scrollbar styling */
body::-webkit-scrollbar {
  width: 4px;
}
body::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}
body::-webkit-scrollbar-track {
  background: transparent;
}
  
  main.content-page {
    position: relative;
    z-index: 0;
  }

  /*main.content-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--brand-primary-gradient);
    opacity: 0.1;
    z-index: -1;
  }*/


  section {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;

    padding: 0 var(--whitespace-borders);
  }

  h1 {
    font-weight: var(--font-weight-bold);
    margin: 0;
  }

  h2 {
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 0.4em;
    font-weight: var(--font-weight-bold);
    line-height: 1em;
  }

  h3 {
    font-size: 1.3em;
    margin-bottom: 0.2em;
    font-weight: var(--font-weight-semibold);
  }

  p {
    font-size: 1.1em;
    margin-top: 1em;
    margin-bottom: 0;
    line-height: 1.2em;
  }

  p:first-of-type {
    margin-top: 0;
  }

a {
  text-decoration: none;
  color: inherit;
}

p a, ol a {
  text-decoration: underline;
  color: var(--brand-primary);
}

input,
textarea {
  font-family: var(--font-weight-regular);
  font-size: 1em;
  background-color: var(--brand-light-grey);
  box-sizing: border-box;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  width: 100%;
  outline: none;
  border-radius: 16px;
  border: none;
  resize: none;
}

input::placeholder,
textarea::placeholder {
  font-family: var(--font-primary);
  color: var(--brand-grey);
  opacity: 1;
}

ul {
  margin: 0;
}

ol, ul {
  font-size: 1.1em;
}

img {
  width: 100%;
}

/* These classes determine the rotation for the icons of the winddirection. */
.dir-0   { --dir: 0deg;   transform: rotate(0deg); }
.dir-22  { --dir: 22deg;  transform: rotate(22deg); }
.dir-45  { --dir: 45deg;  transform: rotate(45deg); }
.dir-67  { --dir: 67deg;  transform: rotate(67deg); }
.dir-90  { --dir: 90deg;  transform: rotate(90deg); }
.dir-112 { --dir: 112deg; transform: rotate(112deg); }
.dir-135 { --dir: 135deg; transform: rotate(135deg); }
.dir-157 { --dir: 157deg; transform: rotate(157deg); }
.dir-180 { --dir: 180deg; transform: rotate(180deg); }
.dir-202 { --dir: 202deg; transform: rotate(202deg); }
.dir-225 { --dir: 225deg; transform: rotate(225deg); }
.dir-247 { --dir: 247deg; transform: rotate(247deg); }
.dir-270 { --dir: 270deg; transform: rotate(270deg); }
.dir-292 { --dir: 292deg; transform: rotate(292deg); }
.dir-315 { --dir: 315deg; transform: rotate(315deg); }
.dir-337 { --dir: 337deg; transform: rotate(337deg); }

  :root {
    --brand-primary: #557dff;
    --brand-secondary: #712aff;
    --brand-primary-light: #e0e7ff;
    --brand-primary-light-50-50: rgba(224, 231, 255, 0.5);
    --brand-primary-lighter: #8fa9ff;
  
    --brand-black: #323232;
    --brand-black-semi-transparant: #32323252;
    --brand-dark-grey: #3c3c3c;
    --brand-grey: #7d7d7d;
    --brand-light-grey: #f6f6f6;
  
    --brand-orange: #ffc638;
    --brand-red: #ff5555;
    --brand-yellow: #ffdb5c;
    --brand-green: #55ff7f;
    --brand-green-light: #7eff9e93;
    --brand-green-dark: #338b47;
    --brand-white: #ffffff;

    --brand-shadow: #5b5b5b54;

    --brand-notification-error: rgba(255, 85, 85, 0.9);
    --brand-notification-error-text: rgb(102, 30, 30);
    --brand-notification-success: rgba(85, 255, 127, 0.9);
    --brand-notification-success-text: rgb(30, 93, 45);

    --brand-symbols-cloud: rgb(255, 255, 255);
    --brand-symbols-cloud-dark: rgb(149, 149, 149);
    --brand-symbols-rain: #7ca8ff;
    --brand-symbols-snow: #ffffff;
    --brand-symbols-lightning: #ffaa00;
    --brand-symbols-hail: rgb(255, 255, 255);
    --brand-symbols-mist: rgb(255, 255, 255);
    --brand-symbols-moon: #3c3c3c;
    --brand-symbols-stars: #ffaa00;
    --brand-symbols-sun: #ffc638;
  
    --brand-primary-gradient: linear-gradient(
      to right,
      var(--brand-primary),
      var(--brand-secondary)
    );
    --brand-primary-gradient-radial: radial-gradient(
      circle at center,
      var(--brand-primary) 10%,
      var(--brand-secondary) 70%
    );

    /* WEATHER CARD COLOURS */

    /* SKY */
    --weather-card-sky-blue: #93cef9;
    --weather-card-sky-blue-light: rgb(153, 207, 222);
    --weather-card-sky-blue-gradient: linear-gradient(
      90deg,
      var(--weather-card-sky-blue),
      var(--weather-card-sky-blue-light)
    );

    --weather-card-night: var(--brand-black);
    --weather-card-night-light: var(--brand-dark-grey);
    --weather-card-night-gradient: linear-gradient(
      90deg,
      var(--weather-card-night),
      var(--weather-card-night-light)
    );

    --weather-card-sky-blue-muted: #b7c3e5;
    --weather-card-sky-grey: #cfd6ea;
    --weather-card-sky-dark-grey: #b3b3b3;
    --weather-card-sky-cold: #bdccd4;

    /* SUN AND MOON */
    --weather-card-sun-yellow: #fddf72;
    --weather-card-sun-yellow-dark: #fad26b;
    --weather-card-sun-yellow-gradient: linear-gradient(
      90deg,
      var(--weather-card-sun-yellow),
      var(--weather-card-sun-yellow-dark)
    );

    --weather-card-moon: var(--brand-primary-light);
    
    /* CLOUDS */

    /* WATER */

    /* NEERSLAG */
    --weather-card-rain: #7daaff;
    --weather-card-snow: var(--brand-white);

    /* BOAT */
    --weather-card-boat-day: var(--brand-white);
    --weather-card-boat-night: #d6d6d6;
    --weather-card-boat-cloudy: #e1e1e1;
  
    /* === Tekst- en achtergrondkleuren === */
    --color-text: var(--brand-black);
    --color-bg: var(--brand-white);

    --font-primary: "Nunito", system-ui, sans-serif;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --border-radius: 10px;
    --border-tiny-radius: 5px;

    --text-button-all-hotspots: "Bekijk alle hotspots";

    /* 
    If we change the whitespace left and right of the screen, we have to change both values. 
    The negative value is used to make elements full width and ignore the whitespace.
    */
    --whitespace-borders: 1em;
    --whitespace-borders-negative: -1em;

    /* Prevents automatic convertion to dark mode. */
    color-scheme: only light;
  }
  
  @media (min-width: 768px) {

    h1 {
      font-size: 3em;
    }
  
    h2 {
      font-size: 1.8em;
      margin-top: 0;
      margin-bottom: 0.4em;
      font-weight: var(--font-weight-bold);
    }
  
    h3 {
      font-size: 1.3em;
      margin-bottom: 0.2em;
      font-weight: var(--font-weight-semibold);
    }
}

/* Hide elements on desktop */
   .mobile-only.mobile-only.mobile-only.mobile-only.mobile-only {
    
  }
  
  .desktop-only.desktop-only.desktop-only.desktop-only.desktop-only {
    display: none;
  }
  
  /* Hide elements on mobile */
  @media (min-width: 768px) {
 .mobile-only.mobile-only.mobile-only.mobile-only.mobile-only {
      display: none;
    }
  
 .desktop-only.desktop-only.desktop-only.desktop-only.desktop-only {
      display: revert;
    }
  }
  