/* Defaults */

body {
    width: 100%;
}

.bg {
    background-image: url('../images/sky-fade.png');
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
}

a {
    color: #007936;
}

.btn-primary {
    background-color: #007936;
}

.btn-primary:hover {
    background-color: #00401d;
}
.whiteoverlay {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    height: 90vh;
    opacity: 0.75;
    background: rgb(255,255,255);
background: -moz-linear-gradient(180deg, rgba(255,255,255,1) 40%, rgba(255,255,255,0.654499299719888) 70%, rgba(255,255,255,0) 90%);
background: -webkit-linear-gradient(180deg, rgba(255,255,255,1) 40%, rgba(255,255,255,0.654499299719888) 70%, rgba(255,255,255,0) 90%);
background: linear-gradient(180deg, rgba(255,255,255,1) 40%, rgba(255,255,255,0.654499299719888) 70%, rgba(255,255,255,0) 90%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1);
}

/* Head */

#head {
    width: 100%;
    position: absolute;
    border-top: 8px solid #007936;
    padding-top: 2rem;
    z-index: 99;
}

#head .logo img {
    z-index: 99;
    position: relative;
    height: 180px;
}

#head .mobile-logo img {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    margin-top: 10px;
    height: 130px;
}
.logowrap a {
    display: inline-block;
}

#content {
    float: left;
    clear: both;
    width: 100%;
    position: relative;
}

/* Start */

#start {
    height: 100vh;
    z-index: 98;
    position: relative;
    width: 100%;
    background-size: cover;
    min-height: 835px;
}

#start .title {
    position: absolute;
    max-width: 95%;
    width: 1000px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 500;
    font-size: 22px; 
}

#start .title h1 {
    font-weight: 900;
    font-size: 60px;
}

#start .title p {
    text-shadow: rgba(255, 255, 255, 0.045) 1px 0 10px;
}

#start .title .btn {
    font-size: 18px;
    padding: 15px;
    padding-left: 30px;
    padding-right: 30px;
}

#start .title .border {
    background-color: #007936;
    border: none !important;
    outline: none;
    height: 10px;
    width: 300px;
    position: relative;
    left: 50%;
    margin-top: 20px;
    margin-bottom: 20px;
    transform: translate(-50%, 0);
}

/* Formular/Anmeldung */

#form {
    height: 100vh;
    margin-top: -150px;
    position: relative;
}

#form .form {
    padding: 30px;
    width: 1000px;
    max-width: 95%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form form {
    padding-top: 20px;
}

form input {
    height: 50px;
}

form .dsgvo {
    margin-top: 20px;
}

form input[type="checkbox"] {
    height: 17px;
    width: 17px;
}

form .mail {
    margin-top: 20px;
}

form .submit {
    margin-top: 20px;
}

form .submit button {
    width: 150px;
}

/* Footer */

footer {
    float: left;
    clear: both;
    width: 100%;
    position: relative;
    background-color: white;
    bottom: 0;
    border-bottom: 8px solid #007936;
}
.footwrap {
    background: #007936;
    color: white;
    clear: both;
    width: 100%;
}
footer a:hover {
    text-decoration: underline;
}

.textpage #head {
    position: relative;
    min-height: 215px;
}
.textpage #content {
    margin: 2rem 0;
}
.textpage #content article {
    padding: 0 15px;
}
.btn + .btn {
    margin-left: 15px;
}

.textpage h4 {
    color: #007936;
}
/* Responsive */

@media only screen and (max-width: 1000px) {
    #start .title h1 {
        font-weight: 900;
        font-size: 28px;
    }
    #start .title p {
        font-size: 18px;
    }
    #form {
        margin-top: 150px;
    }
    #surname {
        margin-top: 20px;
    }
    .border {
        width: 20% !important;
        height: 3px !important;
        margin-top: 5px !important;
        margin-bottom: 5px !important; 
    }
}