@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,600;0,900;1,300;1,400;1,700&display=swap');
*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body {
    width: 100%;
}
.container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 45px;
    width: 100%;
    height: 100%;
    padding: 20px 100px;
}
.container:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(../images/Contact-us-background.png) no-repeat center;
    background-size: cover;
    z-index: -1;
    filter: blur(50px);
}
.contact-box {
    max-width: 850px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #fff;
    box-shadow: 0px 0px 19px 5px rgba(0, 0, 0, 0.19);
}
.left {
    height: 100%;
    background: url(../images/Contact-us-background.png) no-repeat center;
    background-size: cover;
}
.right {
    padding: 25px 40px;
}
/* error & succes message */
.succes-message {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px;
    background-color: lightgreen;
}
.error-message {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px;
    background-color: rgb(248, 147, 147);
}
h2 {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 4px;
    width: 50px;
    border-radius: 2px;
    background-color: #3586ff;
}
.field {
    width: 100%;
    padding: 0.5rem 1rem;
    outline: none;
    border: 2px solid rgba(0, 0, 0, 0);
    background-color: rgba(230, 230, 230, 0.6);
    font-size: 1.1rem;
    margin-bottom: 22px;
    transition: .3s;
}
.field:hover {
    background-color: rgba(0, 0, 0, 0.1);
}
.field:focus {
    background-color: #fff;
    border: 2px solid rgba(30, 85, 250, 0.47);  
}
.area {
    min-height: 150px;
}
.btn {
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
    background-color: #21afde;
    cursor: pointer;
    outline: none;
    border: none;
    color:#fff;
    transition: .3s;
}
.btn:hover {
    background-color: #1c8adb;
}

@media screen and (max-width: 800px) {
    .container {
        padding: 20px 0; /* Verwijder extra padding aan de zijkanten op kleinere schermen */
    }
    .contact-box {
        grid-template-columns: 1fr;
        max-width: 100%; /* Zorg ervoor dat de breedte 100% is */
        width: 100%; /* Zorg ervoor dat de breedte 100% is */
        padding: 0; /* Verwijder eventuele padding binnen de contact-box */
    }
    .right {
        padding: 25px 20px; /* Voeg wat padding toe binnen de inhoud zodat het niet tegen de rand komt */
    }
    .left {
        height: auto; /* Zorg ervoor dat de hoogte automatisch aangepast wordt aan de inhoud */
    }
}
.popup {
    width: 400px;
    background: #21afde;
    border-radius: 6px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.1);
    text-align: center;
    padding: 0 30px 30px;
    color: #333;
    visibility: hidden;
    transition: transform 0.4s, top 0.4s;
}
.open-popup{
    visibility: visible;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
}
.popup img {

    width: 100px;
    margin-top: -60px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(30, 85, 250, 0.47);
}
.popup h3 {
    font-size: 38px;
    font-weight: 500;
    margin: 50px 0 10px;
}
.popup button {
    width: 100%;
    margin-top: 50px;
    padding: 10px 0;
    background: #6fd649;
    color:#fff;
    border: 0;
    outline: none;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 5px 5px rgba(30, 85, 250, 0.47);
}