/* Basisstil */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #141414;
    background-image: url("/content/images/05-2023/background.png");
    background-position: center;
    background-size: 300%;
}

a {
    color: #c2185b;
}

/* Container */
.flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    margin-top: 100px;
    height: 200px;
}

.flex-group-1 {
    flex-basis: 50%;
    text-align: center;
    margin-bottom: 20px;
}

.flex-group-2 {
    flex-basis: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Überschrift */
.subtitle {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: #fff;
    margin-top: 40px;
}

/* Bild */
.ban-image {
    width: 100%;
    max-width: 500px;
}

/* Text */
.text {
    text-align: center;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
}

/* Text 2 */
.text-2 {
    text-align: center;
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 10px;
}

/* IP-Adresse */
.ip-address {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.address {
    margin-left: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

/* Formular */
form {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 18px;
    color: #fff;
    margin-bottom: 10px;
}

input[type="text"],
select {
    -webkit-appearance: none; /* Safari */
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
    text-align: center;
    text-align-last: center; /* Zentrierung des Textes auf der letzten Zeile (Safari) */
    background-color: #313338;
    color: #fff;
}


input[type="email"],
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
    text-align: center;
    background-color: #313338;
    color: #fff;
}

select option {
    color: #fff;
}

.button {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    background-color: #c2185b;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .flex-group-1 {
        margin-bottom: 0;
    }

    .flex-group-2 {
        flex-basis: 100%;
    }

    .ban-image {
        max-width: 300px;
    }
}

/* CSS für Mobile Geräte */
@media (max-width: 767px) {

    body {
        background-position: center;
        background-size: 600%;
    }

    .flex-container {
        margin-top: -100px;
    }
    .subtitle {
        font-size: 1.5rem;
    }
    .text {
        font-size: 0.9rem;
        width: 80%;
        margin: 0 auto;
        margin-top: 20px;
    }
    .text-2 {
        width: 80%;
        margin: 0 auto;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .ban-image {
        margin-top: 120px;
    }

    /* Formularfelder kleiner machen */
    input[type="text"],
    select {
        font-size: 14px;
        padding: 8px 16px;
        width: 80%;
        margin: 20px auto 0;
    }

    /* Senden-Button kleiner machen */
    button[type="submit"] {
        font-size: 14px;
        padding: 8px 16px;
        width: 80%;
        margin: 20px auto 0;
    }

    input[type="email"],
    select {
        font-size: 14px;
        padding: 8px 16px;
        width: 80%;
        margin: 20px auto 0;
    }

}

