:root {
    --mainColor: #024f99;
}

* {
    margin: 0;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}

.headSection .form form input::-webkit-input-placeholder {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
}

.headSection .form form input:-ms-input-placeholder {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
}

.headSection .form form input:-moz-placeholder {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
}

.headSection .form form input::-moz-placeholder {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

.wrapper {
    margin: 0;
    padding: 0;
}

.goTop {
    position: fixed;
    z-index: 1;
    width: 50px;
    background-color: rgba(112, 112, 112, 0.8);
    height: 50px;
    border-radius: 25px;
    right: 50px;
    bottom: 50px;
}

.goTop a {
    border-radius: 25px;
    position: absolute;
    padding: 15px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.goTop p {
    color: white;
    position: relative;
}

.formHeadBox {
    margin-bottom: 20px;
}

.formHead {
    background-color: var(--mainColor);
    color: white;
    padding: 10px;
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    margin: 5px;
    letter-spacing: 0.03em;
}

.headSection {
    background: url(https://services.dasoertliche.de/services/schnupperpaket/sp/intro/img/mainbg-hdpi.jpg) no-repeat fixed;
    position: absolute;
    width: 100%;
    background-size: cover;
    height: 100%;
    min-height: 800px;
    z-index: 15;
}

.headSection .form {
    width: 800px;
    height: 600px;
    position: relative;
    left: 86%;
    top: 45%;
    transform: translate(-86%, -50%);
}

.headSection .form a {
    color: white;
}

.headSection .form form {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: 35px;
    transform: translate(-50%, -50%);
}

.inRowS {
    width: 170px !important;
}

.inRowB {
    width: 415px !important;
}

.headSection .form form input[type="text"], input[type="number"], input[type="email"], input[type="url"] {
    padding: 10px;
    width: 600px;
    border: none;
    outline: none;
    margin: 5px;
}


.headSection .form form .formLogo {
    padding: 10px;
    width: 600px;
    border: none;
    background: white;
    outline: none;
    margin: 5px;
    position: relative;
}


.headSection .form form .formLogo p {
    width: 100px;
    position: absolute;
    color: #777;
    font-size: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Poppins', sans-serif;
}


.headSection .form form .formLogo input[type="file"] {
    width: 400px;
    left: 100px;
    position: relative;
    border: none;
    outline: none;
}


.headSection .form form input[type="submit"] {
    padding: 10px;
    width: 600px;
    border: none;
    outline: none;
    color: white;
    background: var(--mainColor);
    margin: 5px;
}

input[type="checkbox"] {
    margin-left: 5px;
}

.headSection .form form label {
    color: white;
    font-family: 'Poppins', sans-serif;
    margin-left: 5px;
    font-size: 0.8rem;
}

.headSection .form form .big {
    color: white;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    margin-left: 5px;
    font-weight: bold;
    font-size: 1.2rem;
}

.bodySection {
    background: var(--mainColor);
    position: absolute;
    width: 100%;
    height: auto;
    top: 100%;
}

.bodySection .allBox {
    width: 1604px;
    left: 50%;
    transform: translateX(-50%);
    position: relative;
}

.bodySection .infoBox {
    width: 600px;
    word-break: break-word;
    position: relative;
    height: 500px;
    display: inline-table;
    margin: 100px;
}

.bodySection .infoBox .infoHead {
    background: white;
    display: inline-block;
    padding: 15px;
    font-size: 1.2rem;
    color: var(--mainColor);
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    margin-bottom: 50px;
    position: relative;
}

.bodySection .infoBox .list {
    color: white;
    font-family: 'Poppins', sans-serif;
    left: 15px;
    position: relative;
    list-style-position: outside;
}

.bodySection .infoBox li {
    margin-bottom: 10px;
}

.bodySection .footer {
    width: 100%;
    height: 50px;
    background-color: white;
    padding: 0 15px 0 15px;
}

.bodySection .footer ul {
    list-style-type: none;
    position: relative;
    transform: translateY(-50%);
    top: 50%;
    float: right;
}

.bodySection .footer ul li {
    display: inline;
    padding: 5px;
}

.bodySection .footer ul li a {
    color: var(--mainColor);
    text-decoration: none;
}

.successWrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    background: var(--mainColor);
}

.succesBox {
    width: 500px;
    height: 550px;
    box-shadow: 0 2px 30px rgb(0 0 0);
    font-family: 'Poppins', sans-serif;
    text-align: center;
    position: relative;
    background: white;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    padding: 15px;
}

.successWrapper .succesBox i {
    font-size: 3rem;
    color: #4CAF50;
}

.successText, .successText a {
    position: relative;
    top: 15px;
    color: black;
    font-size: 1.2rem;
}

@media only screen and (max-width: 1820px) {

    .headSection {
        height: calc(100% + 200px);
    }

    .bodySection {
        top: calc(100% + 200px);
    }

    .bodySection .allBox {
        width: 1304px;
        left: 50%;
        transform: translateX(-50%);
        position: relative;
    }

    .bodySection .infoBox {
        width: 400px;
        word-break: break-word;
        position: relative;
        height: 500px;
        display: inline-table;
        margin: 100px;
    }
}

@media only screen and (max-width: 1420px) {
    .bodySection .allBox {
        width: 1004px;
        left: 50%;
        transform: translateX(-50%);
        position: relative;
    }

    .bodySection .infoBox {
        width: 300px;
        word-break: break-word;
        position: relative;
        height: 500px;
        display: inline-table;
        margin: 100px;
    }
}

@media only screen and (max-width: 1220px) {
    .bodySection .allBox {
        width: 804px;
        left: 50%;
        transform: translateX(-50%);
        position: relative;
    }

    .bodySection .infoBox {
        width: 200px;
        word-break: break-word;
        position: relative;
        height: 500px;
        display: inline-table;
        margin: 100px;
    }
}

@media only screen and (max-width: 1020px) {

    .headSection {
        height: calc(100% + 250px);
    }


    .headSection .form {
        width: 90%;
        height: auto;
        position: relative;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .bodySection {
        padding: 50px 25px 0 25px;
        top: calc(100% + 250px);
    }


    .bodySection .infoBox .infoHead {
        left: 15px;
    }

    .bodySection .allBox {
        width: 100%;
        left: 50%;
        transform: translateX(-50%);
        position: relative;
    }

    .bodySection .infoBox {
        width: 100%;
        list-style-position: inside;
        word-break: break-word;
        position: relative;
        height: auto;
        display: inline-table;
        margin: 0 0 50px 0 !important;
    }

}

@media only screen and (max-width: 693px) {

    .headSection .form form input[type="text"], input[type="number"], input[type="url"], input[type="email"] {
        width: calc(100% - 10px);
    }

    .headSection .form form input[type="submit"] {
        width: calc(100% - 10px);
    }

    .headSection .form form .formLogo {
        width: calc(100% - 10px);
    }

    .inRowS {
        width: calc(40% - 12px) !important;
        margin: 5px 5px 5px 5px !important;
    }

    .inRowB {
        width: calc(60% - 12px) !important;
        margin: 5px 5px 5px 5px !important;
    }

}