body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.video-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    background-color: #000;
}

.video-container video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
    transform: scaleX(-1);
}

#image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 5;
    pointer-events: none;
}

#keyword-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    color: white;
    font-weight: bold;
    text-shadow: 3px 3px 5px rgba(0,0,0,0.7);
    font-size: 24pt;
    z-index: 10;
    pointer-events: none;
    display: none;
}

#status2 {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 3px 6px;
    border-radius: 5px;
    font-size: 8pt;
    font-style: normal;
    font-family: 'Courier New', Courier, monospace;
    z-index: 10;
    pointer-events: none;
}

#status {
    display: none;
}

#hitMeButton {
    position: absolute;
    bottom: 160px;
    left: 50%;
    transform: translateX(-50%) scale(1.5);
    z-index: 10;
    background-color: #FFFF00;
    color: black;
    border: 0.5px solid black;
    font-size: 18px;
    padding: 12px 22.5px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#hitMeButton:hover {
    background-color: purple;
    color: white;
}

#stop-button {
    position: absolute;
    bottom: 160px;
    right: 10px;
    z-index: 10;
    background-color: #dc3545;
    border: 0.5px solid black;
    color: white;
    font-size: 18px;
    padding: 12px 22.5px;
    display: none;
    border-radius: 5px;
    cursor: pointer;
    transform: scale(1.5);
}

#descriptionArea {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 1em;
    max-width: calc(100% - 20px);
    box-sizing: border-box;
    display: none !important;
    z-index: 9;
}

#stop-button:hover {
    background-color: #c82333;
}

#hitMeButton:disabled,
#stop-button:disabled {
    background-color: rgba(128, 128, 128, 0.4);
    cursor: not-allowed;
    color: #aaa;
}
