.icon-circle-border {
    width: 50px;
    height: 50px;
    border: 3px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 2px solid;
    border-radius: 50%;
    font-size: 14px;
    text-decoration: none;
    margin-right: 8px;
}

.youtube {
    border-color: #FF0000;
    color: #FF0000;
}

.linkedin {
    border-color: #0077b5;
    color: #0077b5;
}

.github {
    border-color: #333;
    color: #333;
}

.facebook {
    border-color: #1877F2;
    color: #1877F2;
}

.instagram {
    border-color: #E1306C;
    color: #E1306C;
}

.whatsapp {
    border-color: #25D366;
    color: #25D366;
}

@keyframes shake {
    0% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-1px);
    }

    50% {
        transform: translateY(1px);
    }

    75% {
        transform: translateY(-1px);
    }

    100% {
        transform: translateY(0);
    }
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-decoration: none;
    margin-right: 8px;
    animation: shake 1.6s ease-in-out infinite;
    transition: transform 0.8s ease;
}

.ringing-icon {
    color: #28a745;
    animation: phoneRing 1.1s infinite;
    transform-origin: center;
}

.my-icon {
    animation: shake 1.6s ease-in-out infinite;
    transition: transform 0.8s ease;
}

/* Stop animation on hover */
.social-icon:hover {
    animation: none !important;
}

@keyframes phoneRing {
    0% {
        transform: rotate(0);
    }

    10% {
        transform: rotate(15deg);
    }

    20% {
        transform: rotate(-15deg);
    }

    30% {
        transform: rotate(15deg);
    }

    40% {
        transform: rotate(-15deg);
    }

    50% {
        transform: rotate(10deg);
    }

    60% {
        transform: rotate(-10deg);
    }

    70% {
        transform: rotate(5deg);
    }

    80% {
        transform: rotate(-5deg);
    }

    90%,
    100% {
        transform: rotate(0);
    }
}