@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@200&family=Bungee&family=Orbitron:wght@200;500&family=Ysabeau+SC:wght@300&display=swap');

* {
    padding: 300;
    margin: 300;
    font-weight: 900;
    font-family: 'Almarai',  sans-serif;
    font-family: 'Bungee',   sans-serif;
    font-family: 'Orbitron', sans-serif;    
}

body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: Arial, sans-serif;
    user-select: none;
}

#speedometer-container {
    display: flex;
    align-items: center;
    position: relative;
    left: 850px;
    opacity: 0;
    transition: opacity 0.5s ease;
    bottom: -1000px;
}

#speedometer-container.show {
    opacity: 1;
}

#speedometer {
    background-color: #0000005e;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
}

.speed-value {
    font-size: 30px;
    color: #8a1313;
    margin-right: 10px;
}

.speed-icon {
    font-size: 30px;
    color: #8a1313;
}

#hud-container {
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 100px;
    right: 150px;
    bottom: 3%;
}

#hud {
    display: flex;
    align-items: flex-start;
    padding: 10px;
    background-color: rgba(121, 13, 13, 0);
    box-shadow: 10px 10px 110px rgba(255, 128, 128, 0);
}

#ammo {
    z-index: 999;
    margin-left: -485%;
    margin-top: -75%;
    color: rgba(245, 245, 245, 0.507);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 100px;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}

#weapon-png {
    margin-left: -485%;
    margin-top: -25%;
    -webkit-user-drag: none;
    z-index: 1000;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}

#mice {
    border-radius: 50%;
    height: 35px;
    width: 35px;
    background-color: rgb(29, 29, 29);
    font-family: 'Courier New', Courier, monospace;
    color: whitesmoke;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 5%;
    left: 1%;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

#mice-icon {
    font-size: 18px;
    transition: color 0.2s ease;
}

#bar-container {
    border-radius: 999px;
    height: 65px;
    width: 65px;
    /* background-color: rgb(29, 29, 29); */
    color: whitesmoke;
    position: relative;
    margin-left: -573%;
    margin-top: 1%;
}

#armor-bar {
    display: flex;
    height: 9px;
    width: 260px;
    background-color: rgba(0, 0, 0, 0);
    overflow: hidden;
    position: relative;
    gap: 4px;
    left: -1420px;
    top: 45px;
    border-top-right-radius: 999px;
    border-top-left-radius: 999px;
}

.armor-square {
    flex: 1;
    height: 100%;
    background-color: #2378b1dc;
    transition: background-color 0.3s ease;
}

.armor-square.inactive {
    background-color: rgba(255, 255, 255, 0.2);
}



#health-bar {
    height: 9px;
    width: 260px;
    background-color: rgba(255, 255, 255, 0.137);
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-top-right-radius: 999px;
    left: -1420px;
    top: 53px;
}

#armor-bar {
    margin-right: -500px;
}

.armor-value {
    width: 100%;
    height: 0%;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: height 0.3s ease;
}

.health-value {
    height: 100%;
    width: 0%;
    position: absolute;
    top: 0;
    left: 0;
    transition: width 0.3s ease;
}

#health-bar .health-value {
    background-color: #af1111c4;
}

.health-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 30px;
    z-index: 1;
}

.armor-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 30px;
    z-index: 1;
}

