@charset "UTF-8";

/* @font-face {
	font-family: 'Rix밝은굴림'; font-weight: bold; font-style: normal; src: url('/tms_asset/fonts/GulimAi2 Bold.woff');
}
@font-face {
	font-family: 'Rix밝은굴림'; font-weight: normal; font-style: normal; src: url('/tms_asset/fonts/GulimAi2 Medium.woff');
} */
@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;
}

div.stick {
	top:245px;
	left:950px;
}

div.stick > img:nth-child(1) {
	top:-25px;
	left: 0;
	opacity:.2;
	transform: scale(0);
	transition: all .5s 1s;
}

div.stick.active > img:nth-child(1) {
	opacity:1;
	transform: scale(1.5);
}

ul.stars {
	width:100%;
	height:100%;
	margin: 0;
	padding: 0;
}

ul.stars > li.star {
	position:absolute;
	display:block;
	list-style:none;
	margin:0;
	width:8px;
	height:8px;
	border-radius: 50%;
	background: radial-gradient(ellipse at center, rgb(61,192,201) 0%, transparent 100%);

	-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;}
}

ul.stars > li.star:nth-child(1) {
	top:53px;
	left:58px;
}
ul.stars > li.star:nth-child(2) {
	top:111px;
	left:157px;
}
ul.stars > li.star:nth-child(3) {
	top:300px;
	left:280px;
	background: radial-gradient(ellipse at center, rgb(164,152,97) 0%, transparent 100%);

}
ul.stars > li.star:nth-child(4) {
	top:560px;
	left:256px;
	background: radial-gradient(ellipse at center, rgb(164,152,97) 0%, transparent 100%);
}
ul.stars > li.star:nth-child(5) {
	top:200px;
	left:50px;
}
ul.stars > li.star:nth-child(6) {
	top:200px;
	left:900px;
}
ul.stars > li.star:nth-child(7) {
	top:200px;
	left:1070px;
}
ul.stars > li.star:nth-child(8) {
	top:86px;
	left:1088px;
}
ul.stars > li.star:nth-child(9) {
	top:400px;
	left:50px;
	background: radial-gradient(ellipse at center, rgb(164,152,97) 0%, transparent 100%);

}
ul.stars > li.star:nth-child(10) {
	top:110px;
	left:240px;
}
ul.stars > li.star:nth-child(11) {
	top:100px;
	left:1087px;
}
ul.stars > li.star:nth-child(12) {
	top:70px;
	left:1125px;
}
ul.stars > li.star:nth-child(13) {
	top:400px;
	left:150px;
	background: radial-gradient(ellipse at center, rgb(164,152,97) 0%, transparent 100%);
}
ul.stars > li.star:nth-child(14) {
	top:425px;
	left:300px;
	background: radial-gradient(ellipse at center, rgb(164,152,97) 0%, transparent 100%);
}
ul.stars > li.star:nth-child(15) {
	top:80px;
	left:30px;
}
ul.stars > li.star:nth-child(16) {
	top:60px;
	left:920px;
}
ul.stars > li.star:nth-child(17) {
	top:4px;
	left:700px;
}
ul.stars > li.star:nth-child(18) {
	top:450px;
	left:880px;
	background: radial-gradient(ellipse at center, rgb(164,152,97) 0%, transparent 100%);
}

.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;
	display: none;
}
.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('/tms_asset/images/timerarea.png') no-repeat;
}
#watch {
	top: 6px;
	left:18px;
	width:58px;
	height:68px;
	background: url('/tms_asset/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 {
	position: absolute;
	top: 93px;
	left: 514px;
	width: 233px;
	height: 72px;
}

#title_t p {
	font-family: 'Rix밝은굴림', sans-serif;
	color: #fff;
	font-size: 90px;
	line-height: 72px;
	letter-spacing: 0px;
	margin: 0 !important;
	text-align:center;
}

#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: 125px;
	left: 20px;
	width: 1220px;
	height: 650px;
	/* border: 1px solid red; */
}

#content_area > #block-panel {
	opacity:0;
	transition: opacity .5s 1s;
}

/* 테이블 영역 */
#content_area_table {
	/* top: 280px;
	left: 40px; */
    top: 430px;
    left: 385px;
    width: 500px;
    height: 152px;
    /* border: 1px solid red; */
}
#bottle1 {
	top: 320px;
	left: 90px;
	position: absolute;
	z-index: 3;
}
#bottle2 {
	top: 280px;
	left: 220px;
	position: absolute;
	z-index: 3;
}
#bottle3 {
	top: 280px;
	left: 890px;
	position: absolute;
	z-index: 3;
}
#bottle4 {
	top: 320px;
	left: 1040px;
	position: absolute;
	z-index: 3;
}
#content_area_left {
	top: 120px;
	left: 430px;
}
#content_area_right {
	top: 120px;
	left: 660px;
}
#content_area_op {
	top: 140px;
	left: 570px;
}
#wolf5 {
	top: 37px;
	left: 78px;
	position: absolute;
	z-index: 3;
	display: none;
}


/* 늑대 그림자 */

#wolf_shadow {
	top: 332px;
	left: 166px;
	position: absolute;
	z-index: 2;
}


/* 늑대의 벽돌 */

#wolf_brick1 {
	position: absolute;
	top: 295px;
	left: 50px;
	z-index: 1;
}

#wolf_brick2 {
	position: absolute;
	top: 305px;
	left: 45px;
	z-index: 1;
	display: none;
}

#wolf_brick3 {
	position: absolute;
	top: 306px;
	left: -24px;
	z-index: 1;
	display: none;
}

#wolf_brick4 {
	position: absolute;
	top: 309px;
	left: -82px;
	z-index: 1;
	display: none;
}

#wolf_brick5 {
	position: absolute;
	top: 309px;
	left: -82px;
	z-index: 1;
	display: none;
}


/* 늑대의 벽돌 그림자 */

#brickshadow1 {
	position: absolute;
	top: 380px;
	left: 41px;
}


/* 늑대 x박스 */

#wolf_xbox {
	position: absolute;
	top: 561px;
	left: 88px;
}

#wolf_x1 {
	position: absolute;
	top: 578px;
	left: 106px;
}

#wolf_x2 {
	position: absolute;
	top: 578px;
	left: 181px;
}

#wolf_x3 {
	position: absolute;
	top: 578px;
	left: 256px;
}

#wolf_x4 {
	position: absolute;
	top: 578px;
	left: 331px;
}


/* 왼 쪽 늑대 영역 끝 */


/* 오른쪽 돼지 영역 */

#content_area_r {
	top: 0px;
	right: 0px;
	width: 390px;
	height: 650px;
	/* border: 1px solid red; */
}


/* 다섯가지 표정의 돼지 */

#pig1 {
	top: 63px;
	left: 81px;
	position: absolute;
	z-index: 3;
}

#pig2 {
	top: 63px;
	left: 73px;
	position: absolute;
	z-index: 3;
	display: none;
}

#pig3 {
	top: 63px;
	left: 83px;
	position: absolute;
	z-index: 3;
	display: none;
}

#pig4 {
	top: 60px;
	left: 81px;
	position: absolute;
	z-index: 3;
	display: none;
}

#pig5 {
	top: 57px;
	left: 108px;
	position: absolute;
	z-index: 3;
	display: none;
}


/* 돼지 그림자 */

#pig_shadow {
	top: 332px;
	left: 122px;
	position: absolute;
	z-index: 2;
}


/* 돼지의 벽돌 */

#pig_brick1 {
	position: absolute;
	top: 295px;
	left: 2px;
	z-index: 1;
}

#pig_brick2 {
	position: absolute;
	top: 307px;
	left: -3px;
	z-index: 1;
	display: none;
}

#pig_brick3 {
	position: absolute;
	top: 307px;
	left: -72px;
	z-index: 1;
	display: none;
}

#pig_brick4 {
	position: absolute;
	top: 309px;
	left: -130px;
	z-index: 1;
	display: none;
}

#pig_brick5 {
	position: absolute;
	top: 309px;
	left: -130px;
	z-index: 1;
	display: none;
}


/* 돼지의 벽돌 그림자 */

#brickshadow2 {
	position: absolute;
	top: 380px;
	left: -7px;
}


/* 돼지 x박스 */

#pig_xbox {
	position: absolute;
	top: 561px;
	left: 40px;
}

#pig_x1 {
	position: absolute;
	top: 578px;
	left: 58px;
}

#pig_x2 {
	position: absolute;
	top: 578px;
	left: 133px;
}

#pig_x3 {
	position: absolute;
	top: 578px;
	left: 208px;
}

#pig_x4 {
	position: absolute;
	top: 578px;
	left: 283px;
}


/* 오른쪽 돼지 영역 끝 */


/* 가운데 풍선 영역 */

#content_area_c {
	top: 2px;
	left: 401px;
	width: 438px;
	height: 532px;
	/* border: 1px solid red; */
}

#balloon1 {
	position: absolute;
	top: 4px;
	left: 124px;
	cursor:pointer;
}

#balloon2 {
	position: absolute;
	top: 124px;
	left: 280px;
	cursor:pointer;
}

#balloon3 {
	position: absolute;
	top: 210px;
	left: 20px;
	cursor:pointer;
}

#balloon4 {
	position: absolute;
	top: 334px;
	left: 224px;
	cursor:pointer;
}

.digit1 {
	position: absolute;
	top: 45px;
	left: 28px;
}

.digit2 {
	position: absolute;
	top: 45px;
	left: 68px;
}


/* 가운데 풍선 영역 끝 */




#bomb_box {
	position: absolute;
    top: 110px;
    left: 200px;
    width: 785px;
    height: 500px;
}
#bomb {
	top:0; left: 0;
	width:786px;
}
#b_line {
	top:104px;
	left:74px;
	width:119px;
}
#flame {
	top:0px;
	left:0px;
	display: none;
}
#flame>img {
	width: 192px;
}
#flame2 {
	display: none;
}
#explosion {
	margin: auto;
	top:-85px;
	left: 0; right:0;
	width:790px;
	transform-origin: center;
	transform: scale(0.5);
	display: none;
}
#bomb1 {
	display: none;
    top: 110px;
    left: 200px;
    width: 785px;
    position: absolute;
    height: 500px;
}

#n_1{top:0px; left:0px; width: 70px; height: 70px;}
#n_2{top:0px; left:85px; width: 70px; height: 70px;}
#n_3{top:0px; left:170px; width: 70px; height: 70px;}
#n_4{top:0px; left:255px; width: 70px; height: 70px;}
#n_5{top:0px; left:340px; width: 70px; height: 70px;}
#n_6{bottom:0px; left:0px; width: 70px; height: 70px;}
#n_7{bottom:0px; left:85px; width: 70px; height: 70px;}
#n_8{bottom:0px; left:170px; width: 70px; height: 70px;}
#n_9{bottom:0px; left:255px; width: 70px; height: 70px;}
#n_0{bottom:0px; left:340px; width: 70px; height: 70px;}
#n_v{bottom:0px; right:0px; width: 70px; height: 70px;}

.num.down {
	transform-origin: 0 0;
    transform: translate(1px,1px);
}

#num_a1{top:0px;left:0px; width:43px;}
#num_a2{top:0px;left:63px; width:43px;}
#num_a3{top:0px;right:0px;width:43px;}

#content_area_top{
    top: 285px;
    left: 553px;
    width: 170px;
    height: 80px;
    position: absolute;
    /* 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);
	}
}

