.video-overlay {
    position: absolute;
    top: 80%;
    left: 28%;
    transform: translate(-50%, -50%);
    text-align: right;
    color: white;
    z-index: 2;
    padding: 20px;
 
    border-radius: 10px;
}

.video-overlay h1 {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 15px;
    color: rgb(251, 248, 248);
    animation: changeColor 22.31s ease-in-out 0s infinite;
}

/* Animación para cambiar el color del h1 */
@keyframes changeColor {
    0%   { color: rgb(251, 248, 248); } /* color original */
    35%  { color: rgb(13, 59, 151); }   /* cambia a azul en 1s (20% de 5s) */
    85%  { color: rgb(13, 59, 151); }   /* se mantiene */
    100% { color: rgb(251, 248, 248); } /* regresa al original */
}

.video-overlay p {
    font-size: 1.2em;
    margin-bottom: 25px;
    color: rgb(206, 206, 206);
    animation: changeColor2 22.31s ease-in-out 0s infinite;
}

/* Animación para cambiar el color del p */
@keyframes changeColor2 {
    0%   { color: rgb(206, 206, 206); }
    35%  { color: rgb(91, 92, 92); }
    85%  { color: rgb(91, 92, 92); }
    100% { color: rgb(206, 206, 206); }
}

.video-overlay .btn {
    font-size: 1.2em;
    padding: 10px 30px;
}

.contact-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.5); /* mismo estilo semi-transparente */
    color: #fff;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 18px;
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-floating-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ddd;
    text-decoration: none;
}
@media screen and (max-width: 1200px) {
    .video-overlay {
        display: none;
    }
}