@import url("https://fonts.googleapis.com/css2?family=Jersey+10&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");
@font-face {
  font-family: "Pixil";
  src: url("./media/04B_30__.TTF");
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #8b0831;
  font-family: "Pixil";
  color: white;
}
h1 {
  margin-top: 4rem;
  text-align: center;
}
main {
  margin-top: 4rem;
}
.players-section {
  margin-top: 2.5rem;
}
.labels,
.player-info {
  display: flex;
  justify-content: space-around;
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
  /* border: 2px red solid; */
}
.labels h2 {
  /* border: 2px red solid; */
  padding-left: 2%;
}

.player-info {
  font-family: "Jersey 10";
  width: 75%;
  margin: auto;
  justify-content: space-between;
  font-weight: bold;
  letter-spacing: 0.4rem;
  text-align: center;
}
.player-info {
  margin-top: 1.5rem;
  color: #ffbefe;
  filter: drop-shadow(0px 2px 5px #ff8400);

}
.rank,
.score {
  min-width: 4rem;
  text-align: left;
}
.score {
  text-align: right;
}

.loading img {
  position: absolute;
  left: 45%;
  top: 45%;
  width: 10rem;
}

.rank-one {
  color: #ffd700;
  filter: drop-shadow(0px 2px 20px #f1850e);
}
.rank-two {
  color: #fff18a;
  filter: drop-shadow(0px 2px 10px #f1850e);
}
.rank-three {
    color: #f3e895;
  filter: drop-shadow(0px 2px 15px #f1850e);    
}

@media screen and (max-width: 534px) {
  .player-info {
    width: 80%;
  }
  .rank {
    text-align: left;
  }
  .score {
    text-align: right;
  }
  .wall-text,
  .dots {
    display: none;
  }
  .labels {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 352px) {
  .player-info {
    width: 90%;
  }
  .labels {
    width: 100%;
    padding: 0 2%;
    justify-content: space-between;
    font-size: 0.6rem;
  }
}
