
@font-face {
    font-family: 'Vitro_core';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-10-21@1.0/Vitro_core.woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'DOSIyagiMedium';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2304-2@1.0/DOSIyagiMedium.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Cafe24Ohsquare';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/Cafe24Ohsquare.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gyeonggi_Batang_Regular';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2410-3@1.0/Batang_Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Gyeonggi_Batang_Bold';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2410-3@1.0/Batang_Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: Arial, sans-serif;
    overflow-x: hidden;  /* Prevent horizontal scroll */
}

.background {
    z-index: -1;
    background-color: #000;
    height: calc(100vh - 26.66vw);
    color: #fff;
    width: 100vw;
    position: absolute;
    top: 0;
    overflow-y: hidden;
    padding-bottom: 100px;
}

.wrapper {
    overflow-y: hidden;
}
#gradient {
    width: 100vw;
    z-index: 5;
    position: absolute;
    top: calc(100vh - 26.66vw + 30px);
    height: 50px;
    padding-top: 0;
    color: #ceff82;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.2));
}


#bg-bottom {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: -2;
    max-width: 100vw;
    overflow: hidden;

}

.logo-wrapper {
    z-index: 1;
    text-align: center;
    position: absolute;
    bottom: 10px;
    width: 100%;
    overflow-y: hidden;
}
#logo {
    max-width: 350px;
}


.work-list, .ps-list {
    z-index: 5;
    padding-top: 20px;
    max-height: calc(100vh - 20vw); /* Ensure it doesn't overflow the viewport */
    overflow-y: auto !important; /* Enables vertical scrolling */
    padding-right: 20px;  /* Add space for scrollbar */
    padding-left: 20px;  /* Add space for visual aesthetics */
}

.work {
    justify-content: center;
    display: flex;
    padding-top: 15px;
    padding-bottom: 15px;
    /*border-top: 1px dashed rgba(180, 241, 255, 0.6);*/
}

.work:hover {
    background-color: #ceff82;
}

.work:hover h1, .work:hover span, .work:hover h2 {
    color: #000;
}

.work a {
    text-decoration: none;
}
.work:active {
    background-color: #000;
}
.work a:active {
    background-color: #ceff82;
}
.ps-list {
    z-index: 2;
}
.ps {
    margin-top: 40px;
    margin-bottom: 40px;
}
.ps h2 {
    color: #8cffee;
}
.ps p {
    color: #fff;
    font-family: 'DOSIyagiMedium';
    line-height: 1.6;
}
.credits-wrapper {
    display: flex;
    flex-wrap: wrap;
}
.credits-wrapper h2 {
    margin-top: 15px;
}
.credits-wrapper p {
    width: 100%;
    font-family: 'Gyeonggi_Batang_Regular';
}
h1 {
    font-size: 48px;
    font-family: 'Vitro_core';
    color: #ceff82;
}

span {
    font-family: 'DOSIyagiMedium';
    color: #8cffee;
    font-size: 24px;
    margin-left: 5px;
}

h2 {
    font-family: 'Cafe24Ohsquare';
    color: #fffee7;
    font-size: 38px;
    margin-right: 15px;
}

#gradient {
    text-align: center;
}
#gradient span {
    display: inline-block;
    font-size: 18px;
    margin: 0;
    padding: 0;
    padding-top: 10px;
}
#gradient span span {
    color: inherit;
    font-size: inherit;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

@media only screen and (max-width: 769px) {
   #logo {
    max-width: 250px;
   } 
   .work {
        justify-content: flex-start;
   }
   h1 {
    font-size: 36px;
   }
   span {
    font-size: 18px;
   }
   h2 {
    font-size: 30px;
   }
  #gradient {
    text-align: left;
    top: calc(100vh - 26.66vw + 10px);
   }
   #gradient span {
    font-size: 14px;
    padding-top: 3px;
    padding-left: 20px;
   }
   #gradient span span {
    padding-left: 0;
   }
}

.sparkle-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      overflow: hidden;
      z-index: 3;
      pointer-events: none;
}

.sparkle {
  position: absolute;
  opacity: 0;
  animation: sparkleAnim infinite, smoothFlow infinite;
  will-change: transform, opacity;
  border-radius: 50%;  /* Circle shape by default */
  box-shadow: 0 0 10px rgba(202, 255, 86, 0.75); /* Adjusted color and opacity */
  filter: blur(2px);
}

@keyframes sparkleAnim {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
  100% {
    opacity: 0;
    transform: scale(0.5);
  }
}

@keyframes smoothFlow {
  0% {
    transform: translateX(0) translateY(0);
  }
  25% {
    transform: translateX(20px) translateY(30px);
  }
  50% {
    transform: translateX(40px) translateY(0);
  }
  75% {
    transform: translateX(60px) translateY(-30px);
  }
  100% {
    transform: translateX(80px) translateY(0);
  }
}

.work {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.work.slide-in {
  opacity: 1;
  transform: translateY(0);
}

.work.slide-out {
  opacity: 0;
  transform: translateY(20px); /* Match original "offscreen" position */
}



/* 상세 */

.content #bg-bottom {
    display: flex;
    align-items: flex-end;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000;
    overflow-y: hidden;
}


.content .content-body, .ps-content {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    
    background-color: rgba(0, 0, 0, 0.8);
    color: rgba(255, 255, 255, 0.9);
    padding: 100px;
}

.content .pic-content {
    max-width: 1200px;
    padding-left: 50px;
    padding-right: 50px;
}

.pic-section img {
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
}

.title-section {
    width: 100%;
    margin-bottom: 100px;
}

.title-section div {
    display: flex;
}

.title-section h1 {
    margin-bottom: 20px;
}

.pic-content .title-section {
    text-align: center;
}

.pic-content .title-section div {
    justify-content: center;
}
.text-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    border-left: 2px dotted rgba(255, 255, 255, 0.3);
}
.text-section h1 {
    margin-top: 40px;
    margin-bottom: 40px;
}

.text-wrapper {
    max-width: 450px;
}


.video-wrapper {
    position: relative;
    height:0;
    padding-bottom: 40px;
    padding-top: 40px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.content-body p {
    font-family: 'Gyeonggi_Batang_Regular', serif;
    font-weight: 400;
    font-size: 16px;
    text-align: justify;
    line-height: 2;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-indent: 16px;
}
.right {
    text-align: right;
}
.center {
    text-align: center;
}
.content-body strong {
    font-family: 'Gyeonggi_Batang_Bold', serif;
    font-weight: 700;
}
.content-body h3 {
    font-family: 'Gyeonggi_Batang_Regular', serif;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 20px;
    margin-bottom: 20px;
}
.content-body .inline-box {
    border: 1px solid #fff;
    padding: 5px;
    padding-top: 20px;
}
.ps-link {
    text-align: right !important;
}
.ps-link a {
    color: #8cffee !important;
}
.ps-link a:active {
    background-color: #8cffee !important;
    color: #000 !important;
}
@media screen and (max-width: 769px) {
    .content-body, .ps-content {
        width: 100%;
        padding-left: 50px !important;
        padding-right: 50px !important;
    }
    .text-wrapper {
        max-width: 85%;
    }
    .content .pic-content {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media screen and (max-width: 500px) {
    .content-body, .ps-content {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .text-section {
        border-left: unset;
    }
    .text-wrapper {
        max-width: 100%;
    }
      .content-body p {
        font-size: 14px;
    }
    .content-body h3 {
        font-size: 18px;
    }
    .content .pic-content {
        padding-left: 0;
        padding-right: 0;
    }
}
.warning {
    margin-top: 50px;
    margin-bottom: 150px;
}
.warning p {
    font-family: 'DOSIyagiMedium', serif;
    text-indent: 0;
}
.warning h3 {
    width: 60px;
    float: left;
}

div.content-body:has(img.artwork) {
    max-width: 1000px;
    padding: 0;
    width: 100vw;
    background-color: transparent;
}

.artwork {
    width: 100%;
}


