
@import url('https://fonts.googleapis.com/css2?family=Dokdo&family=Gowun+Dodum&family=Black+Han+Sans&display=swap');

@font-face {
  font-family: "PlayTangram";
  src: url("../with/fonts/PlayTangram.woff") format("woff");
}

@font-face {
  font-family: "baby_bb33";
  src: url("../with/fonts/baby_bb33.woff") format("woff");
}

html, body {
  position: relative; 
  display: flex;
  width: 100%; height: 100%;
  margin: 0; padding: 0;
  justify-content: center; /* 수평 가운데 정렬 */
  align-items: center; /* 수직 가운데 정렬 */
  overflow: hidden; /* 전체 스크롤 숨기기 */
  background: #000;
  box-sizing: border-box;
}

body {
  --w: 1280px ;
  --h: 1280px ;
  background: #000;
  -ms-overflow-style: none; /* 인터넷 익스플로러 */
  scrollbar-width: none; /* 파이어폭스 */

  /* font-family: 'Dokdo', system-ui; */
  /* font-family: 'Gowun Dodum', sans-serif; */
  /* font-family: 'Black Han Sans', sans-serif; */
}

body::-webkit-scrollbar {
  display: none; /* 크롬, 오페라, 사파리 */
}

/* <button */
button {
  width: auto; height: auto;
  margin: 2px; padding: 0;
  background: none;
  border-radius: 6px;
  pointer-events: fill;
}
button span {
  position: relative;
  color: #444;
  font: 16px 'Black Han Sans', sans-serif;
  user-select: none;
  pointer-events: none;
}
button:hover span {
  color: #fff;
  pointer-events: none;
}
/* >button */

.scene {
  display: flex;
  flex-direction: column;
  width: 100%; height: 100%;
  justify-content: center;
  align-items: center;
}

.sheet { /* bgs, fgs, uis... */
  position: absolute;
  display: flex;
  flex-direction: column;
  width: 100%; height: 100%;
  justify-content: center;
  align-items: center;
}

.sheet.uis { pointer-events: none; }
.sheet.uis .seg.btns, .sheet.uis .seg.btns>div { width: auto; height: auto; }

.bg { color: #eda; }
.fg { color: #dae; }
.ui { color: #aed; }

header {
  position: absolute;
  width: 100%; height: auto;
  bottom: 0;
  color: #dae2;
  font: 16px 'Gowun Dodum', sans-serif;
  text-align: left;
  pointer-events: none;
}

footer {
  position: absolute;
  width: 100%; height: auto;
  bottom: 0;
  color: #dae2;
  font: 16px 'Gowun Dodum', sans-serif;
  text-align: right;
  pointer-events: none;
}
