article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block;}audio,canvas,video{display:inline-block;}audio:not([controls]){display:none;height:0;}[hidden]{display:none;}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;}body{margin:0;}a:focus{outline:thin dotted;}a:active,a:hover{outline:0;}h1{font-size:2em;margin:0.67em 0;}abbr[title]{border-bottom:1px dotted;}b,strong{font-weight:bold;}dfn{font-style:italic;}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;}mark{background:#ff0;color:#000;}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em;}pre{white-space:pre-wrap;}q{quotes:"\201C" "\201D" "\2018" "\2019";}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{top:-0.5em;}sub{bottom:-0.25em;}img{border:0;}svg:not(:root){overflow:hidden;}figure{margin:0;}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em;}legend{border:0;padding:0;}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;}button,input{line-height:normal;}button,select{text-transform:none;}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;}button[disabled],html input[disabled]{cursor:default;}input[type="checkbox"],input[type="radio"]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0;}input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;box-sizing:content-box;}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none;}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}textarea{overflow:auto;vertical-align:top;}table{border-collapse:collapse;border-spacing:0;}
*,
*::after,
*::before {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

:root {
	font-size: 15px;
}

html {
	background: #000;
}

body {
	font-family:Arial,微軟正黑體,Arial,'Trebuchet MS';
	min-height: 100vh;
	color: #57585c;
	color: var(--color-text);
	background-color: #000;
	overflow: hidden;
}

/* Color schemes */


.demo-2 {
	--color-text: #ff53ff;
	--color-link: #3c48fa;
	--color-link-hover: #fff;
	--color-title: #fff;
}

/* Fade effect */
.js body {
	opacity: 0;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.js body.render {
	opacity: 1;
}

/* Page Loader */
.js .loading::before {
	content: '';
	position: fixed;
	z-index: 100000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
/*	background: var(--color-bg);*/
}

.js .loading::after {
	content: '';
	position: fixed;
	z-index: 100000;
	top: 50%;
	left: 50%;
	width: 60px;
	height: 60px;
	margin: -30px 0 0 -30px;
	pointer-events: none;
	border-radius: 50%;
	opacity: 0.4;
	background: var(--color-link);
	-webkit-animation: loaderAnim 0.7s linear infinite alternate forwards;
	animation: loaderAnim 0.7s linear infinite alternate forwards;
}

@-webkit-keyframes loaderAnim {
	to {
		opacity: 1;
		-webkit-transform: scale3d(0.5,0.5,1);
		transform: scale3d(0.5,0.5,1);
	}
}

@keyframes loaderAnim {
	to {
		opacity: 1;
		-webkit-transform: scale3d(0.5,0.5,1);
		transform: scale3d(0.5,0.5,1);
	}
}

a {
	text-decoration: none;
	color: var(--color-link);
	outline: none;
}

a:hover,
a:focus {
	color: var(--color-link-hover);
	outline: none;
}


.content {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	width: 100vw;
	height: 100vh;
	position: relative;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.content__title {
	width: 100%;
	text-align: center;
	z-index: 100;
	font-size: 30px;
	color: var(--color-title);
    opacity: 0;
}


canvas{
    mix-blend-mode: screen;
    position:relative;
    z-index: 10;
}
.gear-container{
    position:relative;
    z-index: 100;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-top:-70px;
    width: 100%;
    
}
.gear-container p{
    color:white;
    font-size: 20px;
    text-align: center;
}
.gear-container h2{
    margin:0;
    font-size: 40px;
    font-weight: 900;
}
.gear-container img{
    width: 180px;
    transform-origin: center;
    mix-blend-mode: screen;
/*    filter:drop-shadow(3px 3px 3px rgba(0,0,0,0.5));*/

    animation: glow 2s infinite ease;
}
.gear-img-title{
    position:relative;
    width: 100%;
    overflow: hidden;
    height: 50px;
    margin-top:30px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    align-items: center;
}
.gear-img-title h2{
    position:absolute;
    letter-spacing: 5px;
    margin:0;
}

.gear-img-container{
     animation: spin 15s infinite linear ;
}
.gear-img-title h2.text-focus-in{
    animation:focus-in-contract-bck 5s cubic-bezier(0.250, 0.460, 0.450, 0.940)  both ;
}
.gear-describe.text-focus-in{
    animation:focus-in-contract 5s cubic-bezier(0.250, 0.460, 0.450, 0.940)  both ;
}
html, body {

  background: hsla(260,40%,5%,1);
    background:url("../images/bg.jpg")no-repeat center center;
    background-size: cover;
    position:relative;
    overflow: hidden;
}
.gear-img-describe{
    position:relative;
    height: 120px;
    width: 400px;
/*    overflow: hidden;*/
}
.gear-describe{
    opacity: 0;
}

.gear-img-describe p{
    width: 100%;
    position:absolute;
    margin-top:15px;
    margin-bottom:15px;
}

.gear-phase-container{
    margin-top:20px;
    max-width: 560px;
    width: 100%;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
    justify-content: center;
    color:rgb(238, 219, 82);
    font-weight: 800;
    font-family: 'Archivo Black', sans-serif;
}
.gear-time-container{
    width: 30%;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: column;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    font-size: 23px;

}
.gear-clock{
    font-size: 50px;
}
.gear-fromto{
    width: 10%;
    font-size: 40px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
    justify-content: center;
}
/*
body::after{
    content:"";
    z-index: 1;
    width: 100%;
    height: 100%;
    mix-blend-mode:screen;
    position:absolute;
    top:50%;
    left:50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    background:url("../images/planet.png")no-repeat center center;
    background-size: 700px;
    -webkit-animation: spin 30s infinite both;
    animation: spin 15s infinite linear ;
    -webkit-transform-origin: center;
    transform-origin: center;
}
*/
/*
body::before{
    content:"";
    z-index: 1;
    width: 100%;
    height: 100%;
    mix-blend-mode:screen;
    position:absolute;
    top:50%;
    left:50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    background:url("../images/planet.png")no-repeat center center;
    background-size: 710px;
    -webkit-animation: spin 30s infinite both;
    animation: spin 15s infinite reverse linear ;
    -webkit-transform-origin: center;
    transform-origin: center;
}
*/


@keyframes spin{
    from{
        transform:rotate(0deg) ;
    }
    to{
        transform:rotate(360deg) ;
    }
}
.text-focus-in {
	-webkit-animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
	animation: text-focus-in 1s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
}
@keyframes glow {
	0%,100% {
		filter:drop-shadow(1px 1px 1px #CDC559)
	}
	50% {
		filter:drop-shadow(1px 1px 15px #CDC559)
	}
}

@keyframes focus-in-contract-bck {
  0%,100%{
    letter-spacing: 1em;
    transform: translateZ(300px);
    filter: blur(12px);
    opacity: 0;
  }
    20%,90% {
    letter-spacing: 0.2em;
    transform: translateZ(12px);
    filter: blur(0);
    opacity: 1;
  }

}

@keyframes focus-in-contract {
  0%,100%{

    transform:scale(2) translateZ(300px);
    filter: blur(12px);
    opacity: 0;
  }
    20%,90% {

    transform:scale(1) translateZ(12px);
    filter: blur(0);
    opacity: 1;
  }

}
@media screen and (max-width: 500px) {
    .gear-img-describe{
        width: 80%;
    }
    .gear-container p{
        width: 100%;
        font-size: 16px;
    }
    .gear-container .gear-time{
        font-size: 16px;
    }
    .gear-container{
        margin-top:0;
    }
    .gear-container img{
        width:150px;
    }
    .gear-time-container{
         font-size: 15px;
    }
    .gear-clock{
    font-size: 30px;
}
}
