/* Grundlayout zurücksetzen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Hintergrund-GIF */
.background-gif {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('video.gif') no-repeat center center fixed;
    background-size: cover;
    z-index: -1;
}

/* Button-Container */
.button-container {
    position: fixed;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: opacity 1s ease, transform 0.5s ease;
}

/* Hauptbutton */
.custom-button {
    display: inline-block;
    padding: 20px 40px;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, #ff28b7, #ff5ec4);
    border: 2px solid rgba(255, 40, 183, 0.8);
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 40, 183, 0.5);
}

/* Kleiner Button zurück zur Startseite */
.small-button {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: bold;
    color: #ff28b7;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #ff28b7;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.small-button:hover {
    transform: scale(1.05);
    background: #ff28b7;
    color: white;
}

/* Ein-/Ausblenden */
.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.95);
}

.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .custom-button {
        padding: 16px 32px;
        font-size: 1.3rem;
    }

    .small-button {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .custom-button {
        padding: 12px 24px;
        font-size: 1.1rem;
    }

    .small-button {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
}