@charset "utf-8";

*{
	font-family: 'Open Sans', sans-serif;
}
::selection {background:rgba(0,0,0,0);}

html, body { height: 100%;min-height:640px; }

body{
	/*background-image:url(../img/loading-30.gif);
	background-repeat:no-repeat;*/
}

.wrap{
	position:relative;
	z-index:10;
	width:620px;
	height:calc( 100% - 60px );
	min-height:760px;/*690*/
	margin:0 auto;
	text-align: center;
}
.flex-box{
	display:flex;
	text-align: center;
	justify-content: center;
	height: 100%;
	/*min-height:px;*/
	/*max-height:690px;*/
	align-items: center;
}
.center-box{
	margin-top:80px;
}
header h1{
	font-size:18px;
	color:#FFF;
	margin-bottom:55px;
}
.flex-box{
	opacity:0;
}
.nav{
	display:flex;
	margin-top:5rem;
	text-align:center;
	justify-content: center;
}
.tw{
	padding-top:10px;
	height:21px;
	margin-right:1.2rem;
}
.logo{
	height:46px;
	margin-left:1.2rem;
}
p{
	margin:0;
}
figure{
	margin:0;
}
a{
	transition:0.2s;
}
a:hover{
	opacity:0.75;
}

footer{
	position:absolute;
	margin:auto;
	left:0;
	right:0;
	bottom:20px;
}
footer small{
	font-size:12px;
	color:#333333;
}

.bgimage{
	border-top:solid #FFF 60px;
	border-bottom:solid #FFF 60px;
	width:100%;
	min-width:620px;
	height:100%;
	min-height:810px;
	position:absolute;
	z-index:-1;
	top:0;
	left:0;
	background-repeat: no-repeat;
	background-size:cover;
	background-position:center top;
}

#bg-wrap{
	background: -moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 3%, rgba(255,255,255,0) 97%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 3%,rgba(255,255,255,0) 97%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to right, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 3%,rgba(255,255,255,0) 97%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=1 ); /* IE6-9 */
	z-index:4;
}

#A{
	background-image:url(../img/B.jpg);
	opacity:0;
	transform:scale(1);
	  /*animation-name: scale;
	  animation-duration: 15s;
	  animation-timing-function: linear;
	  animation-delay: 1s;
	  animation-iteration-count: 1;
	  animation-direction: alternate;
	  animation-fill-mode: none;
	  animation-play-state: running;*/
}
#B{
	background-image:url(../img/A.jpg);
	z-index:2;
	opacity:0;
	transform:scale(1);
}
#C{
	position: absolute;
    top: 0%;
    left: 0%;
    display: block;
	background-image:url(../img/white_noise.png);
	background-size:100px;
	background-position: 0px;
	background-repeat:repeat;
	background-position:center center;
	z-index:3;
	-webkit-animation: noise .3s 0s steps(2) infinite;
	animation: noise .3s 0s steps(2) infinite;
}

@keyframes noise {
	0% { background-position: 0px; }
  	100% { background-position: 100px; }
}

@keyframes scale {
	0% { transform:scale(1); }
  	100% { transform:scale(1.2); }
}