html *{
    -webkit-font-smoothing: antialiased;
}

.h6, h6 {
    font-size: 0.9rem !important;
    font-weight: 500;
    font-family: Roboto,Helvetica,Arial,sans-serif;
    line-height: 1.5em;
    text-transform: none;
    font-family: 'Montserrat', sans-serif;
}

.name h6 {
    margin-top: 10px;
    margin-bottom: 10px;
}

.navbar {
    border: 0;
    border-radius: 3px;
    padding: .625rem 0;
    margin-bottom: 20px;
    color: #555;
    background-color: #fff!important;
    box-shadow: 0 4px 18px 0 rgba(0,0,0,.12), 0 7px 10px -5px rgba(0,0,0,.15) !important;
    z-index: 1000 !important;
    transition: all 150ms ease 0s;
    
}

.navbar.navbar-transparent {
    z-index: 1030;
    background-color: transparent!important;
    box-shadow: none !important;
    padding-top: 25px;
    color: #fff;
}

.navbar .navbar-brand {
    position: relative;
    color: inherit;
    height: 50px;
    font-size: 1.125rem;
    line-height: 30px;
    padding: .625rem 0;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
}

.navbar .navbar-nav .nav-item .nav-link:not(.btn) .material-icons {
    margin-top: -7px;
    top: 3px;
    position: relative;
    margin-right: 3px;
}

.navbar .navbar-nav .nav-item .nav-link .material-icons {
    font-size: 1.25rem;
    max-width: 24px;
    margin-top: -1.1em;
}

.navbar .navbar-nav .nav-item .nav-link .fa, .navbar .navbar-nav .nav-item .nav-link .material-icons {
    font-size: 1.25rem;
    max-width: 24px;
    margin-top: 0px;
}

.navbar .navbar-nav .nav-item .nav-link {
    position: relative;
    color: inherit;
    padding: .9375rem;
    font-weight: 400;
    font-size: 12px;
    border-radius: 3px;
    line-height: 20px;
}

a .material-icons {
    vertical-align: middle;
}

.fixed-top {
    position: fixed;
    z-index: 1030;
    left: 0;
    right: 0;
}

.profile-page .page-header {
    height: 380px;
    background-position:center;
}

.page-header {
    height: 100vh;
    background-image: url('assets/background.jpg');
    background-size: cover;
    margin: 0;
    padding: 0;
    border: 0;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1); /* 흰색, 30% 투명 */
  background-blend-mode: lighten;
}

.header-filter:after, .header-filter:before {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: block;
    left: 0;
    top: 0;
    content: "";
}

.header-filter::before {
    background: background: transparent !important;;
}

.main-raised {
    margin: -60px 30px 0;
    border-radius: 6px;
    box-shadow: 0 16px 24px 2px rgba(0,0,0,.14), 0 6px 30px 5px rgba(0,0,0,.12), 0 8px 10px -5px rgba(0,0,0,.2);
}

.main {
    background: #FFF;
    position: relative;
    z-index: 3;
}

.profile-page .profile {
    text-align: center;
}

.profile-page .profile img {
    max-width: 160px;
    width: 100%;
    margin: 0 auto;
    -webkit-transform: translate3d(0,-50%,0);
    -moz-transform: translate3d(0,-50%,0);
    -o-transform: translate3d(0,-50%,0);
    -ms-transform: translate3d(0,-50%,0);
    transform: translate3d(0,-50%,0);
}

#about {
    font-family: 'Montserrat', sans-serif; /* 동일 폰트 적용 */
    font-size: 1rem; /* 필요 시 크기 조절 */
    line-height: 1.5em;
}


.img-raised {
    box-shadow: 0 5px 15px -8px rgba(0,0,0,.24), 0 8px 10px -5px rgba(0,0,0,.2);
}

.rounded-circle {
    border-radius: 50%!important;
}

.img-fluid, .img-thumbnail {
    max-width: 100%;
    height: auto;
}

.title {
    margin-top: 30px;
    margin-bottom: 25px;
    min-height: 32px;
    color: #3C4858;
    font-weight: 700;
    font-family: "Roboto Slab","Times New Roman",serif;
}

.profile-page .description {
    margin: 1.071rem auto 0;
    max-width: 600px;
    color: #999;
    font-weight: 300;
}

p {
    font-size: 14px;
    margin: 0 0 10px;
}

.profile-page .profile-tabs {
    margin-top: 4.284rem;
}

.nav-pills, .nav-tabs {
    border: 0;
    border-radius: 3px;
    padding: 0 15px;
}

.nav .nav-item {
    position: relative;
    margin: 0 2px;
}

.nav-pills.nav-pills-icons .nav-item .nav-link {
    border-radius: 4px;
}

.nav.nav-pills.nav-pills-icons {
    display: flex;
    justify-content: center;
    gap: 28px; /* 아이콘끼리 너무 가까움 → 간격 확보 */
}
.nav-pills .nav-item { margin: 0; }

.nav-pills .nav-item .nav-link {
    display: flex;
    flex-direction: column; /* 아이콘 위, 텍스트 아래 */
    align-items: center;
    justify-content: center;
    padding: 8px 6px;   
    border-radius: 30px;
    min-width: 72px;
    /* background-color: transparent; 활성화 배경 제거 */
    box-shadow: none;
}
.nav-pills .nav-item .nav-link:not(.active):hover {
    background-color: rgba(200,200,200,.2);
}


.nav-pills .nav-item i {
    display: block;
    font-size: 30px;
    padding: 15px 0;
}

.tab-space {
    padding: 20px 0 50px;
}

.profile-page .gallery {
    margin-top: 3.213rem;
    padding-bottom: 50px;
}

.profile-page .gallery img {
    width: 100%;
    margin-bottom: 2.142rem;
}

.profile-page .profile .name{
    margin-top: -80px;
}

img.rounded {
    border-radius: 6px!important;
}

.tab-content>.active {
    display: block;
}

/*buttons*/
.btn {
    position: relative;
    padding: 12px 30px;
    margin: .3125rem 1px;
    font-size: .75rem;
    font-weight: 400;
    line-height: 1.428571;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0;
    border: 0;
    border-radius: .2rem;
    outline: 0;
    transition: box-shadow .2s cubic-bezier(.4,0,1,1),background-color .2s cubic-bezier(.4,0,.2,1);
    will-change: box-shadow,transform;
}

.btn.btn-just-icon {
    font-size: 20px;
    height: 41px;
    min-width: 41px;
    width: 41px;
    padding: 0;
    overflow: hidden;
    position: relative;
    line-height: 41px;
}

.btn.btn-just-icon fa{
    margin-top: 0;
    position: absolute;
    width: 100%;
    transform: none;
    left: 0;
    top: 0;
    height: 100%;
    line-height: 41px;
    font-size: 20px;
}
.btn.btn-link{
    background-color: transparent;
    color: #999;
}

/* dropdown */




.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    min-width: 11rem !important;
    margin: .125rem 0 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    background-color: #fff;
    background-clip: padding-box;
    border-radius: .25rem;
    transition: transform .3s cubic-bezier(.4,0,.2,1),opacity .2s cubic-bezier(.4,0,.2,1);
}

.dropdown-menu.show{
    transition: transform .3s cubic-bezier(.4,0,.2,1),opacity .2s cubic-bezier(.4,0,.2,1);
}


.dropdown-menu .dropdown-item:focus, .dropdown-menu .dropdown-item:hover, .dropdown-menu a:active, .dropdown-menu a:focus, .dropdown-menu a:hover {
    box-shadow: 0 4px 20px 0 rgba(0,0,0,.14), 0 7px 10px -5px rgba(156,39,176,.4);
    background-color: #9c27b0;
    color: #FFF;
}
.show .dropdown-toggle:after {
    transform: rotate(180deg);
}

.dropdown-toggle:after {
    will-change: transform;
    transition: transform .15s linear;
}


.dropdown-menu .dropdown-item, .dropdown-menu li>a {
    position: relative;
    width: auto;
    display: flex;
    flex-flow: nowrap;
    align-items: center;
    color: #333;
    font-weight: 400;
    text-decoration: none;
    font-size: .8125rem;
    border-radius: .125rem;
    margin: 0 .3125rem;
    transition: all .15s linear;
    min-width: 7rem;
    padding: 0.625rem 1.25rem;
    min-height: 1rem !important;
    overflow: hidden;
    line-height: 1.428571;
    text-overflow: ellipsis;
    word-wrap: break-word;
}

.dropdown-menu.dropdown-with-icons .dropdown-item {
    padding: .75rem 1.25rem .75rem .75rem;
}

.dropdown-menu.dropdown-with-icons .dropdown-item .material-icons {
    vertical-align: middle;
    font-size: 24px;
    position: relative;
    margin-top: -4px;
    top: 1px;
    margin-right: 12px;
    opacity: .5;
}

/* footer */

footer{
    margin-top: 10px;
    color: #555;
    padding: 25px;
    font-weight: 300;
    
}
.footer p{
    margin-bottom: 0;
    font-size: 14px;
    margin: 0 0 10px;
    font-weight: 300;
}
footer p a{
    color: #555;
    font-weight: 400;
}

footer p a:hover {
    color: #9f26aa;
    text-decoration: none;
}

/* 1) 아바타를 정사각형 + 원형으로 */
.profile .avatar{
  width: 160px;      /* 필요 시 크기만 바꾸면 됨 */
  height: 160px;
  margin: -40px auto 12px; /* 헤더와 살짝만 겹치게(-40px). 전혀 겹치기 싫으면 0으로 */
}
.profile .avatar img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
  transform: none !important;   /* 데모의 translate 상쇄 */
}

/* 2) 이름 영역을 아래로 내림(겹침 방지) */
.profile-page .profile .name{
  margin-top: 12px !important;  /* 기존 -80px 덮어쓰기 */
}

/* 3) 혹시 남아있는 이미지 상향 이동 제거(안전망) */
.profile-page .profile img{
  transform: none !important;
}

/* 모바일에서 약간 더 여유 */
@media (max-width: 576px){
  .profile .avatar{ margin-top: -30px; }
}

/* 비활성화 상태 */
.nav-pills .nav-item .nav-link i.material-icons {
  background-color: transparent;   /* 배경 투명 */
  color: #504B38;                  /* 아이콘 기본 색 */
  border-radius: 50%;
  padding: 12px;
  font-size: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  transition: background-color 0.3s, color 0.3s;
}

.nav-pills .nav-link.active {
  background-color: #B9B28A !important; /* 활성화 배경 */
  color: #FFFFED !important;            /* 활성화 텍스트 색 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* 그림자 */
  border-radius: 8px;                   /* 모서리 둥글게 */
}

/* 활성화 상태 아이콘 */
.nav-pills .nav-item .nav-link.active i.material-icons {
  background-color: #FFFFED;
  color: #B9B28A;
  margin-bottom: 6px;
}

/* 글씨 스타일 (활성/비활성) */
.nav-pills .nav-item .nav-link .nav-text {
  font-size: 10px;
  line-height: 1.2;
  font-weight: 600;
  color: #504B38;   /* 비활성 글씨 색 */
  text-transform: uppercase;
}

.nav-pills .nav-item .nav-link.active .nav-text {
  color: white;     /* 활성화 시 텍스트 색 */
}

.cv-section {
  max-width: 860px;
  margin: 0 auto;
}

.cv-block {
  border: 1px solid #ccc;         /* 대분류 테두리 */
  border-radius: 8px;
  padding: 16px 20px;
  margin: 12px 0 24px;
  margin-bottom: 24px;            /* 블록 사이 간격 */
  background-color: #FFFFED;      /* 배경색 */
}

.cv-title {
  font-size: 20px;
  font-weight: 700;
  margin-top: 5px;
  margin-bottom: 8px;
}

.cv-section hr {
  margin: 0 0 12px;
  border: none;
  border-top: 2px solid #ccc;
}

.cv-item {
  display: flex;
  margin-bottom: 8px;
}

.cv-date {
  width: 160px; /* 날짜 영역 고정 폭 */
  font-weight: 600;
  color: #666;
}

.cv-content {
  flex: 1;
  color: #333;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.cv-content a {
    word-break: break-all;   /* 링크 중간에서도 줄바꿈 */
  }

.cv-section .cv-block:first-child {
  margin-top: 0; /* 첫 번째 블록은 위 여백 제거 */
}
