.mouse {
    width: 50px;
    height: 100px;
    border: 3px solid white;
    border-radius: 50px;
    position: absolute;
    left: 50%;
    bottom: 50px;
    transform: translate(-50%, 0);
}

.mouse::before {
    position: absolute;
    content: "";
    width: 10px;
    height: 10px;
    background-color: white;
    left: 50%;
    transform: translate(-50%, 0);
    top: 20px;
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    from {
        top: 20px;
        opacity: 1;
    }
    to {
        top: 80px;
        opacity: 0;
    }
}

@media (max-width: 900px) and (orientation: landscape) {
    .mouse {
        width: 20px;
        height: 50px;
        bottom: 20px;
    }
    .mouse::before {
        width: 7px;
        height: 7px;
    }
}

@media (max-width: 768px) {
    .mouse {
        width: 20px;
        height: 50px;
    }
    .mouse::before {
        width: 7px;
        height: 7px;
    }
    @keyframes scroll {
        from {
            top: 10px;
            opacity: 1;
        }
        to {
            top: 35px;
            opacity: 0;
        }
    }
}
