/* Styles specifiek voor de impressiepagina */
.impressie {
  position: relative;
  width: 1200px;  /* Vastgestelde breedte */
  margin: 60px auto;
  box-sizing: border-box;
}

.item {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Overlapping items */
.item:not(:first-child) {
  margin-top: -80px;
}

/* Layout variatie per item */
.item:nth-child(odd) {
  justify-content: flex-start;
  padding-left: 100px;
}
.item:nth-child(even) {
  justify-content: flex-end;
  padding-right: 100px;
}

/* De grote achtergrondvorm (vlek) */
.vlek {
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Container binnenin de vlek, voor afbeelding en tekst */
.vlek-inhoud {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* De afbeelding zelf */
.vlek img {
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

/* De titel onder de afbeelding */
.vlek p {
  margin-top: 2px;
  font-size: 35px;
  font-family: 'Amatic SC', cursive;
  font-weight: bold;
  color: white;
  text-align: center;
  z-index: 2;
}

/* Achtergrondvlekken per kleur */
.blauw .vlek {
  width: 800px;
  height: 800px;
  background-image: url('vlek-blauw.png');
}
.rood .vlek {
  width: 800px;
  height: 800px;
  background-image: url('vlek-rood.png');
}
.geel .vlek {
  width: 800px;
  height: 800px;
  background-image: url('vlek-geel.png');
}
.groen .vlek {
  width: 850px;
  height: 850px;
  background-image: url('vlek-groen.png');
}

/* Afmetingen van de afbeelding per kleur */
.blauw .vlek img {
  width: 380px;
  height: 380px;
}
.rood .vlek img {
  width: 400px;
  height: 400px;
}
.geel .vlek img {
  width: 400px;
  height: 400px;
}
.groen .vlek img {
  width: 420px;
  height: 420px;
}

/* Verschuiving per kleur: hele inhoud beweegt mee */
.blauw .vlek-inhoud {
  transform: translateX(-20px);
}
.rood .vlek-inhoud {
  transform: translateX(-20px);
  transform: translateY(30px);
}
.geel .vlek-inhoud {
  transform: translateY(10px);
}
.groen .vlek-inhoud {
  transform: translateX(-50px);
}

/* Responsive regels */
@media screen and (max-width: 768px) {
  .item {
    justify-content: center !important;
    padding: 0 !important;
  }

  .item:not(:first-child) {
    margin-top: -80px;
  }

  .vlek {
    width: 90vw !important;
    height: 90vw !important;
  }

  .vlek img {
    width: 50vw !important;
    height: 50vw !important;
  }

  .vlek-inhoud {
    transform: none !important;
  }
}
