.disko-component-horizontal-scroll
{
    --scroll-x: calc( var(--scroll-y) * -1px);
    width: 100%;
    min-height: 100vh;
    position: relative;
}
.disko-component-horizontal-scroll .sticky-container
{
    position: sticky;
    top: 0;
    right: 0;
    left: 12vw;
    bottom: 0;
    width: 88vw;
    height: 100vh;
    overflow: hidden;
}
.disko-component-horizontal-scroll .hr-scroll-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    height: 100%;
    margin-left: 3vw;
    transform: translateX( var(--scroll-x) );
    
    
    grid-auto-flow: unset;
    grid-auto-columns: unset;
    grid-template-rows: unset;
    grid-column-gap: unset;
}
.disko-component-horizontal-scroll .hr-scroll-content > h3,
.disko-component-horizontal-scroll .hr-scroll-content > p
{
    width: 27vw;
    margin-right: 10vw;
}
.disko-component-horizontal-scroll .hr-scroll-content > hr:first-child + h3 {
    text-transform: uppercase;
    font-size: 90px;
    font-size: clamp(45px, 6.7vw, 90px);
    line-height: 0.94em;
    margin-bottom: 0;
}
.disko-component-horizontal-scroll .hr-scroll-content > h3:not(:first-child) {
    font-weight: 400;
    font-size: 30px;
    line-height: 0.75em;
    margin-bottom: 0;
}
.disko-component-horizontal-scroll .hr-scroll-content > p {
    margin-top: 1em;
}
.disko-component-horizontal-scroll .hr-scroll-content > h3:first-child + p {
    margin-top: 30px;
}
.disko-component-horizontal-scroll .hr-scroll-content > h3:not(:first-child) + p {
    margin-top: 40px;
}
hr.br
{
    flex-basis: 100%;
    opacity: 0;
}
hr.br:first-child
{
    display: none;
}

.disko-component-horizontal-scroll .skip-btn
{
    display: inline-flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    text-transform: uppercase;
    transform-origin: top left;
    transform: rotateZ(-90deg) translateX(100%);
}
.disko-component-horizontal-scroll .slider-fullscreen-arrow-svg
{
    transform: rotateZ(-90deg) translateY(-100%) scale(1.5);
}

/**
 *  Audio widget
 */
.disko-component-horizontal-scroll .round-container {
    --color: black;
    position: relative;
    width: 48px;
    height: 48px;
    border: 1px solid var(--color, black);
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.disko-component-horizontal-scroll .reset-icon-svg {
    --reset-color: var(--color);
}
.disko-component-horizontal-scroll .js-audio-viz,
.disko-component-horizontal-scroll .audio-btn {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
}
.disko-component-horizontal-scroll .js-audio-viz {
    width: 60%;
    height: 40%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    pointer-events: none;
    transition: opacity 0.3s ease 0s, transform 0.3s ease 0s;
}
.disko-component-horizontal-scroll .v-bar {
    width: 2px;
    height: 100%;
    background-color: var(--color, black);
    animation: 0.7s ease 0s infinite alternate both running sound-playing;
}
@keyframes sound-playing
{
    0% { transform: scaleY(1); }
    100% { transform: scaleY(0.2); }
}
.disko-component-horizontal-scroll .v-bar:nth-child(1) { animation-delay: -0.6s; }
.disko-component-horizontal-scroll .v-bar:nth-child(2) { animation-delay: -0.2s; }
.disko-component-horizontal-scroll .v-bar:nth-child(3) { animation-delay: -1s; }
.disko-component-horizontal-scroll .v-bar:nth-child(4) { animation-delay: -0.5s; }
.disko-component-horizontal-scroll .v-bar:nth-child(5) { animation-delay: -0; }

.disko-component-horizontal-scroll .js-audio-btn-pause,
.disko-component-horizontal-scroll .js-audio-btn-restart {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    border: none;
    background: none;
}

.disko-component-horizontal-scroll .round-container.paused .js-audio-btn-pause {
    opacity: 0 !important;
}
.disko-component-horizontal-scroll .round-container.paused .js-audio-viz {
    opacity: 1 !important;
    transform: none !important;
}
.disko-component-horizontal-scroll .round-container.paused .v-bar {
    animation: 0.5s ease 0s normal 1 both running sound-stoping !important;
}
@keyframes sound-stoping
{
    to { transform: scaleY(0.15); }
}

.disko-component-horizontal-scroll .round-container.paused .js-audio-viz {
    opacity: 0;
    transform: scaleY(0);
}
.disko-component-horizontal-scroll .js-audio-btn-restart {
    opacity: 0;
    pointer-events: none;
}
.disko-component-horizontal-scroll .round-container.ended .js-audio-btn-restart {
    opacity: 1;
    pointer-events: all;
}
.disko-component-horizontal-scroll .round-container.ended .js-audio-viz {
    opacity: 0;
}

.disko-component-horizontal-scroll .widgets-container
{
    position: sticky;
    bottom: 0;
    height: 50vh;
    width: 8vw;
    top: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
} 



@media screen and (max-width: 767px)
{
    .disko-component-horizontal-scroll .hr-scroll-content > h3,
    .disko-component-horizontal-scroll .hr-scroll-content > p
    {
        width: 70vw;
    }
    .disko-component-horizontal-scroll::before
    {
        content: "";
        display: block;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: -10;
        
        position: sticky;
        height: 100vh;
    }
    
    
    
    .disko-component-horizontal-scroll .widgets-container {
        flex-direction: row-reverse;
        justify-content: space-around;
        align-items: flex-end;
        width: 100%;
        transform: translateY(-8vw);
    }
    .disko-component-horizontal-scroll .skip-btn
    {
        transform: none;
    }
    .disko-component-horizontal-scroll .skip-btn .slider-fullscreen-arrow-svg
    {
        transform: rotate(180deg);
        margin-right: 8px;
    }
    .disko-component-horizontal-scroll .round-container
    {
        position: relative;
    }
    .disko-component-horizontal-scroll .round-container::after {
        display: block;
        position: absolute;
        bottom: -70%;
        font-size: 12px;
        text-transform: uppercase;
        opacity: 0;
        transition: opacity 0.5s ease 0s;
    }
    .disko-component-horizontal-scroll .round-container.paused::after {
        opacity: 1;
    }
    .disko-component-horizontal-scroll .skip-btn {
            transform: rotateZ(-90deg) translateX(100%);
    }
    .disko-component-horizontal-scroll .skip-btn .slider-fullscreen-arrow-svg {
        transform: rotateZ(-90deg) translateY(-100%) scale(1.5);
        margin-right: 0;
    }
    .disko-component-horizontal-scroll .widgets-container {
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        width: 8vw;
        min-width: 60px;
    }
}






@media screen and (max-width: 767px)
{
    .disko-component-horizontal-scroll {
        height: auto !important;
        display: flex;
        flex-direction: column-reverse;
    }
    .disko-component-horizontal-scroll .sticky-container {
        position: static;
        height: auto;
        margin: 80px max(60px, 12vw);
        width: calc(100% - max(60px, 12vw));
    }
    .disko-component-horizontal-scroll .hr-scroll-content {
        transform: none;
        margin-left: 0;
    }
    
    
    .disko-component-horizontal-scroll .widgets-container {
        transform: none;
        margin-top: -50vh;
        width: 12vw;
    }
    
    .disko-component-horizontal-scroll::before {
        position: fixed;
    }
    
    /* hotfix for quinconce siblings */
    .disko-component-quinconce {
        margin: 0 !important;
        padding: 100px 8vw !important;
    }
}


