html { background-color:transparent; } 
body {
    min-height: 100%;
    max-width: 100%;
    background-color:transparent; 
    margin: auto;
    opacity: 1;
}
.youtube-video {
  aspect-ratio: 16 / 9;
  width: 100%;
}



.scoreboard {
 display: flex;
  /*flex-direction: column; /* ou row, selon votre besoin */
  align-items: center; /* Centre les éléments horizontalement */
  /*justify-content: center; /* Centre les éléments verticalement */
  /*width: 50%; /* Utilisez 100% pour occuper toute la largeur du conteneur parent */
  /*max-width: 1200px; /* Vous pouvez définir une largeur maximale pour éviter que le conteneur ne devienne trop large sur les grands écrans */
  /*margin: 0; /* Centre le conteneur */
    width: 100%;
    padding: 0;
    margin: 0;

}

.competitor {
  display: grid;
    grid-template-columns: 1fr 4fr 2fr 7fr; /* Crée 4 colonnes avec des tailles égales */
    gap: 10px; /* Espacement entre les éléments de la grille */
    padding: 0px;
    margin: 0;
    height: auto; 
    width: 100%;
    box-sizing: border-box;
    
}
.competitor-row {
  display: block;
   
    
}


.heatcompetitor {
    display: grid;
    grid-template-columns: 2fr 4fr 1fr 1fr 2fr; /* Crée 4 colonnes avec des tailles égales */
    gap: 10px; /* Espacement entre les éléments de la grille */
    padding: 0px;
    margin: 0px; 
    background-color: whitesmoke;
    width: 100%;
    padding-bottom: 10px;
    padding-top: 10px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 20%, rgba(0, 36, 99, 1) 100%);
}

.logobgcolor {
    
    /* background-color:aquamarine; */
   
}

 .externalDiv {
        /*background-color: aqua;*/
        width: 100%; /* Utilisez 100% pour occuper toute la largeur du conteneur parent */
         margin: 0;
     padding:0;
}
 .headers {
            font-size: 1vw;
            text-align: right;
    
        }
 .main_div {
            text-align:center;
            position: relative;
        }
 .div_bottom {
            position: absolute;
            bottom: 0px;
        }
 .div_scores {
            width:auto;
    
        }

.name {
  font-size: 30px;
    font-weight: bold;
    white-space: nowrap;
  overflow-x: hidden;
     font-family: sans-serif, -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue";
  

    
}
 .club {
  font-size: 24px;
     float: left;
    display: inline-block;
  
}


.chrono {
  font-size: 60px;
  font-weight: bold;
    color:black;
    //border: 4px solid;
    //border-color: aqua;
    text-align: left;  
}

.chronoback {
  font-size: 3vw;
  font-weight: bold;
    //background-color: darkblue;
    //color: aquamarine;
    
    text-align: left;  
}
.score {
  font-size: 36px;
    font-weight: bold;    
}
.title {
  font-size: 2vw;
    font-weight: bold;    
}

.scores {
  font-size: 24px;
}


.scores-need {
  font-size: 18px;
    text-align: left;
    border: 2px solid wheat; /* Bordure de 2 pixels d'épaisseur, de couleur jaune */
    display: inline-block; /* Le div s'adapte à la taille du texte */
    margin-left: 20px;
  vertical-align: top;
  /* padding: 2px; */
    
    border-radius: 5px;
  /* padding: 10px; Optionnel : Ajoute un espace à l'intérieur du div pour éloigner le contenu de la bordure */
    
}



.details {
  margin-top: 5px;
}

.image-container {
    /* Assurez-vous que le conteneur ne dépasse pas les limites que vous souhaitez pour votre image */
    max-width: 20vw; /* Largeur maximale du conteneur */
    min-width: 15vw; /* Largeur minimale du conteneur */
    margin: auto; /* Centrer l'image si le conteneur est plus large que l'image */
}

 .competitor-img {
    width: 100%; /* Permet à l'image de s'adapter à la largeur du conteneur */
    height: auto; /* Garde le ratio de l'image */
    max-width: 5vw; /* Largeur maximale de l'image */
    min-width: 2vw; /* Largeur minimale de l'image */
    border: 2px solid;
    border-radius: 50%;
      
}
.color-re { border-color: #F20606; }
.color-ye { border-color: #FFEC33; }
.color-bl { border-color: #063FF2; }
.color-wh { border-color: #FFFFFF; }

.color-1 { border-color: #F20606; }
.color-2 { border-color: #FFEC33; }
.color-3 { border-color: #063FF2; }
.color-4 { border-color:gainsboro; }
.color-5 { border-color:black; }


.responsive-flag {
    width: 80%; /* Permet à l'image de s'adapter à la largeur du conteneur */
    height: auto; /* Garde le ratio de l'image */
    max-width: 3vw; /* Largeur maximale de l'image */
    min-width: 2vw; /* Largeur minimale de l'image */
}
.responsive-logo {
    width: auto; /* Permet à l'image de s'adapter à la largeur du conteneur */
    height: auto; /* Garde le ratio de l'image */
    /*max-width: 10vw; /* Largeur maximale de l'image */
    min-width: 3vw; /* Largeur minimale de l'image */
    max-height: 50px;
}
.waves-scores {
  font-family: Arial, sans-serif;
  text-align: center;
  margin-bottom: 10px; /* Adjust as needed */
}

.waves-scores .header .col,
.waves-scores .scores .col {
  padding: 5px; /* Adjust padding */
  display: inline-block;
  width: 33%; /* Adjust the width based on the number of columns */
  box-sizing: border-box;
}

.waves-scores .scores .col {
  color: white; /* Score text color */
  background-color: #f0ad4e; /* Score background color */
  border-radius: 5px; /* Adjust as needed for rounded corners */
  font-weight: bold; /* Bold font for scores */
}

.scores-video {
     width:70%;
    padding: 0;
    
    
}
.top-score {
  color: red; /* or the specific shade of red you want */
}

.best-score {
  color: red; /* Adjust the color as needed */
}
.wave-score-pair {
  /* Your existing styles */
    font-size: 2vw;
    overflow: hidden;
    
}

.wave-scores-container {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  justify-content: space-around;
    flex-wrap: wrap;
     justify-content: flex-start;
    /*background-color: beige;
  /* Add more styling as needed */
}

.hidden-desktop {
          display: none;
        }

.best-score {
  color: red; /* Or any color you want for the best scores */
}

.normal-score {
  color: black; /* Optional: Style for normal scores, if needed */
}

.wave-score-pair {
  min-width: 25px; /* Adjust the minimum width as needed to prevent collapsing */
}

.wave-scores-container {
  /*overflow-x: auto;  Allows scrolling horizontally if there are many scores */
}



@media (max-width: 768px) { 
        .hidden-mobile {
          display: none;
        }
    .hidden-desktop {
          display: flex;
        }

        .scoreboard {
 
          width: 100%; /* Utilisez 100% pour occuper toute la largeur du conteneur parent */
          /*max-width: 768; /* Vous pouvez définir une largeur maximale pour éviter que le conteneur ne devienne trop */
            
}
    .competitor {
        grid-template-columns: 1fr 5fr 2fr;
       
        
        
    }
     .externalDiv {
 
          width: 100%; /* Utilisez 100% pour occuper toute la largeur du conteneur parent */
          /*max-width: 768px; /* Vous pouvez définir une largeur maximale pour éviter que le conteneur ne devienne trop */
         margin: auto;
            
}
    .responsive-flag {
    width: 100%; /* Permet à l'image de s'adapter à la largeur du conteneur */
    height: auto; /* Garde le ratio de l'image */
    max-width: 7vw; /* Largeur maximale de l'image */
    min-width: 2vw; /* Largeur minimale de l'image */
     }   
     .responsive-logo {
    width: 100%; /* Permet à l'image de s'adapter à la largeur du conteneur */
    height: auto; /* Garde le ratio de l'image */
    
         padding: 0;
         margin:0;
        }
    
        .name {
          /*font-size: 3vw;*/
          font-weight: bold;
          overflow-x: hidden;

        }
        
        .score {
          /*font-size: 3vw;*/
          font-weight: bold;
        text-align: right;
          
        }
        .club {
          font-size: 3vw;
          font-weight: bold;
            float: left;
            display: inline-block;
          
        }
        .scores {
            font-size: 4vw;
            text-align: center;
    
        }
    .scores-need {
        font-size: 3vw;
        text-align: right;
        }
    .scores-video {
     width:100%;
    
        }
      .headers {
            font-size: 3vw;
        text-align: right;
    
        }
    .title {
  font-size: 2.4vw;
     
}
     .div_scores {
            width:50%;
    
        }
    .competitor-img {
    width: 200%; /* Permet à l'image de s'adapter à la largeur du conteneur */
    height: auto; /* Garde le ratio de l'image */
    max-width: 10vw; /* Largeur maximale de l'image */
    min-width: 2vw; /* Largeur minimale de l'image */
        }
    .chrono {
  font-size: 5vw;
  
}
   
}

