* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  height: 100%;
  min-width: 100vw;
  margin: 0;
  padding: 1rem;

  color: white;

  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;

  position: relative;

  @media (max-width: 500px) {
    justify-content: flex-start;
    padding-top: 7rem;
  }
}

.background-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.background.image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 10;
}

.background.video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 20;
  opacity: 0.65;
}

.gif {
  opacity: 0.4;
}

.leader-board-container .gif {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  z-index: 25;
}

div {
  z-index: 50;
}

.brand-logo-box {
  position: absolute;
  top: 1rem;
  left: 10%;
  height: 6rem;
  width: 6rem;
  cursor: pointer;

  @media (max-width: 500px) {
    left: 1rem;
  }
}

.brand-logo {
  height: 100%;
  width: 100%;
  object-fit: scale-down;
  user-select: none;
}

h1 {
  font-size: 4rem;
  font-family: 'Poppins', sans-serif;
  padding: 0;
  margin: 0;
  font-weight: 800;
  user-select: none;

  @media (max-width: 500px) {
    font-size: 3rem;
  }
}

h2 {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 200;
  user-select: none;
}

h2.sub-title {
  letter-spacing: 0.5rem;
}

span {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 200;
  user-select: none;
}

span.leader-name {
  font-size: 1.5rem;
}

span.leader-value {
  font-size: 1.5rem;
}
span.leader-measure {
  font-size: 1rem;
}

.shiny-font {
  font-family: 'Poppins', sans-serif;
  line-height: 0.93450918em;
  text-align: center;
  text-transform: uppercase;
  filter: drop-shadow(0em 0em 0.01653125em rgba(255, 242, 242, 0.95))
    drop-shadow(0em 0em 0.08265625em rgba(255, 255, 255, 0.75))
    drop-shadow(0em 0em 0.24796875em rgba(255, 255, 255, 0.44));
  transform: translateZ(0px);
  font-weight: 800;

  color: rgb(255, 255, 255);
  font-style: italic;
}

.leader-value-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
}

.leader-container {
  width: 25rem;
  height: 6rem;
  border-radius: 5rem;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  padding-right: 1rem;

  @media (max-width: 800px) {
    width: 100%;
  }

  @media (max-width: 500px) {
    height: 4rem;
  }
}

.leader-container.cyan {
  margin-left: 12rem;
  background-image: linear-gradient(
    to right,
    rgba(0, 255, 255, 0.1),
    rgba(0, 255, 255, 0.6)
  );

  @media (max-width: 800px) {
    margin-left: 0;
  }
}

.leader-container.blue {
  margin-left: 6rem;
  background-image: linear-gradient(
    to right,
    rgba(0, 0, 255, 0.1),
    rgba(0, 0, 255, 0.6)
  );

  @media (max-width: 800px) {
    margin-left: 0;
  }
}

.leader-container.red {
  margin-left: 0;
  background-image: linear-gradient(
    to right,
    rgba(255, 0, 0, 0.2),
    rgba(255, 0, 0, 0.7)
  );

  @media (max-width: 800px) {
    margin-left: 0;
  }
}

.leader-container.light-red {
  margin-left: -6rem;
  background-image: linear-gradient(
    to right,
    rgba(255, 77, 77, 0.2),
    rgba(255, 77, 77, 0.7)
  );

  @media (max-width: 800px) {
    margin-left: 0;
  }
}

.leader-container.green {
  margin-left: -12rem;
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 0, 0.1),
    rgba(255, 255, 0, 0.6)
  );
}

.leader-board-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 1rem;
  padding-left: 6rem;

  @media (max-width: 800px) {
    width: 100%;
    padding-left: 0;
  }
}

.heading-container {
  display: flex;
  flex-flow: column nowrap;
  gap: 2rem;
  padding-bottom: 2rem;

  @media (max-width: 500px) {
    gap: 1rem;
  }
}

img.leader-image {
  border-radius: 50%;
  height: 6rem;
  width: 6rem;
  object-fit: cover;
  user-select: none;

  @media (max-width: 500px) {
    height: 4rem;
    width: 4rem;
  }
}

.actions {
  display: flex;
  flex-flow: row nowrap;
  gap: 12px;
  justify-content: center;
  width: 100%;
  max-height: 58px;
  margin-top: 2rem;

  @media (max-width: 970px) {
    max-height: 46px;
  }

  @media (max-width: 650px) {
    max-height: 38px;
  }

  @media (max-width: 500px) {
    max-height: none;
    margin-top: 1rem;

    flex-flow: column nowrap;
    gap: 6px;
  }
}

.buttons-1 {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
  gap: 12px;

  @media (max-width: 500px) {
    flex-flow: column nowrap;
    gap: 6px;
  }
}

.buttons-2 {
  display: flex;
  flex-flow: row wrap;
  gap: 12px;

  @media (max-width: 500px) {
    flex-flow: column nowrap;
    gap: 6px;
  }
}

.actions button {
  padding: 8px 16px;
  margin: 0;
  font-size: 1.5rem;
  border-radius: 1rem;
  background-color: red;
  color: white;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  height: 100%;

  @media (max-width: 970px) {
    font-size: 20px;
  }

  @media (max-width: 500px) {
    width: 100%;
    max-height: 43px;
  }

  @media (hover: hover) {
    &:hover {
      filter: brightness(80%);
      transition: filter 0.1s linear;
    }
  }
}
