﻿div[data-block="Custom.MouseScroll"] {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone div[data-block="Custom.MouseScroll"],
.tablet div[data-block="Custom.MouseScroll"]{
    display: none;
}

.mouse-scroll {
    position: relative;
    width: 30px;
    height: 40px;
    border-radius: 40px;
    border: 2px solid var(--color-white);
    
    overflow: hidden;
    z-index: 1;
}

.mouse-scroll__scroll-outer {
    height: 60%;
    position: relative;
    overflow: hidden;
}

.mouse-scroll__scroll {
    width: 2px;
    height: 22px;
    background-color: var(--color-white);
    
    position: absolute;
    top: -100%;
    
    left: 50%;
    transform: translateX(-50%);
    transform-origin: bottom;
    animation: Scroll 2s infinite; 
}

@keyframes Scroll {
    0% {
        top: -100%;
    }
    70% {
        top: 100%;
    }
    100% {
        top: 100%;
    }
}