.scroll-buttons {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;

    display: flex;
    flex-direction: column;
    gap: 0.5rem;

    z-index: 1000;
}

.scroll-buttons button {
    width: 2.6rem;
    height: 2.6rem;

    border: none;
    border-radius: 50%;

    cursor: pointer;

    background-color: var(--lightgray);
    color: var(--dark);

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);

    font-size: 1.2rem;
    line-height: 1;

    opacity: 0;
    pointer-events: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.scroll-buttons button.visible {
    opacity: 0.85;
    pointer-events: auto;
}

.scroll-buttons button:hover {
    opacity: 1;
    transform: scale(1.1);
}
