@charset "utf-8";
/* CSS Document */
html { overflow: hidden;height: 100svh;}
body {
            margin: 0;
            overflow: hidden;
            font-family: Arial, sans-serif;
            background-color: #222;
            font-family: "Inter", sans-serif; text-align: left;height: 100svh;
        }
        .container {
            display: flex;
            flex-direction: column;
            height: 100svh;
            width: 100%; position: fixed; top:0; left: 0;overflow: hidden;
        }
        .controls {
            width: 100%;
            padding: 15px;
            color: white;
            box-sizing: border-box; position: fixed; bottom: 0; left: 0; z-index: 1; display: flex;justify-content: center;
        }
        .display {
            flex: 1;
            position: relative;
            width: 100%;
        }
        #videoElement {
            position: absolute;
            top: 10px;
            left: 10px;
            width: 30%;
            max-width: 240px;
            min-width: 120px;
            height: auto;
            aspect-ratio: 4/3;
            border: 2px solid #333;
            z-index: 10; display: none;
        }
        #canvasElement {
            display: none;
        }
        #scene {
            width: 100%;
            height: 100%;
        }
        .button-container {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 15px;
        }
        button {
            margin: 0 5px;
            cursor: pointer;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            font-size: 16px; border-radius: 50%; text-indent: -9999px; 
             cursor: pointer; width: 100px; height: 100px; appearance:none; background: none; background-color: transparent; box-shadow: none; background-color: rgba(17, 17, 17, .5); margin: 0 10px; background-repeat: no-repeat; background-position: center; background-size: 60px;
        }
button:disabled { display: none;}
        
        button#stopButton {
            
        }
        button#stopButton:hover {
            
        }
        button#toggleAudioButton {
            background-color: #2196F3; display: none;
        }
        button#toggleAudioButton:hover {
            background-color: #1976D2;
        }
        h1 {
            font-size: 1.5em;
            margin-bottom: 15px;
        }
        .status {
            margin-top: 15px;
            padding: 10px;
            background-color: #555;
            border-radius: 4px; display: none;
        }
        .status-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 10px;
        }
        .status-item {
            margin: 5px 0;
        }

.dat-gui-container {
                position: absolute;
                top: 10px;
                right: 10px; display: none;
            }
        
        /* メディアクエリ */
        @media screen and (min-width: 768px) {
            .container {
                flex-direction: row;
            }
            .controls {
            }
            .display {
                width: calc(100% - 0px);
            }
            
        }
        
        /* スマホ縦向き用 */
        @media screen and (max-width: 480px) {
            
            #videoElement {
                width: 40%;
                min-width: 100px;
            }
            .status {
                font-size: 14px;
            }
        }
        
        h1 { color: #FFF; position: fixed; top:20px; left: 20px; font-size: 10vw; margin: 0; line-height: 1;}
@media (orientation: landscape) {
h1 { font-size: 5vw;}
}
#startButton {
             background-image: url("../img/play.svg");
        }
#stopButton {
            background-image: url("../img/pause.svg");
        }
