.bullet-vest { background-image: linear-gradient(to left, rgba(255, 52, 235, 0.60), rgba(167, 65, 255, 0.60)); } .oxygen { background-image: linear-gradient(to left, rgba(149, 178, 255, 0.60), rgba(169, 214, 255, 0.60)); } .stress { background-image: linear-gradient(to left, rgba(146, 79, 255, 0.60), rgba(156, 178, 255, 0.60)); } .life { background-image: linear-gradient(to left, rgba(255, 80, 80, 0.60), rgba(226, 51, 156, 0.60)); } .hunger { background-image: linear-gradient(to left, rgba(255, 94, 52, 0.60), rgba(255, 220, 35, 0.60)); } .thirst { background-image: linear-gradient(to left, rgba(80, 109, 255, 0.60), rgba(51, 226, 194, 0.60)); } .status { display: flex; justify-content: center; margin-left: 0px; gap: 6px; } .status-box { border-radius: 8px; display: flex; height: 100%; width: 100%; align-items: end; overflow: hidden; } .status-box > div { width: 100%; border-radius: 8px; } .status-block { width: 32px; height: 32px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.50), 0px 0px 4px 0px rgba(0, 0, 0, 0.50); background-color: rgba(0, 0, 0, 0.30); display: flex; justify-content: center; align-items: end; position: relative; z-index: 0; } .status-shadow { position: absolute; width: 34px; height: 34px; border-radius: 8px; filter: blur(5px); z-index: -1; } .status-box svg, .status-box img { position: absolute; top: 50%; right: 50%; transform: translate(50%, -50%); } .weapon-block { height: 40px; align-self: flex-end; box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.50), 0px 0px 4px 0px rgba(0, 0, 0, 0.50); background-color: rgba(0, 0, 0, 0.30); display: flex; align-items: center; border-radius: 8px; box-sizing: border-box; margin-bottom: 5px; position: relative; } .weapon-image img { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); zoom: 0.46; } .weapon-block-car .weapon-image img { transform: translateY(-50%) skewX(13deg);; } .weapon-bullets { position: absolute; display: flex; align-items: center; margin-top: 15px; margin-left: 7px; } .weapon-bullets img { zoom: 0.8; } .weapon-block-car { height: 52px; align-self: flex-end; transform: skewX(-13deg); box-shadow: inset 0 0 0 1px rgba(238, 238, 238, 0.50), 0px 0px 4px 0px rgba(0, 0, 0, 0.50); background-color: rgba(0, 0, 0, 0.30); display: flex; align-items: center; border-radius: 8px; box-sizing: border-box; margin-right: -5px; position: relative; } .weapon-bullets > p { font-size: 16px; font-weight: 600; font-style: italic; color: #fff; } .weapon-bullets > span{ font-style: italic; font-size: 9px; font-weight: 500; color: #fff; opacity: 0.5; } @keyframes skewAnimationOn { from { transform: skewX(0deg); } to { transform: skewX(-13deg); } } @keyframes skewAnimationOff { from { transform: skewX(-13deg); } to { transform: skewX(0deg); } } @keyframes skewAnimationImageOn { from { transform: translate(50%, -50%) skewX(0deg); } to { transform: translate(50%, -50%) skewX(13deg); } } @keyframes skewAnimationImageOff { from { transform: translate(50%, -50%) skewX(13deg); } to { transform: translate(50%, -50%) skewX(0deg); } }