/**
 * Custom Mouse Scroll Effect CSS
 */

@-webkit-keyframes rev-ani-mouse {
    0% {opacity: 1;top: 29%;}
    15% {opacity: 1;top: 50%;}
    50% {opacity: 0;top: 50%;}
    100% {opacity: 0;top: 29%;}
}
@-moz-keyframes rev-ani-mouse {
    0% {opacity: 1;top: 29%;}
    15% {opacity: 1;top: 50%;}
    50% {opacity: 0;top: 50%;}
    100% {opacity: 0;top: 29%;}
}
@keyframes rev-ani-mouse {
    0% {opacity: 1;top: 29%;}
    15% {opacity: 1;top: 50%;}
    50% {opacity: 0;top: 50%;}
    100% {opacity: 0;top: 29%;}
}

/* Mouse scroll container at the bottom of fullscreen sections */
.mouse-scroll-container {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.fullscreen .mouse-scroll-container {
    bottom: 10px;
}

.rev-scroll-btn {
    display: inline-block;
    position: relative;
    left: 0;
    right: 0;
    text-align: center;
    cursor: pointer;
    width: 35px;
    height: 55px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 3px solid white;
    border-radius: 23px;
}

.rev-scroll-btn span {
    position: absolute;
    display: block;
    top: 29%;
    left: 50%;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    background: white;
    border-radius: 50%;
    -webkit-animation: rev-ani-mouse 2.5s linear infinite;
    -moz-animation: rev-ani-mouse 2.5s linear infinite;
    animation: rev-ani-mouse 2.5s linear infinite;
}

/* Additional styling for dark backgrounds */
.background-dark .rev-scroll-btn,
.background-colored .rev-scroll-btn,
.text-light .rev-scroll-btn {
    border-color: rgba(255, 255, 255, 0.5);
}

.background-dark .rev-scroll-btn span,
.background-colored .rev-scroll-btn span,
.text-light .rev-scroll-btn span {
    background: white;
}

/* Styling for light backgrounds */
.background-light .rev-scroll-btn,
.text-dark .rev-scroll-btn {
    border-color: rgba(0, 0, 0, 0.5);
}

.background-light .rev-scroll-btn span,
.text-dark .rev-scroll-btn span {
    background: #333;
} 