@charset "utf-8";

body {position: relative;}

/* 모바일용 네비 메뉴 */
.mobile_navBtn {
   cursor: pointer;
   width: 60px;
   height: 60px;
   background-color: #61BD8B;
   transition: 0.6s ease;
   position: fixed;
   left: 0;
   top: 0;
   display: flex;
   justify-content: center;
   align-items: center;
   display: none;
   z-index: 13000;
}

.mobileBtn {
   position: absolute;
}

.mobileBtn i {
   font-size: 4rem;
   color: #fff;
}

.mobileBtn.hidden {
   display: none;
}

/* 사이드바 감추기, 나타나기 버튼 */
.hiddenNav {
   position: fixed;
   left: 0;
   bottom: 0;
   z-index: 13000;
}

.hiddenBtn, .showBtn{
   cursor: pointer;
   width: 60px;
   height: 80px;
   background-color: #61BD8B;
   transition: 0.6s ease;
   position: relative;
   border-radius: 0 10px 10px 0;
}

.hiddenBtn .hiddenIcon, .showBtn .showIcon {
   font-size: 5rem;
   color: #fff;
   position: absolute;
   left: 50%;
   top: 50%;
   transform: translate(-50%, -50%);
}

.showBtn {display: none;}
.showBtn.transform {left: 0;}


/* 사이드바 */
#sidebar {
	width: 30rem;
	height: 100vh;
	background-color: var(--point-color);
	overflow-y: auto;
	border-radius: 0 30px 30px 0;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 10000;
	transition: 0.6s ease;
	display: flex;
	justify-content: center;
	flex-direction: column;
}

.activeBar {
    transform: translateX(-30rem) !important;
}

.mobileActive {
    transform: translateX(0) !important;
}

/* logo */
#NK_logo {
    width: 30rem;
    height: 10vh;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 12000;
    border-radius: 0 28px 0 0;
    box-shadow: 5px 5px 10px rgba(121, 121, 121, 0.4);
    transition: 0.6s ease;
}

#NK_logo.deleteShadow {
    box-shadow: none;
}

#NK_logo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    object-position: 60%;
}

.sidebar_wrap {
    height: calc(100% - 10vh);
    margin-top: 10vh;
}

/* profile, info */
.profile {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.profile .userName {
   font-size: 3rem;
   font-weight: 600;
   color: #fff;
   word-break: break-word;
   text-align: center;
}

.profile .profile_banner {
	width: 12vw;
	height: 12vh;
	display: flex;
	justify-content: center;
	align-items: center;
}

.profile .profile_banner i {
   font-size: 8rem;
   color: #fff;
}

.profile .profile_banner img {
	object-fit: contain;
}

.profile h3 {
	font-weight: 600;
	font-size: 2.4rem;
	color: #fff;
	margin-bottom: 0.5rem;
}

.profile .userInfo {
    display: flex;
    flex-direction: column;
    margin: 1rem 0;
}

.profile .userInfo .infoBtn {
    display: block;
    width: 130px;
    height: 40px;
    background-color: #26794C;
    border-radius: 10px;
    color: #fff;
    font-size: var(--sm-big-font-size);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease-in-out;
    margin-top: 1rem;
}


.profile .userInfo .infoBtn:hover {
    background-color: #5BB182;
}

.profile .userInfo .infoBtn.activeSub {
    background-color: rgba(91, 177, 130, 1);
}

.profile .userInfo .infoBtn i {
    margin-right: 1rem;
}

/* nav */
nav {
	width: 100%;
}

.navMenu li {
	width: 100%;
	height: 8vh;
}

.navMenu li > a {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
	height: 100%;
	padding: 0 3rem;
	font-size: 2.2rem;
	color: #fff;
	transition: 0.3s ease;
}

.navMenu li > a > i {
    width: 3rem;
	font-size: 2.5rem;
	margin-right: 1.5rem;
}

.navMenu li > a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.navMenu li > a.colorActive {
    background-color: rgba(255, 255, 255, 0.35);
}

.timeClock {
    padding: 1rem;
}

.date {
    font-size: 2.3rem;
    color: rgb(240, 240, 240);
    text-align: center;
}

.time {
    font-size: 6.5rem;
    font-weight: bold;
    color: #fff;
    text-align: center;
}


/***************** 반응형 **********************/

@media (max-width: 1400px) {

  #sidebar, #NK_logo {
    width: 25rem;
  }

  .navMenu li > a {
    font-size: 2rem;
    padding: 0 2rem;
  }

  .timeClock {
    padding: 0;
  }

  .time {
    font-size: 4rem;
  }
}


/* 1024px 이하일 때 */
@media (max-width: 1024px) {

  /* 모바일 사이드바로 변경 */
  #sidebar {
    background-color: #fff;
    border-radius: 0;
    transform: translateX(-25rem);
  }

  #NK_logo {
    top: 10px;
    transform: translateX(-25rem);
  }

  /* 1024px 이하일때 메뉴 버튼 나타나게 */
  .mobile_navBtn {
    display: flex;
  }

  .profile .profile_banner {
    display: none;
  }

  .profile .userName {
    color: var(--point-color);
    padding-top: 2rem;
  }

  .profile .userInfo {
    margin: 2rem 0;
  }

  .navMenu li > a {
    color: var(--point-color);
  }

  .navMenu li > a > span {
    font-weight: 800;
  }

  #NK_logo {
    border-radius: 0;
    box-shadow: none;
  }

  #timeClock {
    padding: 3rem;
  }

  #time, #date {
    color: var(--point-color);
  }

  .hiddenBtn, .showBtn {
    display: none;
  }



/*  #sidebar, .NK_logo {
    width: 12rem;
  }

  .NK_logo img {
    width: 70%;
  }

  .profile {
    margin-top: 0;
    padding: 0 1rem;
  }

  .profile, .profile .profile_banner {
    width: 100%;
  }

  .profile .profile_banner i {
    font-size: 5rem;
  }

  .profile .userName {
    font-size: 2.2rem;
  }

  .profile .userInfo {
    margin: 1.5rem 0;
  }

  .profile .userInfo .infoBtn {
    width: 50px;
    height: 50px;
  }

  .profile .userInfo .infoBtn:last-child {
    margin-top: 2rem;
  }

  .navMenu li {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .navMenu li > a {
    justify-content: center;
  }

  .profile .userInfo .infoBtn i,
  .navMenu li > a > i {
    margin-right: 0;
  }

  .hiddenBtn, .showBtn {
    width: 12rem;
    height: 50px;
    border-radius: 0 0 10px 0;
  }

  .infoBtn .userInfo_text,
  .navMenu .navMenu_text {
    display: none;
  }*/

}

@media (max-width: 768px) {

  }
/**********************************************/