@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');
}


html,
body,
.container {
	width: 1280px;
	height: 800px;
	overflow: hidden;
	margin: 0px;
	padding: 0px;
	font-family: 'Rix밝은굴림', sans-serif;
}

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

.button {
	cursor: pointer;
}


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

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

#stage {
	padding: 0px 20px;
	right: 140px; top: 16px; min-width: 180px; 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: 60px;
	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; */
	left: 485px;
	width: 323px;
	height: 72px;
	position: absolute;
	text-align: center;
}

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

#text_input {
	top: 14px;
    left: 442px;
    width: 400px;
    height: 94px;
    /* filter: hue-rotate(360deg); */
    background: white;
	border-radius: 38px;
	filter: drop-shadow(5px 5px 1px);
}

#finish {
	position: absolute;
	top:0px;
    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;
	display: none;
}

/* 시작, 도움말 팝업 화면 */
#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_l {
	/* top: 88px; */
	top: 0px;
	left: 0px;
	width: 420px;
	height: 650px;
	/* border: 1px solid red; */
}


/* 다섯가지 표정의 늑대 */

#wolf-0 {
	top: 37px;
	left: 129px;
	position: absolute;
	z-index: 3;
}

#wolf-1 {
	top: 37px;
	left: 111px;
	position: absolute;
	z-index: 3;
	display: none;
}

#wolf-2 {
	top: 37px;
	left: 125px;
	position: absolute;
	z-index: 3;
	display: none;
}

#wolf-3 {
	top: 37px;
	left: 125px;
	position: absolute;
	z-index: 3;
	display: none;
}

#wolf-4 {
	top: 37px;
	left: 78px;
	position: absolute;
	z-index: 3;
	display: none;
}


/* 늑대 그림자 */

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


/* 늑대의 벽돌 */

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

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

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

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

#wolf_brick-4 {
	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_x-1 {
	position: absolute;
	top: 578px;
	left: 106px;
}

#wolf_x-2 {
	position: absolute;
	top: 578px;
	left: 181px;
}

#wolf_x-3 {
	position: absolute;
	top: 578px;
	left: 256px;
}

#wolf_x-4 {
	position: absolute;
	top: 578px;
	left: 331px;
}


/* 왼 쪽 늑대 영역 끝 */


/* 오른쪽 돼지 영역 */

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


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

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

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

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

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

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


/* 돼지 그림자 */

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


/* 돼지의 벽돌 */

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

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

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

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

#pig_brick-4 {
	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_x-1 {
	position: absolute;
	top: 578px;
	left: 58px;
}

#pig_x-2 {
	position: absolute;
	top: 578px;
	left: 133px;
}

#pig_x-3 {
	position: absolute;
	top: 578px;
	left: 208px;
}

#pig_x-4 {
	position: absolute;
	top: 578px;
	left: 283px;
}


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


/* 가운데 풍선 영역 */

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

	transition: top 1s ease-out;
	/* animation: up 1s; */
}

#content_area_c.active {
	top: 2px;
}

@keyframes up {
	0% {
		transform: translateY(500px);
	}

	100% {
		transform: translateY(2px);
	}
}

.balloon {
	z-index: 10;
	width: 145px;
	height: 189px;
}

#balloon1 {
	position: absolute;
	top: 4px;
	left: 124px;
	cursor:pointer;
	animation: shake2 2.5s infinite ;
}

#balloon2 {
	position: absolute;
	top: 124px;
	left: 280px;
	cursor:pointer;
	animation: shake2 2.5s 0.3s infinite ;
}

#balloon3 {
	position: absolute;
	top: 210px;
	left: 20px;
	cursor:pointer;
	animation: shake2 2.5s 0.6s infinite ;
}

#balloon4 {
	position: absolute;
	top: 334px;
	left: 224px;
	cursor:pointer;
	animation: shake2 2.5s 0.9s infinite ;
}

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

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


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


.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);
	}
}
@keyframes shake2 {
	10%, 90% {
		transform: translate3d(-2px, 0px, 0);
	}

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

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

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