﻿.wrapper-social-icons {
    display: inline-flex;
    color: black;
}

    .wrapper-social-icons .icon {
        position: relative;
        background-color: whitesmoke;       
        border-radius: 50%;
        padding: 15px;
        margin: 10px;
        width: 50px;
        height: 50px;
        font-size: 18px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        cursor: pointer;
        transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

    .wrapper-social-icons .tooltip {
        position: absolute;
        top: 0;
        font-size: 14px;
        background-color: #ffffff;
        color: #ffffff;
        padding: 5px 8px;
        border-radius: 5px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }

        .wrapper-social-icons .tooltip::before {
            position: absolute;
            content: "";
            height: 8px;
            width: 8px;
            background-color: #ffffff;
            bottom: -3px;
            left: 50%;
            transform: translate(-50%) rotate(45deg);
            transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        }

    .wrapper-social-icons .icon:hover .tooltip {
        top: -45px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .wrapper-social-icons .icon:hover span,
    .wrapper-social-icons .icon:hover .tooltip {
        text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
    }

    .wrapper-social-icons .facebook:hover,
    .wrapper-social-icons .facebook:hover .tooltip,
    .wrapper-social-icons .facebook:hover .tooltip::before {
        background-color: #3b5999;
        color: #ffffff;
    }

    .wrapper-social-icons .instagram:hover,
    .wrapper-social-icons .instagram:hover .tooltip,
    .wrapper-social-icons .instagram:hover .tooltip::before {
        background-color: #e1306c;
        color: #ffffff;
    }

    .wrapper-social-icons .youtube:hover,
    .wrapper-social-icons .youtube:hover .tooltip,
    .wrapper-social-icons .youtube:hover .tooltip::before {
        background-color: #de463b;
        color: #ffffff;
    }

    .wrapper-social-icons .pinterest:hover,
    .wrapper-social-icons .pinterest:hover .tooltip,
    .wrapper-social-icons .pinterest:hover .tooltip::before {
        background-color: #E60023;
        color: #ffffff;
    }
