@import url("https://fonts.googleapis.com/css2?family=Nanum+Gothic+Coding&display=swap");

* {
  box-sizing: border-box;
  /*font-family: "Nanum Gothic Coding", monospace;*/
  margin: 0;
  padding: 0;
}

a {
  color: #00b7ff;
  text-decoration-line: none;
}

/* modal box 가 hscroll을 덮도록 하기 위한 설정 */
body {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

section.main-section {
  width: 100%;
  flex: 1;
  overflow-y: auto;
  padding: 16px 12px;
}

footer {
  background-color: #00b7ff;
  text-align: center;
  padding: 1rem;
  color: white;
  font-weight: 300;
}

.ellipsis {
  text-overflow: ellipsis;
  white-space: nowrap;
  word-wrap: normal;
  overflow: hidden;
}

.ellipsis-multi {
  width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3; /* 라인수 */
  -webkit-box-orient: vertical;
  word-wrap: break-word;
  line-height: 1.2em;
  height: 3.6em; /* line-height 가 1.2em 이고 3라인을 자르기 때문에 height는 1.2em * 3 = 3.6em */
}

section#modal {
  display: none;
  position: fixed;

  padding-top: 100px;
  left: 0;
  top: 0;
  bottom: -20px;
  right: -20px;
  z-index: 100;
  /* width: 100%; */
  /* height: 100%; */
  overflow-y: initial !important;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
}
