* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

canvas {
    width: 100vw;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background-image: url("./images/space.png");
}

.fuel {
    width: 150px;
    height: 200px;
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 1;
    backdrop-filter: blur(10px);
    border: 1px solid #333;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.fuel h1 {
    color: #aaa;
}

.fuel .graphic {
    height: 60%;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.fuel .graphic .tank {
    width: 50%;
    height: 100%;
    border: 5px solid #ddd;
    border-radius: 12px;
    background: #222;
    position: relative;
    overflow: hidden;
}

.fuel .graphic .tank .full {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: linear-gradient(rgb(0, 255, 0), rgb(114, 255, 114), rgb(255, 252, 91), rgb(255, 159, 33), rgb(255, 0, 0))
}

.fuel .graphic .tank .empty {
    position: absolute;
    width: 100%;
    height: 0%;
    top: 0;
    left: 0;
    background: #222;
    z-index: 2;
}

.fuel .graphic .points {
    width: 25%;
    height: 100%;
    padding: 8% 5%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fuel .graphic .points span {
    width: 50%;
    height: 3px;
    background: #ddd;
    position: relative;
}

.fuel .graphic .points span:first-of-type::after {
    content: "F";
    color: rgb(114, 255, 114);
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(150%, -50%);
}

.fuel .graphic .points span:last-of-type::after {
    content: "E";
    color: rgb(255, 103, 103);
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(150%, -50%);
}

.start-btn {
    z-index: 1;
    position: absolute;
    background-color: transparent;
    color: #aaa;
    font-weight: 900;
    border: 0;
    width: 150px;
    height: 50px;
    font-size: 2rem;
    font-family: monospace;
    left: 25px;
    top: 680px;
}

.start-btn:hover {
    cursor: pointer;
}