/* import font */
@font-face {
  font-family: 'test';
  src: url('./assets/font/Helvetica Neue LT Std 107 Extra Black Condensed.otf');
}

@font-face {
  font-family: 'tusker';
  src: url('./assets/2025/font/TUSKER-GROTESK-4800-SUPER.TTF')
}

@font-face {
  font-family: 'helvetica83';
  src: url('./assets/2025/font/HELVETICA\ NEUE\ LT\ STD\ 83\ HEAVY\ EXTENDED.OTF');
}

@font-face {
  font-family: 'helvetica93';
  src: url('./assets/2025/font/HELVETICANEUELTPROBLKEX.OTF');
}

html,
body {
  /* font-family: 'test'; */
  color: #fff;
  margin: 0;
  overflow: hidden;
}


#testing {
  width: 100%;
  height: 100%;
  opacity: 1;
  display: none;
  /* display: block; */
  position: relative;
  z-index: 800;

}

#video-transition-start {
  position: absolute;
  z-index: 1000;
  top: 0;
  left: 0;
}

#video-transition-end {
  position: absolute;
  z-index: 1000;
  top: 0;
  left: 0;
}

#M8-team0 {
  display: none;
  /* display: block; */
}

#M8-team1 {
  display: none;
  /* display: block; */
}

#score-bestOf {
  position: absolute;
  top: 11vw;
  left: 50%;
  display: flex;
  transform: translateX(-50%);
  align-items: center;
  gap: 16px;
  display: none;
}

#winner-team {
  font-size: 4.5rem;
  text-transform: uppercase;
}

#of {
  font-size: 3rem;
  padding-top: 11px;
  padding-left: 5px;
}

#score-game-number {
  position: absolute;
  top: 14.5vw;
  left: 50%;
  font-size: 2.7rem;
  transform: translateX(-50%);
  text-transform: uppercase;
  font-family: 'helvetica83';
  /* display: none; */
}

#score-number-bo {
  font-size: 5.5rem;
}

#testingleft {
  display: flex;
  gap: 9px;
  position: absolute;
  top: 48%;
  transform: translateY(-25%);
  left: 62px;
  font-family: 'helvetica93';
}

#testingright {
  display: flex;
  gap: 10px;
  position: absolute;
  top: 48%;
  transform: translateY(-25%);
  right: 62px;
  font-family: 'helvetica93';
}

.score-player {
  display: flex;
  flex-direction: column;
  width: 244px;
  text-align: center;
  gap: 4px;
  height: 598px;
}

.player-name-result {
  width: 100%;
  font-size: 1.3rem;
  height: 48px;
  margin-bottom: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.player-info-result {
  display: flex;
  gap: 2px;
  flex-direction: column;
  color: white;
  font-size: 2rem;
  align-items: center;
}

.player-info-result span {
  height: 89px;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.shot-icon {
  display: inline;
  width: 30px;
  height: auto;
  background-repeat: no-repeat;
  background-image: url(./assets/ICONES/TIR-AU-BUT.png);
  background-size: contain;
}

.goal-icon {
  display: inline;
  width: 30px;
  height: auto;
  background-repeat: no-repeat;
  background-image: url(./assets/ICONES/BUT.png);
  background-size: contain;
}

.assist-icon {
  display: inline;
  width: 30px;
  height: auto;
  background-repeat: no-repeat;
  background-image: url(./assets/ICONES/ASSIST.png);
  background-size: contain;
}

.save-icon {
  display: inline;
  width: 30px;
  height: auto;
  background-repeat: no-repeat;
  background-image: url(./assets/ICONES/SAUVETAGE.png);
  background-size: contain;
}

.epic-save-icon {
  display: inline;
  width: 30px;
  height: auto;
  background-repeat: no-repeat;
  background-image: url(./assets/ICONES/EPIC-SAVE.png);
  background-size: contain;
}

.demolish-team-one {
  display: inline;
  width: 429px;
  height: 55px;
  top: -1.6px;
  background-image: url(./assets/DEMO/DEMO-BLEU-SUR-ROSE.png);
  background-size: contain;
  position: absolute;
  display: none;
}

.player-team-one-demolish-main {
  position: absolute;
  width: 200px;
  left: 0px;
  top: 50%;
  font-size: 0.9rem;
  transform: translateY(-50%);
  text-align: center;
  text-transform: uppercase;
}

.player-team-one-demolish-secondary {
  position: absolute;
  width: 200px;
  left: 221px;
  top: 50%;
  font-size: 0.9rem;
  transform: translateY(-50%);
  text-align: center;
  text-transform: uppercase;
}

.demolish-team-two {
  display: inline;
  width: 425px;
  height: 55px;
  top: -1.6px;
  background-image: url('./assets/2025/DEMO/DEMO-BLEU-SUR-ROSE.png');
  background-size: contain;
  position: absolute;
  display: none;
  right: 0px;
}

.player-team-two-demolish-main {
  position: absolute;
  width: 200px;
  right: 221px;
  top: 50%;
  font-size: 0.9rem;
  transform: translateY(-50%);
  text-align: center;
  text-transform: uppercase;
}

.player-team-two-demolish-secondary {
  position: absolute;
  width: 200px;
  right: 0px;
  top: 50%;
  font-size: 0.9rem;
  transform: translateY(-50%);
  text-align: center;
  text-transform: uppercase;
}

/* SCOREBOARD  */

#top-center {
  position: absolute;
  top: -120px;
  left: 50%;
  width: 50%;
  transform: translateX(-50%);
  height: 110px;
  background-image: url('./assets/2025/SCOREBOARD/scoreboard_m8_orange.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  transition: 1s;
  font-family: 'helvetica83';
}

#title_scorboard {
  position: absolute;
  top: -0.29vw;
  font-size: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  color: #f4f4f4;
}

#title_bo {
  position: absolute;
  color: black;
  top: 3.5vw;
  font-size: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  text-transform: uppercase;
  color: #f4f4f4;
}

#score {
  position: relative;
  text-align: center;
  font-size: 32px;
  font-weight: 900;
}

#team-one {
  position: absolute;
  top: 20px;
  left: 0;
}

#team-one-img-container {
  position: absolute;
  width: 78px;
  height: 78px;
  top: 4.5px;
  left: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#team-one-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#team-one-name-container {
  width: 230px;
  position: absolute;
  text-transform: uppercase;
  top: 6px;
  height: 58px;
  font-size: 1.67rem;
  left: 89px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'tusker';
  color: #e6e6e6;
}

#team-one-name {
  line-height: 21px;
  margin: 0;
  letter-spacing: 1px;
}

#team-one-score {
  position: absolute;
  top: 0.4vw;
  left: 16.5vw;
  font-size: 44px;
  color: #28201e;
  text-align: center;
  width: 81px;
}

#bo-team-one {
  position: absolute;
  top: 3.25vw;
  left: 6vw;
  width: 10vw;
  height: 1vw;
  display: flex;
  justify-content: center;
  gap: 0.2vw;
}

#bo-team-one span {
  width: 2vw;
  height: 0.5vw;
  background-color: #474747;
  margin-top: 0.3vw;
}

.winned-blue {
  background-color: #0080ff !important;
}

.winned-orange {
  background-color: #F37417 !important;
}

.winned-gentlemates {
  background-color: #FA49B8 !important;
}

#bo-team-two {
  position: absolute;
  top: 3.25vw;
  right: 6vw;
  width: 10vw;
  height: 1vw;
  display: flex;
  justify-content: center;
  gap: 0.2vw;
}

#bo-team-two span {
  width: 2vw;
  height: 0.5vw;
  background-color: #474747;
  margin-top: 0.3vw;
}

#team-two {
  position: absolute;
  top: 20px;
  right: 0;
}

#team-two-img-container {
  position: absolute;
  width: 78px;
  height: 78px;
  top: 3.5px;
  right: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#team-two-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#team-two-name-container {
  width: 230px;
  position: absolute;
  text-transform: uppercase;
  top: 6px;
  height: 58px;
  font-size: 1.67rem;
  right: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'tusker';
  color: #e6e6e6;
}

#team-two-name {
  line-height: 21px;
  margin: 0;
  letter-spacing: 1px;
}

#team-two-score {
  position: absolute;
  top: 0.4vw;
  right: 16.5vw;
  font-size: 44px;
  color: #28291e;
  text-align: center;
  width: 81px;
}

#timer {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 36px;
  top: 31px;
}

#timer-time {
  margin-right: 5px;
}

/* PLAYERS BOOST TOP  */

#top-left {
  position: absolute;
  top: 10px;
  left: -426px;
  transition: 1s;
  padding-bottom: 3%;
}

#top-right {
  position: absolute;
  transition: 1s;
  top: 10px;
  right: -426px;
  padding-bottom: 3%;
}

.player-left {
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
  width: 346px;
  height: 51px;
  font-family: 'helvetica93';
  font-size: 1.1rem;
  color: #e6e6e6;
  background-image: url('./assets/2025/INFOBOOST/GAUCHE/INFO_BOOST_DEFAULT.jpg');

}

.isGentleMatesLeft {
  background-image: url('./assets/2025/INFOBOOST/GAUCHE/GENTLEMATES/INFO_BOOST_M8.png');
}

.player-right {
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
  width: 346px;
  height: 51px;
  font-family: 'helvetica93';
  font-size: 1.1rem;
  color: #e6e6e6;
  background-image: url('./assets/2025/INFOBOOST/DROITE/INFO_BOOST_DEFAULT.jpg')
}

.isGentleMatesRight {
  background-image: url('./assets/2025/INFOBOOST/DROITE/GENTLEMATES/INFO_BOOST_M8.png');
}

.player-name {
  text-transform: uppercase;
  font-weight: 900;
  display: flex;
}

.playerviewone {
  display: flex;
  flex-direction: row;
  padding-top: 6px;
  margin: 10px 1.5vw 0 0.5vw;
  justify-content: space-between;
}

.playerviewone .player-name span:first-child {
  margin-left: 10px;
}

.playerviewtwo {
  display: flex;
  flex-direction: row-reverse;
  padding-top: 6px;
  margin: 10px 0.65vw 0 1.5vw;
  justify-content: space-between;
}

/* La classe player-name contenu dans playerviewtwo doit être en row reverse */

.playerviewtwo .player-name {
  display: flex;
  flex-direction: row-reverse;
}

.playerviewtwo .player-name span:first-child {
  margin-right: 5px;
}

.player-turbo-bar {
  display: block;
  width: 100%;
  transition: 0.2s;
  transition: 0.2s;
}

.playerviewtwo-turbo-bar-container {
  display: block;
  width: 16.5vw;
  transition: 0.2s;
  position: absolute;
  bottom: 8.5px;
  left: 0.8vw;
  transform: rotate(180deg);
}

.playerviewone-turbo-bar-container {
  display: block;
  width: 16.5vw;

  position: absolute;
  bottom: 8.5px;
  left: 0.6vw;
}

#bottom-left {
  font-family: 'helvetica93';
  display: none;
  position: absolute;
  bottom: 2vw;
  left: 2vw;
  width: 100%;
  height: 5.5vw;
  /* background-image: url('./assets/STATS-JOUEUR-VERT.png'); */
  background-size: contain;
  background-repeat: no-repeat;
}

#spectate-player {
  position: relative;
  display: flex;
  width: 310px;
  height: 58px;
  align-items: center;
  padding: 0 1vw;
}

#spectate-player-img {
  position: absolute;
  width: 92px;
  height: 92px;
  left: 3px;
  top: 7px;
}

#spectate-player-name {
  text-transform: uppercase;
  width: 405px;
  font-size: 1.7rem;
  padding-bottom: 3px;
  margin-left: auto;
  margin-right: auto;
  color: #e6e6e6;
  position: absolute;
  top: 4px;
  left: 112px;
}

#goals-stat {
  color: #151515;
  position: absolute;
  bottom: 1vw;
  font-size: 28px;
  left: 12.2vw;
  width: 80px;
  text-align: center;
}

#shots-stat {
  color: #151515;
  position: absolute;
  bottom: 1vw;
  font-size: 28px;
  left: 5.8vw;
  width: 103px;
  text-align: center;
}

#assists-stat {
  color: #151515;
  position: absolute;
  bottom: 1vw;
  font-size: 28px;
  left: 17.4vw;
  width: 80px;
  text-align: center;
}

#saves-stat {
  color: #151515;
  position: absolute;
  bottom: 1vw;
  font-size: 28px;
  left: 22.6vw;
  width: 80px;
  text-align: center;
}

#bottom-right {
  display: none;
  position: absolute;
  bottom: 2vw;
  right: 3vw;
  width: 10vw;
  height: 10vw;
  border-radius: 100%;
  background-image: url('./assets/CERCLE-BOOST-ROSE.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  align-items: center;
  justify-content: center;
  font-family: 'tusker';
}

#boost {
  display: flex;

  font-size: 1.5rem;
  gap: 1vw;
  /* margin-top: 4vw; */
}

#boost-value {
  font-size: 60px;
  text-align: center;
}

#boost-bar {
  position: absolute;
  left: -5.61vw;
  top: -0.35vw;
  height: 10.6vw;
}

#boost svg {
  width: 10vw;
  height: 10vw;
  fill: red;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.2s;
  transform: rotate(90deg);
}

#boost svg circle {
  transition: 0.2s;
}

#replay {
  position: absolute;
  bottom: -20vw;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('./assets/2025/REPLAY/OVERLAY-REPLAY-BLEU-ROSE.png');
  background-repeat: no-repeat;
  /* background-size: contain; */
  background-position: bottom;
  display: block;
  transition: 1s;
  font-family: 'helvetica93';
}

#replay-infos {
  position: absolute;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 720px;
  height: 50px;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  /* background-color: rgba(255, 0, 0, 0.281); */
  text-transform: uppercase;
}

#replay-infos p {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 16px;
}

#replay-vitesse {
  font-size: 1.5rem;
}


.goal-icon-replay {
  width: 45px;
  height: 45px;
  background-repeat: no-repeat;
  background-image: url(./assets/ICONES/BUT.png);
  background-size: contain;
  display: block;
}

.assist-icon-replay {
  width: 45px;
  height: 45px;
  background-repeat: no-repeat;
  background-image: url(./assets/ICONES/ASSIST.png);
  background-size: contain;
  display: block;
}

#allCams {
  display: flex;
  width: 350px;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  left: -350px;
  /* left: 1.2vw; */
  top: 50%;
  transition: 1s;
  transform: translateY(-50%);
}

#allCamsRight {

  display: flex;
  width: 350px;
  flex-direction: column;
  gap: 10px;
  position: absolute;
  right: -350px;
  /* left: 1.2vw; */
  top: 50%;
  transition: 1s;
  transform: translateY(-50%);
}

#overlayCamRight {
  z-index: 1;
}

#cam1_container {
  position: absolute;
  width: 350px;
  height: 200px;

}

.right-cam {
  transform: scaleX(-1);
}

#cam2_container {
  position: absolute;
  top: 201px;
  width: 350px;
  height: 200px;

}

#cam3_container {
  position: absolute;
  width: 350px;
  height: 200px;
  top: 403px;

}

#camIndi {
  height: 205px;
  width: 365px;
  position: absolute;
  bottom: 4.95vw;
  left: 2vw;
}

.camJoueur {
  display: none;
  /* position: absolute;
  bottom: 4.97vw;
  left: 1.2vw;
  display: none; */
}

/* #replay-scoreur {
  position: absolute;
  bottom: 0;
  left: 0;
  color: red
}

#replay-vitesse {
  position: absolute;
  bottom: 0;
  left: 150;
  color: red
}

#replay-assist {
  position: absolute;
  bottom: 0;
  left: 300;
  color: red
} */

/* SCOREBOARD FIANL TOP  */

#scoreFinal {
  position: relative;
  text-align: center;
  font-size: 32px;
  font-weight: 900;
}

#score-title_scorboard {
  font-family: 'helvetica93';
  position: absolute;
  top: 4.2vw;
  font-size: 1.3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  color: #f4f4f4;
}

#score-team-one {
  position: absolute;
  top: 50px;
  left: 0;
}

#score-team-one-img-container {
  position: absolute;
  width: 124px;
  height: 124px;
  top: 73px;
  left: 211px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#score-team-one-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#score-team-one-name-container {
  width: 360px;
  position: absolute;
  text-transform: uppercase;
  top: 82px;
  height: 80px;
  font-size: 2.64rem;
  left: 343px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'tusker';
}

#score-team-one-name {
  line-height: 31px;
  margin: 0;
  letter-spacing: 1px;
}

#score-team-one-score {
  position: absolute;
  top: 78px;
  height: 86px;
  left: 36.8vw;
  display: flex;
  font-size: 5rem;
  color: #28201e;
  text-align: center;
  width: 120px;
  align-items: center;
  justify-content: center;
  font-family: 'helvetica83';
}

#score-bo-team-one {
  position: absolute;
  top: 9.05vw;
  left: 22vw;
  width: 15vw;
  height: 1vw;
  display: flex;
  justify-content: center;
  gap: 0.2vw;
}

#score-bo-team-one span {
  width: 4vw;
  height: 0.7vw;
  background-color: #474747;
  margin: auto 0 auto 0;
}

#score-bo-team-two {
  position: absolute;
  top: 9.05vw;
  right: 22vw;
  width: 15vw;
  height: 1vw;
  display: flex;
  justify-content: center;
  gap: 0.2vw;
}

#score-bo-team-two span {
  width: 4vw;
  height: 0.7vw;
  background-color: #474747;
  margin: auto 0 auto 0;
}

#score-team-two {
  position: absolute;
  top: 50px;
  right: 0;
}

#score-team-two-img-container {
  position: absolute;
  width: 124px;
  height: 124px;
  top: 73px;
  right: 206px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#score-team-two-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#score-team-two-name-container {
  width: 360px;
  position: absolute;
  text-transform: uppercase;
  top: 82px;
  height: 80px;
  font-size: 2.64rem;
  right: 335px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'tusker';
  color: #e6e6e6;
}

#score-team-two-name {
  line-height: 31px;
  margin: 0;
  letter-spacing: 1px;

}

#score-team-two-score {
  position: absolute;
  top: 78px;
  height: 86px;
  right: 36.6vw;
  display: flex;
  font-size: 5rem;
  color: #28201e;
  text-align: center;
  width: 120px;
  align-items: center;
  justify-content: center;
  font-family: 'helvetica83';
}