@charset "UTF-8";
@font-face {
  font-family: "cmunti";
  src: url("./font/cmunti.woff") format("woff");
}
#myElement {
  cursor: url("./asset/icon/cursor.svg") 0 0, default;
}

html {
  background-color: #edebe6;
  color: #b70000;
  font-size: 14px;
  line-height: 1.5;
  font-family: "cmunti", "Garamond", "Times New Roman", "Georgia", serif;
}
@media (max-width: 768px) {
  html {
    font-size: 12px;
  }
}

a {
  color: #b70000;
  cursor: pointer;
  text-decoration: none;
}

a:hover {
  color: #b70000;
  cursor: pointer;
}

a:after {
  color: #b70000;
}

h1 {
  font-size: 1rem;
  margin: 0;
}

p {
  font-size: 0.75rem;
}

body {
  box-sizing: border-box;
  margin: 0;
  padding: 2rem;
  width: 100vw;
  height: 100vh;
  display: flex;
  gap: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
@media (max-width: 768px) {
  body {
    flex-direction: column;
    padding: 1rem;
  }
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  opacity: 100;
  display: block;
  opacity: 1;
}

#logo-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.05s linear, opacity 5s ease-in-out;
  width: 100px;
}

.primary {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

header {
  width: 100%;
}
@media (max-width: 768px) {
  header {
    margin-bottom: 3rem;
    width: calc(100vw - 4rem);
  }
}

main {
  max-height: 80vh;
}
@media (max-width: 768px) {
  main {
    max-height: 200vh;
  }
}

.content-title {
  margin-bottom: -0.4rem;
}

.content-description {
  margin-bottom: 1.5rem;
}

.image-content {
  width: 60%;
  min-width: 250px;
}
@media (max-width: 768px) {
  .image-content {
    width: 100%;
  }
}
.image-content .video-container {
  width: 100%;
  position: relative;
}
.image-content .video-container iframe, .image-content .video-container img {
  width: 100%;
  height: 100%;
  min-height: 20vh;
  -o-object-fit: contain;
     object-fit: contain;
}
.image-content .video-container iframe {
  border: none;
  outline: none;
  box-shadow: none;
}
.image-content .media-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem; /* 버튼 크기 */
  height: 1.5rem;
  font-size: 1rem;
  font-family: "Garamond";
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
}
.image-content #media-nav-left {
  left: 10px;
}
.image-content #media-nav-right {
  right: 10px;
}
.image-content #custom-controls {
  width: 100%;
  height: 2rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}
.image-content .control-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: "cmunti", "Garamond", "Times New Roman", "Georgia", serif;
  color: #b70000;
  width: 20%;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
}
.image-content .progress-area {
  width: 52%;
  display: flex;
  align-items: center;
  margin: 0 10px;
}
.image-content #progress-track {
  position: relative;
  width: 100%;
  height: 2px;
  background-color: #b2b2b2;
  cursor: pointer;
}
.image-content #progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background-color: #b70000;
}

.video-container.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background-color: #edebe6;
}

.video-container.fullscreen video {
  width: 100%;
  height: 100%;
  background-color: #edebe6;
}

.secondary {
  flex: 4;
  position: relative;
}

.toc {
  width: 20rem;
  height: 20rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.toc span {
  position: absolute;
  cursor: pointer;
  z-index: 1002;
  transition: none;
}
.toc span .number-description {
  opacity: 0;
  position: absolute;
  top: 0.07rem;
  left: 1.5rem;
  color: #b2b2b2;
  width: 25rem;
}
@media (max-width: 768px) {
  .toc span .number-description {
    font-size: 10px;
    display: inline-block;
    max-width: calc(100% - 3rem);
    white-space: normal;
  }
}
.toc span:nth-child(n+10) .number-description {
  left: 2rem;
}
@media (max-width: 768px) {
  .toc span:nth-child(14) .number-description {
    margin-bottom: 3rem;
  }
}
@media (max-width: 768px) {
  .toc span:last-child {
    display: none;
  }
}
.toc span:hover .number-description {
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
}

.about-content {
  display: none;
}

menu {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  margin: 0;
  display: flex;
}
menu span:last-child {
  margin-left: 2rem;
}/*# sourceMappingURL=style.css.map */