.singleVideoEnglobant{
   min-height:80vh;
    background-color:#dc935b;
    padding-top: 170px;
    padding-right: 50px;
    padding-left:50px;
    padding-bottom:100px;
}

.singleVideo{
   max-width:1400px;
    margin: auto;
}

.singleVideo h1{
    font-family:var(--premierFontFamily);
    text-align:center;
    margin-bottom:50px;
}

.singleVideo .descriptionEtVideo{
    display: flex;
    justify-content: space-around;
    gap:20px;
}

.singleVideo .description{
    flex: 1;
    font-size:20px;
}

.singleVideo iframe {
    flex:1;
}

.singleVideo .imgEtImageEnglobant{
    width:30% ;
    cursor:pointer;
    object-fit:contain
}

.singleVideo .imgEtImageEnglobant img{
   width:100%;
}

/* Le fond de la modale */
.modal,
.modal1{
    display: none; /* Caché par défaut */
    position: fixed; /* Rester en place */
    z-index: 99; /* Se situer au-dessus */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Activer le défilement si nécessaire */
  /*  background-color: rgb(0,0,0); *//* Couleur de fond */
    background-color: rgba(0,0,0,0.4); /* Noir avec opacité */
}

/* Le contenu/boîte de la modale */
.modal-content,
.modal-content1{
    background-color: #fefefe;
    margin: 15% auto; /* 15% du haut et centré horizontalement */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Peut être plus ou moins, selon votre préférence */
}

/* Le bouton de fermeture (x) */
.close,
.close1{
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus,
.close1:hover,
.close1:focus{
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.singleVideo .descriptionEtVideo{
    display: flex;
    flex-wrap: wrap;
}

.singleVideo .imgEtImageEnglobant{
    position: relative;
    overflow:hidden;
}

.singleVideo .imgSingleVideo{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height: 100%;
    transform:translateY(-100%);
    background-color:rgba(0,0,0,0.5);
    display:flex;
    justify-content: center;
    align-items: center;
    transition:transform 0.5s;
    font-weight: bold;
    color:white

}

.singleVideo .imgEtImageEnglobant:hover .imgSingleVideo{
    transform:translateY(0)
}

/*.singleVideo .imgSingleVideo{
    position:relative;
}

.singleVideo .imgSingleVideo:before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
!*    transform:translateY(-100%);*!
    background-color:red;
}

.singleVideo .imgSingleVideo:before:hover{
    transform:translateY(0);
}*/

@media screen and (max-width:977px){
    .singleVideo .imgEtImageEnglobant{
        width:40% ;

    }

    .singleVideo iframe,
    .singleVideo img{
        flex:none;
    }

    .singleVideo img{
        width:100% ;
    }
}

@media screen and (max-width:637px){
    .singleVideo iframe
    {
        width: 440px;
        height: calc((440px / 16) * 9);
    }

}

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

    .singleVideo .descriptionEtVideo{
        flex-direction:column;
        justify-content:center;
        align-items:center;
    }

    .singleVideo .imgEtImageEnglobant{
        width:97% ;

    }
  /*  .singleVideo iframe {
        width: 330px;
        height: calc((330px / 16) * 9);
    }*/

    .singleVideo iframe{
        width: 100%;
        height: calc((100vw / 16) * 9);
    }

    .singleVideoEnglobant{
        padding-right:10px;
        padding-left:10px;
    }
}

/*@media screen and (max-width: 393px) {
    .singleVideo iframe {
        width: 220px;
        height: calc((220px / 16) * 9);
    }
}*/


