body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f0f0f0;
        }

        header {
            background-color: #2c3e50;
            color: white;
            padding: 20px;
            text-align: center;
        }

        main {
            max-width: 1200px;
            margin: 20px auto;
            padding: 20px;
        }

        .weather-card {
            background: white;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .weather-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-top: 20px;
        }

        .weather-grid-history {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            margin-top: 20px;
        }

        .weather-item {
            background: #ecf0f1;
            padding: 15px;
            border-radius: 5px;
        }

        .weather-item h3 {
            margin: 0 0 10px 0;
            color: #2c3e50;
            font-size: 14px;
        }

        .weather-value {
            font-size: 24px;
            font-weight: bold;
            color: #3498db;
        }

        .charts-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin-top: 20px;
        }

        .chart-item {
            background: white;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .chart-item img {
            width: 100%;
            height: auto;
            display: block;
        }

        .chart-item h3 {
            margin: 0 0 15px 0;
            color: #2c3e50;
            text-align: center;
        }

        footer {
            background-color: #2c3e50;
            color: white;
            text-align: center;
            padding: 15px;
            margin-top: 40px;
        }

        .navigation {
            background-color: #34495e;
            padding: 15px;
            text-align: center;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            overflow-x: auto;
            white-space: nowrap;
            -webkit-overflow-scrolling: touch;
        }

        .nav-button {
            display: inline-block;
            background-color: #2c3e50;
            color: white;
            padding: 10px 20px;
            margin: 0 10px;
            text-decoration: none;
            border-radius: 5px;
            font-weight: bold;
            transition: background-color 0.3s;
        }

        .nav-button:visited {
                color: white;
            }

        .nav-button:hover {
            background-color: #2c3e50;
        }

        .nav-button.active {
            background-color: #3498db;
        }

        .webcam-container {
            text-align: center;
            max-width: 800px;
            margin: 0 auto;
        }

        .webcam-container img {
            width: 100%;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        }

                    /* Link styling */
            a {
                color: #3498db;
                text-decoration: none;
                transition: color 0.3s;
            }

            a:visited {
                color: #3498db;
            }

            a:hover {
                color: #2980b9;
                text-decoration: underline;
            }

        @media (max-width: 768px) {
            .navigation {
                padding: 15px 10px;
                text-align: center;
                white-space: normal;
            }

            .nav-button {
                margin: 5px 10px;
            }

            main {
                margin: 0;
                padding: 0;
            }

            .weather-card {
                border-radius: 0;
                margin-left: 0;
                margin-right: 0;
            }

            .weather-grid,.weather-grid-history {
                grid-template-columns: 1fr;
            }

            .charts-grid {
                grid-template-columns: 1fr;
                gap: 0;
            }

            .chart-item {
                padding: 0;
                border-radius: 0;
                box-shadow: none;
                margin: 0;
            }

            .chart-item h3 {
                padding: 10px 15px;
            }

            .chart-item img {
                border-radius: 0;
            }

            .item-group {
    /* Prevents the text inside the span from breaking */
    white-space: nowrap;
}
        }

/* Tabel Styling */
            .responsive-table {
                overflow-x: auto;
                margin-bottom: 20px;
                box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
                border-radius: 8px;
            }

            table {
                width: 100%;
                border-collapse: collapse;
                background-color: white;
                min-width: 600px; /* Forceert scrollen op mobiel bij veel kolommen */
            }

            th, td {
                padding: 12px 15px;
                text-align: left;
                border-bottom: 1px solid #ddd;
            }

            th {
                background-color: #34495e;
                color: white;
                text-transform: uppercase;
                font-size: 14px;
                letter-spacing: 0.03em;
            }

            tr:nth-child(even) {
                background-color: #f8f9fa;
            }

            tr:hover {
                background-color: #f1f1f1;
            }





.admin-bar {
    background-color: #1d2327; /* Donkergrijs zoals WordPress */
    color: #eee;
    height: 32px;
    line-height: 32px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 13px;
    position: relative;
    top: 0;
    z-index: 9999;
}

.admin-bar-content {
    max-width: 1200px; /* Of de breedte van je site */
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    gap: 20px;
}

.admin-bar a {
    color: #eee;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.admin-bar a:hover {
    color: #72aee6; /* Blauwe hover kleur */
}

.admin-bar a.active {
    background-color: #2c3338; /* Iets lichtere achtergrond voor het actieve item */
    color: #72aee6;
    padding: 0 8px;
    margin: 0 -8px;
}