:root{
  --menu_text: #ffffff;
  --footer_text: #4e4e4e;
  --menu_back: #0267FF;
  --footer_back: #121212;
  --font_text: 'Roboto', sans-serif;
  --font-h: 'Roboto', sans-serif;
  --color-1: rgb(58, 110, 175);
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600&family=Poppins:ital,wght@0,300;0,400;1,300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mulish&family=Playfair+Display:wght@600&family=Poppins:ital,wght@0,300;0,400;1,300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,700;1,500&family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap');




    .hero-sommer {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 70vh;
        background-image: url("../images/hero-sommer.png");
        margin-bottom: 40px;
        background-size: cover;
        background-position: center;
        }

    .hero-frühling {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 70vh;
        background-image: url("../images/hero-fruehling.png");
        margin-bottom: 40px;
        background-size: cover;
        background-position: center;
        }


    .hero-herbst {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 70vh;
        background-image: url("../images/hero-herbst.png");
        margin-bottom: 40px;
        background-size: cover;
        background-position: center;
        }

    .hero-winter {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 70vh;
        background-image: url("../images/hero-winter.png");
        margin-bottom: 40px;
        background-size: cover;
        background-position: bottom;
        }

    .hero-h1 {
      font-size: 36px;
      text-align: center;
      margin: 0;
      font-family: var(--font-h);
      color: white;
    }

    .text {
        font-size: 18px;
        text-align: left;
        margin-left: 9%;
        margin-right: 9%;
        font-family: var(--font_text);
        margin-bottom: 40px;
    }

.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 18px;
}

.gallery-img {
  width: 20%;
  height: 280px;
  object-fit: cover;
  cursor: pointer;
  margin-bottom: 18px;
}

.preview-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.preview-img {
  display: block;
  max-width: 90%;
  max-height: 80%;
  height: 80%;
  width: auto;
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin-top: 110px;
}

.prev-btn,
.next-btn,
.close-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  padding: 10px;
  border: none;
  background-color: transparent;
  color: white;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.4);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}


.close-btn {
  top: 100px;
  right: 0;
}

.preview-overlay.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 600px) {
  .gallery-img {
    width: 50%;
  }
}