@import url("https://fonts.googleapis.com/css?family=Dosis:500&display=swap");

* {
    transition: all 0.2s ease-in-out;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

header {
    position: relative;
    z-index: 100;
}

/* Navigation */
nav {
    padding: 20px 0;
    background-color: #ffffff;
    box-shadow: 0px -10px 15px 8px;
    z-index: 90;
}

ul {
    display: flex;
    list-style: none;
    margin-left: 8em;
}

ul li a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    margin-right: 2vw;
}

.active-page {
    text-decoration: underline 0.15vw;
}
ul li a:hover {
    color: grey;
}

.logo img {
    width: 100px;
    height: 100px;
    position: absolute;
    margin-top: 0.5em;
    z-index: 1;
}

.logo img:hover {
    height: 120px;
    width: 120px;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 200;
}
.dropdown-content a {
    padding: 12px 16px;
    display: block;
    color: black;
    text-decoration: none;
}
.dropdown-content a:hover {
    background-color: #ddd;
}
.dropdown:hover .dropdown-content {
    display: block;
}

/* Arrow styling */
.arrow {
    margin-left: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    user-select: none;
    display: none;
}

/* Show when active */
.dropdown.open .dropdown-content {
    display: block;
}

/* Rotate arrow when open */
.dropdown.open .arrow {
    transform: rotate(180deg);
}

/* Burger Menu */
.burger {
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 25px;
    z-index: 101;
    font-size: 32px;
    user-select: none;
}

/* Show burger lines by default */
.burger-lines {
    display: block;
}

/* Hide cross by default */
.burger-cross {
    display: none;
    font-size: 36px;
    line-height: 1;
}

/* When menu is active, toggle icons */
.burger.active .burger-lines {
    display: none;
}
.burger.active .burger-cross {
    display: block;
}

/* TOT HIER VOOR HEADER!! */

/* Container for all buttons */
.knoppen {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping to the next line */
    justify-content: center; /* Centers the items horizontally */
    gap: 3rem; /* Adds space between buttons */
    margin-top: 5rem;
}

/* General styling for each button */
.javot,
.joker,
.lefkes,
.kenks {
    width: 300px; /* Adjust width as needed */
    position: relative;
    &:hover {
        transform: scale(1.05);
    }
}

/* Styling for all images */
.javottenKnop,
.jokerKnop,
.lefkeKnop,
.kenksKnop {
    width: 100%;
    height: auto;
    border: 2px solid #e0e0e0;
    display: block;
    filter: brightness(70%);
    transition: transform 0.3s ease;
}

/* Centered text at the top for all buttons */
.javottenTekst,
.jokersTekst,
.lefkesTekst,
.kenksTekst {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* Bottom left text for "ONTDEK" and arrows */
.javottenOntdek,
.jokersOntdek,
.lefkesOntdek,
.kenksOntdek {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 14px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.arrow1,
.arrow2,
.arrow3,
.arrow4 {
    position: absolute;
    bottom: 7px;
    left: 70px;
    font-size: 18px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.pagina-titel {
    text-align: center;
    font-size: 2.5rem;
    margin-top: 2rem;
}

.programma-afbeelding {
    display: block;
    margin: 0 auto;
    width: 35%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}
/* VAN HIER VOOR FOOTER!! */

footer {
    display: flex;
    justify-content: center;
    background-color: black;
    color: white;
    padding: 2vw;
}

/* ----- MOBILE RESPONSIVE ----- */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100vh;
        background-color: white;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
        flex-direction: column;
        padding-top: 80px;
        transition: right 0.3s ease;
    }
    nav.active {
        right: 0;
    }
    nav ul {
        flex-direction: column;
        margin: 0;
        padding: 0;
    }
    nav ul li a {
        margin: 1em;
        font-size: 1.3rem;
    }

    .dropdown-content {
        position: relative;
        display: none;
        box-shadow: none;
        min-width: 100%;
    }
    .dropdown.active .dropdown-content {
        display: block;
    }
    .dropdown-content a {
        padding: 10px 20px;
    }

    .logo img {
        width: 70px;
        height: 70px;
        position: relative;
        margin: 10px;
    }

    .welkom {
        font-size: 1.5rem;
        margin: 1em;
    }
    .tekstcontainer {
        flex-direction: column;
        margin: 2em 1em;
        padding: 1em;
    }
    .tekstbeneden p {
        font-size: 1rem;
    }
    .einde p {
        font-size: 1.2rem;
    }
    .start2024 img {
        height: auto;
        width: 90%;
    }
    .welkom2 .grootLogo img {
        display: none;
    }

    .knoppen {
        margin-top: 1rem;
        margin-bottom: 5rem;
    }

    .pagina-titel {
        font-size: 2rem;
        margin-top: 0;
    }

    .programma-afbeelding {
        width: 75%;
        margin-top: 2rem;
        margin-bottom: 5rem;
    }

    .dropdown-content a {
        font-size: 1.2rem;
        margin: 0;
        padding: 0;
        padding-left: 2rem;
        margin-bottom: 0.5rem;
    }

    .dropdown-content {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .arrow {
        display: inline;
    }
}
