/* Globale reset en standaard styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    display: flex;
    background-color: #f0f4f8;
}

/* Container voor layout */
.container {
    display: flex;
    width: 100%;
}

/* Sidebar styling */
.sidebar {
    width: 250px;
    background-color: #000000;
    color: white;
    padding: 20px;
    height: 100vh;
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sidebar h2 {
    margin-bottom: 15px;
    font-size: 1.5em;
    color: #ecf0f1;
}

.sidebar h3 {
    font-size: 1.1em;
    color: #bdc3c7;
    margin-bottom: 40px;
}

.sidebar ul {
    list-style-type: none;
    width: 100%;
}

.sidebar ul li {
    margin: 15px 0;
}

.sidebar ul li a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 1em;
    padding: 10px;
    display: block;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.sidebar ul li a:hover {
    background-color: #34495e;
    color: #ecf0f1;
}

.main {
    /* The image used */
    background-image: url("/ledeganck/img/main.jpg");
    /* Full height */
    height: 100%;

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    margin-left: 250px;
    padding: 40px;
    flex-grow: 1;
    background-color: #000000;
    min-height: 100vh;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.main h1 {
    margin-bottom: 20px;
    font-size: 3em;
    color: #ffffff;
    text-align: center;
}

.main h2 {
    margin-bottom: 20px;
    font-size: 1.8em;
    color: #ffffff;
    text-align: center;
}

.main h3 {
    margin-bottom: 15px;
    font-size: 1.4em;
    color: #ffffff;
    text-align: center;
}

.main p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
}

.main img {
    margin-bottom: 20px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.main button {
    padding: 10px;

}

.main_title {
    margin: auto;
    width: 50%;
    padding: 10px;

}

/* Content styling */
.content {
    margin-left: 250px;
    /* Links uitlijnen met marge */
    padding: 40px;
    flex-grow: 1;
    background-color: #181818;
    min-height: 100vh;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.content h2 {
    margin-bottom: 20px;
    font-size: 1.8em;
    color: #ffffff;
}

.content h3 {
    margin-bottom: 15px;
    font-size: 1.4em;
    color: #ffffff;
}

.content p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #555;
}

/* Afbeelding styling */
.content img {
    margin-bottom: 20px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.content .pdf {
    min-height: 80vh;
    padding-bottom: 40px;
}

/* Tabel voor downloadpagina */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.95em;
}

/* Tabel header styling */
thead {
    background-color: #2c3e50;
    color: #ffffff;
}

th,
td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    color: white;
}

/* Hover effect voor tabelrijen */
tbody tr:hover {
    background-color: #000000;
}

/* Styling voor downloadlink als knop */
a.download-link {
    display: inline-block;
    padding: 8px 12px;
    background-color: #3498db;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

a.download-link:hover {
    background-color: #2980b9;
}

/* Responsieve aanpassingen */
@media (max-width: 768px) {
    .sidebar {
        width: 200px;
        padding: 15px;
    }

    .content {
        margin-left: 200px;
        padding: 20px;
    }

    th,
    td {
        padding: 8px 10px;
        font-size: 0.85em;
    }

    h2,
    h3 {
        font-size: 1.3em;
    }
}

@media (max-width: 480px) {
    body {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 15px;
    }

    .content {
        margin-left: 0;
        padding: 15px;
        min-height: auto;
    }

    h2 {
        font-size: 1.5em;
    }

    h3 {
        font-size: 1.2em;
    }
}