body {
  margin: 0;
  height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#players {
  max-width: 80%;
  margin: 0 auto;
  margin-top: 2rem;
}
.player {
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  padding: 0 20px;
  min-height: 100px;
  width: 100%;
}
.player img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-right: 20px;
}
.player-info {
  display: flex;
  align-items: center;
}
.player-info span {
  font-size: var(--font-size, 3.5rem);
}
.lives {
  font-size: var(--secondary-font-size, 1.5rem);
  line-height: var(--secondary-font-size, 1.5rem);
  width: 150px;
  text-align: right;
  position: relative;
}
.heart {
  color: #fff;
  margin: 0 8px;
  transition: opacity 0.3s;
  position: absolute;
  right: 0;
  font-size: 2.5rem;
}
.heart-removed {
  opacity: 0;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#winnerScreen {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin-top: 10%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000;
}
#winnerScreen img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  margin-bottom: 20px;
}
#winnerScreen .winner-info {
  text-align: center;
}
#winnerScreen .winner-info span {
  font-size: var(--font-size, 3.5rem);
}
#winnerScreen .lives {
  font-size: var(--font-size, 1.5rem);
}

h1 {
  font-size: 5rem;
  line-height: 5rem;
}

#points h1 {
  color: var(--secondary-color);
  text-shadow: 3px 1px 2px var(--primary-color, #666);
}

h2 {
  font-size: var(--secondary-font-size, 1.5rem);
}

.loser {
  filter: grayscale();
}
.loser .player-info span {
  font-size: var(--secondary-font-size, 1.5rem);
  color: #666;
}

#poster,
#points,
#teams {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  z-index: 99999;
  background-color: #000;
  text-align: center;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100%;
  min-width: 1024px;
  width: 100%;
  height: auto;
  position: fixed;
  top: 0;
  left: 0;
  background-image: var(--outro-image);
}

#points,
#teams {
  padding-top: 0;
}

.grid {
  display: flex;
  width: 100%;
  margin: 0 auto;
  margin-top: 5%;
}

.team-column,
.score-column {
  width: calc(100% / 3);
  text-align: center;
  margin: 0 auto;
}

.team-column {
  width: 33%;
}

.score-column {
  font-size: var(--font-size, 4rem);
  line-height: var(--font-size, 4rem);
}
.global-score,
.global-points {
  font-size: 4rem;
  font-family: var(--secondary-font-family);
}

#points img,
#teams img {
  width: 150px;
  display: block;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 20px;
}

#points .player-images img {
  width: 500px;
}

.team-name {
  font-size: var(--font-size, 2rem);
  line-height: var(--font-size, 2rem);
  font-family: "Poppins-Black";
  text-transform: uppercase;
}

#points .team-name {
  font-size: 8rem;
  line-height: 8rem;
}

#points.cover .team-name,
#points.cover .scoring-column {
  display: block;
}

#points.cover .scoring-column #points.cover .team-name {
  display: none !important;
}
#points.cover #header_logo {
  width: 200px;
  text-align: center;
  margin: 0 auto;
}

#points.cover .global-points img {
  width: 350px;
  margin: 0;
}

#points.cover .global-points .vs,
#points .global-points .title {
  display: none;
}

#points.cover .global-points .title,
#points .global-points .vs {
  display: block;
}

#points .global-points #header_logo {
  width: 200px;
}

#points .global-points .vs {
  width: 350px;
}

#teams #team1 img,
#teams #team2 img {
  width: 250px;
}

#teams .player-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

#teams .team-card {
  width: calc(50% - 5px);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: none;
  font-family: Heaters;
  font-size: 3rem;
  line-height: 3rem;
}

#teams .team-card img {
  width: 100%;
  height: auto;
  max-width: 500px;
  border-radius: 4px;
}

#teams .team-column {
  width: 100%;
}

#teams .player-name {
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-weight: bold;
  text-align: center;
  font-size: 3rem;
  line-height: 3rem;
}

#teams .grid {
  margin-top: 0;
}

.global-points {
  min-height: 750px;
  width: 100%;
  background-size: contain;
  background-position: center 180px;
  background-repeat: no-repeat;
}

.storm img {
  width: 100px !important;
}

.score-column {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px; /* Space between the columns */
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.side-column {
  display: flex;
  flex-direction: column;
  gap: 10px; /* Space between small images */
  width: 100px; /* Adjust width as needed for side columns */
}

.small-image {
  width: 100px;
  height: 170px;
  align-items: center;
  justify-content: center;
}

.center-column {
  width: 250px;
}

.vertical-image {
  width: 100%;
  height: 70vh;
  background: url(/img/scoring_colonne1.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
}
