div.Welkom
{
  background-color: transparent;
  margin-top: 10vh;
  justify-items: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  padding-top: 5vh;
  padding-bottom: 5vh;
  margin: 0 auto;             /* centreer container zelf */
  display: flex;               /* toegevoegd: activeer flex */
  flex-direction: column;      /* expliciet */
  align-items: center;         /* center horizontaal kinderen */
  justify-content: center;     /* verticale ruimte uitlijnen */        /* begrens totale breedte */
  padding-left: 5vw;          /* horizontale ademruimte */
  padding-right: 5vw;
  box-sizing: border-box;
  position: relative;        /* nodig voor absolute achtergrond */
  z-index: 0;                /* basislaag */
  height: 80vh;
}

/* zorg dat tekstblokken boven de achtergrond liggen */
#Slogan,
.Alinea {
  position: relative;
  z-index: 2;
  opacity: 90%;
}

/* container: absolute achtergrondlaag achter de Welkom-inhoud */
.WelkomAchtergrond {
  position: absolute;
  inset: 0;                  /* vult hele Welkom-div */
  overflow: hidden;
  pointer-events: none;
  z-index: 1;                /* onder tekst, boven achtergrondkleur body */
}

/* bewegende baan met afbeeldingen */
.WelkomAchtergrond-track {
  display: inline-flex;
  gap: 0;
  align-items: center;
  height: 100%;
  animation: welkom-marquee 40s linear infinite;
}

/* individuele afbeeldingen: vullen horizontaal, licht transparant */
.WelkomAchtergrond .zweef-foto {
  height: 95%;              /* iets hoger voor overlap */
  width: auto;
  opacity: .7;
  align-self: start;
}

@media (max-width: 1000px)
{
  .WelkomAchtergrond .zweef-foto {
    display: none;
  }
}

.trustpilot
{
  background-color: var(--Knop-Achtergrond);
  height: 100px;
  color: white;
  justify-self: center;
  align-self: center;
}

.WelkomAchtergrond img
{
  border: #ffffff 5px solid;
  box-shadow: var(--Schaduw);
}

/* horizontale, eindeloze beweging */
@keyframes welkom-marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-533%); }
}

#Slogan
{
  background-color: var(--Alinea-Achtergrond);
  border-radius: 40px;
  padding-top: 1vh;
  padding-bottom: 1vh;
  width: 600px;
  padding-left: 10px;
  padding-right: 10px;
  box-shadow: var(--Schaduw);
  margin-left: auto;           /* center blok */
  margin-right: auto;          /* center blok */
  margin-bottom: 30px;
}

#Slogan h2 
{
  padding-left: 0px;
  
}

div.Welkom #Slogan h2
{
  padding-top: 0px;
  margin-top: 10px;
  font-size: 40px;
}

#Slogan h1,
#Slogan h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 700px)
{
  div.Welkom #Slogan h2 
  {
    font-size: 30px;
  }
  #Slogan,
  .Alinea {
    width: 90%;                /* breder en gecentreerd op mobiel */
  }
  div.Welkom {
    padding-left: 6vw;
    padding-right: 6vw;
  }
}

.Welkom div
{
  margin-top: 20px;
}

.Welkom div:first-child
{
  color: white;
}

.Welkom img{
  margin: 0;
}

.Alinea
{
  background-color: var(--Achtergrond);
  padding-bottom: 10px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 40px;
  justify-content: center;
  text-align: center;
  width: min(700px,80%);
  box-shadow: var(--Schaduw);
  margin-left: auto;           /* center blok */
  margin-right: auto;          /* center blok */
}

.Alinea ul
{
  padding: 10px;
  text-align: center;
  margin: 0 auto;
  list-style: none;
  text-align: center;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

@media (max-width: 600px)
{
  .Alinea ul
  {
    flex-direction: column;
  }
}

.Alinea li
{
  font-size: 20px;
  padding: 15px;
  border-radius: 30px;
}

.Alinea li:first-child
{
  background-color: var(--Knop-Achtergrond);
}

.Alinea li:first-child:hover
{
  transform: scale(1.1);
  background-color: var(--Knop-Achtergrond-Actief);
  transition: all 0.3s;
  cursor: pointer;
}

.Alinea li:last-child
{
  background-color: #3b59bb;
}

.Alinea li:last-child:hover
{
  transform: scale(1.1);
  background-color: #2112a7;
  transition: all 0.3s;
  cursor: pointer;
}

.Welkom .Alinea li:active
{
  transform: scale(1);
  transition: all 0.3s;
}

.Alinea a
{
  color: white;
}

.Afbeelding1
{
  display: flex;
  animation: 3s linear 1s infinite running slide-in;
}

/*
@keyframes slide-in {
  from {
    margin-left: -100%;
  }
  to {
    margin-left: 100%;
  }
}
*/
section{
  align-items: start;
  justify-content: center;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;              /* nieuw: centreer section horizontaal */
  justify-self: center;
  width: 100%;
}

/* Centreer het 'Categoriën' kopje in Home.html */
section > h1 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  font-size: 40px;
}

#Slogan h1
{ 
  text-align: center;
  font-size: 40px;
}


Section ul
{
  list-style: none;
  display: grid;                  /* nieuw: activeer grid */
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 0px;
  place-content: center;          /* nieuw: centreer grid in container */
  justify-items: center;          /* nieuw: centreer items binnen kolommen */
  text-align: center;
  margin: 0 auto;                 /* nieuw: centreer de UL zelf */
  padding: 0;                     /* nieuw: reset padding */
  width: 100%;                  /* nieuw: zorg dat de UL de volle breedte gebruikt */
}

@media (max-width: 600px)
{
  Section ul
  {
    grid-template-columns: repeat(auto-fill, 300px);
    place-content: center;        /* zorg dat het ook mobiel gecentreerd blijft */
    justify-items: center;
    color: white
  }
}

section a 
{
  color: white;
  align-items: center;
  align-self: center;
  align-content: center;
}

Section li
{
  margin: 0 auto;
  padding: 10px;
  border-radius: 30px;
  width: 250px;
  background-color: var(--Product-Achtergrond);
  color: white;
  margin: 20px;
  align-content: center;
  box-shadow: var(--Schaduw);
}

Section a{
  text-align: center;
  height: 0;
  padding-bottom: 70%;
}

Section img{
  margin-top: 30px;
  aspect-ratio: 16/9;
  width: 90%;
  margin-left: 0%;
  border: 5px solid white;
  border-radius: 20px;
  justify-self: center;
  justify-content: center;
}

/* alleen directe kinderen van section, en niet .Welkom */
section > div:not(.Welkom) {
  display: flex;
  justify-content: space-between;
  padding-left: 10%;
  padding-right: 10%;
}