/* Algemene instellingen */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3 {
    color: #222;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background: linear-gradient(135deg, #e50914, #ff6f61);
    color: white;
    text-align: center;
    padding: 50px 20px;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0;
}

header p {
    font-size: 1.2rem;
    margin: 10px 0 20px;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: white;
    color: #e50914;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background-color: #e50914;
    color: white;
}

/* Intro sectie */
#intro {
    padding: 50px 20px;
    background-color: #ffffff;
    text-align: center;
}

.responsive-image {
    max-width: 100%;
    height: auto;
    margin-top: 20px;
    border-radius: 8px;
}

/* Nieuwssectie */
#news {
    margin-top: 20px;
    padding: 50px 20px;
    background-color: #f4f4f4;
}

.cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    padding: 20px;
    /*flex: 1 1 calc(33.333% - 20px);*/
    /*max-width: calc(33.333% - 20px);*/
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    /*transform: translateY(-5px);*/
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 1rem;
    color: #555;
}

.card .intro {
    font-size: 1rem;
    color: #555;
}

.hidden-content {
    display: none;
    margin-top: 10px;
    font-size: 0.95rem;
    color: #444;
}

.toggle-button {
    background-color: #e50914;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.toggle-button:hover {
    background-color: #c40812;
}

.read-more:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #222;
    color: #ffffff;
    font-size: 0.9rem;
}

/* Responsiviteit */
@media (max-width: 768px) {
    .cards {
        flex-direction: column;
    }

    .card {
        max-width: 100%;
    }
}
