body{
    background: linear-gradient(to bottom, #ffe6b3, #ffcc66);
    height: 100vh;
}

.gedichtContainer {
    width: 90%;
    max-width: 1000px;
    margin: 50px auto;
    position: relative; /* niet fixed, zodat scroll werkt */
    z-index: 10; /* boven animatie */
}

.tekstbox {
    background: rgba(255, 248, 220, 0.95); /* licht doorschijnend zodat animatie erachter zichtbaar is */
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    color: #8b4513;
    border-radius: 15px;
    border: 3px solid #d2691e;
    width: 100%;        /* vul container */
    height: auto;       /* laat inhoud bepalen hoogte */
    padding: 20px;
    font-size: clamp(16px, 3vw, 22px);
    line-height: 1.6;
    overflow-y: auto;   /* scroll als het te lang is */
    white-space: pre-line;
}

/* Animatie container */
#animatieContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

/* Pepernoten */
.pepernoot {
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: #d2691e;
    border-radius: 50%;
    animation-name: vallen;
    animation-timing-function: linear;
}

/* Cadeautjes met strik */
.cadeau {
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: #ff6666; /* kleur van het cadeau */
    border-radius: 4px;
    animation-name: vallen;
    animation-timing-function: linear;
    transform: rotate(0deg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Strik horizontaal en verticaal */
.cadeau::before,
.cadeau::after {
    content: "";
    position: absolute;
    background-color: #ffd700; /* gouden strik */
}

.cadeau::before {
    width: 100%;
    height: 5px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.cadeau::after {
    width: 5px;
    height: 100%;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Kerstboom */
.kerstboom {
    position: absolute;
    width: 40px;
    height: 50px;
    background-color: green;
    clip-path: polygon(
        50% 0%, 
        60% 20%, 
        80% 20%, 
        65% 40%, 
        75% 40%, 
        55% 60%, 
        70% 60%, 
        50% 80%, 
        30% 60%, 
        45% 60%, 
        25% 40%, 
        35% 40%, 
        20% 20%, 
        40% 20%
    );
    animation-name: vallen;
    animation-timing-function: linear;
}

/* Vallen animatie */
@keyframes vallen {
    0% {
        transform: translateY(-20px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}