@charset "utf-8";
/* CSS Document */
body,html { height: 100%; margin: 0;}
body { font-family: "Reenie Beanie", cursive; }
    canvas {
      object-fit: cover; object-position: center; width: 100%; height: 100%; position: fixed; top:0; left: 0; background-color: transparent;
    }
      video { object-fit: cover; object-position: center; width: 100%; height: 100%; opacity: 1; position: fixed; top:0;left: 0;}
.end video { opacity: 0;}
      #play,#swap { position: relative;}
      
      
    #canvas0 { opacity: 0;}

#start { width: 100%; height: 100%; background-color: #FFF; position: fixed; top:0; left: 0; text-align: center;}
#start .inner { position: absolute; top:50%; left: 0; width: 100%; transform: translateY(-50%);}
#play { display: inline-block; padding: 1em 2em; font-size: 4.5vw; color: #000; font-weight: bold; border: 2px solid #000; box-sizing: border-box; border-radius: .3em; cursor: pointer;}
#start .inner h1 { font-size: 22vw; font-weight: normal; margin: 0; margin-bottom: .3em;}
.create #start { display: none;}

#contols { position: fixed; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; justify-content: center; align-items: center; display: none; width: 100%;}
.create #contols { display: flex;}
.end #contols { display: none;} 


#download { width: 80px; height: 80px; border-radius: 50%; border: 6px solid #FFF; box-sizing: border-box; display: block; cursor: pointer; background-color: #fff; position: relative;}
#download:before { content: ""; display: block; width: 70px; height: 70px; border: 2px solid #000; position: absolute; top:50%; left: 50%; transform: translate(-50%,-50%); box-sizing: border-box; border-radius: 50%;}

div.div { width: 50px; height: 50px; border-radius: 50%; background-color: rgba(255,255,255,1);}
#swap { background-image: url("../img/switch.svg"); background-position: center; background-repeat: no-repeat; background-size: 30px; cursor: pointer;}
#contols div { margin: 0 20px;}
#contols div:last-child { opacity: 0;}

#return { position:fixed; top:0; left: 0; display: none; width: 60px; height: 60px; background-image: url("../img/arrow.svg"); background-repeat: no-repeat; background-position: center; background-size: 24px; cursor: pointer;} 
        
        .create #return { display: block;}

@media (orientation: landscape) {
   #start .inner h1 { font-size: 11vw;}
    #play { font-size: 2.25vw;padding: .5em 2em;}
    }

s