body {
    margin: 0;
    padding: 0;
    background: url('background5.jpg') no-repeat center center fixed; 
    background-size: cover;
    font-family: Arial, sans-serif;
}

.overlay {
    background: #fff;
    color: #000;
    position: fixed;
    top: 0;
    left: 100px;
    width: 40%;
    height: 50%;
    border-radius: 20px;
    text-align: center;
    margin-top:10%;
    box-sizing: border-box;
}

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

hr {
    border-color: #000;
    border-width: 2px;
    margin-top:-10px;
    width: 400px;
    margin-bottom: 30px;
}

.titel {
    font-size: 50px;
    margin-bottom: 20px;
    margin-top: -80px;
    font-weight: 700;
    color: #000;
}

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

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

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

p {
    font-size: 1em;
    margin-bottom: 30px;
}

form {
    display: inline-block;
}

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

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;
}

@media screen and (max-width: 900px) {
    .titel {
        font-size: 2rem;
        margin-bottom: 20px;
        margin-top: -30px;
    }

    .slogan {
        font-size: 1em;
        margin-bottom: 30px;
        margin-top:-10px;
    }

    hr {
        margin-top:-10px;
        width: 250px;
        margin-bottom: 30px;
    } 

    .beschrijving {
        font-size: 1em;
        margin-bottom: 30px;
    }

    input[type="email"], button {
        margin: 5px 0;
    }

    form {
        display: block;
        width: 80%;
        margin: 0 auto;
    }

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


     .overlay {
        background: #fff;
        color: #000;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 60%;
    }
}
