:root {
    --custom-red-color: #B30303;
    --custom-red-hover-color: #920A0A;
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.sticky-buttons {
    display: none;
    z-index: 1000;
    position: sticky;
    bottom: 14px;
    background: #eeeeeed6;
    margin: 0 auto;
    align-items: center;
    width: fit-content;
    padding: .2rem .3rem;
    border-radius: 5px;

    li {
        margin: 0;
        height: auto;
        list-style-type: none;

        .button-link {
            display: flex;
            align-items: center;
            background: var(--custom-red-color);
            color: #fff;
            padding: .4rem .75rem;
            font-weight: 600;
            border-radius: 3px;

            i {
                font-size: 1.4rem;
                margin-right: .5rem;
            }

            &:hover {
                color: #fff;
                background: var(--custom-red-hover-color);
                border-bottom: none !important;
            }
        }


        &:first-of-type {
            margin-right: .5rem;
        }
    }
}

@media screen and (min-width: 578px) {
    .sticky-buttons {
        display: flex;
    }
}

.sticky-buttons-mobile {
    position: fixed;
    z-index: 1000;
    right: 0;
    top: 30vh;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    align-items: end;
    margin: 0;

    li {
        margin-bottom: .2rem;
    }

    .text {
        background-color: var(--custom-red-color);
        color: #fff;
        padding: .4rem;
        font-size: .9rem;
        display: none;
        opacity: 0;
        transition: background-color ease .3s, opacity 0.5s linear;
    }

    .icon-wrapper {
        padding: .73rem;
        color: #fff;
        background-color: var(--custom-red-color);
        transition: background-color ease .3s;
        display: flex;
        align-items: center;

        i {
            font-size: 1.3rem;
        }
    }

    a {
        display: flex;

        &:hover {
            border-bottom: none !important;

            .text,
            .icon-wrapper {
                background-color: var(--custom-red-hover-color);
            }

            .text {
                display: block;
                animation: fadeIn .6s forwards;
            }
        }
    }

    @media screen and (min-width: 577px) {
        display: none;
    }
}