@charset "utf-8";
/* CSS Document */
body {
            margin: 0;
            padding: 0px;
            background: #000;
            color: #fff;
            font-family: 'Merriweather', serif;
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        h1 {
            margin-bottom: 20px; position: fixed; z-index: 1; text-align: center; top:50%; left:50%; transform: translate(-50%,-50%); font-size: 300%; font-family: 'Merriweather', serif; font-weight: 500;
        }
        
        .controls {
            margin: 40px 0;
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
            justify-content: center; position: fixed; bottom: 0; left: 0; width: 100%;
        }
        
        button {
            padding: 12px 24px;
            font-size: 16px;
            font-family: 'Merriweather', serif;
            cursor: pointer;
            background: none;
            color: #fff;
            border: 0px solid #666;
            border-radius: 5px;
            transition: all 0.3s;
        }
        
        button:hover {
            background: #555;
            border-color: #999;
        }
        
        button:disabled {
            opacity: 0.5; display: none;
            cursor: not-allowed;
        }

        #capture { width: 80px; height: 80px; border-radius: 50%; border:10px solid #FFF; box-sizing: border-box;
        background-color: transparent; text-indent: -9999px; padding: 0;}
        
        #startCamera { position: fixed; top:10px; left: 10px;}
        #playSound,#stopSound {width: 90px; height: 90px; border-radius: 50%; box-sizing: border-box;
        background-color: transparent; text-indent: -9999px; padding: 0; border: none; background-position: center; 
    background-repeat: no-repeat; background-size: 60px;}
    #playSound { background-image: url(../img/play.svg); background-color: rgba(0,0,0,0.63); border-radius: 50%;}
    #stopSound { background-image: url(../img/pause.svg); background-color: rgba(0,0,0,0.63); border-radius: 50%;}
    #startCamera { width: 60px; height: 60px; border:none; padding: 0;background-color: transparent; text-indent: -9999px;
    background-position: center; 
    background-repeat: no-repeat; background-size: 30px; background-image: url(../img/arrow.svg); background-color: rgba(0,0,0,0.63); border-radius: 50%;}
        
        #videoContainer {
            position: fixed; left: 0; top:50%; transform: translateY(-50%); width: 100%;
            margin: 0px 0;
        }
        
        #video {
            display: none;
            width: 100%;
        }
        
        #canvas {
            width: 100%!important; height: auto!important;
            background: #000;
            display: none;
            margin: 0 auto;
        }
        
        .info {
            margin-top: 20px;
            padding: 15px;
            background: #222;
            border-radius: 5px;
            max-width: 640px;
        }
        
        .loading {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }
        
        .loading-spinner {
            width: 50px;
            height: 50px;
            border: 4px solid #333;
            border-top: 4px solid #00ff00;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-bottom: 20px;
        }
        
        .loading p {
            color: #fff;
            font-size: 18px;
            font-family: 'Merriweather', serif;
            margin: 0;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

