@charset "utf-8";
/* CSS Document */
body,html { height: 100%; margin: 0; background-color: #000;}
 video,canvas { object-fit: cover; width: 100%; height: 100svh; object-position: center; position: fixed; top:0; left: 0;}
        #canvas1 { filter: grayscale(100%) contrast(200%);}
        #playButton { position: relative;}
        #spec { color: #000; position: fixed; bottom: 0; left: 0; width: 100%; box-sizing: border-box; padding: 3vw; font-size: 5vw;font-family: 'Bebas Neue', sans-serif; line-height: 1;background-color: rgba(255,255,255,.7); opacity: 0;transition: all .4s ease 0s;backdrop-filter: blur(3px);}
.end #spec { opacity: 1;}

#header { }
#download {  width: 50px; height: 50px; background-image: url("../img/download.svg"); background-position: center; background-repeat: no-repeat; background-size: 20px; cursor: pointer; background-color: rgba(0,0,0,.7); backdrop-filter: blur(3px); display: none;position: fixed; top:10px; right: 10px; z-index: 9; border-radius: 50%;}
.end #download { display: block; } 

#swap { position: relative; width: 50px; height: 50px; background-position: center; background-repeat: no-repeat; background-size: 20px; cursor: pointer; background-color: rgba(0,0,0,.7); backdrop-filter: blur(3px);position: fixed; top:10px; left: 10px; display: flex;z-index: 9; background-image: url("../img/swap.svg"); border-radius: 50%;}
.end #swap { display: none;}
        
        canvas { opacity: 0; transition: all 1s ease 0s;}
        .end canvas { opacity: 1;}
        
        #playButton { position: fixed; bottom:3vw; left: 50%; transform: translateX(-50%); text-indent: -9999px; width: 60px; height: 60px; background-color: #FFF; border-radius: 50%; cursor: pointer; z-index: 9; transition: all .4s ease 0s;}
    #playButton:before { content: ""; display: block; width: 50px; height: 50px; border-radius: 50%; box-sizing: border-box; border: 1px solid #000; position: absolute; top:50%; left: 50%; transform: translate(-50%,-50%);}
        .end #playButton,.load #playButton { transform: scale(0);}
        .end video { opacity: 0;}
      
      #restart { width: 60px; height: 60px; cursor: pointer; position: fixed; bottom: 0; right: 0; transform: scale(0); transition: all .4s ease 0s; background-image: url("../img/restart.svg"); background-repeat: no-repeat; background-position: center; background-size: 35px;}
        .end #restart { display: block; transform: scale(1);}

h1 { margin: 0; text-align: center; font-size: 12vw;font-family: 'Bebas Neue', sans-serif; line-height: 1; position: fixed; top:50%; left: 0; transform: translateY(-50%); color: #FFF; opacity: 0; transition: all .4s ease 0s; width: 100%; font-weight: normal;}
.intro h1 { opacity: 1;}

#loading { background-image: url("../img/Spinner-1s-200px.svg"); background-position: center; background-repeat: no-repeat; background-size: 60px; position: fixed; top:0; left: 0; width: 100%; height: 100svh; opacity: 0;}
.load #loading { opacity: 1;}



 @media (orientation: landscape) {
            h1 { font-size: 6vw;}
            #spec {  padding: 1vw; font-size: 2.5vw;}
    
        }

