/* =========================================================
   INDEX PAGE
   Kaminkeller
========================================================= */


/* =========================================================
   WELCOME / INTRO
========================================================= */

.welcome-logo {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 50px 0 0;
    font-family: 'deneane';
    font-size: 62px;
    font-weight: normal;
    text-align: center;
    letter-spacing: normal;
    text-transform: none;
    text-shadow: none;
    color: rgba(220, 220, 220, 0.50);
    will-change: opacity, filter, transform;
    transform: translateZ(0);
    animation: welcomeFloat 60s ease-in-out infinite;
}

.welcome-logo.glow {
    filter:
        drop-shadow(0 0 6px rgba(255, 180, 0, 0.30))
        drop-shadow(0 0 12px rgba(255, 180, 0, 0.50));
}

.welcome-sub {
    display: block;
    width: 100%;
    margin: 1px 0 25px;
    padding: 0;
    font-family: 'metropolislight';
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-shadow: none;
    color: rgba(255, 255, 255, 0.65);
    will-change: opacity, filter, transform;
    transform: translateZ(0);
    animation: welcomeFloat 60s ease-in-out infinite;
}

.welcome-sub.glow {
    filter:
        drop-shadow(0 0 3px rgba(255, 180, 0, 0.30))
        drop-shadow(0 0 6px rgba(255, 180, 0, 0.50));
}

@keyframes welcomeFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(4px);
    }

    100% {
        transform: translateY(0);
    }
}


/* =========================================================
   OPTIONAL OVERLAY TEXT
========================================================= */

.overlay {
    display: block;
    width: 100%;
    margin: 10px 0 25px;
    padding: 0;
    font-family: 'metropolislight';
    font-size: 15px;
    font-weight: normal;
    text-align: center;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(220, 215, 200, 0.75);
    will-change: opacity, filter, transform;
    transform: translateZ(0);
    animation: none;
}

.overlay.animate {
    animation: none;
    /* animation: welcomeFade 6s infinite; */
}

.overlay.glow {
    filter:
        drop-shadow(0 0 3px rgba(255, 223, 128, 0.35))
        drop-shadow(0 0 8px rgba(255, 190, 80, 0.22));
}

@keyframes welcomeFade {
    0% {
        opacity: 1;
    }

    40% {
        opacity: 1;
    }

    55% {
        opacity: 0;
    }

    65% {
        opacity: 0;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: grid;
    place-items: center;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    opacity: 0.50;
    mix-blend-mode: soft-light;
    transform: scale(1.08) rotateX(1.2deg) rotateY(-0.8deg);
    pointer-events: none;
}

.hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroFloat 40s ease-in-out infinite;
    will-change: transform;
}

@keyframes heroFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}


/* =========================================================
   PAGE LAYOUT
========================================================= */

.conta {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.index {
    position: fixed;
    top: 50%;
    left: 50%;
    width: calc(100% - 20px);
    margin: 0;
    overflow: hidden;
    background-color: transparent;
    transition: all 0.6s linear;
    transform: translate(-50%, -85%);
    z-index: 5;
}


/* =========================================================
   SOCIAL MEDIA
========================================================= */

.social_medien {
    position: fixed;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 220px;
    z-index: 2147483631;
}

.social_medien a {
    display: inline-flex;
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

.social_medien a:nth-child(1) {
    animation-delay: 1s;
}

.social_medien a:nth-child(2) {
    animation-delay: 1.5s;
}

.social_medien img {
    width: 48px;
    height: 48px;
    opacity: 0.3;
    transition: opacity 0.3s;
}

.social_medien img:hover {
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {
    .hero-media {
        opacity: 0.65;
        transform: scale(1.12);
    }

    .hero-media img {
        animation-duration: 45s;
    }

    .hero-welcome {
        margin-top: 34px;
    }

    .social_medien {
        width: 220px;
        bottom: 50px;
    }

    .social_medien img {
        width: 48px;
        height: 48px;
    }

    .welcome-logo {
        font-size: 42px;
    }

    .welcome-sub {
        font-size: 10px;
        letter-spacing: 0.18em;
    }
}

@media (hover: hover) and (pointer: fine) {
    .hero:hover .hero-media {
        transform: scale(1.10) rotateX(1.8deg) rotateY(1.2deg);
        transition: transform 2s ease;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-media img,
    .hero-scrollhint,
    .welcome-logo,
    .welcome-sub {
        animation: none !important;
    }
}