.texttext p {
  margin-bottom: 0em;
}

#title-wrap {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 1000px;
  position: fixed;
  z-index: 10;
  justify-content: center;
}

#title {
  font-size: 50px;
  margin: 0;
  -webkit-transform: translateZ(0);
}

#titlelogo {
  font-family: "Nanum Myeongjo", serif;
  font-weight: 600;
}

#titlelogo_img {
  width: 170px;
  height: auto;
  cursor: pointer;
}

.navbar {
  width: 1000px;
  border: 0px solid rgb(211, 44, 44);
  padding: 0;
  margin: 0;
  text-indent: 0;
}

.navlogo {
  font-family: "Noto Sans KR", serif;
  font-size: 18px;
  max-width: 120px;
  font-weight: 600;
  margin: 0 atuo;
  padding: 0;
  border: 0px solid #ccc;
}

#body-wrap {
  max-width: 1000px;
  padding: 0;
}

.main {
  padding-top: 170px;
  margin: 0;
}

body {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera*/
}

.datelist {
  max-width: 200px;
  height: 1000px;
  text-align: center;
  vertical-align: middle;
  margin: 0;
  padding: 0;
  font-family: "Jeju Myeongjo", "Nanum Myeongjo", serif;
  border: 0px solid rgb(145, 35, 35);
  overflow-y: scroll;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.datelist::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera*/
}

.date,
.date_disabled {
  font-weight: 400;
  font-size: 0.95rem;
  text-align: center;
  vertical-align: middle;
  margin: 0px;
  height: 38px;
  line-height: 38px;
  border: 0px solid #000;
}

#content {
  padding-left: 70px;
  padding-right: 70px;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

#content::-webkit-scrollbar {
  display: none;
}

#contentvid {
  padding: 0;
  justify-content: center;
  max-width: 100%;
  min-height: 420px;
}

#contenttitle {
  height: 70px;
  font-size: 20px;
  font-family: "Nanum Myeongjo", serif;
}

#contenttext {
  font-family: "Nanum Myeongjo", serif;
  font-weight: 400;
  line-height: 190%;
}

.contenttitle {
  height: 70px;
  font-size: 24px;
  font-family: "Nanum Myeongjo", serif;
  display: block;
}

.contenttext {
  font-family: "Nanum Myeongjo", serif;
  font-weight: 400;
  line-height: 190%;
  display: block;
}

#prologue {
  margin: 0px;
}

.texttitle {
  font-weight: 700;
  font-size: 20px;
  text-indent: 15px;
}

.texttitle_san {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 0px;
  text-align: center;
}

.textsubtitle_san {
  font-weight: 700;
  font-size: 15px;
  text-align: center;
}

.texttext {
  font-family: "Jeju Myeongjo", "Nanum Myeongjo", serif;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 190%;
  text-indent: 15px;
  padding: 0;
}

.texttext_san {
  font-family: "Noto Sans KR", serif;
  font-weight: 500;
  line-height: 180%;
  text-indent: 15px;
  padding: 0;
}

.texttextsubtitle_san {
  font-weight: 700;
  line-height: 180%;
  font-size: 16px;
  text-indent: 0px;
  margin-bottom: 0px;
  padding: 0;
}

.textcit_san {
  font-family: "Nanum Gothic", sans-serif;
  font-weight: 500;
  line-height: 180%;
  text-indent: 10px;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 5px;
  font-size: 14.5px;
  padding: 0;
}

.gakju {
  font-family: "Nanum Gothic", sans-serif;
  font-weight: 700;
  color: #f26212;
}

.gakju_text {
  font-family: "Noto Sans KR", serif;
  font-size: 13px;
  font-weight: 500;
  text-indent: -1em;
  margin-left: 1em;
  margin-bottom: 0.2rem;
  line-height: 160%;
  color: #f05627;
}

.mapIndex {
  width: 100vw;
  height: 70vh;
  margin-left: min(
    0px,
    calc(-50vw + 500px)
  ); /*body가 1000px이며 화면 좌우를 꽉 채우기 위함*/
  margin-right: min(0px, calc(-50vw + 500px));
}

.mapPage {
  width: 100vw;
  height: 50vh;
  margin-left: min(
    0px,
    calc(-50vw + 500px)
  ); /*body가 1000px이며 화면 좌우를 꽉 채우기 위함*/
  margin-right: min(0px, calc(-50vw + 500px));
}

.infowindow {
  font-family: "Noto Sans KR", serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 160%;
  padding: 2px;
  width: 150px;
  text-align: center;
}

.foot {
  padding-left: 50px;
  height: 40px;
  line-height: 40px;
  border: 0px solid rgb(145, 35, 35);
  font-family: "Nanum Myeongjo", serif;
  z-index: 10;
}

.footnav {
  max-width: 50px;
  padding: 0;
  font-weight: 400;
  border: 0px solid rgb(145, 35, 35);
  cursor: pointer;
}

#copyright {
  width: 500px;
  font-size: 14px;
  padding-right: 70px;
  text-align: right;
}

#copyright_mobile {
  display: none;
  font-size: 14px;
  text-align: right;
}

.darkmode {
  background-color: #222 !important;
  -webkit-filter: invert(100%);
  filter: invert(100%);
}

.no-drag {
  -ms-user-select: none;
  -moz-user-select: -moz-none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  user-select: none;
}

.inverted {
  -webkit-filter: invert(100%);
  filter: invert(100%);
}

a:link {
  color: black;
  text-decoration: none;
}

a:visited {
  color: black;
  text-decoration: none;
}

a:hover {
  color: black;
  text-decoration: none;
}

a:active {
  color: black;
  text-decoration: none;
}

.opacity {
  /* 각 브라우저 별 투명 대응 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
  filter: alpha(opacity=0.3);
  opacity: 0.3;
  -ms-filter: "alpha(opacity=0.3)";
  -khtml-opacity: 0.3;
  -moz-opacity: 0.3;
}

@media (max-width: 768px) {
  #contenttext {
    color: black;
  }

  #body-wrap {
    padding: 0;
  }

  #title-wrap {
    width: 100%;
    margin: 0;
    float: top;
  }

  #titlelogo {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  #title {
    margin: 0 auto;
    padding: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0);
  }

  #titlelogo_img {
    margin: 0 auto;
    width: 60%;
    max-width: 170px;
    min-width: 150px;
  }

  .navlogo {
    font-size: 15px;
    max-width: 90px;
  }

  .menu-btn {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    cursor: pointer;
    display: block !important;
    transition: all 0.5s ease;
    z-index: 20;
  }

  .menu-btn #line1,
  .menu-btn #line2 {
    position: absolute;
    top: 10px;
    left: 5px;
    width: 20px;
    height: 1px;
    background: #222;
    -moz-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
  }

  .menu-btn #line2 {
    top: 22px;
  }

  .menu-btn.clicked {
    -ms-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .menu-btn.clicked #line1 {
    -ms-transform: translate(0px, 6px) rotate(-90deg);
    -webkit-transform: translate(0px, 6px) rotate(-90deg);
    transform: translate(0px, 6px) rotate(-90deg);
  }

  .menu-btn.clicked #line2 {
    -ms-transform: translate(0px, -6px) rotate(-180deg);
    -webkit-transform: translate(0px, -6px) rotate(-180deg);
    transform: translate(0px, -6px) rotate(-180deg);
  }

  #profileimg {
    min-width: 120%;
    padding: 0;
    width: 0;
    max-width: 700px;
    height: auto;
    min-height: auto;
  }

  .main {
    max-width: 100%;
    padding: 0;
    margin: 0;
    max-height: none;
  }

  .datelist {
    max-height: none;
    max-width: 0px;
    padding-top: 120px;
  }

  .side-view {
    padding-top: 120px;
    max-width: 186px;
    display: block;
    position: fixed;
    left: 0px;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 11;
    animation: fadeInLeft 0.5s;
  }

  #content {
    max-height: none;
    padding: 0;
    margin-top: 150px;
    margin-bottom: 50px;
  }

  #content2 {
    padding: 0 5% !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  #contentvid {
    padding: 0 !important;
    margin-top: 150px !important;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
  }

  #player {
    max-width: 100%;
  }

  #contenttext {
    line-height: 180%;
  }

  .mapIndex {
    height: 100vh;
  }

  .mapPage {
    height: 50vh;
    margin-bottom: 50px;
  }

  .foot {
    width: 100%;
    /*background-color: rgba(255, 255, 255, 1);*/
    margin: 0;
    padding: 0 3%;
    height: 30px;
    line-height: 30px;
    text-align: center;
    position: fixed;
    bottom: 0px;
    justify-content: center;
  }
  .footnav {
    max-width: 100px;
    margin: 0;
  }
  #copyright {
    display: none;
  }
  #copyright_mobile {
    display: none;
  }
}

@font-face {
  font-family: "Jeju Myeongjo";
  font-style: normal;
  font-weight: 400;
  src: url(//fonts.gstatic.com/ea/jejumyeongjo/v3/JejuMyeongjo-Regular.eot);
  src: url(//fonts.gstatic.com/ea/jejumyeongjo/v3/JejuMyeongjo-Regular.eot?#iefix)
      format("embedded-opentype"),
    url(//fonts.gstatic.com/ea/jejumyeongjo/v3/JejuMyeongjo-Regular.woff2)
      format("woff2"),
    url(//fonts.gstatic.com/ea/jejumyeongjo/v3/JejuMyeongjo-Regular.woff)
      format("woff"),
    url(//fonts.gstatic.com/ea/jejumyeongjo/v3/JejuMyeongjo-Regular.ttf)
      format("truetype");
  unicode-range: U+0041-005A, U+0061-007A, U+0030-0039, U+AC00-D7A3;
}

@font-face {
  font-family: "Pretendard-Regular";
  src: url("https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff")
    format("woff");
  font-weight: 400;
  font-style: normal;
}

@keyframes fadeInLeft {
  0% {
    transform: translate3d(-100%, 0, 0);
  }
  to {
    transform: translateZ(0);
  }
}
