
/* Bloc video */

.bloc-video {
    width: 100%;
    height: 100svh;
    /* background-image: url(./../img/autreman-video-accueil-cover.jpg); */
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}

.bloc-video .video-home-wrapper {
    width: 100%;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    overflow: hidden;
}

.video-home-banner iframe {
    position: absolute;
    width: auto;
    height: auto;
    min-height: 115%;
    min-width: 100%;
    aspect-ratio: 8/5;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.bloc-video .video-header {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 16px;
    background: rgba(var(--bs-black-rgb), .25);
}

.bloc-video .video-home-logo {
    width: calc(100% - 72px);
    max-width: 524px;
    height: auto;
    object-fit: contain;
}

.bloc-video .h1 {
    font-weight: 500;
    color: var(--bs-white);
    font-size: 1.9rem;
    line-height: 106.5%;
    letter-spacing: -0.54px;
    margin-top: 24px;
    margin-bottom: 32px;
}

.bloc-video .btn-hover-slide {
    font-size: 1.28rem;
    width: 100%;
}

@media (min-width: 576px) {
    .bloc-video .video-header {
        justify-content: center;
        padding: 0;
    }

    .bloc-video .btn-hover-slide {
        width: auto;
    }
}

@media (min-width: 768px) {
    .bloc-video .h1 {
        margin-top: 32px;
        font-size: 3.5rem;
        letter-spacing: -1.12px;
    }

    .bloc-video .btn-hover-slide {
        font-size: 1rem;
    }

    .cta-scroll-mouse {
        position: absolute;
        bottom: 44px;
        right: 54px;
        width: 44px;
        height: 72px;
        border: 2px solid rgba(var(--bs-white-rgb), 0.5);
        border-radius: 21px;
        padding: 18px;
    }

    .scroll-mouse {
        width: 4px;
        height: 6px;
        border-radius: 2px;
        background: var(--bs-white);
    }
}

@media (min-width: 1200px) {
    .bloc-video .video-header {
        background: rgba(var(--bs-black-rgb), .15);
    }
}
@media (prefers-reduced-motion: no-preference) {

    /* Bloc video */
    .cta-scroll-mouse {
        -webkit-animation: 3s ease-in-out 0s infinite normal mouse_opacity;
        animation: 3s ease-in-out 0s infinite normal mouse_opacity;
    }

    .scroll-mouse {
        -webkit-animation: 3s ease-in-out 0s infinite normal mouse_scroll;
        animation: 3s ease-in-out 0s infinite normal mouse_scroll;
    }

    @-webkit-keyframes mouse_scroll {
        0% {
            height: 6px;
        }

        6% {
            height: 21px;
        }

        10% {
            height: 17px;
        }

        13% {
            height: 19px;
        }

        15% {
            height: 18px;
        }

        55% {
            height: 18px;
        }

        80% {
            height: 6px;
        }
    }

    @-webkit-keyframes mouse_opacity {
        0% {
            border-color: rgba(var(--bs-white-rgb), 0.5)
        }

        6% {
            border-color: rgba(var(--bs-white-rgb), 1);
        }

        55% {
            border-color: rgba(var(--bs-white-rgb), 1);
        }

        80% {
            border-color: rgba(var(--bs-white-rgb), 0.5)
        }
    }
}