@font-face {
    font-family: 'KimjungchulScriptBold';
    src: url('../fonts/KimjungchulMyungjo-Bold.otf') format('truetype');
  }
  @font-face {
    font-family: 'KimjungchulScriptLight';
    src: url('../fonts/KimjungchulMyungjo-Light.otf') format('truetype');
  }
  @font-face {
    font-family: 'KCC-SonkiJung';
    src: url('../fonts/KCC-Sonkeechung.otf') format('truetype');
  }
  @font-face {
    font-family: 'KBO Dia Gothic Light';
    src: url('../fonts/KBO Dia Gothic_light.otf') format('opentype');
  }
  @font-face {
    font-family: 'KBO Dia Gothic Medium';
    src: url('../fonts/KBO Dia Gothic_medium.otf') format('opentype');
  }

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #111;
  overflow-x: hidden;
  overflow-y: hidden; /* disable native vertical scrollbar */
}

/* Hide native scrollbars globally */
html, body {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE & Edge */
}
html::-webkit-scrollbar, body::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.center-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  margin-top: 60px;
}
.row-layout {
  display: flex;
  flex-direction: row;
  width: 100vw;
  min-height: 85vh;
  background: #111;
  justify-content: center;
  align-items: center;
  padding-left: 3vw;
  padding-top: 3vw;
}
.side-space {
  flex: 0.1;
}
.profile-img-area {
  flex: 0.3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-img-final {
  width: 80%;
  max-width: 260px;
  height: auto;
  object-fit: cover;
  box-shadow: none !important;
  border: none !important;
}
.profile-img-bigger {
  width: 230%;
  max-width: 821px;
  height: auto;
  object-fit: cover;
  box-shadow: none !important;
  border: none !important;
}
.profile-texts-area {
  flex: 0.6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 1000px;
  padding-left: 2vw;
}
.title-main-final {
  font-size: 6.2rem;
  font-family: 'KimjungchulScriptBold', sans-serif;
  text-align: left;
}
.title-sub-final {
  font-family: 'KCC-SonkiJung', sans-serif;
  color: #fff;
  text-align: left;;
}
.title-sub-text {
    font-size: 2.9rem;
    font-family: 'KCC-SonkiJung', sans-serif;
    color: #fff;
    text-align: left;
}

.highlight-text {
    color: #47D45A !important;
    font-weight: bold;
}

.bold-text {
    font-weight: bold;
}

.intro-text-final {
  font-size: 1.85rem;
  color: #D9D9D9;
  font-family: 'KBO Dia Gothic Light', sans-serif;
  text-align: left;
  margin-bottom: 4em;
}
.intro-indent {
    font-size: 1.55rem;
    color: #D9D9D9;
    font-family: 'KBO Dia Gothic Light', sans-serif;
    text-align: left;
  }

.cert-award-final {
  width: 100%;
  margin-top: 2em;
}
.cert-award-labels {
  display: flex;
  justify-content: center;
  gap: 3em;
  margin-bottom: 0.5em;
}
.cert-award-contents {
  display: flex;
  justify-content: center;
  gap: 3em;
}

@media (max-width: 900px) {
  .row-layout {
    flex-direction: column;
    min-height: unset;
    width: 100vw;
    padding: 40px 0;
  }
  .side-space {
    display: none;
  }
  .profile-img-area {
    flex: unset;
    width: 100vw;
    justify-content: center;
    margin-bottom: 32px;
  }
  .profile-img-final {
    width: 50vw;
    max-width: 220px;
    margin: 0 auto;
  }
  .profile-texts-area {
    flex: unset;
    align-items: flex-start;
    max-width: 90vw;
    padding-left: 0;
  }
}

.cert-award-table {
  display: table;
  margin-top: 0;
  margin-left: 3em;
  padding-left: 0.2em;
}
.cert-award-row {
  display: table-row;
  padding-bottom: 0.7.em;
}
.cert-award-label {
  display: table-cell;
  color: #dfdfdf;
  font-family: 'KBO Dia Gothic Light', sans-serif !important;
  font-size: 1.05rem;
  font-weight: bold;
  padding-right: 1.6em;
  vertical-align: top;
  white-space: nowrap;
}
.cert-award-content {
  display: table-cell;
  color: #cfcfcf;
  font-family: 'KBO Dia Gothic Light', sans-serif !important;
  font-size: 1rem;
  text-align: left;
  vertical-align: top;
  padding-right: 1.5em;
}
.cert-award-date {
  display: table-cell;
  color: #c2c2c2;
  font-family: 'KBO Dia Gothic Light', sans-serif !important;
  font-size: 0.9rem;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
  margin-left: 0.4em;
  padding-left: 0.2em;
}

.line-tight {
    line-height: 0.8; /* 원래보다 좁게 */
}
.line-jump-1 {
    line-height: 1.8; /* 원래보다 좁게 */
}
.line-jump-2 {
    line-height: 2.2; /* 원래보다 좁게 */
}


/* 들여쓰기 */
.indent-1 {
  margin-left: 0.35em;
}
.indent-2 {
  margin-left: 1.2em;
}

.name-spacing-1 {
    font-size: 2.4rem;
    font-family: 'KCC-SonkiJung', sans-serif;
    color: #fff;
    text-align: left;
}
.name-spacing-2 {
    font-size: 1.2rem;
    font-family: 'KCC-SonkiJung', sans-serif;
    color: #fff;
    text-align: left;
}

.nav-container {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(1.6px);
  -webkit-backdrop-filter: blur(1.6px);
  z-index: 1000;
}

.nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
  width: 120px; /* 각 아이템의 고정 너비 */
}

.nav-list li:not(:last-child)::after {
  content: '';
  display: block;
  width: 1px;
  height: 1.8rem;
  background: #333;
  margin: 0;
  position: absolute;
  right: 0;
}

.nav-item {
  color: #fff;
  text-decoration: none;
  padding: 0.35rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-size: clamp(0.8rem, 2vw, 1.3rem);
  width: 150px !important; /* 고정 너비 (우선 적용) */
  min-width: 150px !important; /* 인라인 스타일 무력화 */
  box-sizing: border-box; /* 패딩 포함 고정 크기 유지 */
  text-align: center;
  display: inline-block;
}

.nav-item:hover {
  color: #47D45A;
}

.nav-item.active {
  color: #fff;
  font-family: 'KBO Dia Gothic Medium', sans-serif;
  background-color: #47D45A;
  text-align: center;
  padding: 0.35rem 1.5rem !important;
  width: 150px !important; /* 고정 너비 (우선 적용) */
  box-sizing: border-box; /* 패딩 포함 고정 크기 유지 */
}

.footer {
  width: 100%;
  padding: 1rem 0;
  text-align: center;
  color: #666;
  font-family: 'KBO Dia Gothic Light', sans-serif;
  font-size: 0.9rem;
  margin-top: auto;
}

/* 모바일 버전 스타일 */
@media screen and (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }

    .nav-container {
        padding: 0.3rem 0;
        width: 100vw;
    }

    nav {
        width: 100%;
        font-size: 0.8rem;
    }

    nav a {
        padding: 0.3rem 0.5rem;
    }

    .nav-divider {
        margin: 0 0.2rem;
    }

    .row-layout {
        flex-direction: column;
        padding: 1.5rem 0.5rem;
        min-height: 80vh;
        width: 100%;
        overflow-x: hidden;
    }

    .profile-img-area {
        width: 0%;
        margin-bottom: 1.5rem;
    }

    .profile-texts-area {
        width: 90%;
        text-align: center;
        padding: 0;
    }

    .title-main-final {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .title-sub-final {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .text-content p {
        font-size: 0.9rem;
        margin: 0.4rem 0;
    }

    .footer {
        font-size: 0.7rem;
        padding: 0.4rem 0;
    }

    .nav-list li {
        width: 80px; /* 모바일에서 더 작은 고정 너비 */
    }

    .nav-item {
        padding: 0.25rem 0.8rem !important;
        font-size: clamp(0.6rem, 1.8vw, 0.8rem);
        width: 70px !important; /* 모바일에서 더 작은 고정 너비 (우선 적용) */
        min-width: 70px !important; /* 모바일에서 더 작은 고정 너비 (우선 적용) */
    }
    
    .nav-item.active {
        width: 70px !important; /* 모바일에서 더 작은 고정 너비 (우선 적용) */
        padding: 0.25rem 0.8rem !important;
    }

}

/* 더 작은 모바일 화면을 위한 추가 조정 */
@media screen and (max-width: 480px) {
    nav {
        font-size: 1.8rem !important;
    }
    nav a {
        padding: 0.1rem 0.2rem !important;
    }
    .nav-divider {
        margin: 0 0.15rem !important;
        padding: 0.1rem !important;
    }

    .title-main-final {
        font-size: 1.6rem !important;
        padding-bottom: 0.2rem !important;
        margin-bottom: 0rem !important;
    }
    .title-sub-final {
        font-size: 0.8rem !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    .title-sub-text {
        font-size: 1.4rem !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    .name-spacing-1 {
        font-size: 1.4rem !important;
    }
    .name-spacing-2 {
        font-size: 1.4rem !important;
    }

    .intro-text-final {
        font-size: 1rem !important;
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    .intro-indent {
        font-size: 1rem !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .cert-award-table {
        font-size: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
      }
    .cert-award-labels {
        font-size: 0rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .cert-award-contents {
        font-size: 0.rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .cert-award-date {
        font-size: 0rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .profile-img-area {
        padding-top: 0.05vh !important;
        width: 30% !important;
    }
    .text-content p {
        font-size: 0.8rem !important;
    }
    .indent-1 {
        margin-left: 0.15em !important;
      }
      .indent-2 {
        margin-left: 0.2em !important;
      }
    
    .nav-item {
        padding: 0.1rem 0.25rem !important;
        font-size: clamp(0.8rem, 1.5vw, 1.2rem) !important;
        min-width: 50px !important;
    }
    .nav-item.active {
        min-width: 50px !important;
    }
}