.bebas-neue-regular {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  font-style: normal;
}

body {
  margin: 0;
  padding: 0;
  /* background: black; */
  background: transparent !important;
}

.watermark {
  position: absolute;
  width: 75px;
  height: 25px;
  right: 106px;
  top: 76px;
  z-index: 7;
}

.speedometer {
  width: 300px;
  height: 300px;
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 1000; /* Ensure it's on top */
  user-select: none;
  background-image: url('img/watermark3.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.dial-speedo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(128, 128, 128, 0.829) 5%, rgba(51, 51, 51, 0.8) 90%);
  position: absolute;
  border: 5px solid rgb(39, 39, 39); /* transparent border */
}

.seatbelt-icon {
  position: absolute;
  right: 60px;
  bottom: 13px;
  width: 50px;
  height: 35px;
  rotate: 5deg;
  z-index: 6;
  transition: filter 0.3s ease;
}

.fuel-icon {
  position: absolute;
  right: 80px;
  top: 142px;
  width: 15px;
  height: 15px;
  z-index: 6;
}

.engine-icon {
  position: absolute;
  left: 92px;
  bottom: 142px;
  width: 20px;
  height: 15px;
  z-index: 6;
}

.headlight-icon {
  position: absolute;
  right: 13px;
  bottom: 75px;
  width: 26px;
  height: 20px;
  z-index: 7;
  opacity: 0.75;
}

.speed-display {
  position: absolute;
  bottom: 165px;
  width: 100%;
  text-align: center;
  font-size: 28px;
  color: white;
  font-family: "Bebas Neue", sans-serif;
  z-index: 5;
}

.speed-perhour {
  position: absolute;
  bottom: 135px;
  width: 100%;
  text-align: center;
  font-size: 20px;
  color: #ffffff;
  font-family: "Bebas Neue", sans-serif;
  z-index: 5;
  transform: scaleY(1.2); /* 1.0 is normal, 1.2 is 20% taller */
  letter-spacing: -1px;
}

.gear-display {
  position: absolute;
  bottom: 90px;
  width: 100%;
  text-align: center;
  font-size: 28px;
  color: white;
  font-style: italic;
  font-family: "Bebas Neue", sans-serif;
  z-index: 5;
}

.rpm-display {
  position: absolute;
  left: 30px;
  bottom: 70px;
  width: 80%;
  text-align: center;
  font-size: 9px;
  color: #dbdbdb;
  font-family: "Bebas Neue", sans-serif;
  z-index: 5;
}

.inside-dial {
  border: 25px solid rgba(37, 37, 37, 0.582); /* transparent border */
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(farthest-side, rgba(145, 145, 145, 0.253) 60%, rgba(53, 53, 53, 0.445) 100%);  top: calc(15% - 10px);
  left: calc(15% - 10px);
  z-index: 4;
  position: relative;
}

.icon {
  position: absolute;
  font-size: 16px;
  color: white;
  font-family: monospace;
}

.rpm-arc {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  transform: rotate(-180deg);
  pointer-events: none;
  opacity: 0.9;
}

.health {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
}

#rpmTip {
  stroke: red;
  stroke-width: 27;
  stroke-linecap: butt;
  filter: drop-shadow(0 0 1.5px red);
}

.tick {
  position: absolute;
  width: 0px;
  height: 0px;
  top: 111px;
  left: 49.3%;
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
  border-top: 39px solid rgba(39, 39, 39, 0.856); /* color of the triangle */
  transform-origin: bottom center;
  rotate: -45deg;
  z-index: 4;
}

.circular-number {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  font-family: "Bebas Neue", sans-serif;
}

.number {
  position: absolute;
  color: white;
  font-size: 15px;
  font-family: "Bebas Neue", sans-serif;
  transform: translate(-50%, -50%);
  font-weight: bold;
}

.health {
  position: absolute;
  width: 50%;
  height: 50%;
  pointer-events: none;
  z-index: 4;
}

.arc-svg-engine {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 80px;
  left: 73px;
  rotate: 32deg;
  stroke-linecap: round;
  opacity: 0.95;
}

.arc-svg-body {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 80px;
  left: 88px;
  rotate: -84deg;
  stroke-linecap: round;
  opacity: 0.95;
  transform: scaleX(-1);
}

.arc-bg {
  fill: none;
  stroke: #363636;
  stroke-width: 13;
  stroke-linecap: round;
}

.arc {
  fill: none;
  stroke-width: 10;
}

.arc.engine {
  stroke: #ff0000de;
}

.arc.fuel {
  stroke: #00ccff;
}

#indicator img {
  width: 25px;
  height: 30px;
  opacity: 0.9;
}

.rightsignal-icon{
  position: absolute;
  z-index: 6;
  right: 90px;
  bottom: 72px;
}

.leftsignal-icon {
  position: absolute; 
  z-index: 6;
  left: 100px;
  bottom: 72px;
}

.engine-bg {
  position: absolute;
  width: 57px;
  height: 57px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background-color: #474747;
}

.engine-button-container {
  position: absolute;
  top: -10px;
  left: 5px;
  z-index: 10;
  pointer-events: none;
}

.engine-button {
  --engine-color: red;
  width: 45px;
  height: 45px;
  position: relative;
  background: radial-gradient(circle at 30% 30%, #5e5e5e, #2c2c2c);
  border-radius: 50%;
  border: 2px solid var(--engine-color);
  display: flex;
  box-shadow: inset 0 0 3px 3px #2c2c2c;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  pointer-events: none;
}

.engine-button.pressed {
  background: radial-gradient(circle at 30% 30%, #3a3a3a, #1e1e1e);
  border-radius: 50%;
  box-shadow:
    inset 0 3px 6px rgba(0,0,0,0.7),
    0 1px 2px rgba(255,255,255,0.1);
  transform: translateY(0.1px);
}

.engine-indicator {
  position: absolute;
  width: 13px;
  height: 5px;
  top: 6px;
  border-radius: 5px;
  background-color: var(--engine-color);
  box-shadow: 0 0 6px var(--engine-color);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.engine-label {
  position: absolute;
  color: white;
  font-size: 6.5px;
  font-family: "Bebas Neue", sans-serif;
  text-align: center;
  top: 59%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  text-shadow: 0 0 2px black;
}

.welcome-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background-color: rgba(17, 17, 17, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    border-radius: 50%;
    animation: fadeScaleInOut 3s ease forwards;
}

.welcome-message {
    color: #0ff;
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
    transform-origin: center;
}

@keyframes fadeScaleInOut {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    20% {
        opacity: 1;
        transform: scale(1.1);
    }
    80% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.5);
        display: none;
    }
}

/* .new {
  color: #dbdbdb;
} */