/* Slider or Carousel CSS for Homescreen */
.fullscreen-slider,
.swiper-container,
.home-slide {
  font-family: "Neue Haas Grotesk Display Pro", sans-serif;
  margin: auto;
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.home-slide picture,
.home-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-slide {
  position: relative;
}

.home-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Shadow effect beneath the image */
.home-slide::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.91), transparent);
  z-index: 1;
}

/* slideroverlay styling */
.slideroverlay {
  position: absolute;
  bottom: 10%;
  left: 5%;
  color: white;

  z-index: 2;
}

.slideroverlay .sliderheadline {
  padding-right: 10px;
}

.slideroverlay h1 {
  font-size: 3.2em;
  margin: 0;
}

.slideroverlay .date,
.slideroverlay .location {
  font-size: 1.2em;
  margin: 5px 0;
}

.slideroverlay .date {
  width: 90%;
}

@media (max-width: 768px) {
  .slideroverlay h1 {
    font-size: 2em;
  }


  .slideroverlay .date,
  .slideroverlay .location {
    font-size: 1em;
  }
}

.slideroverlay button {
  font-family: "NeueHaasGroteskDisp Pro",sans-serif;
  color: #fff;
  border: none;
  background: #2e3192;
  padding: 10px;
  z-index: 5;
}

.location a {
  text-decoration: none;
  color: #fff;
}

.slideroverlay button:hover {
  background-color: #ff8800;
  color: #000;
}

/* Slider CSS Ends Here */