.tf-video-popup {
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    position: relative;
}
.tf-video-popup .wrap-icon,
.tf-video-popup .video-icon {
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* animation */
@keyframes glowing {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 400% 0;
    }
    100% {
        background-position: 0 0;
    }
}
.tf_ani-linear-gradient:before {
    content: "";
    background: linear-gradient(
        45deg,
        #ff0000,
        #ff7300,
        #fffb00,
        #48ff00,
        #00ffd5,
        #002bff,
        #7a00ff,
        #ff00c8,
        #ff0000
    );
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    transition: opacity 0.3s ease-in-out;
    border-radius: 10px;
}
.tf_ani-linear-gradient:after {
    z-index: -1;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: inherit;
    left: 0;
    top: 0;
}
.tf_ani-pulsebox-1 {
    cursor: pointer;
    animation: pulse_two 1s infinite;
}
.tf_ani-pulsebox-2 {
    cursor: pointer;
    animation: pulse_two 1.5s infinite;
}
.tf_ani-pulsebox-3 {
    cursor: pointer;
    animation: pulse_two 2s infinite;
}
.tf_ani-pulsebox-4:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: circle-fade-inf 3s infinite ease-in-out;
    transition: all 0.5s;
    border: 1px solid #ffffff;
}

.tf-video-popup .wrap-icon a {
    color: #fff;
    border-radius: 50%;
    font-size: 70px;
}

.tf-video-popup .wrap-icon a:hover {
    color: var(--theme-primary-color);
    border-color: var(--theme-primary-color);
}

.tf-video-popup .wrap-icon a i::before {
    font-weight: 700;
}

.tf-video-popup .wrap-icon {
    width: 186px;
    height: 186px;
    backdrop-filter: blur(20px);
    background: #FFFFFF4D;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tf-video-popup .wrap-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    height: 260px;
    border: 2px solid #ffffff57;
    border-radius: 50%;
    -webkit-animation: video-effect 2s infinite linear;
	-moz-animation: video-effect 2s infinite linear;
	-ms-animation: video-effect 2s infinite linear;
	-o-animation: video-effect 2s infinite linear;
	animation: video-effect 2s infinite linear;
}

.tf-video-popup .wrap-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    height: 260px;
    border: 2px solid #ffffff57;
    border-radius: 50%;
    -webkit-animation: video-effect2 3s infinite linear;
	-moz-animation: video-effect2 3s infinite linear;
	-ms-animation: video-effect2 3s infinite linear;
	-o-animation: video-effect2 3s infinite linear;
	animation: video-effect2 3s infinite linear;
    animation-delay: 0.5s;
}

@keyframes video-effect {
    0% {
        width: 186px;
        height: 186px;
        opacity: 1;
    }
    100% {
        width: 280px;
        height: 280px;
        opacity: 0;
    }
}

@keyframes video-effect2 {
    0% {
        width: 186px;
        height: 186px;
        opacity: 1;
    }
    100% {
        width: 400px;
        height: 400px;
        opacity: 0;
    }
}