/* Importeer het officiële Open Sans lettertype */
@import url('https://googleapis.com');

:root {
    --red-impact: #E3001B; /* Het officiële Radboud helderrood */
    --maroon: #660011;     /* Het officiële Radboud donkerrood */
    --bg-light: #F8F9FA;   /* Neutrale lichte achtergrond voor de pagina */
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-light);
    color: #000000;
    margin: 0;
    padding: 60px 20px;    /* ?? Ruimte aan de boven/onderkant en zijkanten */
    box-sizing: border-box;
}

/* ?? DE WATERDICHTE OPSET: Dit model fixeert de breedte en dwingt kantlijnen af */
.container {
    background-color: #ffffff;
    max-width: 800px;      /* ?? Harde grens: het formulier kan NOOIT breder worden dan dit */
    width: 100%;           /* ?? Schlaalt netjes mee op mobiel */
    margin: 0 auto;        /* ?? De 'auto' links en rechts centreert de box perfect op je scherm */
    padding: 40px;         /* ?? Binnenwaartse kantlijn (ruimte rondom je formuliertekst) */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    border-top: 5px solid var(--red-impact);
    box-sizing: border-box;
}

h1 {
    font-size: 26px;
    color: var(--red-impact); /* ?? Koptekst nu officieel Red Impact */
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
}

p {
    font-size: 15px;
    line-height: 1.6;
    color: #000000;        /* ?? Introductietekst hard op zwart */
    margin-bottom: 30px;
}


td {
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000000;        /* ?? Formulierlabels hard op zwart */
}

/* Invoervelden netjes gestijld en begrensd binnen de container */
input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus {
    border-color: var(--red-impact);
    outline: none;
}

.error-message {
    color: var(--red-impact);
    font-size: 13px;
    margin-top: 6px;
    font-weight: 600;
}

.message-success {
    background-color: #D4EDDA;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 600;
}

.tablefirstrow {
    font-size: 2em;
}

/* De verzendknop */
button[type="submit"] {
    width: 100%;
    padding: 14px;
    background-color: var(--red-impact); /* Knop is Red Impact */
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}

button[type="submit"]:hover {
    background-color: var(--maroon); /* Wordt donkerrood als je eroverheen hovert */
}

button[type="submit"]:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}


/* Mobile-first layout: Stacks people vertically on phones */
.people-container {
    display: flex;
    flex-direction: column; 
    gap: 15px;             
    padding: 10px;
    width: 100%;
}

.person-card {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #eaeaea;
    box-sizing: border-box;
    text-align: center;
}

/* Laptop/Desktop layout: Places people next to each other */
@media (min-width: 768px) {
    .people-container {
        flex-direction: row; /* Horizontal row */
        flex-wrap: wrap;     /* Wraps to the next line if screen is too narrow */
        justify-content: flex-start;
    }
    
    .person-card {
        flex: 1;             /* Shares space equally */
        min-width: 180px;    /* Stops cards from getting too small */
        max-width: 250px;    /* Stops cards from getting too wide */
	text-align: center;
    }
}
