.bloc-milieu{
    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: 3;
    background:  linear-gradient(to right ,  rgb(170, 218, 226),rgb(76, 172, 236));
    grid-template-columns: 1fr;
    font-weight: normal;
    display: grid;
}

.swiper-container {
    margin-top: 5rem;
    width: 100%; /* Ensure the container takes up the full width of its parent */
    overflow: hidden; /* Hide overflow to prevent scrolling outside the container */
}

.swiper-wrapper {
    display: flex !important;
    flex-direction: column !important; /* Ensure slides are horizontal */
    flex-wrap: wrap; /* Prevent wrapping */
    align-content: flex-start;
}

.swiper-button-next:after, .swiper-button-prev:after {
    color: white !important;
    opacity: 50%;
}

.swiper-button-next:after:hover, .swiper-button-prev:after:hover {
    opacity: 100%;
}

.swiper-slide {
    flex: 0 0 auto; /* Prevent shrinking or growing */
    /*width: auto;  Let Swiper control the width dynamically */
}

.logos-chaines-youtubes {
    display: flex;
    flex-direction: column;
}

#nosChainesYoutube {
    text-align: center;
    font-size: 1.5rem;
    padding: 1rem;
    margin-left: 3.5%;
}

#chaînesYoutube {
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    justify-content: center; 
    align-items: center; 
}

.chaines-youtube img{
    height: auto;
    width: min(30vw, 17rem);
    border-radius: 30%;
    margin: 2rem;
    border: 1px solid white;
}

.logo-chaine-youtube img:hover{
    box-shadow: 1px 1px 2px 0 black;
}

.logo-chaine-youtube .fa{
    background-color: white;
    margin-right: 0.5rem;
    color: red;
    opacity: 1;
}

.logo-chaine-youtube a{
    text-decoration: none;
}

.logo-chaine-youtube h2{
    margin: 12rem auto 5rem 3.5%;
    position: absolute;
    font-size: 1.5vw;
    text-decoration: underline;
    color: black;
}

.show-case{
    display: flex;
    margin: 3.5rem 32%;
    width: 60%;
    border: 1px solid white;
    border-radius: 5px;
}

.show-case .video{
    border-radius: 5px;
    height: 30rem;
    width: 100%;
}

.sous-titre{
    position: absolute;
    padding: 0.8rem;
    border-radius: 8px;
    top: 0.4rem;
    left: 0.4rem;
    background-color: rgb(170, 218, 226);
}

.sous-titre:hover{
    box-shadow: 2px 2px 2px 0 black;
    padding: 0.9rem;
}

.hs{
    position: absolute;
    background: transparent;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    top: 18%;
    height: 18rem;
    width: 97%; 
    overflow: hidden;
}

.section a{
    text-decoration: none;
    color: black;
}

.section a:hover{
    color: rgb(40, 109, 213);
    font-weight: 1000;
	transition: .4s;
	opacity: 1;
}

.section{
    margin-top: 2rem;
    position: relative;
    height: 25rem;
    margin-right: 1rem;
    border-radius: 5px;
    transition: 0.5s all ease-out;
}

.vs{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    position: absolute;
    left: 0;
    height: 100%;
    transition: 0.5s all ease-out;
}

.btn-scroll{
    transition: 0.4s;
}

.fa .fa-chevron-circle-left, .fa-chevron-circle-right{
    z-index: 3;
}

.btn-scroll:hover {
    color: black;
}

.section iframe {
	height: 16rem;
    margin: 1rem;
}

/*Bouton Youtube*/

.video-frame{
    position: relative;
    font-size: 2rem;
}

.video-frame .fa-youtube-play{
    background-color: white;
    border-radius: 10px;
    color: red;
    z-index: 4;
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    opacity: 0.7;
}

.video-frame .fa-youtube-play:hover{
    background-color: white;
    border-radius: 10px;
    color: red;
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    box-shadow: 0px 1px 1px 0px black;
    opacity: 1;
}

.btn-scroll .fa {
    --max-size: 4rem;
    --min-size: 3.5rem;
    font-size: max(var(--min-size), min(var(--max-size), calc(var(--min-size) + 0.5vw)));
}

/*Fin bouton Youtube*/
.right{
    position: absolute;
    top: 36%;
    right: 2%;
    height: 4rem;
    width: 4rem;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 4;
}

.left{
    position: absolute;
    left: 2%;
    top: 36%;
    height: 4rem;
    width: 4rem;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 4;
}

.vs video{
    min-width: 18rem;
    max-width: 18rem;
    height: 90%;
    margin: 1rem;
}

.section:last-child{
    margin-bottom: 2rem;
}

.section{
    background: rgb(76, 172, 236);
}

.separator{
    margin-left: 2%;
    margin-right: 2%;
    background: white;
    height: 3vw;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: 100% 1% 50%;
    background: linear-gradient(to right ,  rgb(236, 242, 243),rgb(160, 206, 236));
}

@media screen and (min-width: 501px) {
    .section {
        margin-left: 2.5rem;
    }
}

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

}