/* background image */

.background_img img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: cover;
  border-bottom: 0.5rem solid black;
}

.background_img {
  position: relative;
  text-align: center;
  color: white;
}

.background_text {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.background_buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.background_buttons a {
  background-color: white;
  text-decoration: none;
  color: black;
  padding: 0.5rem;
  border-radius: 1rem;
  margin: 0.5rem;

  &:hover {
    border: 2px solid black;
  }
}

@media (min-width: 500px) {
  .background_buttons {
    flex-direction: row;
  }
}

/* events */

.toekomstige_events {
  text-align: center;
}

.events {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0 auto;
  justify-content: center;
  border-bottom: 0.5rem solid black;
}

.events img {
  width: 100%;
}

.event {
  box-sizing: border-box;
  color: black;
}

.event a {
  color: black;
  border-bottom: 1px solid black;
}

.event h3 {
  text-align: center;
  color: black;
}

.event-date {
  font-size: 14px;
  color: #666;
  text-align: center;
}

@media (min-width: 500px) {
  .event {
    max-width: 45%;
  }
}

@media (min-width: 715px) {
  .event {
    max-width: 23%;
  }
}
