* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    font-size: 16px;
    min-height: 100%;
    color: #ffffff;
    background-color: #36404A;
}

/* Header Rules ------------------- */
header {
    display: flex;
    justify-content: space-between;
    grid-template-columns: auto 1fr;
    align-items: center;
    grid-column-gap: 30px;
    height: 70px;
    padding: 0 20px;
    background-color: #22292F;
    color: #fff;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.8);
    position: sticky;
    top: 0;
    z-index: 1100;          /* hoger dan overlay */
    position: relative;     /* nodig om z-index te laten werken */
}

header .brand {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    padding-top: 20px;
    padding-bottom: 20px;
}



/* Header Rules ---hamburger------- */
.hamburger {
    width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 4px;
    background: #fff;
    border-radius: 2px;
}

/* wanneer actief (open) */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* Overlay die het scherm afdekt */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* donkere achtergrond */
    display: flex;
    justify-content: center;
    /* horizontaal centreren */
    align-items: center;
    /* verticaal centreren */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 1000;
}

/* Actief maken */
.overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Table begint rechts buiten beeld */
#table_01 {
    width: 300px;
    background: #546373;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.8);
    transform: translateX(100%);
    /* buiten beeld rechts */
    transition: transform 0.4s ease;
}

/* Wanneer overlay actief is -> naar midden schuiven */
.overlay.active #table_01 {
    transform: translateX(0);
}

.nav-container {
    display: flex;
    justify-content: center;
    /* Center horizontaal */
    gap: 15px;
    /* Ruimte tussen knoppen */
    margin: 20px 0;
}
    
.nav-button {
    background-color: #22292F;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
    /* ook de schaduw animeren */
    box-shadow: 5px 5px 6px rgba(0, 0, 0, 0.8);
    /* standaard schaduw */
}
    
.nav-button:hover {
    background-color: #4d9176;
    box-shadow: 10px 10px 12px rgba(0, 0, 0, 0.8);
    /* grotere schaduw bij hover */
        }


/* Table Rules ------------------- */
#table_01 {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    border: 3px solid #22292F;
    border-radius: 10px;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.8);
    width: 92%;
    background-color: #546373;
    margin-left: auto;
    margin-right: auto;
}

/* Footer Rules ------------------- */
footer {
    background-color: #22292F;
    position: relative;
    padding: 20px;
    width: 100%;
    color: #ffffff;
    box-shadow: 0 -5px 5px rgba(0, 0, 0, 0.8);
} 

