@font-face {
    font-family: RobotoMono;
    src: url(RobotoMono-Bold.ttf);
}

* {
    user-select: none;
}


/* 
body {
  height: 100vh;
  width: 100vw;
  padding: 0;
  margin: 0;
} */

#meterContainer {
    display: none;
    height: 100%;
    width: 100%;
    background: url(meter_bg.png) no-repeat center/cover;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(255, 89, 0, 0.781);
    border: solid 2px #ff8500;
    transition: all 0.5s;
}

#meterSub {
    display: flex;
    height: 100%;
    width: 100%;
    max-width: 800px;
    background-color: rgba(0, 139, 23, 0);
    margin: 0 auto;
    flex-wrap: wrap;
    padding: 30px 30px;
}

#meterLogo {
    height: 250px;
    width: 380px;
    background: url(meter_Logo.svg) no-repeat center/contain;
    animation-name: needleAnim;
    animation-duration: 2s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    flex-shrink: 1;
    transition: all 0.5s;
}

#meterSub2 {
    /* display: flex; */
    height: 270px;
    width: 270px;
    background: url(meter_base1.svg) no-repeat center/contain;
    /* flex-flow: column nowrap;
  justify-content: center;
  flex-shrink: 0; */
    position: relative;
    flex-shrink: 0;
    transition: all 0.5s;
}

:root {
    --pHeight: 110px;
    --pWidth: calc(var(--pHeight)/4.85);
}

#meterNeedle {
    --percLeft: 0deg;
    --needleAngle: calc(var(--percLeft) - 50deg);
    position: absolute;
    height: var(--pHeight);
    width: var(--pWidth);
    background: url(meter_needle.png) no-repeat center/contain;
    transform-origin: center 99px;
    transform: translate(-50%, 0) rotate(var(--needleAngle));
    left: 50%;
    top: 55px;
    transition: all .5s;
    animation-name: needleAnim;
    animation-duration: 0.2s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

@keyframes needleAnim1 {
    0% {
        transform: translate(-50%, 0) rotate(var(--needleAngle))
    }
    100% {
        transform: translate(-50%, 0) rotate(-50deg));
    }
}

@keyframes needleAnim2 {
    0% {
        transform: translate(-50%, 0) rotate(calc(var(--needleAngle) + 2deg));
    }
    100% {
        transform: translate(-50%, 0) rotate(var(--needleAngle))
    }
}

#meterNumbers {
    position: absolute;
    font-family: RobotoMono !important;
    font-weight: bold !important;
    font-size: 35px;
    top: 175px;
    left: 12.5px;
    letter-spacing: 9px;
}

#meterNumbers span {
    padding-right: 5px;
    font-family: RobotoMono !important;
    font-weight: bold !important;
}

.flexContainer {
    justify-content: space-around;
    align-items: center;
}

.flexElement {
    justify-content: center;
}