@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap'); * { font-family: 'Montserrat'; transition: .3s all; color: #fff; margin: 0; } :root { --hud-color: #40a0f8; } body { overflow: hidden; /* background-color: #525252; */ } /* HUD */ .hud-box { background-color: #000000BE; outline: .1vh solid var(--hud-color); position: absolute; display: flex; justify-content: center; align-items: center; bottom: 1vh; left: 50%; border-radius: 1vh; transform: translateX(-50%); width: auto; height: 5vh; gap: .5vh; /* overflow: hidden; */ z-index: 1000; } .hud-box .icon { font-size: 1.8vh; display: flex; justify-content: center; align-items: center; padding: .1vh; margin: 0 .5vh; } .hud-box .hp { position: relative; bottom: 0; display: block; border-radius: .5vh; width: 4.5vh; height: 4.5vh; line-height: 4.5vh; text-align: center; color: #ffffff; overflow: hidden; } .hud-box .hp i { padding: .1vh; color: var(--hud-color); /* filter: drop-shadow(0px 0px 20px var(--hud-color)); */ } .hud-box .armor { position: relative; bottom: 0; display: block; border-radius: .5vh; width: 4.5vh; height: 4.5vh; line-height: 4.5vh; text-align: center; overflow: hidden; } .hud-box .armor i { padding: .1vh; color: var(--hud-color); /* filter: drop-shadow(0px 0px 20px var(--hud-color)); */ } .hud-box .microphone { position: relative; bottom: 0; display: block; border-radius: .5vh; width: 4.5vh; height: 4.5vh; line-height: 4.5vh; text-align: center; overflow: hidden; } .hud-box .microphone i { padding: .1vh; color: var(--hud-color); /* filter: drop-shadow(0px 0px 20px var(--hud-color)); */ } /* ANIM */ @keyframes Animacja { 0% { bottom: -20vh; opacity: 0; } 50%{ opacity: 0; } 100% { opacity: 1; } } @keyframes Animacja2 { 0% { left: -5vh; opacity: 0; } 50%{ opacity: 0; } 100% { opacity: 1; } } @keyframes Animacja3 { 0% { right: -5vh; opacity: 0; } 50%{ opacity: 0; } 100% { opacity: 1; } }