@charset "utf-8";
/* CSS Document */
body {
            font-family: "Google Sans", sans-serif;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 0px;
            background-color: #f0f0f0; margin: 0;
        }
        
        h1 {
            font-family: "Google Sans", sans-serif;
            color: #333; margin: 0; position: fixed; top:2vw; left: 2vw; font-size: 10vw; font-weight: 700;
        }
        
        #container {
            position: relative;
            margin-bottom: 20px;
        }
        
        #video {
            display: block;
            width: 30%!important; position: fixed; top:10px; right:10px;
            /*transition: width 0.2s ease .2s, top 0.2s ease, right 0.2s ease, transform 0.2s ease .2s;*/
            transform: translate(0%, 0%); z-index: 2;
        }
        
        #video.initial {
    width: 100% !important;
    position: fixed;
    top: 50%;
    right: 0;
    transform: translate(0%, -50%); z-index: 0;
    /*transition: width 0.2s ease, top 0.2s ease, right 0.2s ease, transform 0.2s ease 0s;*/
}
        
        #video.hidden {
            display: none !important;
        }
        
        #watercolorCanvas {
            position: fixed;
            top: 50%; transform: translateY(-50%);
            left: 0;
            pointer-events: none;
            z-index: 1;
        }

        #edgeCanvas {
            position: fixed;
            top: 50%; transform: translateY(-50%);
            left: 0;
            pointer-events: none;
            z-index: 2;
        }
        
        #controls {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-bottom: 10px; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 2;
        }
        
        button {
            padding: 12px 24px;
            font-size: 16px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        #startBtn {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            border: 10px solid #000;
            background-color: #ff0000;
            padding: 0;
            font-size: 0;
            color: transparent;
        }
        button#startBtn span {
    display: block;
    width: 60px;
    height: 60px;
    box-sizing: border-box;
    border: 2px solid #FFF;
    border-radius: 50%;
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
}
        
        #startBtn:hover {
            background-color: #cc0000;
        }
        
        #startBtn:disabled {
            background-color: #cccccc;
            cursor: not-allowed;
        }
        
        #stopBtn {
            background: #f0f0f0;
            color: #000000;
            display: none;
            padding: 8px;
            border-radius: 50%;
        }
        
        #stopBtn .material-symbols-outlined {
            font-size: 60px;
        }
        
        #stopBtn:hover {
            opacity: 0.7;
        }
        
        #stopBtn:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }
        
        #stopBtn:not(.hidden) {
            display: inline-block;
        }
        
        #downloadBtn {
            background: none;
            color: #000000;
            display: none;
            padding: 8px;
            position: fixed;
            top: 10px;
            right: 10px;
            z-index: 1000;
        }
        
        #downloadBtn .material-symbols-outlined {
            font-size: 24px;
        }
        
        #downloadBtn:hover {
            opacity: 0.7;
        }
        
        #downloadBtn:not(.hidden) {
            display: inline-block;
        }
        
        #resetBtn {
            background: none;
            color: #000000;
            display: none;
            position: fixed;
            top: 10px;
            left: 10px;
            z-index: 1000;
            padding: 8px;
        }
        
        #resetBtn:hover {
            opacity: 0.7;
        }
        
        #resetBtn:not(.hidden) {
            display: inline-block;
        }
        
        .material-symbols-outlined {
            font-family: 'Material Symbols Outlined';
            font-weight: normal;
            font-style: normal;
            font-size: 24px;
            line-height: 1;
            letter-spacing: normal;
            text-transform: none;
            display: inline-block;
            white-space: nowrap;
            word-wrap: normal;
            direction: ltr;
            -webkit-font-feature-settings: 'liga';
            -webkit-font-smoothing: antialiased;
        }
        
        #status {
            color: #666;
            font-size: 14px; display: none;
        }
        
        .hidden {
            display: none;
        }

