* {
    margin: 0;
    padding: 0;
}

body {
    background: #a1ce5d9b;
    display: flex;
    flex-direction: column;
    min-height: 100vh;  
    margin: 0;
}


body.inactive {
    opacity: 0.3;
    pointer-events: none;  
}

nav ul.active {
    opacity: 1;
    pointer-events: auto; 
}


nav {
    background-color: #F5F5F5; 
    width: 70%;
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    padding: 10px 0px; 
    margin: 0 auto;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    position: relative;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

nav img {
    width: 100px; 
    margin-left: 20px;
}

nav ul {
    display: flex;
    list-style-type: none;
    margin-right: 20px;
    gap: 20px;
}

nav ul li {
    margin-left: 10px; 
    padding: 15px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.5s ease;
}

nav ul li:hover{
    background-color: #c3974bac;
    transform: scale(1.1);
}

nav ul li a {
    text-decoration: none; 
    color: #333; 
    font-size: 16px; 
}



#hamburger-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 30px;
    height: 25px;
    cursor: pointer;
    position: relative;
    left: -12px;  
}

#hamburger-icon .bar {
    width: 30px;
    height: 4px;
    background-color: #333;
    border-radius: 5px;
    transition: all 1s ease;
}


#hamburger-icon.active .bar:nth-child(2) {
    transform: translateX(100px); 
    opacity: 0;
}


#hamburger-icon.active .bar:nth-child(1) {
    transform: rotate(45deg) translateY(10px); 
}

#hamburger-icon.active .bar:nth-child(3) {
    transform: rotate(-45deg) translateY(-15px) translateX(4px); 
}


@media (max-width: 768px) {
    nav {
        width: 100%;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 10px 0;
        position: absolute;
        top: 87%;
        left: 0;
        background-color: #f5f5f5;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1;
        max-height: 0;
        overflow: hidden;
        transition: max-height 1s ease-out;
    }

    nav ul.active {
        max-height: 500px;
        display: flex;
    }

    nav ul li {
        margin-left: 0;
        margin-top: 10px;
        background-color: #bfa881bb;;
    }

    nav ul li:hover{
        transform: scale(1);
    }

    nav img {
        margin-left: 0px;
    }

    #hamburger-icon {
        display: flex;
    }
}


.middle{
    text-align: center;
    margin-top: 15%;
}

.middle h2{
    font-weight: bold;
    font-size: 50px;
}

.middle p {
    font-size: 26px;
    word-wrap: break-word; 
    word-break: break-word; 
    line-height: 1.5; 
    max-width: 50%; 
    margin: 0 auto; 
}


.middle button {
    background-color: #bfa881; 
    color: #333; 
    font-size: 18px;
    padding: 15px 30px;
    border: none;
    border-radius: 50px; 
    cursor: pointer;
    transition: all 0.3s ease; 
    margin: 5px; 
    margin: 10px; 
    width: 250px; 
    max-width: 100%;
    font-weight: 500;
}

.middle button:hover {
    background-color: #c2a169; 
    transform: scale(1.05); 
}

.middle button a{
    text-decoration: none;
    color: #000;
}


@media (max-width:768px) {
    .middle{
        margin-top: 50%;
    }

    .middle h2{
        font-size: 26px;
    }

    .middle p{ 
        font-size: 14px;
        max-width: 95%; 
       
    }

    .middle button {
        font-size: 12px;
        padding: 10px 20px; 
        width: 160px; 
    }
}


.footer {
    position: absolute;
    bottom: 0;
    width: 85%;
    background-color: #F5F5F5;
    color: rgb(0, 0, 0);
    padding: 20px 0;
    text-align: center;
    font-size: 16px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    justify-content: space-between; 
    align-items: center; 
    left: 50%;
    transform: translateX(-50%);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.footer p {
    margin: 0;
    font-size: 16px;
}

.privacy-link {
    color: #3498db;
    text-decoration: none;
    font-size: 18px;
    margin-top: 10px;
    display: inline-block;
}

.privacy-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer{
        width: 100%;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
    }
}

.Middle2 {
    position: relative;
    margin-top: 5%;
    width: 50%;
    background-color: #F5F5F5;
    color: rgb(0, 0, 0);
    padding: 20px;
    text-align: center;
    font-size: 16px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    justify-content: space-between;
    align-items: center;
    left: 50%;
    transform: translateX(-50%);
    max-height: 60vh; 
    overflow-y: auto; 
    border-radius: 20px;
}

.Overons p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.Overons h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #333;
}

@media (max-width: 768px) {
    .Middle2 {
        margin-top: 10%;
        width: 85%;
        max-height: 45vh; 
    }
}

.Middle3 {
    position: relative;
    margin-top: 5%;
    width: 50%;
    background-color: #F5F5F5;
    color: rgb(0, 0, 0);
    padding: 20px;
    text-align: center;
    font-size: 16px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    justify-content: space-between;
    align-items: center;
    left: 50%;
    transform: translateX(-50%);
    max-height: 60vh; 
    overflow-y: auto; 
    border-radius: 20px;  
}

.Middle3 p {
    margin-bottom: 20px;
    line-height: 1.6; 
}

.Middle3 h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #333;
}

@media (max-width: 768px) {
    .Middle3 {
        margin-top: 10%;
        width: 85%;  
        max-height: 55vh; 
    }
}

.image-link {
    text-decoration: none; /* Optioneel, verwijdert standaard onderlijning */
    cursor: pointer;
}

.image-link:hover {
    opacity: 0.8; 
    cursor: Pointer;
}
