body {
    margin: 0;
    overflow: hidden;
    background-color: #000;
}

.video-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#cameraFeed {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the container */
}

@keyframes disco {
    0% { background-color: rgba(255, 0, 0, 0.5); }
    33% { background-color: rgba(0, 255, 0, 0.5); }
    66% { background-color: rgba(0, 0, 255, 0.5); }
    100% { background-color: rgba(255, 0, 0, 0.5); }
}

.filter-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Allows interaction with the video underneath */
    /* opacity: 0.5; */ /* Remove this as opacity will be handled by animation */
}

.disco-filter {
    animation: disco 1s infinite alternate;
}

.controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Space between buttons */
    z-index: 10;
}

#captureButton {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: white;
    border: 5px solid rgba(0, 0, 0, 0.2);
    cursor: pointer;
    /* Basic styling, can be enhanced */
}

#switchCameraButton {
    padding: 10px 15px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 1rem;
    /* Basic styling, can be enhanced */
} 