/*
 * Back to Top Button Styles
 * Mobile-first, accessible, discret, BEM, hermétique
 */
.back-to-top {
    position: fixed;
    right: 2.2rem;
    bottom: 2.2rem;
    z-index: 1000;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    color: #222;
    cursor: pointer;
    opacity: 0.96;
    transition: opacity 0.2s, background 0.2s, color 0.2s, border 0.2s;
    font-size: 2.5rem;
    font-family: inherit;
    pointer-events: auto;
}

.back-to-top__icon {
    width: 2.34em;
    height: 2.34em;
    display: block;
    margin: 0 auto;
    filter: none;
    transition: filter 0.2s, transform 0.2s;
    transform: rotate(-90deg);
}

.back-to-top:focus {
    outline-offset: 2px;
}


@media (max-width: 600px) {
    .back-to-top {
        right: 1rem;
        bottom: 1rem;
        width: 52px;
        height: 52px;
        font-size: 2rem;
    }

    .back-to-top__icon {
        width: 1.8em;
        height: 1.8em;
        transform: rotate(-90deg);
    }
}