body, html {
margin: 0;
padding: 0;
height: 100%;
overflow: hidden;
}
#hud-container {
position: absolute;
top: 30px;
right: 30px;
text-align: right;
}
#server-name {
font-family: 'Bebas Neue', sans-serif;
font-style: normal;
font-weight: 700;
font-size: 50px;
line-height: 1;
margin: 0;
text-transform: uppercase;
display: flex;
align-items: center;
justify-content: flex-end;
text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5);
}
#server-name .fame {
color: #FFFFFF;
margin-right: 12px;
font-style: italic;
}
#server-name .roleplay {
color: rgb(157, 128, 216);
font-style: italic;
}
#player-info {
display: flex;
justify-content: flex-end;
align-items: center;
margin-top: 15px;
}
#hud-container,
#status-container,
#minimap-container {
transition: opacity 0.5s ease-in-out;
opacity: 1;
}
#status-container.hidden {
opacity: 0;
visibility: hidden;
}
#hud-container.hidden,
#minimap-container.hidden {
opacity: 0;
}
.cinematic-bars {
position: fixed;
left: 0;
right: 0;
height: 10vh;
background: #000;
z-index: 9999;
transition: transform 0.5s ease-in-out;
}
.cinematic-bars.cinematic-top {
top: 0;
transform: translateY(-100%);
}
.cinematic-bars.cinematic-bottom {
bottom: 0;
transform: translateY(100%);
}
.cinematic-top {
top: 0;
}
.cinematic-bottom {
bottom: 0;
}
#date-time .polygon-background {
position: absolute;
top: -15px;
left: -15px;
width: 60px;
height: 60px;
}
#date-time .icon-container {
position: relative;
width: 30px;
height: 30px;
margin-right: 10px;
}
#player-count, #player-id-and-date {
position: relative;
display: flex;
align-items: center;
margin-left: 15px;
}
#player-id-and-date {
display: flex;
align-items: center;
}
#player-id, #date-time {
display: flex;
align-items: center;
margin-left: 15px;
}
.icon-container {
position: relative;
width: 23px;
height: 23px;
margin-right: 10px;
}
.polygon-background {
position: absolute;
top: -13px;
left: -13px;
width: 50px;
height: 50px;
}
.center-icon {
position: absolute;
top: 50%;
left: 50%;
width: 60%;
height: 60%;
transform: translate(-50%, -50%);
object-fit: cover;
}
.info-text {
font-family: 'Bebas Neue', sans-serif;
font-size: 24px;
color: #FFFFFF;
text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.5);
}
.date-time-text {
display: flex;
flex-direction: column;
align-items: flex-start;
}
.date-time-text .date,
.date-time-text .time {
font-family: 'Bebas Neue', sans-serif;
font-size: 16px;
color: #FFFFFF;
text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.5);
line-height: 1;
}
#cash-money, #bank-money {
position: relative;
display: flex;
align-items: center;
justify-content: flex-end;
margin-top: 10px;
}
#money-background, #bank-money-background {
position: absolute;
width: 181px;
height: 26px;
right: 40px;
}
#money-background {
background: linear-gradient(90deg, rgba(157, 128, 216, 0) 0%, rgba(157, 128, 216, 0.83) 50%, rgba(157, 128, 216, 0) 100%);
}
#bank-money-background {
background: linear-gradient(90deg, rgba(157, 128, 216, 0) 0%, rgba(157, 128, 216, 0.83) 50%, rgba(157, 128, 216, 0) 100%);
}
#money-amount, #bank-money-amount {
position: relative;
font-family: 'Bebas Neue', sans-serif;
font-size: 20px;
color: #FFFFFF;
text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.5);
margin-right: 15px;
z-index: 1;
}
.money-icon-container {
position: relative;
width: 70px;
height: 70px;
}
#polygon-background, #bank-polygon-background, #job-polygon-background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
#money-icon {
position: absolute;
top: 50%;
left: 50%;
width: 25%;
height: 25%;
transform: translate(-50%, -50%);
}
#bank-money-icon {
position: absolute;
top: 50%;
left: 50%;
width: 30%;
height: 30%;
transform: translate(-50%, -50%);
}
#bank-money {
margin-top: -20px;
}
#wallet-icon, #bank-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 18px;
color: rgb(139, 91, 235);
}
#bank-icon, #bank-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 18px;
color: rgb(139, 91, 235);
}
#job-info {
position: relative;
display: flex;
align-items: center;
justify-content: flex-end;
margin-top: -20px;
}
#job-background {
position: absolute;
width: 181px;
height: 26px;
right: 40px;
background: linear-gradient(90deg, rgba(157, 128, 216, 0) 0%, rgba(157, 128, 216, 0.83) 50%, rgba(157, 128, 216, 0) 100%);
}
#job-icon {
position: absolute;
margin-top: 5px;
margin-left: -7px;
transform: translate(-50%, -50%);
font-size: 18px;
color: rgb(139, 91, 235);
}
#job-name {
position: relative;
font-family: 'Bebas Neue', sans-serif;
font-size: 20px;
color: #FFFFFF;
text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.5);
margin-right: 15px;
z-index: 1;
}
.job-icon-container {
position: relative;
width: 70px;
height: 70px;
}
#job-icon {
position: absolute;
top: 50%;
left: 50%;
width: 47%;
height: 47%;
transform: translate(-50%, -50%);
}
#status-container {
position: fixed;
bottom: 80px;
left: 350px;
display: flex;
flex-direction: column;
gap: 10px;
z-index: 1000;
visibility: visible;
transition: opacity 0.5s ease-in-out;
}
.status-item {
display: flex;
align-items: center;
gap: 5px;
}
.status-icon-container {
position: relative;
width: 40px;
height: 40px;
margin-right: 5px;
}
.status-icon-container .polygon-background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.status-icon-container .center-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 50%;
height: 50%;
object-fit: contain;
}
.status-bars-container {
display: flex;
align-items: center;
gap: 10px;
}
.status-bars {
display: flex;
flex-direction: column-reverse;
gap: 2px;
}
.status-bar {
width: 30px;
height: 5px;
border-radius: 2px;
background-color: rgba(0, 0, 0, 0.2);
overflow: hidden;
position: relative;
}
.status-bar::before {
content: '';
position: absolute;
bottom: 0;
left: 0;
height: 100%;
width: 100%;
transform: scaleY(var(--fill-percentage, 0));
transform-origin: bottom;
transition: transform 0.3s ease;
}
.status-bar {
width: 30px;
height: 5px;
border-radius: 2px;
background-color: rgba(0, 0, 0, 0.2);
overflow: hidden;
position: relative;
}
.status-percentage {
font-family: 'Orbitron', sans-serif;
font-size: 16px;
font-weight: 700;
color: #E0F7FA;
border-radius: 10px;
padding: 3px 8px;
min-width: 50px;
text-align: center;
position: relative;
overflow: hidden;
}
#food-status .status-icon-container .center-icon {
width: 35%;
height: 35%;
}
#health-status .status-bar::before {
background: #cc350f;
box-shadow: 0 0 5px #4E9F3D;
}
#armor-status .status-bar::before {
background: #4E7FFF;
box-shadow: 0 0 5px #4E7FFF;
}
#food-status .status-bar::before {
background: #D2691E;
box-shadow: 0 0 5px #D2691E;
}
#water-status .status-bar::before {
background: #00BFFF;
box-shadow: 0 0 5px #00BFFF;
}
#minimap-container {
margin-top: 865px;
margin-left: 20px;
}
#minimap-container .status-icon-container {
width: 290px;
height: 190px;
}
.minimap-icon {
width: 90% !important;
height: 90% !important;
}
#hud-wrapper {
position: fixed;
width: 100vw;
height: 100vh;
top: 0;
left: 0;
display: flex;
justify-content: center;
align-items: center;
transform: scale(1);
transform-origin: top right;
pointer-events: none;
z-index: 9999;
}
@media screen and (width: 1920px) and (height: 1080px) {
#hud-wrapper {
transform: scale(1);
}
}
@media screen and (width: 2560px) and (height: 1440px) {
#hud-wrapper {
transform: scale(1);
zoom: 1.33;
}
}
@media screen and (width: 3840px) and (height: 2160px) {
#hud-wrapper {
transform: scale(1);
zoom: 2;
}
}
#status-container {
transform-origin: top left;
}
#minimap-container {
transform-origin: bottom left;
}