﻿body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
}
.background-image {
    background-image: url('Startseite/Desktop Hintergrung Logo 2024 Gold schwarz .png');
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 100%;
    position: fixed;
}
.logo {
    display: none; /* Standardmäßig ist das Logo unsichtbar */
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30%; /* Einstellbare Breite */
    height: auto;
}
.footer-link, .main-text, .main-heading {
    position: fixed;
    left: 0;
    width: 100%;
    text-align: center;
    color: lightgray;
}
.main-text {
    top: 50%;
    font-size: 24px;
    color: #f5f5dc;
    animation: slideIn 3s ease-out forwards, floatAround 20s infinite linear;
}
.main-heading {
    top: 30%;
    margin-top: 40px; /* Passt den Abstand nach dem Logo an */
    font-size: 36px;
    font-weight: bold;
    color: #f5f5dc;
}
@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}
@keyframes floatAround {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(150px, -150px);
    }
    50% {
        transform: translate(-150px, 150px);
    }
    75% {
        transform: translate(150px, 150px);
    }
}
.footer-link {
    bottom: 40px;
    font-size: 20px;
}
.footer-link a, .footer-link a:visited, .footer-link a:active {
    color: lightgray;
    text-decoration: none;
}
.footer-link a:hover {
    text-decoration: underline;
}
.button-container {
    position: fixed;
    top: 70%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}
.modern-button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 12px;
    transition: background-color 0.3s, transform 0.3s;
}
.modern-button:hover {
    background-color: #45a049;
    transform: scale(1.05);
}
@media (max-width: 768px) {
    .logo {
        display: block; /* Zeigt das Logo auf kleinen Bildschirmen */
    }
    .main-text, .footer-link, .main-heading {
        font-size: 16px; /* Kleinere Schriftgröße für bessere Lesbarkeit */
    }
    .footer-link {
        bottom: 20px; /* Geringerer Abstand zum unteren Rand */
    }
    @keyframes floatAround {
        0%, 100% {
            transform: translate(0, 0);
        }
        25% {
            transform: translate(75px, -75px);
        }
        50% {
            transform: translate(-75px, 75px);
        }
        75% {
            transform: translate(75px, 75px);
        }
    }
}
.auto-style1 {
    display: block;
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}
