body,
html {
    overflow: hidden;
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

:root {
    --border: 1px solid rgb(170, 170, 170);
    --black-green: #23aa54;
    --dark-green:rgb(12, 240, 96);
    --light-green: #d6ffe5;

    --black-red: #943b3b;
    --dark-red: rgb(239 68 68);
    --light-red: #ffc5c5;

    --black-blue: #1E417B;
    --dark-blue: rgb(59 130 246);
    --light-blue: #b4cffa;
}

.container {
    display: flex;
    height: 100%;
}

.two-eights {
    flex: 2;
    display: flex;
    flex-direction: column;
}

.five-eights {
    flex: 5;
    display: flex;
    flex-direction: column;
}

.one-eight {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    outline: none;
    background-color: white;
    z-index: 10;
}

.content button {
    width: 100%;
    height: 100%;
    border: var(--border);
    cursor: pointer;
    font-size: 4rem;
    /* background-color: #e3f1ff; */
    /* color: #000000; */
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 100;
    /* z-index: -3; */
    /* margin: 0 auto; */
    /* Center the slider */
}

.slider {
    position: absolute;
    -webkit-appearance: none;
    /* width: 50px; */
    background: white;
    outline: none;
    opacity: 0.7;
    transition: opacity .2s;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    margin: 0;
    padding: 0;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10%;
    height: 9999px;
    background: black;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 10%;
    height: 5000px;
    background: black;
    cursor: pointer;
}

button {
    background-color: white;
}

*:active, *:focus{
    outline: none;
}

button, i{
    transition: all .1s ease-in-out;
}



button:active {
    transform: scale(0.9);
}

button:active i{
    transform: scale(1.111);
}


.control-all {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none; /* Prevent interaction with the element */
    display: none; /* Hide by default */
}

@media (min-width: 801px) {
    .control-all {
        display: block; /* Show only if screen width is greater than 800px */
        pointer-events: auto; /* Enable interaction if visible */
    }
}

.control-all .content {
    position: absolute;
    width: 10%;
    height: calc(100%/6);
    transform: translate(-50%, -50%);
    pointer-events: auto; /* Ensure content inside is clickable if needed */
}

.control-all .content.up {
    left: 75%;
    top: calc(100%/6);
}


.control-all .content.stop {
    left: 75%;
    top: calc(100%/2);
}

.control-all .content.down {
    left: 75%;
    top: calc(100%/6*5);
}