body, html {
    background: #000;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    font-family: sans-serif;
    /* This stacks the Title over the Grid */
    display: flex;
    flex-direction: column;
}

.header {
    width: 100%;
    background: #111; /* Dark grey bar */
    color: #fff;
    text-align: center;
    padding: 10px 0;
    border-bottom: 2px solid #333;
}

.header h1 {
    margin: 0;
    font-size: 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* This makes the grid take up all the leftover screen space */
    flex-grow: 1;
    width: 100%;
}

.cam-container {
    position: relative;
    background: #000;
    width: 100%;
    height: 100%;
}

video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.label {
    display: none; /* This hides the labels from the screen */
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    z-index: 10;
    pointer-events: none;
    text-transform: uppercase;
}

