

.number-holder {
  transition: all 500ms ease-in-out;
}

.scoreboard {
  border-radius: 5px;
  display: flex;
  margin: 0 auto;
/*  padding: 3rem 50px;
	background: #fafafa; */
  flex-direction: column;
  color:black;

}
.scoreboard__item {
  display: flex;
  padding: 1rem 0;
  width: 100%;
  margin-top: 2rem;
  flex-wrap: wrap;
  jusitfy-content: flex-end;
  opacity: 0;
  top: 20px;
  transition: 500ms ease-in-out;

}
.scoreboard__item.is-visible {
  opacity: 1;
  top: 0;
  transition: 500ms ease-in-out;
}
.scoreboard__title {
  width: 300px;
  font-weight: 600;
}
.scoreboard__title small {
  color: #333;
}
.scoreboard__status {
  font-weight: 300;
}
.scoreboard__numbers {
  font-weight: 600;
  text-align: right;
  align-self: flex-end;
  margin-left: 20px;
  flex: 1;

}
.scoreboard__bar {
  width: 100%;
  margin-top: 0.8rem;
  background: #ececec;
  height: 10px;
  position: relative;
  border-radius: 5px;
  transition: all 500ms ease-in-out;
  display: flex;
  flex-basis: 100%;
}
.scoreboard__bar:before {
  content: "";
  width: 100%;
  flex-basis: 100%;
  clear: both;
  display: block;
}
.scoreboard__bar-bar {
  position: absolute;
  height: 10px;
  left: 0;
  top: 0;
  width: 0;
  border-radius: 5px;
  background: linear-gradient(to right, #F0CF65 0%, #ebc137 100%);
  transition: all 250ms ease-in-out;
}

.scoreboard__podiums {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin: 2px 0 10px 0;
  min-height: 350px;
}
.scoreboard__podiums .scoreboard__podium {
  margin: 0 0.3em;
  display: flex;
  flex-direction: column;
  align-self: flex-end;
  flex-wrap: wrap;
  flex: 1;
  opacity: 0;
  top: -10px;
}
.scoreboard__podiums .scoreboard__podium.is-visible {
  top: 0;
  opacity: 1;
  transition: all 500ms ease-in-out;
}
.scoreboard__podiums .scoreboard__podium-rank {
  font-size: 4rem;
  font-weight: 700;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  bottom: 0px;
}
.scoreboard__podiums .scoreboard__podium-base {
  height: 0;
  background: #ececec;
  color: #fff;
	min-width:80px;
	 width: 100%;
  border-radius: 5px;
  transition: all 1000ms ease-in-out;
  opacity: 0;
  position: relative;
}
.scoreboard__podiums .scoreboard__podium-base.is-expanding {
  opacity: 1;
}
.scoreboard__podiums .scoreboard__podium-base--first {
  background: linear-gradient(to bottom, #BD4F6C 0%, #9e3b55 100%);
}
.scoreboard__podiums .scoreboard__podium-base--second {
  background-color: #F0CF65;
  background: linear-gradient(to bottom, #F0CF65 0%, #ebc137 100%);
}
.scoreboard__podiums .scoreboard__podium-base--third {
  background-color: #5E9EAD;
  background: linear-gradient(to bottom, #5E9EAD 0%, #49828f 100%);
}
.scoreboard__podiums .scoreboard__podium-number {
  text-align: center;
  font-size: 0.8rem;
  margin-top: 10px;
}
.scoreboard__podiums .scoreboard__podium-number small {
  display: block;
  font-size: 80%;
  color: #333;
  line-height: 1.5;
  text-transform: uppercase;
}

.credits {

  text-align: center;
  margin: 20px 0;
}

#scoreboard__items {
  position: relative;
  margin: 0;
  padding: 0;
  list-style-type: decimal;
}

.oneup-audio {
  display: none;
}

.style-switch {
  position: absolute;
  top: 0;
  left: 0;
  background: #000;
  color: #fff;
  padding: 5px 10px;
  border: none;
  font-size: 15px;
}

body.dark-mode {
  background: #111;
  color: #fff;
}
body.dark-mode .scoreboard {
  background: #111;
  color: #fff;
}
body.dark-mode .scoreboard small {
  color: #eee !important;
}
body.dark-mode .scoreboard__bar {
  background: #333;
}

.bump {
  -webkit-animation: bump 500ms ease-in-out;
          animation: bump 500ms ease-in-out;
}

@-webkit-keyframes bump {
  50% {
    transform: scale(1.1);
  }
  60% {
    transform: scale(1);
  }
}

@keyframes bump {
  50% {
    transform: scale(1.1);
  }
  60% {
    transform: scale(1);
  }
}
