@keyframes pulsing {
    0% {
        opacity: 1
    }

    50% {
        height: 150%;
        width: 150%
    }

    51% {
        height: 100%;
        opacity: 0;
        width: 100%
    }
}

@keyframes animateIcon {
    40% {
        transform: rotate(0)
    }

    45% {
        transform: rotate(10deg)
    }

    50% {
        transform: rotate(0)
    }

    55% {
        transform: rotate(10deg)
    }

    60% {
        transform: rotate(0)
    }

    65% {
        transform: rotate(10deg)
    }

    70% {
        transform: rotate(0)
    }
}

.social_link_widget * {
    box-sizing: border-box;
    margin: 0;
    outline: 0;
    padding: 0
}

.social_link_widget {
    bottom: 90px;
    box-sizing: border-box;
    outline: 0;
    padding: 0;
    position: fixed;
    right: 48px;
    margin: 0 13px 0 0;
    z-index: 111;
}

.social_link_widget.visible .social_link_widget_list {
    opacity: 1;
    right: calc(100% + 30px);
    transition-duration: .3s;
    transition-property: all;
    transition-timing-function: ease;
    visibility: visible
}

.social_link_widget.visible a {
    opacity: 1;
    transform: translateX(0);
    visibility: visible
}

.social_link_widget_list {
    background: #fff url(images/pattern.svg) 100%/700px no-repeat;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
    display: inline-flex;
    gap: 20px;
    opacity: 0;
    padding: 40px 50px 20px 30px;
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    visibility: hidden;
}

.social_link_widget_list > span {
    color: #212121;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    width: 100%;
    position: absolute;
    left: 0;
    top: 4px;
    line-height: 2;
    padding-right: 20px;
}

.social_link_widget_btn {
    align-items: center;
    border-radius: 100%;
    cursor: pointer;
    display: flex;
    height: 70px;
    justify-content: center;
    position: relative;
    transition-duration: .3s;
    transition-property: all;
    transition-timing-function: ease;
    width: 70px;
    z-index: 1
}

.social_link_widget_btn img {
    max-width: 100%;
}

.social_link_widget_btn:hover {
    transform: scale3d(1.1, 1.1, 1.1)
}

.social_link_widget_btn:before {
    animation: pulsing 3s infinite normal;
    border: 1px solid #44c152;
    border-radius: 100%;
    content: "";
    height: 100%;
    left: 50%;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%
}

.social_link_widget_btn:after {
    animation: animateIcon 5s infinite normal;
    content: "";
    height: 100%;
    transform: rotate(0);
    transition-duration: .3s;
    transition-property: all;
    transition-timing-function: ease;
    width: 100%
}

.close_btn {
    background: url(images/cross.svg) center/contain no-repeat;
    width: 14px;
    height: 14px;
    position: absolute;
    right: 20px;
    top: 16px;
    cursor: pointer;
}

.close_btn:hover {
    opacity: .7;
}

.social_link_widget a {
    text-indent: -9999px;
    align-items: center;
    background: #000;
    border-radius: 100%;
    display: flex;
    height: 60px;
    justify-content: center;
    opacity: 0;
    position: relative;
    transition-duration: .3s;
    transition-property: all;
    transition-timing-function: ease;
    visibility: hidden;
    width: 60px;
    flex-shrink: 0;
}

.social_link_widget a[href*="tel:"] {
    background: #ff4d5a
}

.social_link_widget a[href*="wa.me"] {
    background: linear-gradient(#25d366, #25d366)
}

.social_link_widget a[href*="t.me"] {
    background: linear-gradient(#36aee0, #1c96d1)
}

.social_link_widget a[href*="youtube.com"] {
    background: #f00
}

.social_link_widget a[href*="facebook.com"] {
    background: #0866FF
}

.social_link_widget a[href*="instagram"] {
    background-image: radial-gradient(circle at 30% 107%, #fdf497 0, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%)
}

.social_link_widget a:hover {
    transform: translateY(-4px)
}

.social_link_widget a .icon {
    width: 22px;
    height: 22px;
    display: flex;
    flex-shrink: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0) invert(1);
}

@media only screen and (max-width: 767px) {

    .social_link_widget_title {
        display: none;
    }

    .social_link_widget {
        right: 20px;
    }

    .social_link_widget a .icon {
        width: 26px;
        height: 26px;
    }

    .social_link_widget_list {
        bottom: -20px;
        gap: 20px;
        padding: 50px 10px 18px;
        right: 0;
        top: auto;
        box-shadow: 0 2px 20px rgba(0, 0, 0, .2);
    }


    .social_link_widget .social_link_widget_list {
        right: -22px !important;
    }

    .social_link_widget.visible .social_link_widget_list {
        bottom: -10px;
        flex-direction: column;
    }

    .social_link_widget a {
        text-indent: initial;
        width: auto;
        flex-direction: column;
        font-size: 12px;
        height: auto;
        color: #333;
        gap: 5px;
        background: none !important;
        opacity: 1;
        visibility: visible !important;
        border-radius: initial !important;
        text-align: center;
        line-height: 1.6;
        width: 100px;
    }

    .social_link_widget a:not(:last-of-type):after {
        content: '';
        position: absolute;
        height: 75%;
        width: 1px;
        background: #eee;
        right: -15px;
    }

    .social_link_widget a .icon {
        filter: initial;
    }

    .social_link_widget_btn:after {
        background-size: 20px
    }
}

@media only screen and (max-width: 480px) {
    .social_link_widget_btn {
        width: 50px;
        height: 50px;
    }

    .social_link_widget {
        margin: 0;
    }

    .social_link_widget {
        right: 10px;
    }
}