78 lines
1.2 KiB
CSS
78 lines
1.2 KiB
CSS
:root {
|
|
--primary: #39FF14;
|
|
--bg: #050505;
|
|
--text: #ffffff;
|
|
}
|
|
|
|
body, html, #root {
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
background-color: var(--bg);
|
|
font-family: 'Inter', system-ui, -apple-system, sans-serif;
|
|
color: var(--text);
|
|
}
|
|
|
|
#ui-layer {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
pointer-events: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-end;
|
|
padding: 40px;
|
|
box-sizing: border-box;
|
|
z-index: 10;
|
|
}
|
|
|
|
.speed-indicator {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
width: 200px;
|
|
}
|
|
|
|
.speed-label {
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 2px;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.speed-bar-container {
|
|
height: 4px;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-radius: 2px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.speed-bar {
|
|
height: 100%;
|
|
background: var(--primary);
|
|
width: 0%;
|
|
transition: width 0.1s ease-out;
|
|
box-shadow: 0 0 10px var(--primary);
|
|
}
|
|
|
|
.instructions {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
text-align: center;
|
|
opacity: 0.4;
|
|
font-weight: 300;
|
|
letter-spacing: 1px;
|
|
pointer-events: none;
|
|
transition: opacity 1s ease;
|
|
}
|
|
|
|
.instructions.hidden {
|
|
opacity: 0;
|
|
}
|