﻿/* Container for icons */
.icon-container {
    position: fixed;
    bottom: 20px; /* Adjust as needed */
    left: 20px; /* Position to the left bottom corner */
    display: flex;
    flex-direction: column;
    gap: 20px; /* Spacing between icons */
    z-index: 1;
}

/* Each individual icon */
.icon {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 24px;
}

    /* Flashing light circle */
    .icon::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 3px solid transparent;
        animation: pulse 1.5s infinite ease-out;
    }

    /* Icon-specific styles */
    .icon.zalo {
        background-color: #0180ff;
    }

        .icon.zalo::before {
            border-color: #0180ff;
        }

    .icon.facebook {
        background-color: #1877f2;
    }

        .icon.facebook::before {
            border-color: #1877f2;
        }

    .icon.phone {
        background-color: #28a745;
    }

        .icon.phone::before {
            border-color: #28a745;
        }

/* Flashing animation */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.4);
        opacity: 0.4;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Icon logos */
.icon i {
    z-index: 1;
}
