.slogan {
    opacity: 1;
    transition: opacity 0.2s ease;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.1em;
}

.slogan span {
    background-color: rgba(36, 37, 39, 0.478); /* Choisissez la couleur de surlignage */
    padding-right: 1%;
    padding-left: 1%;
}


#sloganText {
    position: absolute;
    bottom: 3%;
    left: 2%;

}

#sloganText2 {
    position: absolute;
    bottom: 3%;
    left: 2%;
}


#sloganText3 {
    position: absolute;
    bottom: 3%;
    left: 3.5%
}

#sloganText4 {
    position: absolute;
    top: 3%;
    left: 5%
}

.sponsor-logos {
    margin-top: 2%;
    margin-left: 3%;
    margin-right: 3%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3%;
    flex-wrap: wrap;
  }
  
  .sponsor-logos img {
    max-width: 7%;
    max-height: 5%;
    object-fit: contain;
  }
  


/*------------------VIDEOS------------------*/

.gallery-item.intro_error441 {
    width: 100%;    
}

.gallery-item.intro_error441 img{
      width: 100%; /* Assurez-vous que l'image s'étend à la largeur du conteneur */
    height: auto; /* Pour maintenir le ratio de l'image */
}

/*------------------END VIDEO------------------*/
/*----------------__RESPONSIVE---------------*/

@media (min-width: 769px) {

    .slogan {
        letter-spacing: -0.04em;
        font-size: 3.5vw;
        line-height: 1;
        max-width: 50%;
    }

    .gallery-item.intro_error441 {
        padding-left: 0px;
        margin-bottom: -4px;
    }

    #sloganText3 {
        font-size: 7.5vw;
        left: 2%;
        bottom: 4%;
        max-width: 90%;
    }

    #sloganText4 {
        top: 3%;
        left: 2%
    }

}

/* Pour les écrans mobiles */
@media (max-width: 768px) {

    .slogan {
        font-size: 9vw;
        max-width: 80%;
        padding-bottom: 5%;
        
    }

    #sloganText {
        left: 5%;
        font-size: 8vw;
    }

    #sloganText2 {
        font-size: 7.5vw;
        left: 5%;
        max-width: 90%;
    }

    .sponsor-logos {
        gap: 7%;
        margin-left: 2%;
        margin-right: 2%;
        justify-content: center;
        
      }
    
      .sponsor-logos img {
        max-width: 25%; /* Chaque logo prend environ la moitié de la largeur de l'écran */
      }



}