@charset "UTF-8";

/*초 숫자 폰트*/

@font-face {
	font-family: 'YaB';
	font-weight: normal;
	font-style: normal;
	src: url('../fonts/YaB.ttf');
}

html,
body,
.container {
	width: 1280px;
	height: 800px;
	overflow: hidden;
	margin: 0px;
	padding: 0px;
}

div,
img {
	position: absolute;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.container {
	position: relative;
}

.objects,
.buttons {
	width: 100%;
	/* height: 100%; */
}

.buttons {
	z-index: 10;
}

.button {
	cursor: pointer;
}

#btn_pause {
	top: 16px;
	left: 40px;
}

#btn_help {
	top: 16px;
	left: 1160px;
}
#title01 {
  left: 0px; top:0px;
}

#stage {
	padding: 0px;
	right: 140px; top: 16px; min-width: 350px; height: 84px;
	text-align: center;
}
.stage_bg {
	position: absolute;
	height: 84px;
	min-width: 33px;
}
#stage_bg_l {
	left:0;
	background: url('/tms_asset/images/stage_bg_l.png') no-repeat;
}
#stage_bg_r {
	right:0;
	background: url('/tms_asset/images/stage_bg_r.png') no-repeat;
}
#stage_bg_m {
	margin: auto;
	right:33px; left:33px;
	background: url('/tms_asset/images/stage_bg_m.png') repeat-x;
}
#stage>img {
	position: relative;
	margin-top: 17px;

}

#timerarea {
	top: 16px;
	left: 142px;
	width:204px; height:84px;
	background: url('images/timerarea.png') no-repeat;
}
#watch {
	top: 6px;
	left:18px;
	width:58px;
	height:68px;
	background: url('images/watch.png') no-repeat;
}
#second-hand {
	top: 18px;left: 19px;
	width:20px; height:27px;
	-webkit-transform:rotate(180deg);
	-moz-transform:rotate(180deg);
	transform:rotate(180deg);
	-webkit-transform-origin: 50% 75%;
	-moz-transform-origin: 50% 75%;
	transform-origin: 50% 75%;
}

#remains {
	left: 0px;	top:  0px;
	width:180px; height:80px;
	font-family: 'Rix밝은굴림', sans-serif;
	position: absolute;
	color: #333333;
	font-size: 40px;
	font-weight: bold;
	text-align: right;
	line-height: 87px;
	letter-spacing: -2px;
}

#remains::after {
	content: '초';
	font-size: 35px;
}

#title_t {
	top: 25px;
	left: 544px;
	width: 206px;
	height: 72px;
	position: absolute;
}

#title_t p {
	font-family: 'YaB';
	color: #fff;
	font-size: 116px;
	line-height: 72px;
	letter-spacing: -3.3px;
	margin: 0 !important;
}

#text_input {
	top: 14px;
	left: 442px;
}

#finish {
    font-family: 'Rix밝은굴림', sans-serif;
    font-weight: bold;
    font-size: 60px;
    text-align: center;
    width: 100%;
    height: 100%;
    display: table-cell;
    vertical-align: middle;
    padding-top: 387px;
	color: #e03733;
	z-index: 100;
}

/* 시작, 도움말 팝업 화면 */
#start,
#start2 {
	width: 1280px;
	height: 800px;
	top: 0;
	left: 0;
	z-index: 5;
	/* display:none; */
}

#start2 {
	background-color:rgba(0,0,0,0.3);
	display: none;
}
#fi1,#fi2,#fi3 {
	margin: auto;
	top:0;bottom:0;left:0;right:0;
	width:250px; height:269px;
}
#fi2,#fi3 {
	display: none;
}

#bg {
	width: 1280px;
	height: 800px;
	top: 0;
	left: 0;
}

#btn_start {
	top: 320px;
	left: 495px;
	cursor: pointer;
}

#btn_desc {
	top: 445px;
	left: 495px;
	cursor: pointer;
}


/* 시작, 도움말 팝업 화면 끝 */

#content_area {
	top: 0px;	left: 0px;
	width: 1280px;	height: 800px;
	z-index: 1;
	/* border: 1px solid red; */
}

#question {
	top:293px;
	left:220px;
}
#q2 {
	left:207px;
}
#box {
	left: 664px;
	top: 206px;
	width:380px;
	height:416px;
}

.r1 { top:  0px;}
.r2 { top: 88px;}
.r3 { top:176px;}
.r4 { top:264px;}
.r5 { top:352px;}

.c1 { left:  0px;}
.c2 { left: 82px;}
.c3 { left:164px;}
.c4 { left:246px;}
.c5 { left:328px;}

.num.blink{
	-webkit-animation:blink 1.5s ease-in-out infinite alternate;
  -moz-animation:blink 1.5s ease-in-out infinite alternate;
  animation:blink 1.5s ease-in-out infinite alternate;
}

@-webkit-keyframes blink{
    0% {opacity: .2;}
    100% {opacity: 1;}
}
@-moz-keyframes blink{
    0% {opacity: 0.2;}
    100% {opacity: 1;}
}
@keyframes blink{
    0% {opacity: .2;}
    100% {opacity: 1;}
}

#cvs {
	position: absolute;
	top:186px;
	left:644px;
	width:420px;
	height:456px;
	z-index: 10;
	/* border:1px solid red; */
}

.shake {
	animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) infinite both;
	transform: translate3d(0, 0, 0);
	backface-visibility: hidden;
	perspective: 1000px;
}
@keyframes shake {
	10%, 90% {
		transform: translate3d(-1px, 0, 0);
	}

	20%, 80% {
		transform: translate3d(2px, 0, 0);
	}

	30%, 50%, 70% {
		transform: translate3d(-4px, 0, 0);
	}

	40%, 60% {
		transform: translate3d(4px, 0, 0);
	}
}
