/* Globales Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    font-family: 'Arial', sans-serif;
    background: #222222;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    overflow: hidden; /* Verhindert das Scrollen */
    font-style: italic;
}

/* Hintergrund für die gesamte Seite */
.background {
    background: linear-gradient(135deg, rgba(255, 95, 87, 1) 0%, rgba(255, 185, 87, 1) 100%);
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Container für den Inhalt */
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;  /* Maximale Breite für den Container */
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.9);
    animation: fadeIn 1s ease-out;
}

/* Text Container */
.text-container {
    flex: 1;
    margin-right: 20px;
}

.title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ff5f57;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: slideIn 1s ease-out;
}

.description {
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
    font-style: normal;
    animation: fadeInText 1s ease-out;
}

.contact-btn {
    background-color: #ff5f57;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    margin: 10px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
}

.contact-btn:hover {
    background-color: #ff3a2d;
    transform: translateY(-4px);
    box-shadow: 0px 20px 30px rgba(0, 0, 0, 0.2);
}

.contact-btn:active {
    transform: translateY(2px);
}

.contact-btn:focus {
    outline: none;
}

/* Image Container */
.image-container {
    flex: 1;
    text-align: center;
}

.image-container img {
    width: 30vh;  /* Bildgröße auf 35% setzen */
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    animation: fadeInImage 1s ease-out;
}


/* Animationen */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    0% {
        transform: translateX(-20px);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes fadeInText {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeInImage {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Anpassungen */
@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
        width: 95%;  /* Container nimmt fast die gesamte Breite des Bildschirms ein */
    }

    .title {
        font-size: 28px;
    }

    .description {
        font-size: 16px;
    }

    .image-container img {
        max-width: 80%;
        margin-top: 20px;
    }
}
.textbox p {
    text-align: center;
    justify-self: center;
    font-family: "Open Sans", sans-serif;
    font-style: normal;
    max-width: 650px;
    color: var(--fontcolor); /* Stelle sicher, dass die Farbe korrekt gesetzt ist */
}
.desc{
    font-style: italic;
    color: #333;
}
