body {
    font-family: sans-serif;
    background: linear-gradient(45deg, #0a0a0a, #004a3b);
    color: white;
    margin: 0;
    height: 100vh; 
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly; 
    padding: 2vh 0; 
    box-sizing: border-box;
}
.video-container {
    will-change: contents;
    transform: translateZ(0);
    position: relative;
    
    height: auto;
    max-height: 50vh; 
    width: auto;
    max-width: 90vw;
    aspect-ratio: 16 / 9;
    
    background-color: #0a0a0a;
    display: flex; 
    

    border: 30px solid #2a2c2e;
    border-radius: 40px; 
    
    overflow: hidden;
}


#lcd-container {
    background-color: #0d2b26;
    padding: 10px 40px;
    border-radius: 8px;
    border: 3px solid #000; 
    margin: 0;
    min-width: 50vw;
    width: fit-content;
    height: 100px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.text {
    font-family: "Bitcount Grid Single", system-ui;
    font-optical-sizing: auto;
    font-weight: 350;
    font-style: normal;
    font-size: 4rem;
    margin: 0; 
    color: #00ffcc;
    text-shadow: 0px 0px 8px rgba(0, 255, 204, 0.4); 
}

.button_style {
    width: 70px; height: 70px; border-radius: 50%;
    z-index: 100;
    background-color: #0d2b26;
    border: 3px solid #000; 
    margin: 0;

    font-family: "Bitcount Grid Single", system-ui;
    font-optical-sizing: auto;
    font-weight: 350;
    font-style: normal;
    font-size: 2rem;
    margin: 0; 
    color: #00ffcc;
    text-shadow: 0px 0px 8px rgba(0, 255, 204, 0.4);

    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

#help-window::backdrop {
    background-color: rgba(0, 0, 0, 0.7);
}

#help-window {
    width: 80%;
    align-items: center;
    background-color: #1e1e1e;
    border-radius: 40px;

    width: 80vw;
    max-width: 1200px;
    height: 660px;
}

.organiser {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin: auto;
}

.pop_text {
    font-family: "Jersey 20", sans-serif;
    font-weight: 200;
    font-style: normal;
    font-size: 2rem;
    color: #00ffcc;
}

#gesture {
    margin-top: 20px;
    height: auto;
    max-height: 50vh; 
    width: auto;
    max-width: 68vw;

    border: 10px solid #092847;
    border-radius: 10px; 
}

.button_container {
    display: flex; 
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

#caption {
    min-height: 100px;
    margin: 20px 0;
    
    display: flex;
    align-items: center; 
    text-align: center;
}

.counter_div {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 20px; 
    margin-right: 20px;
    width: 60px
}

#cursor-fx {
    position: fixed; top: 0; left: 0;
    width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9999;
    transform: none;
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

#crt-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; 
    pointer-events: none; 
    
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 3px
    );
    
    mix-blend-mode: multiply;
    
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scaleX(-1);
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scaleX(-1);
    z-index: 10;
}

button {
    cursor: pointer;
}