#scrollToTopBtn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: #2e71ba;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: opacity 0.5s ease, transform 0.3s ease;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

#scrollToTopBtn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

#scrollToTopBtn.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

/* Адаптивне зображення */
#scrollToTopBtn svg#arrow-image {
    width: 60%;
    height: 60%;
}
