.floating-effect {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.animated-border-btn::before {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid #E40008; /* Couleur du second contour */
    opacity: 1;
    animation: border-animation 2s infinite;
    border-radius: 25px;
}

@keyframes border-animation {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05); /* Légère extension du contour */
    }
    100% {
        transform: scale(1);
    }
}



.cont-vid {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.cont-vid2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.overlay-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Fond semi-transparent */
    border-radius: 8px;
}