@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; 
}

.hud {
    position: absolute;
    bottom: 1%;
    left: 20%;
    display: flex;
    flex-direction: row; 
    gap: 0.3rem; 
}

.status {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 45px; 
}

.bar-container {
    width: 45px; 
    height: 45px; 
    background-color: #0a0a0ada; /* 13151de1 */
    border-radius: 10px; 
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); 
    display: flex; 
    align-items: flex-end; 
    justify-content: center; 
    position: relative;
}

.bar {
    width: 100%; 
    height: 0%; 
    transition: height 0.3s ease; 
    position: absolute;
    bottom: 0; 
    border-radius: 8px; 
    z-index: 1; 
}

.bar-container i {
    position: absolute;
    color: white;
    font-size: 0.9rem;
    z-index: 2;
    pointer-events: none; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
}

#hunger-bar {
    background-color: #fed455;
}
#thirst-bar {
    background-color: #39bcf5;
}
#health-bar {
    background-color: #21c563;
}
#armour-bar {
    background-color: #933ff3;
}
#voice-bar {
    background-color: #50b3d5;
}

.fuel-container {
    position: absolute;
    bottom: -15%; 
    right: 6%; 
    display: flex;
    flex-direction: row;
    align-items: center; 
    gap: 8px;
}

.fuel-text {
    font-size: 0.9rem;
    color: white;
    text-align: center;
}

.fuel-line {
    width: 100px;
    height: 5px;
    background-color: #13151de1;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.fuel-fill {
    height: 100%;
    width: 55%; 
    background-color: #ffffff;
    transition: width 0.3s ease-in-out;
}

.fuel-icon {
    font-size: 0.7rem; 
    color: white;
}


.icon {
    position: absolute;
    color: white;
    font-size: 1.5rem;
    pointer-events: none; 
}

.speedometer-container {
    position: absolute;
    bottom: 5%;
    right: 6%;
    font-family: "Montserrat", sans-serif;
    font-weight: 200;
    font-style: italic;
    font-size: 4.5rem;
    color: white;
    display: flex;
    flex-direction: column; 
    align-items: center; 
}


.speedometer {
    display: flex;
    gap: 0.1rem;
    align-items: center;
    margin-bottom: 0px; 
}

.speed-color {
    color: white;
}

.speed-color.gray {
    color: gray;
}

.location-display {
    font-family: "Montserrat", sans-serif;
    font-weight: 200;
    position: absolute;
    bottom: 7%;
    left: 20%; 
    color: white;
    font-size: 1.2rem;
    text-align: left;
    display: flex;
    flex-direction: column; 
    align-items: flex-start;
    gap: 0; 
}

.location-text-container,
.location-description-container {
    display: flex;
    align-items: center;
    gap: 0; 
}

#location-text {
    font-size: 1.3rem; 
    font-weight: 400;
}

#location-icon {
    font-size: 1.5rem; 
    margin-right: 5px; 
}

#location-description {
    font-size: 1rem; 
    color: #ccc; 
}

#description-icon {
    font-size: 1rem; 
    margin-right: 5px; 
}





