@font-face {
	font-family: 'subset-RaleGrotesk-Medium';
	src: url('subset-RaleGrotesk-Medium.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}


/** COMMON SETUP */
#banner
{
	position: relative;
	background: #fff;
	color: #3c4757;
	width: 300px;
	height: 250px;
	overflow: hidden;
	font-family: 'subset-RaleGrotesk-Medium';
	font-weight: normal;
	font-style: normal;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
*,
*:before,
*:after
{
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#banner img
{
	display: inline-block;
	border: none;
	vertical-align: top;
}
#banner .clicktag
{
	cursor: pointer;
}
#banner #clicktag1,
#banner #clicktag2
{
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	border: 1px solid #3c4757;
	z-index: 888;
	width: 100%;
	height: 100%;
}
sub,
sup
{
	position: relative;
	vertical-align: baseline;
	font-size: 75%;
	line-height: 0;
}
sup
{
	top: -0.5em;
}
sub
{
	bottom: -0.25em;
}
/** LOGO */
.logo
{
	position: absolute;
	z-index: 400;
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;

}

#logo1.waiting 
{
	opacity: 1;
	transform: translate3d(0,0,0) scale(0);
	transition: none !important;
}
#logo1.in 
{
	opacity: 1;
	transform: translate3d(0,0,0) scale(1);
	transition: transform .4s ease-out;
}
#logo1.out 
{
	opacity: 0;
	transform: translate3d(0,0,0) scale(.8);
	transition: transform .8s ease-out, opacity .6s ease-out
}
#logo2.waiting 
{
	opacity: 1;
	transform: translate3d(0,0,0) scale(0);
	transition: none !important;
}
#logo2.in 
{
	opacity: 1;
	transform: translate3d(0,0,0) scale(1);
	transition: transform .4s ease-out, opacity .4s ease-out
}
#logo2.out 
{
	opacity: 0;
	transform: translate3d(0,0,0) scale(.8);
	transition: transform .4s ease-out, opacity .4s ease-out
}
#logo1
{
    right: 24px;
    top: 16px;
}
#logo2
{
    right: 39px;
    top: 70px;
}


/** IMAGES */
.image
{
	position: absolute;
	top:0;
	left: 0;
	z-index: 111;
	width: 840px;
	height: 600px;
}
.image img
{
	will-change: transform;
	backface-visibility: hidden;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.image.waiting img
{
	opacity: 1;
	transition: none !important;
	transform: translate3d(-350px,-100px,0) scale(1);
}
.image.in img
{
	transform: translate3d(-350px,-100px,0) scale(1.4);
	transition: transform 14s ease-out;
}
.image.out img
{
	transform: translate3d(-350px,-100px,0) scale(1);
	transition: transform 12s ease-out;
}

/** COPY */
.copy
{
	position: absolute;
	z-index: 400;
	white-space: nowrap;
}
#copy1,#copy2
{
	top: 66px;
	left: 0px;
	line-height: 38px;
	font-size: 35px;
	letter-spacing: 0.01em;
	text-align: center;
	width:300px;
}
#copy3
{
	top: 120px;
    left: 0px;
    line-height: 18px;
    font-size: 14px;
	letter-spacing: 0.01em;
	text-align: center;
	width:300px;
}

.copy.waiting 
{
	opacity: 0;
	transition: none !important;
}

.copy.in 
{
	opacity: 1;
	transition: opacity 1.5s ease-out;
}

.copy.out 
{
	opacity: 0;
	transition: opacity .8s ease-out;
}

.copy span
{
	position: relative;
	display: inline-block;
	vertical-align: top;
}


.copy.waiting span
{
	opacity: 0;
	transform: translate3d(-30px,0,0);
	transition: none !important;
}

.copy.in span
{
	opacity: 1;
	transform: translate3d(0,0,0);
	transition: transform .6s ease-out, opacity 1s ease-in;
}

.copy.out span
{
	opacity: 0;
	transform: translate3d(20px,0,0);
	transition: transform .8s ease-out, opacity .6s ease-out;
}

/** COPY DEFAULT ANIMATION IN */
.copy.in span:nth-of-type(1) { transition-delay: 0s; }
.copy.in span:nth-of-type(2) { transition-delay: .7s; }
.copy.in span:nth-of-type(3) { transition-delay: 1.4s; }



#copy1 .dot
{
	position: relative;
	top: 0px;
	display: inline-block;
	vertical-align: top;
	font-style: normal;
	font-size: 35px;
}
#copy1.waiting .dot
{
	opacity: 0;
	transform: translate3d(0,0,0);
	transition: none !important;
}
#copy1.out .dot
{
	opacity: 0;
	transform: translate3d(20px,0,0);
	transition: transform .6s ease-out, opacity .4s ease-out;
}
#copy1.in .dot
{
	opacity: 1;
	transform: translate3d(0,0,0);
	transition: opacity .6s ease-out;
	transition-delay: 2.6s;
}

/** BUTTON */
.btn
{
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;

	position: absolute;
    top: 159px;
    left: 54px;
	z-index: 700;
	white-space: nowrap;
	
}
.btn.in
{
	opacity: 1;
	transition: opacity 1.5s ease-out;
}
.btn.out
{
	opacity: 0;
	transition: opacity .8s ease-out;
}
.btn.waiting
{
	opacity: 0;
	transition: none !important;
}


