/* =========== :::::::::: header :::::::::: ===========  */
html {
  font-size: 62.5%; 
  /* font-size: 42.5%;  */
  background-color: #121212;
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
}

div {
  box-sizing: border-box;
  transition: 0.3s ease-in-out;
}

p {
  color: #f1f1f1;
  font-family: 'Pretendard', sans-serif;
}

.mo_only {display: none!important;}

/* ::: === 반응형 적용  === ::: */
@media (max-width:1300px) and (min-width:768px) {
  html {font-size: 42.5%;}
}

@media (max-width:768px) {
  .mo_only {display: block!important;}
  .pc_only {display: none!important;}
}

.no-scroll {overflow: hidden; height: 100vh;}

/* ============ :::: HEADER :::: ============ */
.ccHeader {
  width: 100%;
  height: auto;
  position: fixed;
  left: 50%;
  top: 6rem;
  transform: translateX(-50%);
  z-index: 9;
  position: fixed;
  top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  box-sizing: border-box;
  transition: all 0.5s ease-in-out;
}

.logo {
  display: inline-block;
  width: 8rem;
  height: auto;

  animation: logoFade 0.5s ease-in-out backwards;
  animation-delay: 1.8s;
}
@keyframes logoFade {
	0% {
    transform: translateX(-20rem);
  }
  100% {
    transform: translateX(0rem);
  }
}


.logo img {
  width:100%;
  height: auto;
}

.navDim {
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(0);

  animation: ccHfadeDown 0.6s ease-in-out backwards;
  animation-delay: 1s;
}
@keyframes ccHfadeDown {
	0% {
    transform: translateY(-100%);
		opacity: 0;
  }
	100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.navDim.down_header {
  transform: translateY(-300%);
}

.navGroup {
  display: inline-block;
  border: 1px solid #f1f1f1;
  border-radius: 999999px;
  padding: 1rem;
  backdrop-filter: blur(4px);
  overflow: hidden;

  animation: navWidth 0.6s ease-in-out backwards;
  animation-delay: 1.2s;
}
@keyframes navWidth {
	0% {
    width: 0%;
  }
  100% {
    width: 100%;
    opacity: 1;
  }
}

.navInner {
  width: 100%;
}

.navList {
  display: flex;
  align-items: center;
}

.navList li {
  margin: 0 1rem 0 1rem;
  opacity: 0;
}

.navList li a {
  color: #f1f1f1;
  font-size: 2rem;
  padding: 1rem 2rem;
  display: inline-block;
  font-family: "Pretendard", sans-serif;
  font-weight: 500;
}

.navList li a:hover {
  background: #888;
  border-radius: 3rem;
}

.navList li.active::before {
  content: '';
  width: 100%;
  height: 100%;
  background-color: #888;
  border-radius: 3rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  border-radius: 3rem;
  z-index: -1;
  opacity: 1;
  transition: none;
}

.navList li:first-child.active.first-load::before {
  animation: beRight 0.5s ease-in-out backwards;
  animation-delay: 2.1s;
  animation-fill-mode: both;
}
@keyframes beRight {
	0% {
    transform: translate(-180%,-50%);
  }

  100% {
    transform: translate(-50%,-50%);
  }
}

.siedMenuBtn {
  width: 4rem;
  height: 4rem;
  display: sfle;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  cursor: pointer;

  animation: sideFade 0.5s ease-in-out backwards;
  animation-delay: 2.1s;
}
@keyframes sideFade {
	0% {
    transform: translateX(20rem);
  }
  100% {
    transform: translateX(0rem);
  }
} 

.siedMenuBtnLine {
  width: 100%;
  background: #FFF;
  height: 3px;
  z-index: 1;
  border-radius: 3rem;
}

.bgDim {
  width: 100vw;
  height: 100vh;
  background-image: url(../../public/img/main/BG01.png);
  background-repeat: unset;
  background-position: center;
  background-size: cover;
  position: fixed;
  top: 0;
  background-color: #121212;
  transition: none;
}

/* 커서를 따라 다니는 원 */
.cursorCircle {
  position: fixed;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  pointer-events: none;
  background: white;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.2s ease;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cursorCircle p {
  color:#111;
  text-align: center;
  opacity: 0;
}

/* ::: === 반응형 적용  === ::: */
@media (max-width:991px) {
  .ccHeader {
    top: 4rem;
    padding: 0px 3rem;
  }

  .logo {
    width: 7rem;
  }

  .siedMenuBtn {
    width: 3rem;
    height: 3rem;
  }

  .cursorCircle {display: none;}
}

@media (max-width:767px) {
  .ccHeader {
    top: 2rem;
    padding: 0px 2rem;
  }

  .logo {
    width: 6rem;
  }

  .navGroup {
    display: none;
  }

  .siedMenuBtn {
    width: 3rem;
    height: 3rem;
  }
}


/* ============ :::: SIDE MENU :::: ============ */
.sideMenuDim {
  width: 100vw;
  height: 100%;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 11;
  backdrop-filter: blur(6px);
  background: #76767645;
  z-index: -10;
  transition: 0.6s ease-in-out;
}

.sideMenuDim.active {
  opacity: 1;
  z-index: 10;
}

.sideMenuArea {
  height: 100vh;
  position: fixed;
  z-index: 10;
  transform: translateX(100%);
  width: 50vw;
  left: unset;
  right: 0;
  max-width: unset;
  display: flex;
  justify-content: flex-end;
  transition: all 0.6s ease-in-out;
  max-width: 80rem;
}

.sideMenuArea.active {
  transform: translateX(0);
}

.sideMenuAreaInner {
  width: 100%;
  max-width: 130rem;
  background-color: #121212;
  z-index: 1;
  border-left: 1px solid #70707040;
  box-shadow: #12120D 0px 0px 35px;
  transition: 0.6s ease-in-out;
}

.smCloseBtn {
  width: 4rem;
  height: 4rem;
  position: absolute;
  right: 4rem;
  top: 5rem;
  cursor: pointer;
  z-index: 1;
}

.smCloseBtn span {
  width: 100%;
  height: 3px;
  background-color: #FFF;
  position: absolute;
  left: 0;
  top: 50%;
  transform: rotate(45deg);
  border-radius: 2rem;
}

.smCloseBtn span:nth-child(2) {
  transform: rotate(-45deg);
}

.sideMTop {
  width: 100%;
  height: 34vh;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

.contObject {
  width: 32rem;
  height: auto;
  position: absolute;
  left: -5rem;
  top: 6rem;
  top: -6rem;
}

.contObject img {
  width: 100%;
  height: auto;
}

.smContact {
  width: 100%;
  display: inline-block;
  position:relative;
  right: unset;
  bottom: unset;
  padding: 0 3rem 3rem 0;
}

.smContact li {
  color: #FFF;
  font-size: 2rem;
  line-height: 1;
  font-family: 'Pretendard', sans-serif;
  font-weight: 500;
  letter-spacing: 0.4rem;
  margin-bottom: 1.5rem;
  text-align: right;
}

.smContact li:last-child {
  margin-bottom:0;
}

.sideMBtm {
  width: 100%;
  height: 70vh;
  border-top: 1px solid #707070;
}

.smNameBox {
  width: 100%;
  height: calc(100%/4 - 3rem);
  border-bottom: 1px solid #707070;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  cursor: pointer;
}

.smNameBox a {
  width: 100%;
  height: 100%;
}

.smNameClipBox {
  width: 100%;
  height: auto;
  position: absolute;
  left: 0;
  bottom: 0;
}

.smNameTxtClip {
  display: inline-block;
  width: auto;
  position: relative;
  left: 5%;
  background-color: #121212;
}

.profileSBox .smNameTxtClip {
  left: 32%;
}

.workSBox .smNameTxtClip {
  left: 62%;
}

.smNameTxtClip::before, .smNameTxtClip::after {
  content: '';
  width: 1px;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: #707070;
  transform-origin: top;
  transform: rotate(5deg);
}

.smNameTxtClip::after {
  left: unset;
  right:0;
  transform: rotate(-5deg);
}

.smNameTxt {
  padding: 3rem 4rem;
  display: inline-block;
  font-size: 3.5rem;
  border-top: 1px solid #707070;
  position: relative;
  line-height: 1;
}

.smNameTxt::before {
  content: '';
  width: 1px;
  height: 103%;
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: top;
  transform: translateX(-49%);
  width: 20px;
  height: 100%;
  clip-path: polygon(50% 0%, 70% 0, 100% 100%, 0% 100%);
}

.smNameTxt::after {
  content: '';
  width: 1px;
  height: 103%;
  position: absolute;
  right: 0;
  top: 0;
  transform-origin: top;
  transform: translateX(49%);
  width: 20px;
  height: 100%;
  clip-path: polygon(20% 0%, 50% 0, 100% 100%, 0% 100%);
  z-index: 1;
}

.hoverBotm {
  width: 100%;
  background: #FFF;
  height: 0;
}

.smNameBox:hover .smNameTxt{
  background: #FFF;
  color:#111;
}

.smNameBox:hover .smNameTxt::before {
  background: #FFF;
}

.smNameBox:hover .smNameTxt::after {
  background: #FFF;
}


.smNameBox:hover .hoverBotm {
  height: 8rem;
}


@media (max-width:991px) {
  .sideMenuArea.active {
    width: 60vw;
  }

  .sideMTop {
    height: 30vh;
  }
  .smCloseBtn {
    width: 3rem;
    height: 3rem;
    right: 3rem;
    top: 4.5rem;
  }

  .smContact {
    padding: 0 3rem 3rem 0;
  }


  .smContact li {
    font-size: 3rem;
    line-height: 1.15;
    font-weight: 600;
    margin-bottom: 1rem;
  }

  .smNameTxt {
    font-size: 3.5rem;
  }

  .profileSBox .smNameTxtClip {
    left: 50%;
    transform: translateX(-50%);
  }

  .workSBox .smNameTxtClip {
    left: 100%;
    right: unset;
    transform: translate(-112%);
  }

  .smNameBox:hover .hoverBotm {
    height: 4rem;
  }
}

@media (max-width:767px) {

  .sideMenuArea.active {
    width: 100vw;
  }

  .sideMTop {
    height: 30vh;
  }

  .smCloseBtn {
    width: 3rem;
    height: 3rem;
    right: 2rem;
    top: 2rem;
  }

  .contObject {
    width: 21rem;
    height: auto;
    position: absolute;
    left: -5rem;
    top: 6rem;
    top: -6rem;
  }

  .smContact {
    width: 100%;
    display: inline-block;
    position: relative;
    right: unset;
    bottom: unset;
    padding: 0px 2rem 2rem 0;
  }

  .smNameTxt {
    padding: 2rem 3rem;
    display: inline-block;
    font-size: 2.5rem;
    border-top: 1px solid #707070;
    position: relative;
    line-height: 1;
  }


  .smContact li {
    color: #FFF;
    font-size: 2rem;
    line-height: 1;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    letter-spacing: 0.13rem;
    margin-bottom: 1rem;
    text-align: right;
  }

  .smNameBox:hover .hoverBotm {
    height: 3rem;
  }


}