* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    font-weight: 100;
}

body {
    height: 100vh;
    width: 100vw;
    background-color: rgb(41, 45, 44);
    background-image: url('../graphics/BG.png');
    background-size: cover;
    background-position: center;
    overflow-x: hidden;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: aliceblue;
    font-size: 1rem;
}

a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* HEADER */

header {
    position: relative;
    padding: 0 2rem;
}


.navbar {
    width: 100%;
    height: 100px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

#contact {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.logo img {
    position: absolute;
    width: 10vw;
    /* Nutzen von VW statt fixer Pixelgröße */
    max-width: 400px;
    /* Begrenzung der maximalen Breite */
    min-width: 250px;
    top: -70px;
    /* Abstand vom oberen Rand */
    left: -10px;
    /* Abstand vom linken Rand */

}

.navbar .links {
    display: flex;
    gap: 2rem;
}

.navbar .toggle_button {
    position: absolute;
    top: 20px;
    right: 2rem;
    color: aliceblue;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
}

/* DROPDOWN MENU */
.dropdown_menu {
    display: none;
    position: absolute;
    right: 2rem;
    top: 35px;
    height: 0;
    width: 25vh;
    min-width: fit-content;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    overflow: hidden;
    transition: height 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.dropdown_menu.open {
    height: 200px;
}

.dropdown_menu li {
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FOOTER */

#page-container {
    position: relative;
    min-height: 100vh;
}

#content-wrap {
    padding-bottom: 2.5rem;
    /* Footer height */
}

footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding-bottom: 10px;
}

.footer a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.footer {
    bottom: 0;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.data,
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu {
    margin-left: auto;
}

.footer ul li {
    display: inline-block;
    margin-right: 20px;
}

.footer ul li a {
    font-size: 10px;
    color: aliceblue;
    text-decoration: none;
}

#copyright {
    display: inline-block;
    padding: 0;
    margin: 0;
    font-size: 10px;
    color: aliceblue;
    margin-right: 20px;
    margin-left: 20px;
    text-decoration: none;
}


/* KONTAKTSEITE*/

.contact {
    position: relative;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-size: cover;
}

.contact .contactContent {
    max-width: 800px;
    text-align: center;
}

.contact .contactContent h2 {
    font-size: 2em;
    color: aliceblue;
    font-weight: 550;
    margin-top: 20px;
}

.contact .contactContent p {
    font-size: 28px;
    font-weight: 300;
    color: white;

}

.contactContainer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.contactContainer .contactInfo {
    width: 50%;
    display: flex;
    flex-direction: column;
    margin-left: 15vw;
}

.contactContainer .contactInfo .contactBox {
    position: relative;
    padding: 20px 0;
    display: flex;
}


.contactContainer .contactInfo .contactBox .contactIcon {
    min-width: 60px;
    height: 60px;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 22px;
}

.contactContainer .contactInfo .contactBox .contactText {
    display: flex;
    margin-left: 20px;
    font-size: 16px;
    color: white;
    flex-direction: column;
    font-weight: 300;
}

.contactContainer .contactInfo .contactBox .contactText h3 {
    font-weight: 500;
    color: rgb(255, 150, 0, 0.7);
}

.contactForm {
    width: 40%;
    padding: 40px;
    background: white;
    border-radius: 20px;
    max-width: 600px;
    margin-right: 40px;
}

.contactForm h2 {
    font-size: 30px;
    color: #333;
    font-weight: 500;
}

.contactForm .inputBox {
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.contactForm .inputBox input,
.contactForm .inputBox textarea {
    width: 100%;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    border: none;
    border-bottom: 2px solid #333;
    outline: none;
    resize: none;
}

.contactForm .inputBox span {
    position: absolute;
    left: 0;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    pointer-events: none;
    transition: 0.5s;
    color: #667;
}

.contactForm .inputBox input:focus~span,
.contactForm .inputBox input:valid~span,
.contactForm .inputBox textarea:focus~span,
.contactForm .inputBox textarea:valid~span {
    color: rgb(255, 150, 0);
    font-size: 12px;
    transform: translateY(-20px);
}

.contactForm .inputBox input[type="submit"] {
    width: 100px;
    background: rgb(255, 150, 0, 0.8);
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 18px;
    border-radius: 10px;
}

.input2Box {
    display: flex;
    align-items: center;
}

.input2Box a{
    color: black;
    font-size: 10px;
}

.privacyLabel {
    color: black;
    font-size: 10px;
    margin-left: 5px; /* Abstand zwischen Label und Checkbox */
}

.inputBox input[type="checkbox"] {
    margin-right: 5px; /* Abstand zwischen Checkbox und Text */
}


/* RESPONSIVE DESIGN*/
@media (max-width: 992px) {

    .logo img {
        left: -30px;
    }

    .navbar .links,
    .navbar .action_button {
        display: none;
    }

    .navbar .toggle_button {
        display: block;
    }

    .dropdown_menu {
        margin-top: 20px;
        display: block;
    }

    .footer ul li {
        margin-right: 15px;
    }

    .contact {
        padding-left: 50px;
        padding-right: 50px;
        padding-bottom: 50px;
    }

    #copyright {
        margin-right: 10px;
    }

    .contactContainer {
        flex-direction: column;
    }

    .contact .contactContent h2 {
        font-size: 24px;
    }

    .contact .contactContent p {
        font-size: 18px;
    }

    .contactContainer .contactInfo {
        margin-bottom: 40px;
    }

    .contactContainer .contactInfo,
    .contactForm {
        width: 80%;

    }

    .contactForm {
        margin-right: 0px;
    }

    .contactForm h2 {
        font-size: 22px
    }

    .contact .contactContent {
        padding-bottom: 0px;

    }
}

@media (max-height: 500px) {

    .dropdown_menu {
        margin-top: 5px;
    }
}

@media (max-width: 500px) {
    .logo img {
        left: -45px;
        top: -85px;
    }

    .footer ul li {
        margin-right: 5px;
    }

    .footer ul li a {
        font-size: 9px;
    }

    #copyright {
        font-size: 9px;
        margin-right: 10px;
        margin-left: 10px;
    }

    .dropdown_menu.open {
        height: 225px;
    }
}