﻿/* GANZER CONTENT MITTIG */
.parallax {
    position: relative;
}

.main-content {
    position: fixed !important;
    bottom: 70px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100%;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    text-align: center;
    padding-left: 25px;
    padding-right: 25px;
    box-sizing: border-box;
    transform: none !important;
    top: auto !important;
}

/* HOCHFORMAT */
@media (orientation: portrait) {

    .main-content {
        bottom: 120px !important;
    }

    #titel {
        font-size: clamp(2rem, 6vw, 4rem) !important;
    }

    #countdowntimer {
        font-size: clamp(1rem, 3vw, 2rem) !important;
    }
}

/* QUERFORMAT */
@media (max-height: 500px) and (orientation: landscape) {

    .main-content {
        bottom: -10px !important;
        gap: 6px;
    }

    #titel {
        font-size: clamp(1rem, 3vw, 2rem) !important;
        letter-spacing: 2px;
    }

    #countdowntimer {
        font-size: clamp(0.8rem, 2vw, 1.2rem) !important;
    }

    .btn-wrap button {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* TITEL */
#titel {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: clamp(2.8rem, 7vw, 6rem);
    font-family: 'Impact', 'Arial Black', sans-serif;
    text-transform: uppercase;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: 4px;
    /* Caribbean Neon Farbton */
    color: #FF0378;
    /* schwarze Outline */
    -webkit-text-stroke: 1.5px #FF91C4;
    text-shadow: 0 0 5px rgba(255,255,255,0.75), 0 0 12px rgba(255,70,210,0.85), 0 0 24px rgba(255,0,180,0.8), 0 0 42px rgba(170,0,255,0.7), 0 0 75px rgba(0,210,255,0.55);
    animation: titleGlow 3.2s ease-in-out infinite, titleFloat 5s ease-in-out infinite;
}

    /* Auftauchen */
    #titel span {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        animation: titleIn 1s ease forwards;
    }

        #titel span:nth-child(1) {
            animation-delay: 0.2s;
        }

        #titel span:nth-child(2) {
            animation-delay: 0.45s;
        }

        #titel span:nth-child(3) {
            animation-delay: 0.7s;
        }

/* Auftauchen */
@keyframes titleIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Caribbean Glow */
@keyframes titleGlow {

    0%, 100% {
        text-shadow: 0 0 5px rgba(255,255,255,0.75), 0 0 12px rgba(255,70,210,0.85), 0 0 24px rgba(255,0,180,0.8), 0 0 42px rgba(170,0,255,0.7), 0 0 75px rgba(0,210,255,0.55);
    }

    50% {
        text-shadow: 0 0 10px rgba(255,255,255,1), 0 0 20px rgba(255,100,220,1), 0 0 38px rgba(255,0,200,1), 0 0 65px rgba(190,0,255,0.95), 0 0 105px rgba(0,230,255,0.8);
    }
}

/* Schweben */
@keyframes titleFloat {

    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-6px);
    }
}

/* COUNTDOWN */
#countdowntimer {
    width: 85%;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: bold;
    color: #dff8ff;
    text-shadow: 0 0 8px rgba(0, 200, 255, 0.9), 0 0 18px rgba(0, 80, 255, 0.8), 0 0 30px rgba(120, 0, 255, 0.7);
    animation: countdownNightGlow 4s ease-in-out infinite;
}

/* Buttons ohne Glow */
.btn-wrap button,
#visitor-counter,
#registry-counter {
    text-shadow: none;
}

/* ANIMATIONEN */
@keyframes titleIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 8px rgba(255, 79, 216, 0.8), 0 0 18px rgba(255, 0, 180, 0.8), 0 0 35px rgba(180, 0, 255, 0.7), 0 0 55px rgba(0, 200, 255, 0.5);
    }

    50% {
        text-shadow: 0 0 14px rgba(255, 120, 230, 1), 0 0 30px rgba(255, 0, 200, 1), 0 0 55px rgba(190, 0, 255, 0.95), 0 0 85px rgba(0, 220, 255, 0.75);
    }
}

@keyframes countdownNightGlow {
    0%, 100% {
        text-shadow: 0 0 8px rgba(0, 200, 255, 0.8), 0 0 18px rgba(0, 80, 255, 0.7), 0 0 30px rgba(120, 0, 255, 0.6);
    }

    50% {
        text-shadow: 0 0 14px rgba(120, 230, 255, 1), 0 0 28px rgba(0, 120, 255, 0.9), 0 0 45px rgba(170, 0, 255, 0.8);
    }
}
