/* ==========================================================================
   SHARE BUTTON
   Fixed above the back to top button (see main.js).
   ========================================================================== */

/* no paint containment, because it would clip the tooltip. */
.share-button {
    contain: layout style;
    position: fixed;
    right: 1rem;
    bottom: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--color-white);
    cursor: pointer;
}

.share-button img {
    display: block;
    width: 4rem;
    height: 4rem;
}

@media (min-width: 890px) {

    .share-button {
        right: 5rem;
        bottom: 11rem;
    }

    .share-button img {
        width: 5rem;
        height: 5rem;
    }
}
