/* hud.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    /* transition: 1.5s ; */

}

body {
    overflow: hidden;
    font-family: "Inter", sans-serif;
}

::-webkit-scrollbar {
    display: none;
}

.hud-main {
    position: absolute;
    width: 700px; 
    height: 50px;
    bottom: 10px;
    left: 15px;  
    display: none;
    gap: 10px;
    align-items: center;
}

.box-hud {
    position: relative;
    background-color: #191B1F;
    height: 40px; 
    width: 40px;  
    color: whitesmoke;
    text-shadow: whitesmoke 1px 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
}

.box-hud i {
    font-size: 18px;  
    background-color: #22252A;
    clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
    z-index: 999;
    color: whitesmoke;
    text-shadow: whitesmoke 1px 0 5px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;  
    width: 35px;   
    margin-top: 3px;  
}

.hud {
    font-size: 18px;  
    background-color: #22252A;
    clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
    z-index: -9999999999999999999999;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px;  
    width: 45px;   
}

.svg-test {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    bottom: -40px; 
    width: 100%;
    transition: 0.9s;

}

.pressent {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(38, 148, 148);
    height: 100%;
    width: 100%;
    transition: 0.9s;
    
}

 .svg-test:hover {
    height: 150%;
} 

#mic-pressent {
    background-color: #d4d4d4;
}
#eat-pressent {
    background-color: #d4d4d4;
}
#water-pressent {
    background-color: #d4d4d4;
}
#strees-pressent {
    background-color: #d4d4d4;
}
#walk-pressent {
    background-color: #d4d4d4;
}
#armor-pressent {
    background-color: #d4d4d4;
}
#health-pressent {
    background-color: #d4d4d4;
}
#oxygen-pressent {
  background-color: #d4d4d4;
}

#health, #armor, #walk {
    display: flex !important;
}

#health i, #armor i, #walk i {
    display: flex !important;
}

#health .svg-test, #armor .svg-test, #walk .svg-test {
    display: flex !important;
}

#health-pressent, #armor-pressent, #walk-pressent {
    background-color: #ffffff;
    display: flex !important;
}

#healthhud, #armorhud, #walkhud {
    display: flex !important;
}

.hud-car {
    display: block !important; 
}

.street-continer {
    position: absolute;
    bottom: 42.5%; 
    left: -1.6%;
    display: flex !important; 
    align-items: center;
    justify-content: center; 
    font-weight: 200;
    width: 414px; 
    color: #d4d4d4;
    text-shadow: whitesmoke 1px 0 5px;
    margin-bottom: -200px; 
    z-index: 999;
}

.svg-car{
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 40px;
    transition: 0.9s;
}
.svg-pressent-car{
       display: flex;
       align-items: center;
       justify-content: center;
       background-color: rgb(38, 148, 148);
       height: 100%;
       width: 100%;
       top: 97%;
       transition: 0.9s;
}

.street-label{
    border-radius: 4px;
    padding: 8px 15px;
    width: 80%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(30, 33, 37, 0.85);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.street-icon {
    font-size: 14px;
    color: whitesmoke;
    margin-left: 10px;
    opacity: 0.8;
}

.streeat-name{
    text-align: right;
    margin-left: 15px; 
    margin-right: 0; 
    white-space: nowrap;
    overflow: hidden;
    max-width: 70%;
    font-weight: 500; 
    padding: 1px;
    font-size: 0.95rem; 
    letter-spacing: 0.5px; 
}

.waypoint{
    font-weight: 400;
    margin-right: 15px; 
    margin-left: 0; 
    font-size: 0.9rem;
    opacity: 0.9; 
}


.hud-seggemts{
    height: 15%;
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3.5px;
    margin-top: 10px;
    position: absolute;
    top: 120px;
    left: 0px;
}

.hud-rpm{
    width: 400px;
}


.right {
    position: relative;
    justify-content: center;
    align-items: center;
    background-color: #26cad4;
    color: whitesmoke;
    text-shadow: whitesmoke 1px 0 10px;
    display: flex;
      width: 3em;
      height: 2.7em;
      clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  font-size: 1rem;
  }
  
  .right:before {
    position: absolute;
    background-color: #1E2125;
    content: "";
    display: block;
      width: 2.6em;
      height: 2.4em;
  
      clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    z-index: -1;
  }
  
  .left {
    position: relative;
    justify-content: center;
    align-items: center;
    background-color: #26cad4;
    color: whitesmoke;
    text-shadow: whitesmoke 1px 0 10px;
    display: flex;
    width: 3em;
    height: 2.7em;
      clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  font-size: 1rem;
  }
  
  .left:before {
    position: absolute;
    background-color: #1E2125;
    content: "";
    display: block;
    width: 2.6em;
    height: 2.4em;
      clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    z-index: -1;
  }

  .filled {
    background-color: #27C8D2 ;
  }
  
  .between {
    background-color: #CA8E2A ;
  }
  
  .critical {
    background-color: #CE2938 ;
  }

  .lowwa {
        display: flex;
        align-items: center;
        justify-content: center;
        animation: walk 3s;
        animation-timing-function: ease-in-out;
        animation-iteration-count: infinite;
        animation-play-state: running;
        height: 100%;
        width: 100%;
        transition: 0.9s;
  }

  .lowh {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: health 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-play-state: running;
    height: 100%;
    width: 100%;
    transition: 0.9s;
}

.lowf {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: eat 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-play-state: running;
    height: 100%;
    width: 100%;
    transition: 0.9s;
}

.loww {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: water 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-play-state: running;
    height: 100%;
    width: 100%;
    transition: 0.9s;
}

.lows {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: stress 3s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-play-state: running;
    height: 100%;
    width: 100%;
    transition: 0.9s;
}

.lowengine {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: engine 3s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-play-state: running;
  height: 100%;
  width: 100%;
  transition: 0.9s;
}

.lowfuel {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fuel 3s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-play-state: running;
  height: 100%;
  width: 100%;
  transition: 0.9s;
}

.lowarmor {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: armor 3s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-play-state: running;
  height: 100%;
  width: 100%;
  transition: 0.9s;
}


.lowox {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: oxygen 3s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-play-state: running;
  height: 100%;
  width: 100%;
  transition: 0.9s;
}
