@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap');

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    user-select: none;
    scroll-behavior: smooth;
}

:root {

    --Texte-noir: #0B1C2C;
    --Orange: #FFA02C;
    --Blanc: #FFFFFF;
    --Background: #EAE1D6;
    --Titre-Beige: #E3B96D;
    --Background-noir: #181713;
}

body {
    background-color: var(--Background);
}

/* ? Header */
.header-connai {
    width: 100%;
    height: auto;
    min-height: 250px;
    background-color: #242424;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 140px;
}

.header-connai span {
    font-family: "Source Serif 4", sans-serif;
    color: var(--Titre-Beige);
    font-size: 48px;
    font-weight: 400;
}

.header-connai p {
    font-family: "Source Serif 4", sans-serif;
    color: var(--Blanc);
    font-size: 20px;
    font-weight: 400;
}

.header-connai i {
    font-size: 48px;
    color: var(--Titre-Beige);
    cursor: pointer;
    margin-top: 20px;
}

/* ? Fin de Header */
.Realisation-video {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding: 0px 5%;
    margin-bottom: 60px;
}

.Text-realisation {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    max-width: 600px;
    width: auto;
}

.Text-realisation span {
    font-family: "Source Serif 4", sans-serif;
    color: var(--Texte-noir);
    font-size: 2.5rem;
    font-weight: 600;
}

.bx-movie-play,.bx-ruler {
    width: 80px;
    height: 80px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 58px;
    color: var(--Orange);
}

.realisation-video-position {
    display: flex;
    flex-direction: row;
    gap: 60px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 1480px;
    width: 100%;
    flex-wrap: wrap;
}

.video-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 440px;
    width: 100%;
    gap: 10px;
}

.video-container video:fullscreen {
    object-fit: contain;
}
.video-container video:hover{
    cursor: pointer ;
}

.video-container video:active {
    object-fit: contain;
}

.video-container video {
    width: 100%;
    max-width: 440px;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 15px;
    background:#242424 ;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.video-container>div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.video-container>div hr {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    border: none;
    background-color: #242424;
}

.video-container>div p {
    font-family: "Source Serif 4", sans-serif;
    color: #242424;
    font-size: 15px;
    font-weight: 500;
    font-style: italic;
}

.video-container span {
    font-family: "Source Serif 4", sans-serif;
    color: #242424;
    font-size: 1.5rem;
    font-weight: 600;
}

.overlay {
    position: absolute;
    top: 260;
    left: 100;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}
.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    background-color: var(--Blanc);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    pointer-events: all;
    background-image: url('../Icon/play-icon.png');
    background-size: 40%;
    /* Taille de l'icône */
    background-repeat: no-repeat;
    background-position: 60% 50%;
    /* Ajustement manuel de la position */
    background-origin: content-box;
    z-index: 29;
}

.play-button:hover {
    border: 2px solid var(--Blanc);
}


.play-button:focus {
    outline: none;
}
.fullscreen-button {
    display: none;
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 8px 12px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 30;
    pointer-events: all;
}

/* Met .video-container div en position relative pour bien positionner le bouton */
.video-container > div {
    position: relative;
}

.fullscreen-button:hover {
    background: rgba(0, 0, 0, 0.8);
}











































@media screen and (max-width: 1024px) {
    .logo-wrapper {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 50px;
    }

    .header-connai span {
        text-align: center;
        font-size: 40px;
    }
}

@media screen and (max-width: 768px) {
    .logo-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 30px;
    }
    .Realisation-video{
        padding: 0px 2%;
    }
    .Text-realisation span{
        font-size: 1.8rem;
        width: 300px;
    }
    .bx-movie-play, .bx-ruler {
        width: 70px;
        height: 70px;
        font-size: 48px;
    }
}

@media screen and (max-width: 480px) {

    .hide {
        display: none;
    }

}