* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body, html {
  height: 100%;
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 600;
  background-color: #ffffff;
  scrollbar-width: none;
} 

h1{
  font-size: 12px;
  font-family: 'Courier New', Courier, monospace;
  margin: 0;
}

h2{
  font-size: 12px;
  font-family: 'Courier New', Courier, monospace;
  margin: 0;
  font-weight: 700;
  color: black;
}




video {
  display: block;
  width: 100%;
  height: auto;
}

.top-text {
  display: flex;
  gap: 20px; /* 링크 사이 간격 */
  justify-content: center;
}


/*작업소개*/
.work-context{
  margin-top: 65vh;
}


/* 고정 상단 텍스트 */
.fixed-header {
  position: fixed;
  top: 50px;
  width: 100%;
  text-align: center;
  z-index: 10;
  pointer-events: none; /* 링크 제외 나머지 요소 클릭 안되게 */
}

.fixed-header h1 {
  font-size: 14px;
  font-weight: 600;
  color: rgb(250, 65, 114);
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 6px;
  line-height: 16px;
  word-break: break-word;
}
.work-context h2 {
  font-size: 14px;
  font-weight: 600;
  color: rgb(250, 65, 114);
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 6px;
  word-break: break-word;
  line-height: 19px;
}

.fixed-header a {
  font-size: 14px;
  font-weight: 500;
  margin: 0 10px;
  text-decoration: none;
  color: #000;
  pointer-events: auto; /* 링크 클릭 가능하게 */
}

/* 스크롤되는 콘텐츠 */
.scroll-container {
  margin-top: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.work {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0px;
  width: 100vw;
}

.work-item {
  flex: 1 1 calc(50% - 10px); /* 두 개를 가로로 나란히 */
}

.work-item img {
  width: 50vw;
  display: block;
  border-radius: 0px;

}

.work-item video {
  width: 50vw;
  display: block;
  border-radius: 0px;

}



iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
  margin: 0;
}

/* work-item 안 iframe은 부모 div에서 비율을 조정하므로, 별도 aspect-ratio 제거 */
.work-item iframe {
  width: 100%;
  height: 100%;
  border: none;
}



.work-center img{
  width: 50vw;
}

.work-middle img{
  width: 40vw;
}

.work-center video{
  width: 40vw;
}

.work-middle video{
  width: 45vw;
}

.work-minimal img{
  width: 31vw;
  margin-top: 10px;
}

.work-full img{
  width: 100vw;
}

.work-full video{
  width: 100vw;
}

.work-full iframe{
  width: 100vw;
}

.work-center iframe{
  width: 40vw;
}

.work-middle iframe{
  width: 45vw;
}

.work-full {
  position: relative;
  width: 100vw;
}

.work-new {
  position: relative;
  width: 50vw;
}


a {
  text-decoration: underline;
}



.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 비율 */
  height: 0;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

















iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  padding: 0;
  margin: 0;
}




/* 반응형: 화면이 768px 이하일 때 세로로 쌓이도록 */
@media screen and (max-width: 768px) {
  .work {
    flex-direction: column;
    align-items: center;
  }

  .work-item {
    flex: 1 1 100%;
  }
  .work-item img {
      width: 100vw;
    }
  .work-item video {
      width: 100vw;
  }

  .work-item iframe {
    width: 100%;
    height: 100%;
  }

  .work-center video{
    width: 100vw;
  }

  .work-center iframe{
    width: 100vw;
  }


  h1 {
      font-size: 9px !important;;
      line-height: 12px!important;;
  }
  h2 {
      font-size: 9px !important;;
  }
  .work-center img{
      width: 100vw ;
    }

    .work-new {
      position: relative;
      width: 100vw;
    }

    .work-middle video{
      width: 100vw;
    }

    .work-middle iframe{
      width: 100vw;
    }

    .work-context h2 {
      line-height: 13px;
    }
  
}




.scroll-hidden {
overflow: auto; /* 또는 scroll */
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none;  /* Internet Explorer 10+ */
}

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