:root {
    --theme: transparent;
    --entry: rgb(218, 218, 219);
    --primary: rgb(218, 218, 219);
    --secondary: rgb(155, 156, 157);
    --tertiary: rgb(155, 156, 157);
    --border: rgb(10, 9, 16);
    --side-color: rgb(10, 9, 16);
    color-scheme: dark;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, button {
    font-family: -apple-system, BlinkMacSystemFont, segoe ui, Roboto, Oxygen, Ubuntu, Cantarell, open sans, helvetica neue, sans-serif;
    color: var(--primary);
    background: rgb(10, 9, 16);
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.container {
    display: flex;
    width: 100%;
    height: calc(100vh - 5rem);
    flex: 1;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.common-controls {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem;
    border-radius: 10px;
    z-index: 1;
}

.sim {
    flex-grow: 1;
    height: 100%;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.time-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background-color: var(--side-color);
    border-top: 1px solid var(--border);
    position: absolute;
    bottom: 0;
    width: 100%;
}

button {
    font-size: 1.5rem;
    background: var(--entry);
    border: var(--theme) 4px solid;
    border-radius: .5rem;
    padding: .5rem;
    transition: all ease 100ms;
    cursor: pointer;
    height: 4rem;
    width: 4rem;
    margin: 0 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

button:active {
    transform: scale(.96);
}

button:hover {
    background: var(--tertiary);
}

button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h2 {
    color: #ffffff; /* White text */
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: normal;
    text-align: center;
}

.parameter > input {
    width: 100%;
    background-color: var(--entry); /* Updated to use the entry variable */
    border: none; /* Ensure no border is present */
    color: var(--primary); /* Adjust text color if needed */
}

.parameter > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    background-color: transparent; /* Ensure background is transparent */
}

.parameter {
    background-color: transparent; /* Ensure background is transparent */
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #555; /* Slider track */
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e0e0e0; /* Slider thumb */
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e0e0e0; /* Slider thumb */
    cursor: pointer;
}

/* Scrollbar styles */
::-webkit-scrollbar {
    width: 12px; /* width of the scrollbar */
}

::-webkit-scrollbar-track {
    background: var(--side-color); /* color of the scrollbar track */
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary); /* color of the scrollbar handle */
    border-radius: 10px; /* roundness of the scrollbar handle */
    border: 3px solid var(--side-color); /* space around the scrollbar handle */
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--secondary); /* color of the scrollbar handle on hover */
}

/* Firefox scrollbar styles */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--side-color);
}

html::-webkit-scrollbar-track {
    background: var(--side-color);
}

html::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 10px;
    border: 3px solid var(--side-color);
}

html::-webkit-scrollbar-thumb:hover {
    background-color: var(--secondary);
}