body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('background5.jpg') no-repeat center center fixed;
    background-size: cover;
    opacity: 0.5;
    z-index: -1;
}

/* Container to hold overlay and partners side by side */
.container {
    display: flex;
    flex-direction: row; /* Ensure side-by-side layout */
    justify-content: center; /* Center the entire content */
    align-items: flex-start; /* Align items at the top */
    max-width: 1400px; /* Increased to accommodate both sections */
    margin: 0 auto;
    padding: 20px;
    margin-top: 100px;
}

/* Overlay styling */
.overlay {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    width: 40%; /* Reduced width to fit beside partners */
    max-width: 700px;
    min-width: 300px;
    border-radius: 20px;
    text-align: center;
    box-sizing: border-box;
    margin-right: 0px; /* Space between overlay and partners */
}

.overlayBox {
    color: #000;
    margin-left: 10%;
    margin-right: 10%;
    padding: 50px 20px;
    opacity: 1;
}

/* Partners styling */
.partners {
    width: 60%; /* Adjusted to fit beside overlay */
    max-width: 750px;
    text-align: center;
    margin: 0; /* Remove unnecessary margins */
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.description {
    font-size: 1em;
    margin-bottom: 20px;
    color: #333;
}

.beschrijving1 {
    font-size: 1em;
    margin-bottom: 30px;
    margin-top: 10px;
    color: #000;
}

form {
    display: inline-block;
}

input[type="email"] {
    padding: 10px 20px;
    font-size: 1em;
    border: 1px solid #ff6600;
    border-radius: 5px;
    width: 150px;
    margin-right: 10px;
}

input[type="email"]:focus {
    outline: none;
    box-shadow: 0 0 5px #ff6600;
}

button {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 1em;
    background: #ff6600;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 190px;
}

button:hover {
    background: #e65c00;
}

.showMobile { display: none;}
.showDesktop { display: block;}

/* Media query for smaller screens */
@media screen and (max-width: 900px) {
    body::before { background: #fff; }
    .container {
        flex-direction: column; /* Stack vertically on small screens */
        align-items: center;
        margin-top: 0px !important;
    }
    .overlay {
        width: 100%;
        height: auto;
        border-radius: 0;
        margin-right: 0; /* Remove margin on small screens */
        margin-bottom: 20px; /* Add space between stacked elements */
    }
    .overlayBox { padding: 5px; }
    .partners {
        width: 100%;
        display: block; /* Show partners on small screens (changed from 'none') */
    }
    input[type="email"] { margin: 5px 0; width: 85%; display: block; }
    button { margin: 5px 0; width: 100%; display: block; }
    form { display: block; width: 100%; margin: 0 auto; }
    .socialContainer { margin-top: 20px; }
    .showDesktop { display: none;}
    .showMobile { display: block;}
}