
@font-face {
  font-family: 'Nanum Barun Gothic';
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/NanumBarunGothic.eot);
  src: local('Nanum Barun Gothic'),
       local('NanumBarunGothic'),
       url(../fonts/NanumBarunGothic.eot?#iefix) format('embedded-opentype'),
       url(../fonts/NanumBarunGothic.woff2) format('woff2'),
       url(../fonts/NanumBarunGothic.woff) format('woff'),
       url(../fonts/NanumBarunGothic.ttf) format('truetype');
}

@font-face {
  font-family: 'Nanum Barun Gothic';
  font-style: normal;
  font-weight: 700;
  src: url(../fonts/NanumBarunGothicBold.eot);
  src: local('Nanum Barun Gothic Bold'),
       local('NanumBarunGothicBold'),
       url(../fonts/NanumBarunGothicBold.eot?#iefix) format('embedded-opentype'),
       url(../fonts/NanumBarunGothicBold.woff2) format('woff2'),
       url(../fonts/NanumBarunGothicBold.woff) format('woff'),
       url(../fonts/NanumBarunGothicBold.ttf) format('truetype');
}


/* ------------------------------------------------
   1) HTML/Body 기본 설정
------------------------------------------------ */

body {
  font-family: 'Nanum Barun Gothic', sans-serif;
  font-size: 24px;   /* 기본 폰트 크기 */
  font-weight: 400;  /* 기본 폰트 두께 */
  margin: 0;
  padding: 0;
  background: #027400;
  line-height:200%;
}

/* ------------------------------------------------
   2) 자주 쓰는 유틸리티 클래스
------------------------------------------------ */
/* 드래그 방지 */
.no-drag {
  -ms-user-select: none;
  -moz-user-select: -moz-none;
  -webkit-user-select: none;
  user-select: none;
}

/* 숨김 */
.hide {
  display: none !important;
}
.show {
  display: block !important;
}

/* 커서 포인터 */
.pointer {
  cursor: pointer;
}

/* 텍스트 정렬 */
.ac { text-align: center !important; }
.al { text-align: left   !important; }
.ar { text-align: right  !important; }

/* float & clear */
.fl { float: left; }
.fr { float: right; }
.cboth { clear: both; }

/* Flex 공통 */
.flex-row {
  display: flex;
  flex-flow: row;
}
.flex-col {
  display: flex;
  flex-flow: column;
}
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed    { position: fixed; }

/* 마진 (예시: 일부만) */
.mb0  { margin-bottom: 0; }
.mb5  { margin-bottom: 5px; }
.mb10 { margin-bottom: 10px; }
.mb20 { margin-bottom: 20px; }

.mt0  { margin-top: 0; }
.mt5  { margin-top: 5px; }
.mt10 { margin-top: 10px; }
.mt20 { margin-top: 20px; }

.mr5  { margin-right: 5px; }
.mr10 { margin-right: 10px; }
.mr20 { margin-right: 20px; }

.ml5  { margin-left: 5px; }
.ml10 { margin-left: 10px; }
.ml20 { margin-left: 20px; }

.mb5  { margin-bottom: 5px; }
.mb10 { margin-bottom: 10px; }
.mb20 { margin-bottom: 20px; }

/* 패딩 (예시) */
.pb5  { padding-bottom: 5px; }
.pt5  { padding-top: 5px; }

/* 폭/높이 예시 */
.w100 { width: 100%; }
.h100 { height: 100%; }

/* ------------------------------------------------
   3) 헤더(PC/모바일 겸용) - 하나의 블록으로 사용
     - 모바일: 높이 70px, 폰트 16px
     - PC(1025px 이상): 높이 80px, 폰트 35px
------------------------------------------------ */

/* 공통 헤더 구조 (모바일 우선) */
.main-contents-header {
  width: 100%;
  height: 120px;         /* 모바일에서 헤더 높이 */
  background-color: #000;
  position: fixed;
  top: 0;
  z-index: 100;

  /* Flex 레이아웃: 가로 배치 */
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
}

/* 실제 내부 래퍼 */
.main-contents-header .header-wrap {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;

  /*  최대 폭을 정하거나,
      혹은 그냥 100%로만 쓰고 싶으면
      width: 100%;
  */
  width: 100%;
  padding: 0 50px;
  box-sizing: border-box;
}

/* 왼쪽/가운데/오른쪽 구역 */
.header-left,
.header-center,
.header-right {
  display: flex;
  align-items: center;
}
.header-left   { justify-content: flex-start; }
.header-center { justify-content: center; }
.header-right  { justify-content: flex-end; }

/* 헤더 안의 텍스트(모바일 기본) */
.header-text-al,
.header-text,
.header-text-ar {
  color: #ffffff;
  font-size: 16px;  /* 모바일 기본 */
  font-weight: 600; /* or 원하는 굵기 */
  margin: 0;
  padding: 0;
  cursor:pointer;
}

.header-center img {
	width:280px;
}

/* 추가 여백(선택사항) */
.header-text-al { padding-left:  15px; }
.header-text-ar { padding-right: 45px; }

/* PC 해상도(1025px 이상)에서 헤더 높이와 폰트 키움 */
@media (min-width: 1025px) {
  .main-contents-header {
    height: 120px; /* PC용 헤더 높이 */
  }
  .header-text-al,
  .header-text,
  .header-text-ar {
    font-size: 40px; /* PC에서 크게 */
  }
}

/* 본문 컨테이너(헤더 높이만큼 상단 여백) */
.main-contents-body {
  /* 모바일(기본) - 헤더가 70px */
  padding-top: 80px;
  width:100%;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 130px);

}

/* PC일 때는 조금 더 여백(예: 150px) */
@media (min-width: 1025px) {
  .main-contents-body {
    padding-top: 150px;
  }
}

.main-contents-footer {
  width: 100%;
  height: 50px;
  background-color: #252525; /* 원하는 색상 */
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 100;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* 푸터 내의 텍스트 스타일 */
.main-contents-footer p {
  color: #fff;      /* 흰 글자 */
  font-size: 14px;  /* 예: 14px */
  margin: 0;
}

/* 본문 높이에서 푸터 높이만큼 여백 (안 하면 푸터와 겹침) */
.main-contents-body {
  /* 이미 위쪽은 헤더 때문에 padding-top이 있을 것 */
  padding-bottom: 30px; /* 푸터 높이가 50px이면 여유로 60px 정도 */
}
/* ------------------------------------------------
   4) 예시: 버튼 색상, 배경색 유틸 등
   - 자주 쓰는 색상만 골라서 간단히 남김
------------------------------------------------ */
button.btn-red {
  color: #fff;
  background-color: #E50012;
  border: 1px solid #E50012;
  outline: none;
}
button.btn-red:hover {
  background-color: #a8000d;
  border: 1px solid #a8000d;
}
button.btn-gray {
  color: #fff;
  background-color: #737373;
  border: 1px solid #616161;
}
button.btn-gray:hover {
  background-color: #616161;
  border: 1px solid #484848;
}
/* 필요 시 다른 색상(button.btn-orange, btn-blue 등)도 추가 */

/* 배경색·글자색 유틸 예시 */
.bg-black  { background-color: #000; }
.color-red { color: #E50012; }

.call-admin-keypad {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.call-admin-keypad .row {
  display: flex;
  justify-content: center;
}

.f14 {
	font-size:11px !important;
	margin-right:10px;
	vertical-align:middle;
}

.call-admin-key-btn {
  width: 160px;
  height: 80px;
  font-size: 24px;
  margin: 5px;
  border: none;
  background-color: #ddd;
  border-radius: 10px;
  cursor: pointer;
}

.call-admin-key-btn:hover {
  background-color: #bbb;
}

#call-admin-delete-btn {
  background-color: #ff9999;
}

#call-admin-clear-btn {
  background-color: #ffcc66;
}

.admin-pass-keypad {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.admin-pass-keypad .row {
  display: flex;
  justify-content: center;
}

.admin-pass-key-btn {
  width: 160px;
  height: 80px;
  font-size: 24px;
  margin: 5px;
  border: none;
  background-color: #ddd;
  border-radius: 10px;
  cursor: pointer;
}

.admin-pass-key-btn:hover {
  background-color: #bbb;
}

#admin-pass-delete-btn {
  background-color: #ff9999;
}

#admin-pass-clear-btn {
  background-color: #ffcc66;
}

/* main.jsp */
/* 첫 화면 버튼 구역 */

.first-screen {
	width:100%;
	height:100%;
	margin:0 auto;
	background-image: url(/images/main_bg_1.png);
	background-repeat:no-repeat;
	background-position: top;
}

.first_button-area {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;          /* 버튼 사이 여백 */
  margin-top: 15px;   /* 헤더 아래 어느정도 띄우기 */
  height:100%;
}



/* "시작" 버튼(검정) */
.btn-start {
  width: 30vw;
  height: 30vw;
  background-color: #000;
  color: #fff;
  font-size: 6vw;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

/* "결제" 버튼(빨강) */
.btn-pay {
  width: 30vw;
  height: 30vw;
  background-color: #ff0000;
  color: #fff;
  font-size: 6vw;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.btn-start:hover, .btn-pay:hover {
  opacity: 0.8;  /* 호버 시 살짝 어둡게 */
}

/* 타이머 박스 */
.timer-box {
  margin: 40px auto 0 auto;
  width: 150px;
  height: 80px;
  background-color: #000;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
}

/* 입력 영역과 키패드 나란히 배치 */

.login_input_area {
  margin-right:50px;
}

/* 입력 필드 */
.login_input_group {
  gap: 10px;
}

.top_admin_area {
	margin-right:-50px;
	width:317px;
	height:120px;
	background-image: url('/images/img_top_amdin_bg.png');
	background-repeat : no-repeat;
	background-size:317px;
	background-position: center;
}

.login_label {
  width: 200px;
  height:80px;
  background: #FFBF02;
  padding: 15px;
  text-align: center;
  font-size: 30px;
  font-weight:600;
  color: #000;
}

.login_input_box {
  width: 400px;
  height: 80px;
  font-size: 36px;
  font-weight:600;
  text-align: center;
}

.btn_submit {
  width: 150px;
  height:80px;
  background: #000;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
}

/* 이용약관 */
.terms_box {
  width: 100%;
  height: 70px;
  background: #024500;
  color: #fff;
  font-size: 24px;
  text-align:center;
  padding:15px;
}

.key_pad {
	width:100%;
}
/* 키보드 버튼*/
.key_btn {
  width: 120px;
  height: 120px;
  font-size: 60px;
  font-weight: 600;
  margin: 10px;
  border: none;
  background-color: #fff;
  border-radius: 20px;
  cursor: pointer;
}

/* 버튼 클릭(누르는) 시 반전 효과 */
.key_btn:active {
  background-color: #FFBF02; /* 배경 검정 */
  color: #fff;           /* 글자 흰색 */
}

.special_btn {
    background: #FFBF02;
}
.back_btn {
	color:#fff;
    background: #E60113;
}

.auth_text {
	width:100%;
	display: block;
	text-align: right;
	padding: 10px;
	font-size: 30px;
	color: #fff;
	margin-bottom:50px;
}

.bottom_area {
	display: flex;
	justify-content : space-between;
	width:100%;
	height:120px;
	padding:0 50px;
}

.bottom_area img {
	width:240px;
	cursor: pointer;
}

.color-waining {
	margin-top:10px;
	color:#fff;
	font-size:2rem;
}

.modal {
	top:250px;
}

.modal-content {
	border-radius: 30px;
	padding:25px;
}

.modal-footer {
	margin:auto;
}

.modal-body {
	height:250px;
	padding:50px;
	font-size:40px;
	color:#527bc1;
	text-align:center;
}

.modal_btn {
	width:250px;
	height:80px;
	font-size:36px;
	padding:10px;
	border-radius:10px;
}

.modal_btn_3 {
	width:150px;
	height:60px;
	font-size:30px;
	padding:10px;
	border-radius:10px;
}

.team {
	height:150px;
}

.team_title1 {
	width:180px;
	height:130px;
	background:#FFBF02;
	color:#000;
	font-size:40px;
	font-weight:600;
	border-radius:20px;
	text-align:center;
	padding:40px 15px;
	margin-top:12px;
}

.team_title2 {
	width:180px;
	height:130px;
	background:#2d2d2d;
	color:#fff;
	font-size:40px;
	font-weight:600;
	border-radius:20px;
	text-align:center;
	padding:40px 15px;
	margin-top:12px;
}

.btn_score_m {
	background-image: url("/images/btn_score2.png");
	background-repeat : no-repeat;
	background-position: center;
	background-size : 100%;
	cursor: pointer;
	padding:40px 35px;
	font-size:36px;
	font-weight:700;
	color:#000;
	margin:10px 10px;
	width:135px;
	height:135px;
	letter-spacing: -1px;

	display: flex;
	align-items: center;
	justify-content: center;
}

.btn_score_p {
	background-image: url("/images/btn_score1.png");
	background-repeat : no-repeat;
	background-position: center;
	background-size : 100%;
	cursor: pointer;
	padding:40px 35px;
	font-size:36px;
	font-weight:700;
	color:#fff;
	margin:10px 10px;
	width:135px;
	height:135px;
	letter-spacing: -1px;

	display: flex;
	align-items: center;
	justify-content: center;
}

.score_board {
	background-image: url("/images/score_board.png");
	background-repeat : no-repeat;
	background-position: center;
	background-size : 90%;
	padding:40px 35px;
	width:380px;
	height:150px;
}

.score_board input {
	width:300px;
	font-size:80px;
	font-weight:900;
	color:#000;
	border:0px;
	text-align:center;
	padding-top:6px;
}

.no_choose {
	opacity: 0.5;
}

.game_select_top {
	width:300px;
	margin:0 auto;
	border-top:2px solid #fff;
	border-bottom:2px solid #fff;
}

.game_select_top p {
	color:#fff;
	font-size:70px;
	font-weight:800;
	margin-top:40px;
	margin-bottom:30px;
}

.game_select_top_text {
	width:500px;
	margin:0 auto;
	color:#fff;
	font-size:25px;
	margin-top:30px;
}

.game_area_team {
	width:420px;
	height:90px;
	border-radius:20px;
}

.game_area_team p {
	font-size:40px;
	font-weight:600;
	padding:30px 15px;
	text-align:center;
}

.game_area_score_area {
	width:420px;
	height:540px;
	background: #fff;
	margin-top:20px;
	border-radius:20px;
	text-align:center;
	padding:20px;
}

.game_area_score {
	margin: 0 auto;
	width:350px;
	height:200px;
	background: #000;
	padding-top:30px;
	border-radius:20px;
}

.game_area_score p input {
	color:#fff;
	font-size:9rem;
	font-weight:800;
	text-align:center;
	border:0px;
	background: #000;
	width:300px;
}


.game_score_btn img {
	width:130px;
}

.game_score_btn {
  outline: none;
  border: none;
  box-shadow: none;
}

.game_score_btn:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

.game_tp img {
	width:150px;
}

.top_play_time {
	color:#fff;
	font-size:6vw;
	font-weight:600;
	display : inline-block;
	padding-top:50px;
}

.btn_red_01 {
	width:250px;
	height:95px;
	background-color: #e60000;
	color: white;
	font-size: 40px;
	font-weight: bold;
	padding: 12px 32px;
	border: none;
	border-radius: 12px;         /* 라운드 처리 */
	cursor: pointer;
	box-shadow: 0 4px 6px rgba(0,0,0,0.2);
	transition: background-color 0.3s ease;
}

.btn_red_01:active {
  background-color: #FFBF02;
  color: #fff;
}

.btn_red_011 {
	width:300px;
	height:95px;
	background-color: #e60000;
	color: white;
	font-size: 30px;
	font-weight: bold;
	padding: 10px 10px;
	border: none;
	border-radius: 12px;         /* 라운드 처리 */
	cursor: pointer;
	box-shadow: 0 4px 6px rgba(0,0,0,0.2);
	transition: background-color 0.3s ease;
	line-height:130%;
}

.btn_red_011:active {
  background-color: #FFBF02;
  color: #fff;
}

.btn_blue_011 {
	width:300px;
	height:95px;
	background-color: #336ac0;
	color: white;
	font-size: 30px;
	font-weight: bold;
	padding: 10px 10px;
	border: none;
	border-radius: 12px;         /* 라운드 처리 */
	cursor: pointer;
	box-shadow: 0 4px 6px rgba(0,0,0,0.2);
	transition: background-color 0.3s ease;
	line-height:130%;
}

.btn_blue_011:active {
  background-color: #FFBF02;
  color: #fff;
}

.btn_green_01 {
	width:285px;
	height:95px;
	background-color: #014500;
	color: white;
	font-size: 40px;
	font-weight: bold;
	padding: 12px 32px;
	border: none;
	border-radius: 12px;         /* 라운드 처리 */
	cursor: pointer;
	box-shadow: 0 4px 6px rgba(0,0,0,0.2);
	transition: background-color 0.3s ease;
}

.btn_green_01:active {
  background-color: #FFBF02;
  color: #fff;
}

.btn_green_home {
	width:250px;
	height:95px;
	background-color: #222222;
	color: white;
	font-size: 38px;
	font-weight: bold;
	padding: 12px 32px;
	border: none;
	border-radius: 12px;         /* 라운드 처리 */
	cursor: pointer;
	box-shadow: 0 4px 6px rgba(0,0,0,0.2);
	transition: background-color 0.3s ease;
}

.btn_green_home:active {
  background-color: #FFBF02;
  color: #fff;
}


.btn_order {
	font-size: 54px;
    color: #fff;
    vertical-align: bottom;
	margin-left:5px;
	width:320px;
	height:95px;
	background-color: #2353e4;
	font-size: 38px;
	font-weight: bold;
	padding: 12px 32px;
	border: none;
	border-radius: 12px;         /* 라운드 처리 */
	cursor: pointer;
	box-shadow: 0 4px 6px rgba(0,0,0,0.2);
	transition: background-color 0.3s ease;
}

.btn_order:active {
  background-color: #FFBF02;
  color: #fff;
}


.forder {
	font-size: 40px;
    color: #fff;
	margin-right:10px;
}

.fvideo {
	font-size: 40px;
    color: #102456;
	margin-right:10px;
}

.fhome {
	font-size: 40px;
    color: #FFBF00;
	margin-right:5px;
}

.fprev {
	font-size: 57px;
    color: #FFBF00;
    vertical-align: bottom;
	margin-right:5px;
}

.fnext {
	font-size: 57px;
    color: #FFBF00;
    vertical-align: bottom;
	margin-left:5px;
}

.big-dec-btn {
    width: 100%;
    height: 80px;
    border-radius: 20%;
    background-color: #ff5555;
    color: white;
    font-size: 35px;
    font-weight: bold;
    border: none;
    margin: 5px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    transition: transform 0.1s ease;
}

.big-dec-btn:active {
  background-color: #FFBF02;
  color: #fff;
}

.team-winner {
  background-color: #888 !important;
  color: #fff;
}

#gameTimer {
    font-size: 50px;
    margin-bottom: 10px;
}


.btn_term {
	font-size:20px;
	width:100px;
	height:40px;
}

.order_cate_area {
	width:1610px;
	height:100px;
	background:#222;
	padding:6px 10px;
}

.order_cate_btn {
  width: 300px;
  height: 85px;
  border-radius: 15px;
  background: #0f841b;
  border: 0px;
  color: #FFF;
  font-size: 35px;
  font-weight: bold;
  justify-content: center;
  cursor: pointer;
  margin:2px;
}

.order_complete_area {
	width:190px;
	height:100px;
	background:#222;
	padding-top:16px;
}

.order_complete_btn {
	width: 172px;
    height: 65px;
    background: #222;
    color: yellow;
    font-size: 29px;
    font-weight: bold;
    cursor: pointer;
    margin: 2px;
    border: 2px solid #ccc;
    border-radius: 45px;
}

.order_cart_close {
	width:120px;
	color:#fff;
	font-size:55px;
	background:#222;
	text-align:center;
	padding-top:22px;
}

.order_cart_prod {
	text-align:center;
	border:3px solid #9d9d9d;
	border-radius:20px;
}

.order_cart_prod_text {
	text-align:center;
	font-size:30px;
	margin-top:10px;
}

.order_cart_prod_price {
	text-align:center;
	font-size:30px;
}

.order_cart_prod > img{
	width:250px;
	height:250px;
}


.order_cate_btn_on {
  width: 300px;
  height: 85px;
  border-radius: 15px;
  background: #f8990a;
  border: 0px;
  color: #FFF;
  font-size: 35px;
  font-weight: bold;
  justify-content: center;
  cursor: pointer;
  margin:2px;
}


.order_cart_input {
	width: 70px;
    height: 41px;
    border: 1px solid #888;
    border-radius: 5px;
    color: #474747;
    font-size: 25px;
    text-align: center;
    padding-top: 3px;
    vertical-align: text-bottom;
    margin-left: 8px;
    margin-right: 8px;
}

.order_cart_pl_btn {
	font-size: 40px;
    background-color: #616f7d;
    color: #fff;
    border-radius: 6px;
    border: 0px;
    line-height: 80%;
    padding-top: 7px;
    padding-right: 8px;
    padding-left: 8px;
}


.order_cart_area {
	background:#2e3042;
	width:100%;
	height:980px;
}


.order_cart_area_title {
	height:100px;
	background: #000;
	border:1px solid #7b7b7b;
	font-size:36px;
	color:#fff;
	font-weight:600;
	padding:25px;
}

.order_cart_list {
	color:#fff;
	height:680px;
	overflow-y: auto;
	overflow-x: hidden;
}

.order_cart_list_text {
	color:#ffdb85;
	font-size:30px;
	width:85%;
}

.order_cart_list_delbtn {
	width:15%;
	font-size:30px;
	color:#aeaeae;
}

.order_cart_list_line {
	border:1px solid #7b7b7b;
	margin-top:10px;
	margin-right:10px;
}

.order_sum_area {
	border:1px solid #9a9a9a;
	background: #d42727;
}


.order_sum_cnt {
	width:100%;
	text-align:left;
	color:#FFF;
	font-size:20px;
	padding-left:20px;
	height:35px;
}

.order_sum_cnt > p {
	margin:0px;
}

.order_sum_price {
	width:100%;
	text-align:right; color:#FFF;
	font-size:36px;
	font-weight:600;
	padding-right:20px;
	padding-bottom:10px;
}

.order_sum_price > p {
	margin:0px;
}

.order_sum_btn {
	background: #1d9425;
	color:#fff;
	height:108px;
	font-size:36px;
	font-weight:600;
	text-align:center;
	width:100%;
	border-top:1px solid #ccc;
}

.order_cart_price {
	color:#fff;
	font-size:26px;
	width:40%;
}

.order_cart_cnt_area {
	width:60%;
}

.btn_orderList_close {
	margin-top:40px;
	font-size: 30px;
    background-color: #616f7d;
    color: #fff;
    border-radius: 6px;
    border: 0px;
    line-height: 80%;
    padding-top: 7px;
    padding-right: 8px;
    padding-left: 8px;
    width:200px;
    height:80px;
}

.btn_red_point {
	width:125px;
	height:47px;
	background-color: #e60000;
	color: white;
	font-size: 25px;
	font-weight: bold;
	padding: 10px 10px;
	border: none;
	border-radius: 12px;         /* 라운드 처리 */
	cursor: pointer;
	box-shadow: 0 4px 6px rgba(0,0,0,0.2);
	transition: background-color 0.3s ease;
	line-height:130%;
}