* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: url("../images/achtergrondfoto.jpg") no-repeat center center/cover;
  overflow-x: hidden;
    margin: 0;
  padding: 0;
  
}

.tape-terug {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 200px; /* pas aan naar jouw afbeelding */
  z-index: 10;
  transition: transform 0.3s ease;
}

.tape-terug:hover {
  transform: scale(1.08);
}

.tape-content {
  position: absolute;
  top: 40px; /* afstand vanaf bovenkant van het scherm */
  left: 50%;
  transform: translateX(-50%) rotate(-3deg); /* centreren + lichte scheve plaklook */
  z-index: 5;
}
.content-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 400px auto;
  padding: 0 20px;
}

.content-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.content-item img {
  width: 100%;
  height: 350px; /* grotere hoogte */
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  color: white;
  background: rgba(0, 0, 0, 0.2);
  transition: background 0.4s ease;
  text-align: center;       /* ✅ centreren tekst horizontaal */
}


.content-item:hover img {
  transform: scale(1.05);
}

.content-item:hover .overlay {
  background: rgba(0, 0, 0, 0.4); /* donkerder bij hover */
}
