.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 160px;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.308);
    padding: 40px;
    transform: translateX(-100%);
    transition: 0.3s ease;

    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 20px;
}

.sidebar a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 8px;
    margin: 0;
    transition: background-color 0.3s ease;
    color: black;
}

.sidebar a.active {
    background-color: rgba(231, 231, 231, 0.658);
    border-radius: 8px;
}

#menuButton {
    position: fixed;
    left: 10px;
    top: 10px;
    width: 60px;
    height: 60px;
    background-color: rgba(231, 231, 231, 0.658);
    border-radius: 8px;
    font-size: 30px;
    cursor: pointer;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    padding: 50px;
    padding-top: 0px;
    transition: margin-left 0.3s ease;
    background-image: url("https://i.imgur.com/fJkS4v7.jpeg");
}

body.sidebar-open {
    margin-left: 240px;
}

body.sidebar-open .sidebar {
    transform: translateX(0);
}

img {
    border-radius: 15px;
}

h1 {
    font-size: 40px;
    text-align: center
}

h2 {
    font-size: 30px;
    text-align: center
}

h3 {
    font-size: 25px;
    text-align: center
}

.lijst {
    display: flex;
    gap: 150px;
    justify-content: center;
    margin-bottom: 50px;
}

.container {
    display: flex;
    justify-content: center;
    align-items: start;
    gap: 50px;
}

.tekst-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.tekst {
    background-color: rgba(0, 0, 0, 0.308);
    padding: 20px;
    border-radius: 10px;
    width: 400px;
}

.tekst2 {
    background-color: rgba(0, 0, 0, 0.308);
    padding: 20px;
    border-radius: 10px;
    width: 1050px;
}

html {
    scrollbar-width: none;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar {
    display: none;
}

body > *:not(.sidebar):not(#menuButton) {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

body > *.fade {
    opacity: 0;
    transform: translateY(20px);
}

body > *.visible {
    opacity: 1;
    transform: translateY(0);
}
