:root {
    --step--2: clamp(0.2813rem, 0.7846rem + -0.5593cqi, 0.6588rem);
    --step--1: clamp(0.5625rem, 0.7497rem + -0.208cqi, 0.7029rem);
    --step-0: clamp(0.75rem, 0.625rem + 0.5556cqi, 1.125rem);
    --step-1: clamp(0.8003rem, 0.317rem + 2.1478cqi, 2.25rem);
    --step-2: clamp(0.8539rem, -0.3615rem + 5.4017cqi, 4.5rem);
    --step-3: clamp(0.9111rem, -1.7852rem + 11.9836cqi, 9rem);
    --step-4: clamp(0.9721rem, -4.7038rem + 25.2265cqi, 18rem);
    --step-5: clamp(1.0372rem, -10.617rem + 51.7967cqi, 36rem);
}

body {
    --TSBackground: url(../fotos/groenStip.jpg);
    --cookie: linear-gradient(145deg, #bdbdbd, #848484);
    --TSBalk: linear-gradient(#f3f3f3, #e7e7e700);
}

.dark-theme {
    --TSBackground: url(../fotos/lolly.jpg);
    --cookie: linear-gradient(145deg, #4a4a4a, #3b3b3b);
    --TSBalk: linear-gradient(#3b3b3b, #e7e7e700);
}

main {
    color: black;
    -webkit-text-stroke: 1px rgb(255, 255, 255);
    overflow-x: hidden;
    overflow-y: auto;
}


/* Balk main */
main ul {
    position: absolute;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    list-style: none;
    margin: 0;
    padding: 1rem 1rem 2rem;
    box-sizing: border-box;
    background: var(--TSBalk);
    border-radius: 0.18rem 0.18rem 0 0;
    font-size: var(--step-1);
    color: #1a1a1a;
    line-height: 1;
    letter-spacing: 0.01em;
    -webkit-text-stroke: 0.015rem white;
    font-weight: 900;
}

main li {
    display: flex;
    align-items: center;
    white-space: nowrap;
    min-height: 1rem;
}

main li:nth-child(1) {
    margin-right: 0.1rem;
}

main li:nth-child(2) {
    margin-right: 0.1rem;
}

main li:nth-child(3) {
    margin-left: auto;
    padding-right: 0.35rem;
}

main li:nth-child(4) {
    margin-left: 0;
    padding-right: 0.25rem;
}

main li:nth-child(5) {
    margin-left: 0.2rem;
    justify-content: flex-end;
}


/* Batterij */

.battery {
    display: flex;
    align-items: center;
}

.battery-shell {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.16rem;
    padding: 0.16rem 0.32rem 0.16rem 0.18rem;
    border: 0.12rem solid #1d1d1d;
    border-radius: 0.16rem;
    background: rgba(255, 255, 255, 0.28);
    box-sizing: border-box;
    height: 1.2rem;
}

.battery-shell::after {
    content: "";
    position: absolute;
    right: -0.25rem;
    top: 0.32rem;
    width: 0.18rem;
    height: 0.4rem;
    background: #1d1d1d;
    border-radius: 0 0.09rem 0.09rem 0;
}

.battery-segment {
    width: 0.28rem;
    height: 0.54rem;
    border-radius: 0.06rem;
    background: rgba(29, 29, 29, 0.18);
    border: 0.02rem solid rgba(29, 29, 29, 0.18);
    box-sizing: border-box;
}

.battery-segment.is-full {
    background: #35d66c;
    border-color: #1ea558;
}

.battery-shell.is-low {
    border-color: #c62828;
}

.battery-segment.is-low {
    background: #ff4d4d;
    border-color: #c62828;
}


