/* Dit bestand bepaalt hoe je site eruitziet. 
   Elke regel begint met een "selector" (welk element), 
   en dan tussen { } de eigenschappen die je aanpast. */

/* Algemene instellingen voor de hele pagina */
body {
    font-family: Arial, narrow;
    margin: 0;
    background-color: #2e6d0a;
    color: #333;
}

/* De header bovenaan */
header {
    background-color: #2e6d0a;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 3.5em;
}

header p {
    margin: 5px 0 0 0;
    font-style: italic;
}

/* De sectie met producten */
main {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

h2 {
    text-align: center;
    color: #4a7c59;
}

/* Elk los product-blokje */
.product {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.product h3 {
    margin-top: 0;
    color: #333;
}

.product button,
.product .bestelknop {
    background-color: #8B4513;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.product button:hover,
.product .bestelknop:hover {
    background-color: #3a6347;
}

/* De rij met aantal-veld en bestelknop naast elkaar */
.bestel-rij {
    display: flex;
    gap: 10px;
    align-items: center;
}

.aantal-input {
    width: 60px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    text-align: center;
}

/* De footer onderaan */
footer {
    text-align: center;
    padding: 20px;
    color: #888;
    font-size: 0.9em;
}/* ===== MOBIELVRIENDELIJK ===== */
/* Deze regels gelden ALLEEN als het scherm smaller is dan 600px (dus op de meeste telefoons) */
@media (max-width: 600px) {
    header h1 {
        font-size: 1.8em;
    }

    header {
        padding: 20px 15px;
    }

    main {
        margin: 20px auto;
        padding: 0 15px;
    }

    .product {
        padding: 15px;
    }

    .product button,
    .product .bestelknop {
        padding: 12px;
    }

    .bestel-rij {
        width: 100%;
    }

    .bestel-rij .bestelknop {
        flex: 1;
    }
}