/* ========================================================================== */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* +++++++++++++++++++++++++++++ TV ALSFELD +++++++++++++++++++++++++++++++++ */
/* +++++++++++++++++++++++++++++ STYLESHEET +++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ========================================================================== */

/************************************************************

$name      => TV Alsfeld
$author    => Nick Helfenbein <info@nick-helfenbein.com>
$version   => Version 1 (1.0)
$year      => 2026
$copyright => 2026. Nick Helfenbein. All rights reseved.

************************************************************/

/* ========================================================================== */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* ========================================================================== */





/* ==========================================================================  
   +++++ Noise +++++
   ========================================================================== */

.noise {
    position: absolute;
    inset: 0;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
    opacity: 0.35;
    filter: contrast(103%);
    background-image: url('../img/noise-repeat.jpg');
    background-position: 50% 0;
    background-size: 40em;
    z-index: 99;
}


/* ==========================================================================  
   +++++ Image Figure +++++
   ========================================================================== */

.image-figure {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    position: relative;
    margin: 0;
    padding: 0;
}

.image-figure.default {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.image-figure.default::before {
    content: "";
    padding-top: 133.333%;
    display: block;
}

.image-figure.default.landscape::before {
    content: "";
    padding-top: 66.666%;
    display: block;
}

.image-figure.default.portrait::before {
    content: "";
    padding-top: 156.75%;
    display: block;
}

.image-figure.default.youtube::before {
    content: "";
    padding-top: 56.25%;
    display: block;
}

.image-figure.default.medium::before {
    content: "";
    padding-top: 44.333%;
    display: block;
}

.image-figure.default.small::before {
    content: "";
    padding-top: 33.333%;
    display: block;
}

.image-figure.default.insta::before {
    content: "";
    padding-top: 120%;
    display: block;
}

.image-figure.default.square::before {
    content: "";
    padding-top: 100%;
    display: block;
}

.image-figure.default.macbook::before {
    content: "";
    padding-top: 63%;
    display: block;
}

.image-figure.default .overlay {
    overflow: hidden;
}


/* ==========================================================================  
   +++++ Marquee +++++
   ========================================================================== */

.marquee-group {
    position: relative;
}

.marquee {
    position: relative;
}

.marquee .marquee-scroll {
    position: relative;
    display: flex;
    width: 140%;
    margin-left: -20%;
}

.marquee .marquee-content {
    position: relative;
    display: flex;
}

.marquee-scroll {
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
}

.marquee-scroll.is-dragging {
    cursor: grabbing;
}

.marquee-scroll a {
    -webkit-user-drag: none;
}


/* ==========================================================================  
   +++++ Scrollbar +++++
   ========================================================================== */

[data-scrollbar] {
    position: fixed;
    top: 5px;
    right: 5px;
    bottom: 5px;
    width: 5px;
    z-index: 100000000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, width 0.3s ease-in-out;
}

[data-scrollbar] [data-scrollbar-thumb] {
    min-height: 2em;
    height: 4em;
    background-color: var(--color-natural-400);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: grab;
    border-radius: 30px;
    width: 100%;
}

.lenis-smooth.lenis-scrolling [data-scrollbar] {
    opacity: 1;
}

[data-scrollbar]:hover,
[data-scrollbar-drag="true"] {
    opacity: 1;
    width: 9px;
}

@media screen and (min-width: 1024px) {
    .lenis-smooth [data-scrollbar] {
        display: flex;
    }
}