/*
MARK: FONTS
*/
@font-face {
  font-family: "Slackey"; /*sans-serif*/
  src: url(../type/Slackey-Regular.ttf);
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Caveat"; /* cursive */
  src: url(../type/static/Caveat-Regular.ttf);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Seraphs";
  src: url(../type/SeraphsVF.woff2) format("woff2"); /* Modern Browsers */
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Coiny"; /* cursive */
  src: url(../type/fonts/Coiny.ttf);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Oi"; /*serif*/
  src: url(../type/Oi-Regular.ttf);
  font-weight: 400;
  font-style: normal;
}

/*@font-face { Default Font family/ style
  font-family: "Comic Relief";
  src: url(../type/ComicRelief-Regular.woff2);
  font-weight: 400;
  font-style: normal;
}*/

/* 
MARK: HTML
*/
html {
  color-scheme: light dark;
  --background: light-dark(white, black);
  --background-ikea: light-dark(blue, yellow);
  --color-LightDark: light-dark(black, white);
  --background-Dark: linear-gradient(
    to right,
    black,
    black,
    white,
    white,
    white
  );
  --background-Light: linear-gradient(
    to right,
    white,
    white,
    black,
    black,
    black
  );
  --Lin-background-Ikea: linear-gradient(
    to bottom,
    yellow,
    yellow 55%,
    blue,
    blue 45%
  );
  --background-Rainbow: linear-gradient(
    to right,
    #405de6,
    #5851db,
    #833ab4,
    #c13584,
    #e1306c,
    #fd1d1d,
    #f56040,
    #f77737,
    #fcaf45,
    #ffdc80
  );
  --Ikea-text-shadow:
    -3px 0px 2px yellow, 2px -4px 2px gold, 1px 4px 2px blue,
    6px 0px 2px darkblue;
  --boxshadow-Rainbow:
    -15px -10px 8px #ff7a00, 20px -20px 8px #ff0069, -15px 10px 8px #d300c5,
    20px 20px 8px #7638fa;
  --boxshadow-Ikea: -10px 15px 25px yellow, 10px -10px 25px blue;

  --border-left: 1px solid var(--color-LightDark);
  --border-right: 1px solid var(--color-LightDark);

  --Custom-ColorB: black;
  --Custom-ColorW: white;
  --Custom-ColorC: cyan;
  --Custom-ColorS: Salmon;
  --Custom-ColorY: yellow;
  --Custom-ColorG: Gold;
  --Custom-ColorBL: blue;
  --Custom-ColorExtraBL: #3182ce;
  --Custom-ColorR: red;
  --Custom-Color-Toggle: mediumslateblue;
  --Custom-BorderColor-Toggle: darkslategrey;
  --white-space: padding 10rem;

  --Nav-Custom-Color: white;
  --Nav-Custom-backgroundOverlay: black;
  --Custom-Standaard-Color: #bbbbbb;
  --Border-bottom-CustomY: yellow;
  --Border-bottom-CustomBL: blue;

  --CookieBanner-background: rgba(0, 0, 0, 0.6);
  --CookieBanner-H3-tekst: 31px;
  --p-tekst: 24px;
  --H1-tekst: 96px;
  --H2-tekst: 48px;
  --cookie-p-tekst: 16px;
}

/*
MARK: BODY/ MAIN
*/
body,
h1,
h2,
h3,
strong,
button {
  font-family: "Slackey";
  margin: 0;
}

p {
  font-family: "Caveat";
  font-size: var(--p-tekst);
  word-break: break-word;
}

/*
MARK: Footer Copyright
*/
body > footer {
  text-align: center;

  p {
    font-family: "Slackey", sans-serif;
    font-size: 0.9rem; /* 14.4/ 16 pz */
  }
}

/*
MARK: Consent Dialog (Cookie)
*/
.CookieBanner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--CookieBanner-background);
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  border: none;
  max-width: none;
  max-height: none;

  article {
    width: 100%;
    max-width: 600px;
    max-height: 100vh;
    padding: 30px;
    border-radius: 12px;
    box-sizing: border-box;
    overflow-y: auto;

    color: var(--Custom-ColorB);
    background: var(--Custom-ColorW);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);

    h2 {
      margin-top: 0;
      font-size: 28px;
      color: #1a202c;
    }

    p {
      font-family: "Seraphs";
      font-size: var(--cookie-p-tekst);
      line-height: 1.5;
      color: #4a5568;
      margin: 0px;
      word-break: break-word;
    }
  }

  section {
    background: var(--Custom-ColorW);
    border-left: 4px solid var(--Custom-ColorExtraBL);
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
    word-break: break-word;

    h3 {
      font-size: var(--p-tekst);
      margin-top: 0;
      color: var(--Custom-ColorExtraBL);
      font-size: var(--CookieBanner-H3-tekst);
      text-transform: uppercase;
    }

    ul {
      margin: 8px 0;
      padding-left: 20px;
      font-size: 0.9rem;
      color: #4a5568;

      li {
        margin-bottom: 6px;

        p {
          font-family: "Seraphs";
          font-size: var(--cookie-p-tekst);

          strong {
            font-size: var(--p-tekst);
          }
        }
      }
    }
  }

  footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;

    button {
      background-color: var(--Custom-ColorExtraBL);
      color: var(--Custom-ColorW);
      border: none;
      padding: 10px 20px;
      font-size: 1rem;
      font-weight: 600;
      border-radius: 6px;
      cursor: pointer;
      transition: background-color 0.2s;
      width: 100%;

      &:hover {
        background-color: var(--Custom-Color-Toggle);
      }
    }
  }
}

.CookieBanner > article:focus-visible + span {
  outline: 3px solid var(--Custom-ColorY);
}

@media (min-width: 480px) {
  .CookieBanner button {
    width: auto;
  }
}

/*
MARK: Toggle Switch L/D (Light & Dark Mode)
*/
html:has([value="LightDark-ToggleSwitch"]) {
  color-scheme: light;

  #Titel > h1 {
    font-family: "Slackey";
    background-image: linear-gradient(
      to right,
      white,
      white,
      white,
      black,
      black,
      black
    );
    line-height: 1.5em;
    text-shadow:
      0 0 0.4em black,
      0 0 0.8em black,
      0 0 1em black;
    transition: 0.4s ease-in-out;

    &:hover {
      text-shadow: 0px 0px 0px var(--Custom-ColorB);
      font-family: "Slackey";
      p {
        opacity: 100%;
      }
    }
  }
}

html:has([value="LightDark-ToggleSwitch"]:checked) {
  color-scheme: dark;

  #Titel > h1 {
    font-family: "Slackey";
    background-image: linear-gradient(
      to right,
      black,
      black,
      black,
      white,
      white,
      white
    );
    line-height: 1.5;
    text-shadow:
      0 0 0.4em white,
      0 0 0.8em white,
      0 0 1em white;
    transition: 0.4s ease-in-out;

    &:hover {
      text-shadow: 0px 0px 0px var(--Custom-ColorW);
      font-family: "Slackey";
      p {
        opacity: 100%;
      }
    }
  }
}

.LightDarkMode {
  display: flex;
  justify-content: center;
  align-content: center;
  height: 150px;
  width: auto;

  position: fixed;
  top: 5%;
  left: 20%;

  &:hover {
    input[type="checkbox"] + span {
      box-shadow: 5px -8px 10px var(--color-LightDark);
    }
  }

  &:has(input[type="checkbox"]:not(:checked)) {
    label {
      align-self: end;
    }
  }
}

.LightDarkMode > label {
  position: relative;
  display: flex;
  width: 69%;
  height: auto;
  z-index: 1;
  font-family: "Caveat";
}

.LightDarkMode input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 70%;
  height: 100%;
  z-index: 2;

  + span {
    position: absolute;
    cursor: pointer;
    background-color: var(--Custom-ColorY);
    border-radius: 10px;
    width: 70%;
    height: 100%;
    transition: background-color 0.3s ease-in-out;
    box-shadow: 5px -8px 5px var(--color-LightDark);

    &::before {
      content: "";
      position: absolute;
      height: 50px;
      width: 50px;
      background-color: var(--Custom-ColorW);
      border-radius: 50%;
      border: 10px solid var(--Custom-BorderColor-Toggle);
      transition: transform 0.3s;
    }

    span {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 75%;
      height: 35%;

      &::before {
        content: "";
        position: absolute;
        height: 20px;
        width: 20px;
        background-color: var(--Custom-ColorB);
        border-radius: 50%;
        transition: transform 0.3s;
      }
    }
  }

  &:checked {
    + span {
      background-color: var(--Custom-Color-Toggle);

      &::before {
        transform: translateY(80px);
      }

      span {
        &::before {
          transform: translateY(95px) translateX(16px) scale(2);
        }
      }
    }
  }

  &:focus-visible {
    border: 10px dotted var(--Custom-ColorBL);
  }
}

/*
  Bron vermelding over de tilde symbol:
  - ik gebruik het om de p (tekst) weer naar boven te verplaatsen als de gebruiker de checkbox checked,
  omdat ik span gebruik kan ik de CSS niet nesten in elkaar omdat een span in een p hoort en niet andersom
    1. https://www.w3schools.com/cssref/tryit.php?filename=trycss3_gen_sibling
    2. https://dev.to/paulryan7/css-what-does-the-tilde-mean-f4c
  */
/*
MARK: Intro Header
*/
#Titel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 50rem;
}

#Titel > h1 {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: INTROmove 40s linear infinite;
  font-size: 6vw;

  &:hover {
    text-shadow: 0px 0px 0px transparent;
    font-size: 5vw;

    /* Laat de direct volgende paragraaf oplichten bij hover */
    + p {
      font-family: "Caveat";
      color: var(--Custom-ColorR);
      opacity: 100%;
    }
  }
}

@keyframes INTROmove {
  to {
    background-position: 500vh;
  }
}

#Titel > p {
  display: flex;
  width: 60%;
  opacity: 0%;
  margin: 0px;
  font-size: 2vw;
}

#Titel > h1 > a {
  text-decoration: none;
  color: var(--Custom-ColorB);
}
/*
MARK: Main Header
*/
/* De "DigiTuintje..." header */
#HeaderKop {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
}

/* 1. Linkse titel ("Twan's") komt op rij 1, kolom 1 */
#HeaderKop > p:first-of-type {
  display: flex;
  justify-content: center;
  grid-column: 1;
  grid-row: 1;
  font-size: 2rem;
  margin: 0;
}

/* 2. Middelste reuze titel ("DigiTuintje...") komt op rij 1, kolom 2 (en gecentreerd) */
#HeaderKop > h1 {
  grid-column: 2;
  grid-row: 1;
  font-size: 96px;
  text-align: center;
  margin: 0;
  animation: --puff-ani 1.5s infinite alternate ease-in-out paused;

  &:hover {
    -webkit-text-stroke-width: 0.1em;
    -webkit-text-stroke-color: var(--color-LightDark);
    text-shadow: 0px 0px 20px var(--background-ikea);
    animation-play-state: running;
  }
}

@keyframes --puff-ani {
  0% {
    letter-spacing: 0em;
  }
  100% {
    letter-spacing: 8px;
    font-size: 6.5rem;
  }
}

#HeaderLink {
  text-decoration: none;
  color: var(--color-LightDark);
}

/* 3. Hamburger menu komt op rij 1, kolom 3 (rechts uitgelijnd) */
#HeaderKop > nav:first-of-type {
  grid-column: 3;
  grid-row: 1;
  justify-self: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  width: 50%;
  height: 100px;

  &:hover span {
    box-shadow: 0px 0px 20px var(--color-LightDark);
  }
}

/*
MARK: Hamburger Menu / Nav
*/

/*De hamburger knop wrapper | first-of-type > nav */
#HeaderKop > #togglemenu {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

#HeaderKop:first-of-type > nav > span {
  display: block;
  width: 88px;
  height: 25px;
  background-color: var(--color-LightDark);
}

#myNav {
  display: flex;
  justify-content: center;
  position: fixed;
  z-index: 1;
  overflow: hidden;
  height: 0%;
  width: 100%;
  top: 0;
  left: 0;
  background-color: var(--Nav-Custom-backgroundOverlay);
}

#myNav a {
  text-decoration: none;
  font-size: 5vw;
  transition: 0.5s;
  color: var(--Custom-ColorG);

  &:hover,
  &:focus {
    color: var(--Custom-ColorBL);
  }
}

#myNav > a:first-of-type {
  position: absolute;

  display: flex;
  justify-content: center;
  width: 5%;
  top: 20px;
  right: 45px;
  font-size: 60px;
  cursor: pointer;
}

#navLinks {
  padding: 0px;
  position: absolute;
  top: 10%;
  width: 100%;
  display: block;
}

#navLinks li {
  display: flex;
  justify-content: center;
  padding: 1rem;
  transition: border-bottom 1.5s;
}

#navLinks a {
  text-decoration: none;
  display: block;
  &:hover {
    border-bottom: 8px solid var(--Custom-ColorBL);
  }
}

/*
MARK: Header Logo/ Tekst
*/
#HeaderKop > p:last-of-type {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  font-size: 12px;
  color: var(--Custom-Standaard-Color);
  margin: 10px 0 0 0;
}

/*
MARK: Main Top Articles
*/
#TopArticles {
  display: flex;
  align-items: center;
  flex-direction: row;
  overflow-x: auto;
  gap: 2.5rem;
  width: 100%;
  height: 400px;
  padding: 2rem 0;
  margin: 1rem 0px;

  border-top: 2px solid var(--color-LightDark);
  transition:
    border 0.4s ease-in-out,
    padding 0.4s ease-in-out;

  &:hover {
    border-top: 5px dotted var(--Custom-ColorY);
    animation: BTmove 10s infinite;
  }
}

@keyframes BTmove {
  25% {
    border-top: 10px dotted var(--Border-bottom-CustomY);
  }
  75% {
    border-top: 21px dotted var(--Border-bottom-CustomBL);
  }
}

#TopArticles > article:nth-child(-n + 5) {
  display: flex;
  flex: 1 0 550px;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 2s ease-in-out;

  &:hover {
    a {
      clip-path: circle(50%);
    }
  }
}

#TopArticles > article:nth-child(1):hover a > span strong b {
  color: var(--Custom-ColorC);
  text-shadow: 0px 0px 10px var(--color-LightDark);
  transition: color 0.4s ease-in-out;
}

#TopArticles > article:nth-child(2):hover a > span strong b {
  color: var(--Custom-Standaard-Color);
  transition: color 0.4s ease-in-out;
}

#TopArticles > article:nth-child(4):hover a > span strong b {
  -webkit-text-stroke-width: 0.1em;
  -webkit-text-stroke-color: var(--color-LightDark);
  text-shadow: 0px 0px 10px var(--background-ikea);
  transition: color 0.4s ease-in-out;
}

#TopArticles > article:nth-child(5):hover a > span strong b {
  color: var(--Custom-ColorY);
  text-shadow: 0px 0px 10px var(--color-LightDark);
  transition: color 0.4s ease-in-out;
}

#TopArticles > article:nth-child(-n + 5) > a {
  display: block;
  text-align: center;
  text-decoration: none;
}

#TopArticles > article:nth-child(-n + 5) span {
  display: flex;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
  color: var(--color-LightDark);
}

#TopArticles > article:nth-child(-n + 5) > a img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.4s ease-in-out;

  &:hover {
    transform: scale(1.5);
  }
}

#TopArticles > article:nth-child(-n + 5) > a span > strong {
  font-size: 24px;
}

#TopArticles > article:nth-child(3) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  height: 75%;
  border-right: 5px solid var(--color-LightDark, #ccc);
  border-left: 5px solid var(--color-LightDark, #ccc);

  h2 {
    display: flex;
    justify-content: center;
    width: 100%;

    span {
      font-size: 60px;
      display: inline-flex;
      transform-origin: center bottom;
      animation-name: --mijn-animation;
      animation-duration: 2s;
      animation-iteration-count: infinite;
      animation-play-state: paused;

      /* M */
      &:nth-of-type(1) {
        animation-delay: 0s;
      }

      /* i */
      &:nth-of-type(2) {
        animation-delay: 0.15s;
      }

      /* j */
      &:nth-of-type(3) {
        animation-delay: 0.3s;
      }

      /* n */
      &:nth-of-type(4) {
        animation-delay: 0.45s;
      }
    }
  }
}

@keyframes --mijn-animation {
  0% {
    scale: 1;
    color: var(--color-LightDark);
  }
  10% {
    translate: 0em 0em;
    scale: 1.2 0.8;
  }
  20% {
    translate: 0em -0.25em;
    scale: 0.6 1.5;
    color: var(--background-ikea);
  }
  30% {
    translate: 0em 0em;
    scale: 1.3 0.7;
  }
  40% {
    scale: 0.9 1.1;
  }
  50% {
    scale: 1;
  }
  100% {
    scale: 1;
    color: var(--color-LightDark);
  }
}

#TopArticles > article:nth-child(3) h2:hover span {
  animation-play-state: running;
  text-shadow: var(--boxshadow-Ikea);
}

/*
MARK: Info/ Insp Articles
*/
#InfoArticles {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  border-top: 2px solid var(--color-LightDark);
  border-bottom: 2px solid var(--color-LightDark);
  transition:
    border 0.4s ease-in-out,
    padding 0.4s ease-in-out;
  padding: 2rem 0;

  &:hover {
    border-top: 5px dotted var(--Custom-ColorY);
    border-bottom: 5px dotted var(--Custom-ColorBL);
    animation: mymove 10s infinite;
  }
}

@keyframes mymove {
  25% {
    border-top: 10px dotted var(--Border-bottom-CustomY);
    border-bottom: 10px dotted var(--Border-bottom-CustomY);
  }
  75% {
    border-top: 21px dotted var(--Border-bottom-CustomBL);
    border-bottom: 21px dotted var(--Border-bottom-CustomBL);
  }
}

#InfoArticles > article {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 70%;
  margin: 1rem 0px;
  flex-direction: column;
}

#InfoArticles > article > span,
#InfoArticles > article:nth-child(2) span {
  text-align: center;
  overflow: hidden;
}

#InfoArticles > article p {
  padding: 0px 20%;
}

#InfoArticles > article > span img,
#InfoArticles > article:nth-child(2) span:last-child > img {
  width: 100%;
  height: 30rem;
  object-fit: cover;
  transition: transform 0.4s ease-in-out;
}

#InfoArticles > article > span img:hover {
  transform: scale(0.9);
  box-shadow: 0px 0px 30px var(--Custom-ColorY);
}

#InfoArticles > article:hover p b {
  font-size: 32px;
  font-family: "Slackey";
  text-transform: uppercase;
  color: var(--Custom-ColorY);
  transition: 1s ease-in-out;
  text-shadow: 4px 2px var(--color-LightDark);
}

#InfoArticles > article:nth-child(2) span > img {
  width: 50%;
  height: auto;
  transition: transform 0.4s ease-in-out;

  &:hover {
    transform: scale(0.9);
  }
}

#InfoArticles > article:nth-child(2):hover p b {
  background: var(--Custom-ColorBL);
  background-clip: border-box;
  text-shadow: 4px 2px var(--Custom-ColorB);
}

/*
MARK: Minion Article
*/
#MinionArticles {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  border-top: 2px solid var(--color-LightDark);
  border-bottom: 2px solid var(--color-LightDark);
  transition:
    border 0.4s ease-in-out,
    padding 0.4s ease-in-out;
  padding: 2rem 0;

  &:hover {
    border-top: 5px dotted var(--Custom-ColorY);
    border-bottom: 5px dotted var(--Custom-ColorBL);
    animation: mymove 10s infinite;
  }
}

@keyframes mymove {
  25% {
    border-top: 10px dotted var(--Border-bottom-CustomY);
    border-bottom: 10px dotted var(--Border-bottom-CustomY);
  }
  75% {
    border-top: 21px dotted var(--Border-bottom-CustomBL);
    border-bottom: 21px dotted var(--Border-bottom-CustomBL);
  }
}

#MinionArticles > article {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 70%;
  margin: 1rem 0px;
  flex-direction: column;
}

#MinionArticles > article > span,
#MinionArticles > article:nth-child(2) span {
  text-align: center;
  overflow: hidden;
}

#MinionArticles > article p {
  padding: 0px 20%;
  margin: 0px 0px 5% 0px;
}

#MinionArticles > article > span img,
#MinionArticles > article:nth-child(2) span:last-child > img {
  object-fit: cover;
  transition: transform 0.4s ease-in-out;
}

#MinionArticles > article > span img:hover {
  transform: scale(0.9);
}

#MinionArticles > article:hover p b {
  font-size: 32px;
  font-family: "Slackey";
  text-transform: uppercase;
  color: var(--Custom-ColorY);
  transition: 1s ease-in-out;
  text-shadow: 4px 2px var(--color-LightDark);
}

/*
MARK: Contact page
*/
#EigenArticles {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  border-top: 2px solid var(--color-LightDark);
  border-bottom: 2px solid var(--color-LightDark);
  transition:
    border 0.4s ease-in-out,
    padding 0.4s ease-in-out;
  padding: 2rem 0;

  &:hover {
    border-top: 5px dotted var(--Custom-ColorY);
    border-bottom: 5px dotted var(--Custom-ColorBL);
    animation: mymove 10s infinite;
  }
}

@keyframes mymove {
  25% {
    border-top: 10px dotted var(--Border-bottom-CustomY);
    border-bottom: 10px dotted var(--Border-bottom-CustomY);
  }
  75% {
    border-top: 21px dotted var(--Border-bottom-CustomBL);
    border-bottom: 21px dotted var(--Border-bottom-CustomBL);
  }
}

#EigenArticles > article {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto;
  justify-content: center;
  width: 100%;
  max-width: 75%;
  align-items: center;
  margin-bottom: 5%;

  span {
    text-align: center;
    overflow: hidden;

    img {
      width: 100%;
      object-fit: cover;
      transition: transform 0.4s ease-in-out;

      &:hover {
        transform: scale(0.9);
      }
    }
  }

  p {
    padding: 0px 5%;
    width: 70%;
    margin: 0px;
  }
  p:nth-child(3) {
    padding: 0px 5%;
    width: 80%;
    margin: 0px;
  }

  span:last-child {
    display: flex;
    justify-content: space-evenly;
  }

  &:hover em {
    font-size: 60px;
    font-family: "Slackey";
    text-transform: uppercase;
    color: var(--Custom-ColorY);
    text-shadow: 4px 2px var(--Custom-ColorB);
    transition: 2s ease-in-out;
  }

  &:hover p b {
    font-size: 32px;
    font-family: "Slackey";
    text-transform: uppercase;
    color: var(--Custom-ColorY);
    transition: 2s ease-in-out;
    background: var(--Custom-ColorBL);
    background-clip: border-box;
    text-shadow: 4px 2px var(--Custom-ColorB);

    em {
      font-size: 60px;
      font-family: "Slackey";
      text-transform: uppercase;
      color: var(--Custom-ColorY);
      transition: 2s ease-in-out;
    }
  }
}

#EigenArticles > article a {
  font-size: 24px;
  color: var(--Custom-ColorW);
  width: fit-content;
  text-decoration: underline var(--Custom-ColorR);
  text-shadow: 0px 1px 10px var(--color-LightDark);
  transition: 2s ease-in-out;

  &:hover {
    font-size: 28px;
    transition: 1s ease-in-out;
    text-decoration: 5px underline var(--Custom-ColorBL);
  }
}

/*
MARK: Mobiel screen 768px (iphone 17)
*/
@media (max-width: 768px) {
  /*
    MARK: Basic CSS Mobiel
  */
  p {
    font-size: 5vw;
  }

  /*
    MARK: LightDarkMode Mobiel
  */
  .LightDarkMode {
    top: 8%;
    left: 1%;
  }

  html:has([value="LightDark-ToggleSwitch"]) {
    & #Titel > h1 {
      font-family: "slackey", serif;
    }
  }

  html:has([value="LightDark-ToggleSwitch"]:checked) {
    & #Titel > h1 {
      font-family: "slackey", serif;
    }
  }

  /*
    MARK: CokkieBanner Mobiel
  */
  .CookieBanner > article {
    width: 100%;
    height: 100%;
    max-width: 90vw;
    max-height: 180vw;
  }

  .CookieBanner > article > h2 {
    font-size: 7vw;
  }

  .CookieBanner > article > p {
    font-size: 4vw;
  }

  .CookieBanner section h3 {
    font-size: 5vw;
  }

  .CookieBanner li p strong {
    font-size: 4vw;
  }

  .CookieBanner button {
    font-size: 6vw;
  }

  /*
    MARK: Intro title
  */
  #Titel > h1 {
    font-size: 12vw;
    display: flex;
    text-align: center;

    &:hover {
      font-size: 19vw;
      display: flex;
      text-align: center;
    }
    + p {
      font-size: 7vw;
    }
  }

  /*
    MARK: Header Index Mobiel
  */
  #HeaderKop {
    display: grid;
    width: 100%;
    grid-template-columns: max-content;
    grid-template-rows: auto auto;
    align-items: center;
  }
  #HeaderKop h1 {
    font-size: 6vw;
    animation: --puff-ani 1.5s infinite alternate ease-in-out paused;
  }

  @keyframes --puff-ani {
    0% {
      letter-spacing: 0em;
    }
    100% {
      font-size: 6vw;
      letter-spacing: 4px;
    }
  }

  #HeaderKop > nav:first-of-type {
    width: 20vw;
    height: 15vw;
  }

  #HeaderKop:first-of-type > nav > span {
    width: 15vw;
    height: 4vw;
  }

  /*
    MARK: Nav Mobiel
  */
  #navLinks {
    top: 15%;
  }

  #myNav > a:first-of-type {
    width: 10vw;
    font-size: 25vw;
  }

  #myNav a {
    font-size: 15vw;
  }

  /*
    MARK: Al Mijn werk Mobiel
  */
  #TopArticles {
    height: auto;
    margin: 0px 0px;
  }

  #TopArticles > article:nth-child(-n + 5) {
    flex: 1 0 95vw;
  }

  #TopArticles > article:nth-child(-n + 5) span {
    display: flex;
    align-items: center;
  }

  #TopArticles > article:nth-child(-n + 5) > a img {
    width: 80vw;
    height: 50vw;
  }

  #TopArticles > article:nth-child(-n + 5) > a span > strong {
    font-size: 4vw;
  }

  /*
    MARK: Info article Mobiel
  */
  #InfoArticles > article > span img,
  #InfoArticles > article:nth-child(2) span:last-child > img {
    height: 40vw;
  }

  #InfoArticles > article p {
    padding: 0px 0%;
    font-size: 5vw;
  }

  /*
    MARK: Minion page Mobiel
  */
  #MinionArticles > article {
    display: flex;
    width: auto;
    max-width: none;
    margin: 0px;
    flex-direction: column;
  }

  #MinionArticles > article > span img {
    width: 100%;
  }

  /*
    MARK: Contact page Mobiel
  */
  #EigenArticles > article {
    p {
      font-size: 3vw;
      padding: 0px 5%;
      width: 100%;
      margin: 0px;
    }
    p:nth-child(3) {
      padding: 0px 5%;
      width: 80%;
      margin: 0px;
    }

    span:last-child {
      display: flex;
      justify-content: space-evenly;

      a {
        font-size: 3vw;
      }
    }

    &:hover {
      p em {
        font-size: 4vw;
        font-family: "Slackey";
        text-transform: uppercase;
        color: var(--Custom-ColorY);
        transition: 2s ease-in-out;
      }

      p b {
        font-size: 3vw;
        font-family: "Slackey";
        text-transform: uppercase;
        color: var(--Custom-ColorY);
        transition: 2s ease-in-out;
        background: var(--Custom-ColorBL);
        background-clip: border-box;
        text-shadow: 4px 2px var(--Custom-ColorB);
      }
    }
  }
}
