/* Algemene stijlen */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

header {
    background-color: #003366;
    color: white;
    padding: 1rem;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2rem;
}

header p {
    margin: 0.5rem 0 1rem;
    font-size: 1rem;
    font-style: italic;
}

header nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    font-size: 1rem;
}

header nav a:hover {
    text-decoration: underline;
}

main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #003366;
    font-size: 1.5rem;
    border-bottom: 2px solid #003366;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

form {
    display: flex;
    flex-direction: column;
}

form label {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

form input {
    font-size: 1rem;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    font-size: 1rem;
    background-color: #003366;
    color: white;
    padding: 0.7rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #002244;
}

#route-results, #fuel-table {
    margin-top: 2rem;
}

#route-results p {
    font-size: 1.2rem;
    color: #003366;
    margin: 0.5rem 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

table th, table td {
    padding: 0.8rem;
    text-align: left;
    border: 1px solid #ccc;
}

table th {
    background-color: #003366;
    color: white;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.hidden {
    display: none;
}

.home-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
}

.button {
    text-decoration: none;
    font-size: 1rem;
    background-color: #003366;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #002244;
}