/*C:\Users\irina\Documents\001Schwanden2027\schwanden2027\public\css\back-to-top.css*/

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 3rem;
    height: 3rem;

    font-size: 1.5rem;
    text-decoration: none;

    color: #ffffff;
    background-color: rgb(28,84, 255);
    border-radius: 50%;

    box-shadow: 0 4px 12px rgba(0,0,0,0.2);

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.back-to-top:hover {
    transform: translateY(0) scale(1.1);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
