* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: 'Lora', serif;
            background-color: #f4f1ea;
            color: #333;
            line-height: 1.6;
        }
        header {
            background-color: #41663b;
            color: white;
            padding: 0px;
            text-align: center;
        }
        nav ul {
            list-style: none;
            display: flex;
            justify-content: center;
            background-color: #609365;
            font-size: 16px;
        }
nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px;
    display: block;
    font-size: 20px; 
    font-weight: 505;
}
        nav ul li a {
            color: #f1f1f1;
            text-decoration: none;
            padding: 10px;
            display: block;
        }
        nav ul li a:hover {
            background-color: #b8d9bb;
        }
.hero {
    position: relative;
    background-image: url('..//image/kerk.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 200px 20px;
    text-align: center;
    text-shadow: 0 2px 5px rgba(217, 217, 217, 0.6);
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.6));
    pointer-events: none;
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}
        .content {
            padding: 20px;
            max-width: 900px;
            margin: auto;
        }
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 15px;
    background-color: #41663b;
    color: white;
    z-index: 1000; 
}
        @media (max-width: 600px) {
            nav ul {
                flex-direction: column;
            }
            nav ul li {
                margin: 5px 0;
            }
        }
h2 {
    color: black;
}
p {
    color: black;
}

.section-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  background-color: #f0f0f0;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.slideshow-container {
  max-width: 800px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  position: relative;
}

.slide-text {
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  width: 100%;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #333;
}

.slide-text h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.slide-text p {
  font-size: 1.2rem;
}

.slide-text.active {
  opacity: 1;
  z-index: 1;
}

/* Verberg op schermen kleiner dan 1024px */
@media (max-width: 1024px) {
  .section-slide {
    display: none;
  }
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    padding: 15px;
}

@media (max-width: 600px) {
    .menu-toggle {
        display: block;
    }
    nav ul {
        flex-direction: column;
        display: none; /* Start hidden */
        width: 100%;
        background-color: #8caa8f;
    }
    nav ul.showing {
        display: flex;
    }
}