body{
    background-image: url(images/pexels-photo-998641.jpeg);
    background-size: cover;
    background-position: center;
}

.container{
    padding: 10px 10%;
}
nav{
    display: flex; 
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
 }
 

 nav ul li{
     display: inline-block;
     list-style: none;
     margin: 10px 20px;
 }
 
 nav ul li a {
     text-decoration: none;
     color: #f0e9e9;
     font-size: 16px;
     font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
     transition: color 0.3s ease, border-bottom 0.3s ease;
 }

 nav ul li a:hover {
    color: red; 
    border-bottom: 2px solid red; 
}

.logo{
    width: 200px; /* Retain the desktop design */
    position: relative;
    left: 20px;
    top: 40px;
}



.tussenkopje{
    color: white;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif ;
    text-align: left;
    font-size: 20px;
    margin-left: 90px;
}

.text{
    color: white;
    text-align: left;
    font-size: 16px;
    padding: 10px 350px;
    font-family: Arial, Helvetica, sans-serif;
    margin-left: -15%;
}

.midden{
    margin-top: 10%;
    align-items: left;
}
@media (max-width: 767px) {
    /* Navigation */
    nav ul {
        display: none; /* Hide the menu initially */
        flex-direction: column;
        align-items: center;
        background-color: rgba(0, 0, 0, 0.8);
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        z-index: 999;
    }

    nav ul.active {
        display: flex; /* Show menu when active */
        margin-left: -10%;
    }

    .menu-icon {
        font-size: 28px;
        color: white;
        cursor: pointer;
        display: block;
        text-align: right;
        position: relative;
        margin-left: 110px;
        right: 45%;
        top: 40px;

    }

    nav ul li {
        margin: 15px 0; /* Vertical spacing for menu items */
    }

    nav ul li a {
        font-size: 18px; /* Adjust font size for mobile */
    }

    .logo {
        width: 150px; /* Adjust for smaller screens */
        position: unset;
    }
        
    .tussenkopje {
            font-size: 18px;
            margin-left: 20px; /* Reduce margin on smaller screens */
        }
        .text {
            font-size: 14px;
            padding: 10px 20px; /* Adjust padding for smaller screens */
            margin-left: 0;
        }
        .midden{
            margin-top: 30%;
            align-items: left;
        }
}
@media (max-width: 480px) {
    /* Further adjustments for mobile screens */
    .tussenkopje {
        font-size: 16px;
        margin-left: 10px;
    }

    .text {
        font-size: 12px;
        padding: 10px 15px; /* Reduce padding for very small screens */
    }
}