body {
    font-family: Arial, sans-serif;
    margin: 2em;
    background: #eaf1e3;
    color: #222;
    text-align: center;
    scroll-snap-type: mandatory;
    overscroll-behavior: none;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0.8em auto;
    overflow: hidden;
    padding: 1em 0;
}

.carousel {
    display: flex;
    transition: transform 0.3s ease-out;
    cursor: grab;
    gap: 2em;
    margin: 0 1em;
}

.carousel.grabbing {
    cursor: grabbing;
}

.card {
    flex: 0 0 100%;
    min-width: 100%;
    background: #fff;
    padding: 2em;
    box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.12), 0 1px 2px 0px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 8px 2px rgba(0, 0, 0, 0.15), 0 2px 4px 1px rgba(0, 0, 0, 0.12);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.indicator {
    width: 12px;
    height: 12px;
    border: none;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: rgb(2, 83, 2);;
}

p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    color: rgb(0, 48, 0);
}

p.card-footer{
    font-size: 0.8em;
    color: #555;
}

h1 {
    font-family: 'Georgia', serif;
    font-size: 2.5em;
    text-align: center;
    color: rgb(0, 48, 0);
    margin-bottom: 1em;
    font-weight: normal;
    background: #fff;
    padding: 0.5em 1em;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgb(0, 48, 0);
    display: inline-block;
    margin: 0 auto 1em auto;
}

h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: rgb(0, 48, 0);
    margin: 0.5em auto 0;
}

img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 4px;
    display: block;
    margin: 2em auto 2em auto;
}

blockquote {
    border-left: 4px solid rgb(2, 83, 2);
    margin: 1.5em 0;
    padding: 1em 1.5em;
    background: #f0f6fa;
    font-style: italic;
}

footer {
    margin-top: 0.5em;
    font-size: 0.95em;
    color: #555;
}

@media (max-width: 768px) {
    body {
        margin: 1em;
    }
    
    .card {
        padding: 1em;
    }
    
    .carousel {
        gap: 1.5em;
    }
    
    img {
        height: 150px;
    }
}

html, body {
  height: 100%;
  scroll-behavior: smooth;
  scroll-padding: 0;
}

#hero, #carousel-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#hero {
  position: relative;
}

.down-hint {
  margin-top: 1.2rem;
  font-size: 4rem;  /* groter dan 1.5rem */
  font-weight: bold;
  opacity: 0.8;
  animation: bounce 1.4s infinite;
  cursor: pointer;  /* maakt het duidelijk clickable */
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.down-hint:hover {
  opacity: 1;  /* helderder bij hover */
  transform: scale(1.1);  /* licht vergroten bij hover */
}

@keyframes bounce {
  0%,100% { transform: translateY(0) }
  50% { transform: translateY(16px) }
}

body {
  scroll-snap-type: y mandatory;
}
#hero, #carousel-section {
  scroll-snap-align: start;
}