/**
 * FlatPro Christmas decoration
 *
 * Disable after the holidays by setting FLATPRO_CHRISTMAS_ENABLED to false
 * near the top of functions.php.
 */

/*
 * Santa hat on the logo. The pseudo-element keeps a purely decorative image
 * out of the HTML and follows the logo at every viewport width.
 */
.logo-wrapper .themeum-navbar-brand {
    position: relative;
    display: inline-block;
}

.logo-wrapper .themeum-navbar-brand::after {
    position: absolute;
    z-index: 3;
    top: -32px;
    left: -23px;
    width: clamp(66px, 7.2vw, 92px);
    aspect-ratio: 1;
    pointer-events: none;
    content: "";
    background: url("/vianocne-assets/santa-ciapka.webp") center / contain no-repeat;
    filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.28));
    transform: rotate(-10deg);
    transform-origin: center;
}

/* Garland at half its natural size, centred at the top of the Christmas row. */
#vianocne {
    position: relative;
    overflow: visible;
    
}

#vianocne::before {
    position: absolute;
    z-index: 5;
    top: 0px;
    left: 50%;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1900 / 80;
    pointer-events: none;
    content: "";
    background: url("/vianocne-assets/girlandia10.webp") top center / contain repeat-x;
    transform: translateX(-50%);
}

@media (max-width: 767px) {
    .logo-wrapper .themeum-navbar-brand::after {
        top: -24px;
        left: -13px;
        width: clamp(54px, 18vw, 70px);
    }

}


/*

#vianocne2 {
    position: relative;
    overflow: visible;
    
}

#vianocne2::before {
    position: absolute;
    z-index: 5;
    top: -25px;
    left: 50%;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1900 / 80;
    pointer-events: none;
    content: "";
    background: url("/vianocne-assets/girfeit.webp") top center / contain no-repeat;
    transform: translateX(-50%);
    z-index: -222;
}

*/