/*
 * Scroll to Top Button Styles
 * A button that appears in the lower right corner when scrolling down
 */

.scroll-to-top-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #00AEEF;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.scroll-to-top-button:hover {
    background-color: #0088CC;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    color: #ffffff;
    text-decoration: none;
}

.scroll-to-top-button:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

/* Show button when scrolled */
.scroll-to-top-button.visible {
    opacity: 1;
    visibility: visible;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .scroll-to-top-button {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

@media screen and (max-width: 480px) {
    .scroll-to-top-button {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}
