/* ===== Algemene reset ===== */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html, body {
    height: 100%;
    overflow-x: hidden;
}

/* ===== Hero section ===== */
.hero {
    min-height: 100svh;      /* dynamische viewport */
    min-height: 100dvh;      /* iPhone/Chrome fix */
    padding: 20px;
    display: flex;
    flex-direction: column;  /* titel boven, countdown eronder */
    align-items: center;
    justify-content: center;
    color: white;
    background-image:
        linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
        url(background.jpg);
    background-size: cover;
    background-position: center;
}

/* ===== Titel ===== */
h1 {
    font-size: clamp(1.6rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 30px;
}

/* ===== Timebox container ===== */
.timebox {
    display: flex;
    flex-wrap: nowrap;          /* altijd in één rij op desktop */
    gap: clamp(15px, 3vw, 80px);
    justify-content: center;
    max-width: 95vw;
}

/* ===== Tijdblokken ===== */
.time {
    flex: 1 1 120px;           /* blokken passen zich aan */
    max-width: 180px;
    text-align: center;
}

.time h2 {
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 100;
}

.time p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-top: 5px;
}

/* ===== Mobiel / klein scherm ===== */
@media (max-width: 600px) {
    .timebox {
        flex-wrap: wrap;        /* breek naar meerdere rijen op mobiel */
    }
    .time {
        flex: 1 1 45%;          /* twee per rij */
        max-width: none;
    }
}

@media (max-width: 400px) {
    h1 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    .time h2 {
        font-size: 1.6rem;
    }
    .time p {
        font-size: 0.9rem;
    }
    .timebox {
        gap: 10px;
    }
}
