@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap'); .color-blue { color: #3399ff; } .color-red { color: #ff3333; } .color-green { color: #33cc33; } .color-yellow { color: #ffcc33; } .color-purple { color: #a64ca6; } .color-orange { color: #ff9900; } body, html { margin: 0; padding: 0; height: 100%; background: transparent; font-family: 'Montserrat', sans-serif; color: #eee; user-select: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } * { box-sizing: border-box; } #top-hud { position: fixed; top: 20px; right: 30px; display: flex; align-items: center; gap: 14px; z-index: 9999; } .top-hud-info { display: flex; gap: 14px; } .top-hud-item { display: flex; align-items: center; gap: 8px; padding: 8px 12px; /* simetriškas padding */ background-color: rgba(0, 0, 0, 0.65); border-radius: 8px; min-width: 100px; /* šiek tiek platesnis minimumas */ min-height: 40px; } .top-hud-icon { font-size: 1.1rem; color: white; opacity: 0.8; flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 24px; /* fiksuotas plotis ikonai */ } .top-hud-text { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; flex: 1; /* užima likusį plotį */ } .top-hud-title, .top-hud-value { margin: 0; line-height: 1.1; white-space: nowrap; text-align: center; width: 100%; } .top-hud-title { font-size: 0.85rem; color: #ffffff; font-weight: 600; } .top-hud-value { font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); font-weight: 500; } .top-hud-logo { display: flex; align-items: center; } .top-hud-logo img { height: 42px; width: auto; opacity: 1; } #hud { position: fixed; width: 100vw; height: 100vh; pointer-events: none; z-index: 9999; } .status-circle-column { position: absolute; bottom: 20px; left: 30px; display: flex; flex-direction: column; gap: 8px; } .status-circle-item { display: flex; flex-direction: row; align-items: center; gap: 6px; font-size: 0.7rem; font-weight: 600; color: #fff; user-select: none; } .status-value { font-size: 0.75rem; background-color: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.25); color: white; padding: 2px 6px; border-radius: 10px; min-width: 30px; text-align: center; font-weight: 600; user-select: none; margin-bottom: 0; } .status-circle-item .circle { position: relative; width: 38px; height: 38px; border-radius: 50%; background: rgba(0, 0, 0, 0.45); display: flex; align-items: center; justify-content: center; } .status-circle-item .circle::before { content: ''; position: absolute; inset: 0; border-radius: 50%; z-index: 0; background: conic-gradient(transparent 0deg 360deg); transition: background 0.4s ease; } .circle-background { position: absolute; top: 1px; left: 1px; width: 36px; height: 36px; border-radius: 50%; background: conic-gradient(rgba(255, 255, 255, 0.164) 0deg 360deg); mask: radial-gradient(farthest-side, transparent 85%, black 86%); -webkit-mask: radial-gradient(farthest-side, transparent 85%, black 86%); z-index: 0; pointer-events: none; } .status-circle-item .circle-progress { position: absolute; top: 1px; left: 1px; width: 36px; height: 36px; border-radius: 50%; z-index: 1; background: conic-gradient(transparent 0deg 360deg); mask: radial-gradient(farthest-side, transparent 85%, black 86%); -webkit-mask: radial-gradient(farthest-side, transparent 85%, black 86%); pointer-events: none; transition: background 0.4s ease; } .status-circle-item .circle::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; z-index: 0; opacity: 0.15; transition: background 0.4s ease; } .status-circle-item .circle i { font-size: 0.9rem; color: #fff; filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.4)); transition: transform 0.2s ease; } .status-circle-item .circle::before { content: ''; position: absolute; inset: 0; border-radius: 50%; z-index: 0; background: conic-gradient(transparent 0deg 360deg); transition: background 0.4s ease; } .status-circle-item.health .circle::before { background: conic-gradient(#ff3c3c 0deg, transparent 0deg 360deg); } .status-circle-item.armor .circle::before { background: conic-gradient(#295fff 0deg, transparent 0deg 360deg); } .status-circle-item.hunger .circle::before { background: conic-gradient(#ffbf00 0deg, transparent 0deg 360deg); } .status-circle-item.thirst .circle::before { background: conic-gradient(#00cfff 0deg, transparent 0deg 360deg); } @keyframes show { 0% { opacity: 0; } 100% { opacity: 1; } } @keyframes hide { 0% { opacity: 1; } 100% { opacity: 0; background-color: transparent; } } .fade-in { animation: fadeIn 0.3s ease forwards; } .fade-out { animation: fadeOut 0.3s ease forwards; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } } body { background-color: transparent; font-family: 'Montserrat', sans-serif; margin: 0; padding: 0; } #notifications-container { position: fixed; top: 120px; right: 40px; display: flex; flex-direction: column; gap: 10px; z-index: 9999; max-width: 360px; width: 100%; } .notification { position: relative; display: flex; align-items: flex-start; background: rgba(0, 0, 0, 0.6); color: white; border-radius: 12px; padding: 12px 11px; animation: slideInRight 0.6s ease forwards; font-size: 14px; box-sizing: border-box; } .notification-icon { background: rgb(255, 255, 255); color: #111; border-radius: 8px; padding: 6px; font-size: 16px; display: flex; align-items: center; justify-content: center; margin-right: 10px; width: 32px; height: 32px; flex-shrink: 0; } .notification-content { display: flex; flex-direction: column; overflow-wrap: break-word; word-break: break-word; } .notification-title { font-size: 15px; font-weight: 700; line-height: 1.2; } .notification-description { white-space: pre-wrap; font-size: 13px; font-weight: 400; color: #ccc; line-height: 1.4; margin-top: 6px; } @keyframes slideInRight { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } } @keyframes slideOutRight { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(100%); } } .speedometer-div { position: absolute; bottom: 40px; right: 40px; display: flex; flex-direction: column; align-items: flex-end; z-index: 9999; font-family: 'Montserrat', sans-serif; } .speed { font-size: 48px; font-style: italic; font-weight: 700; color: white; } .speed .unit { font-size: 20px; margin-left: 5px; color: rgb(255, 255, 255); font-weight: bold; } .digit { font-style: italic; font-weight: 700; font-size: 48px; } .digit.gray { color: rgba(255, 255, 255, 0.486); } .digit.white { color: rgba(255, 255, 255, 0.877); } .bottom-info { display: flex; align-items: center; margin-top: 15px; gap: 10px; } .fuel-container { display: flex; align-items: center; gap: 8px; background: rgba(0, 0, 0, 0.65); border-radius: 8px; padding: 10px 12px; } .fuel-icon { color: white; font-size: 16px; } .fuel-bar-bg { width: 80px; height: 4px; background: rgba(255, 255, 255, 0.1); border-radius: 4px; overflow: hidden; } .fuel-bar-fill { height: 100%; width: 100%; background: limegreen; border-radius: 4px; transition: width 0.3s ease-in-out, background 0.3s ease-in-out; } .seatbelt { width: 36px; height: 36px; background: rgba(0, 0, 0, 0.65); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 12px; transition: color 0.3s; } #seatbelt.off { color: #ff4444; } #seatbelt.on { color: #00ff00; }