:root {
  --speedometer-low-bar: green;
  --speedometer-middle-bar: orange;
  --speedometer-high-bar: red;
  --speedometer-radius: 360px;
  --speedometer-rotation-angle: 150deg;
}
@media only screen and (min-width: 761px) {
  .layout-align {
    /* width: 50%; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* margin: 30px 0 30px 0; */
  }
}
@media only screen and (max-width: 760px) {
  .layout-align {
    width: 100%;
    display: flex;
    /* align-items: center; */
    justify-content: center;
    /* margin: 15px 0 15px 0; */
    transform: scale(0.8);
  }
}
/* Just for very small screen sizes */
@media only screen and (max-width: 355px) {
  .layout-align {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0 10px 0;
    transform: scale(0.8);
  }
}
/* CSS for 1st Meter */
.layout-align {
  /* outline: 3px solid; */
}
#score-meter-1 {
  width: 300px;
  height: 150px;
  border-top-left-radius: var(--speedometer-radius);
  border-top-right-radius: var(--speedometer-radius);
  overflow: hidden;
  position: relative;
}
#scorer-1-inner-div {
  position: absolute;
  left: 20%;
  top: 40%;
  width: 60%;
  height: 60%;
  border-top-left-radius: var(--speedometer-radius);
  border-top-right-radius: var(--speedometer-radius);
  background-color: #ffffff;
  z-index: 2;
}
#scorer-1-inner-div-2 {
  position: absolute;
  left: 0%;
  top: 0%;
  z-index: 4;
  width: 100%;
  height: 100%;
  border-top-left-radius: var(--speedometer-radius);
  border-top-right-radius: var(--speedometer-radius);
  background-color: var(--speedometer-low-bar);
  transform-origin: bottom center;
  transform: rotate(-130deg);
  z-index: 0;
}
#scorer-1-inner-div-3 {
  position: absolute;
  right: 0%;
  top: 0%;
  z-index: 4;
  width: 100%;
  height: 100%;
  border-top-left-radius: var(--speedometer-radius);
  border-top-right-radius: var(--speedometer-radius);
  background-color: var(--speedometer-high-bar);
  transform-origin: bottom center;
  transform: rotate(130deg);
  z-index: 0;
}
#scorer-1-inner-div-4 {
  position: absolute;
  left: 50px;
  top: -2px;
  width: 0;
  height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 140px solid var(--speedometer-middle-bar);
  transform: rotate(180deg);
}
.scorer-1-tick {
  position: absolute;
  top: 40%;
  left: -250%;
  width: 300%;
  height: 5px;
  background-color: #000000;
  animation-duration: 2s;
  animation-timing-function: ease-out;
  transform-origin: right center;
  border-top-left-radius: 50%;
  border-bottom-left-radius: 50%;
  border-top-right-radius: 5%;
  border-bottom-right-radius: 5%;
}
#scorer-1-inner-div-5 {
  position: absolute;
  left: 45%;
  top: 80%;
  width: 10%;
  height: 20%;
  border-radius: 50%;
  background-color: #000000;
  z-index: 2;
}

.play-speedometer-animation {
  animation-name: ticker-mover-1;
}
@keyframes ticker-mover-1 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(var(--speedometer-rotation-angle));
  }
}

.speedometer {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}
.speedometer * {
  /* outline: 1px solid; */
}
.speedometer #speedometer-value {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.speedometer #speedometer-value .number {
  font-size: 30px;
}
