body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: hsl(0, 0%, 0%);
    color: #ffebeb;
    overflow: hidden;
}

#backgroundCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    padding: 4rem;
}

h1 {
    color: #99aaca;
    font-size: 2rem;
    text-align: left;
}

.description {
    margin: 2rem auto;
    text-align: left;
}

.description p {
    color: #99aaca;
    line-height: 1.6;
    margin: 1rem 0;
    font-size: 1rem;
}

.controls-overlay {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

button {
    background-color: #99aaca;
    color: black;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

#addBody, #removeBody {
    padding: 0.5rem 0.8rem;
    font-weight: bold;
    min-width: 2.5rem;
}

button:hover {
    background-color: #b8c5dd;
}

.counter {
    background-color: #99aaca;
    color: black;
    padding: 0.5rem;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    border: none;
    font-size: 1rem;
    appearance: textfield;
    -moz-appearance: textfield;
}

input.counter {
    width: 3rem;
}

#dt.counter {
    width: 5.5rem;
}

.counter::-webkit-outer-spin-button,
.counter::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.counter:focus {
    outline: none;
    background-color: #b8c5dd;
}
