/* Algemene stijlen */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

/* CSS for old-school lettertype */
.title {
  font-family: "Courier Prime", monospace;
  /* Add any other styling for the title */
}

/* Brouwerij sectie stijlen */
.brouwerij-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.background-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.background-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modern-image-container {
  position: absolute;
  width: 100%;
  height: 100%;
}

.modern-image-container img {
  width: 40%;
  height: auto;
  z-index: 2;
  margin-left: 52%;
  margin-top: 15%;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.7);
}

.text-overlay {
  position: absolute;
  top: 20%;
  margin-left: 5%;
  max-width: 150%;
  text-align: left;
  color: white;
}

.text-overlay h2 {
  font-size: 12pt;
  margin-bottom: 10px;
  width: 180%;
}

.text-overlay p {
  width: 120%;
  font-family: "Courier Prime", monospace;
  font-size: 14pt;
}

.container {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Zorgt ervoor dat de afbeeldingen vanaf de bovenkant beginnen */
  height: 100%;
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  opacity: 1;
}

.overlay p {
  font-size: 24px;
  font-family: "Roboto Slab";
  text-decoration: none;
}
.overlay a {
  text-decoration: none;
  color: white;
}

.container:hover .background-container-stokerij img {
  filter: brightness(0.7); /* Donkere tint bij hover */
}

.container:hover .overlay {
  opacity: 1;
}

.background-container-stokerij img {
  position: absolute;
  top: 200px;
  left: 30%;
  width: 40%;
  height: auto;
  object-fit: cover;
  transition: filter 0.5s ease;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 2);
  background-color: rgba(0, 0, 0, 0.3); /* Donkere tint met 50% opaciteit */
}

@media screen and (max-width: 768px) {
  .modern-image-container .text-overlay {
    width: 90% !important;
    left: unset !important;
  }

    .brouwerij-section img {
filter: brightness(0.5);
    }

    .modern-image-container .text-overlay p{
        width: 100%;
    }

  .modern-image-container .text-overlay h2 {
    width: 100%;
    font-size: 32px;
  }
}
