@font-face {
    font-family: 'ChosunIlboMyungjo';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/Chosunilbo_myungjo.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}
@font-face {
    font-family: 'PyeojinGothic';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2504-1@1.0/PyeojinGothic-Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'PyeojinGothic';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2504-1@1.0/PyeojinGothic-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'PyeojinGothic';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2504-1@1.0/PyeojinGothic-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

body {
  margin: 0;
  background: #0e0e0e;
  color: white;
  cursor: none;
  background-color: #111;
}

/* 네비게이션 */
.navbar {
  display: flex;
  font-family: 'ChosunIlboMyungjo';
  position: fixed;
  justify-content: space-between;
  align-items: center;
  top: -50px;
  left: 0;
  width: 100%;
  background: #0e0e0ee3;
  transition: top 0.5s ease;
  z-index: 1000;
  letter-spacing: 0.3vh;
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.045);
}
.logo {
  letter-spacing: 1px;
  padding-left: 20px;
  display: flex;
  align-items: center;
  font-size: 0.7em;
}
.logo-circle {
  margin-right: 8px;
  margin-top: -2.5px;
  font-size: 0.7em;
  text-shadow: 0 0 5px rgba(215, 215, 215, 0.708),
               0 0 10px rgba(215, 215, 215, 0.328),
               0 0 20px rgba(215, 215, 215, 0.253);
}
.navbar ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 15px 20px;
}
.navbar a {
  color: rgba(178, 178, 178, 0.835);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
  font-size: 0.5em;
}
.navbar a:hover {
  color: #ffffff;
  text-shadow: 0 0 3px rgba(215, 215, 215, 0.708),
               0 0 8px rgba(215, 215, 215, 0.328),
               0 0 10px rgba(215, 215, 215, 0.253);
  cursor: none;
}
.navbar.show {
  top: 0;
}

/* 안에서 퍼져나가는 원 */
.landing {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #0e0e0e;
}
.pulse-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 0;
  overflow: hidden;
}
.pulse-side {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}
.pulse-side span {
  position: absolute;
  width: 150%;
  height: 150%;
  border-radius: 50%;
  background: rgba(54, 53, 53, 0.023);
  box-shadow: 0 0 8px rgba(57, 57, 57, 0.319),
              0 0 15px rgba(57, 57, 57, 0.055),
              0 0 20px rgba(57, 57, 57, 0.5);
  animation: bubble 3s linear infinite;
  opacity: 0;
}
.pulse-side span:nth-child(1) { animation-delay: 0s; }
.pulse-side span:nth-child(2) { animation-delay: 1s; }
.pulse-side span:nth-child(3) { animation-delay: 2s; }
.pulse-side span:nth-child(4) { animation-delay: 3s; }
.pulse-side.left {
  margin-left: -150px;
}
.pulse-side.right {
  margin-right: -150px;
}
@keyframes bubble {
  0% {
    transform: scale(0.1);
    opacity: 0.6;
  }
  60% {
    transform: scale(2);
    opacity: 0.3;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

/* PORTFOLIO 타이틀 */
.maintitle {
  font-family: 'ChosunIlboMyungjo';
  flex-direction: column;
  align-items: center;
  color: #ffffff;
  font-size: 2vh;
}
.title-portfolio {
  font-family: 'ChosunIlboMyungjo';
  font-size: 9vh;
  z-index: 1;
  text-shadow: 0 0 5px rgba(215, 215, 215, 0.708),
               0 0 10px rgba(215, 215, 215, 0.328),
               0 0 20px rgba(215, 215, 215, 0.253);
}
.title-year {
  transform: translateX(45%);
  font-family: 'ChosunIlboMyungjo';
  font-size: 2.5vh;
  padding-bottom: 4vh;
  color: #d0d0d0;
  text-shadow: 0 0 5px rgba(215, 215, 215, 0.708),
               0 0 10px rgba(215, 215, 215, 0.104),
               0 0 20px rgba(215, 215, 215, 0.253);
}

.resume {
  height: 100vh;
}

/* --- 스크롤 --- */
.scroll-down {
  position: relative;
  z-index: 1;
  font-size: 2vh;  
  line-height: 1;
  animation: bob 1.8s ease-in-out infinite;
  cursor: default;
  padding-bottom: 3vh;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

/* --- 메인화면 개인정보 --- */
.title-info {
  position: absolute;
  font-family: 'ChosunIlboMyungjo';
  flex-direction: column;
  align-items: center;
  color: #d0d0d0;
  font-size: 2vh;
  left: 3vh;
  bottom: 5vh;
  letter-spacing: 0.1vh;
}
.title-name {
  padding-bottom: 0.5vh;
}

/* 자기소개 */
.about {
  font-family: 'PyeojinGothic';
  height: 90vh;
  background-color: #111;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
  padding-top: 50px;
}
.about-title {
  font-family: 'PyeojinGothic';
  text-align: center;
  font-size: 3vh;           
  font-weight: bold;
  color: rgb(255, 255, 255);
  z-index: 1;
  padding-bottom: 2.3em;
}
.about p {
  max-width: 600px;
  font-size: 1.1em;
  line-height: 1.6;
  color: #ddd;
}

/* 구분선 */
.title-line {
  background-color: #111;
  position: relative;
  border-bottom: 1px solid #b1b1b1;  /* 밑줄 */
  padding-bottom: 10px;
  margin-bottom: 30px;
  text-align: center;
  color: white;
}

/* 흰 점 */
.title-line::after {
  content: "";
  position: absolute;
  bottom: -4px;   
  transform: translateX(-40vh);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(215, 215, 215, 0.708),
               0 0 10px rgba(215, 215, 215, 0.328),
               0 0 20px rgba(215, 215, 215, 0.253);
}
.title-line1 {
  background-color: #111;
  position: relative;
  border-bottom: 1px solid #b1b1b1;  
  padding-bottom: 10px;
  margin-bottom: 30px;
  text-align: center;
  color: white;
}

/* 흰 점 */
.title-line1::after {
  content: "";
  position: absolute;
  bottom: -4px; 
  transform: translateX(-60vh);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(215, 215, 215, 0.708),
               0 0 10px rgba(215, 215, 215, 0.328),
               0 0 20px rgba(215, 215, 215, 0.253);
}
.title-line2 {
  background-color: #111;
  position: relative;
  border-bottom: 1px solid #b1b1b1;  
  padding-bottom: 10px;
  margin-bottom: 30px;
  text-align: center;
  color: white;
}

/* 흰 점 */
.title-line2::after {
  content: "";
  position: absolute;
  bottom: -4px;
  transform: translateX(-20vh);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(215, 215, 215, 0.708),
               0 0 10px rgba(215, 215, 215, 0.328),
               0 0 20px rgba(215, 215, 215, 0.253);
}

.title-line3 {
  background-color: #111;
  position: relative;
  border-bottom: 1px solid #b1b1b1;  
  padding-bottom: 10px;
  margin-bottom: 30px;
  text-align: center;
  color: white;
}

/* 흰 점 */
.title-line3::after {
  content: "";
  position: absolute;
  bottom: -4px;
  transform: translateX(20vh);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(215, 215, 215, 0.708),
               0 0 10px rgba(215, 215, 215, 0.328),
               0 0 20px rgba(215, 215, 215, 0.253);
}

.title-line4 {
  background-color: #111;
  position: relative;
  border-bottom: 1px solid #b1b1b1;  
  padding-bottom: 10px;
  margin-bottom: 30px;
  text-align: center;
  color: white;
}

/* 흰 점 */
.title-line4::after {
  content: "";
  position: absolute;
  bottom: -4px;
  transform: translateX(60vh);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(215, 215, 215, 0.708),
               0 0 10px rgba(215, 215, 215, 0.328),
               0 0 20px rgba(215, 215, 215, 0.253);
}

/* --- 나의 강점 --- */
.strengths {
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #111;
  padding-top: 10vh;
}
.title-circle {
  padding-bottom: 0.5em;
  font-size: 11px;
  text-shadow: 0 0 5px rgba(215, 215, 215, 0.708),
               0 0 10px rgba(215, 215, 215, 0.328),
               0 0 20px rgba(215, 215, 215, 0.253);
}
.strengths-title {
  position: absolute;
  padding-bottom: 23em;
  text-align: center;
  font-size: 3vh;           
  font-weight: bold;
  color: rgb(255, 255, 255);
  z-index: 1;
}
.photo {
  position: relative;
  width: 23vh;
  height: 23vh;
}
.photo img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0; 
  left: 0;
  transition: opacity 1s ease;
  z-index: 2;
}
.face.aha { 
  opacity: 0; 
  width: 130%;
  height: 130%;
  transform: translateY(-7vh) translateX(-5vh);
}

/* 강점 텍스트 기본 상태: 사진 뒤쪽에 배치 */
.strength {
  font-family: 'PyeojinGothic';
  font-weight: 700;
  position: absolute;
  font-size: 1.3em;
  display: inline-block;          
  color: #2b2a2a;                
  padding: 8px 16px;         
  border-radius: 9vh; 
  letter-spacing: 0.1vh;
  opacity: 0;
  transform: translateZ(-10px) scale(0.8);
  transition: transform 1s ease, opacity 1s ease;
  z-index: 1;
}
.strength:hover {
  background-color: #ffffff;
  box-shadow: 0 0 5px rgba(215, 215, 215, 0.708),
               0 0 10px rgba(215, 215, 215, 0.328),
               0 0 20px rgba(215, 215, 215, 0.253);    
}
/* 위치 */
.strength1 { 
  top: -3vh; left: -6em; 
  background-color: #ffffffbf;
  box-shadow: 0 0 5px rgba(215, 215, 215, 0.708),
               0 0 10px rgba(215, 215, 215, 0.328),
               0 0 20px rgba(215, 215, 215, 0.253);    
}
.strength2 { 
  top: 40px; right: -180px; 
  background-color: #ffffff98;
  box-shadow: 0 0 5px rgba(215, 215, 215, 0.708),
               0 0 10px rgba(215, 215, 215, 0.328),
               0 0 20px rgba(215, 215, 215, 0.253);    
}
.strength3 { 
  bottom: -2vh; left: -160px;
  background-color: #ffffffbf;
  box-shadow: 0 0 5px rgba(215, 215, 215, 0.708),
               0 0 10px rgba(215, 215, 215, 0.328),
               0 0 20px rgba(215, 215, 215, 0.253);     
}

/* 나타날 때 (사진 앞으로 튀어나옴) */
.strength.show {
  opacity: 1;
  transform: translateZ(0) scale(1);
  z-index: 3; /* 사진보다 앞으로 */
}

/* --- 프로필 --- */
.resume-section {
  font-size: 0.8em;
  padding-top: 3em;
  padding-left: 8vh;
  padding-right: 8vh;
  padding-bottom: 3em;
  height: 100vh;
  background-color: #111;
  align-content: center;
}
.resume {
  display: flex;
  justify-content: center;
  max-height: 500px;
}
.resume-title {
  text-align: center;
  font-size: 3vh;           
  font-weight: bold;
  color: rgb(255, 255, 255);
  z-index: 1;
  padding-bottom: 3em;
}
.info-box {
  display: flex; 
  justify-content: space-between; 
  flex-direction: column;
  height: 70vh;
  max-height: 450px;
}
.info {
  width: 60vh;
  max-width: 370px;
}
.info-title {
  font-size: 2vh;
  font-weight: 700;
  padding-bottom: 1em;
}
.info-contents {
  display: flex;
  justify-content: space-between;
}
.info-content1 ul {
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: flex-end;
  color: #c1c1c1;
  text-align: right;
  font-weight: 300;
}
.info-content1 ul li {
  padding-bottom: 0.2em;
}
.info-content2 ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-weight: 300;
}
.info-content2 ul li {
  padding-bottom: 0.2em;
}

/* 스킬모음 */
.skill {
  height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.skill-title {
  text-align: center;
  font-size: 3vh;           
  font-weight: bold;
  color: rgb(255, 255, 255);
  z-index: 1;
  padding-bottom: 4vh;
}
.skills {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.skills-minititle {
  padding-bottom: 1.5vh;
}

.img-box {
  width: 5vh;             
  height: 5vh;
  border-radius: 13px;    
  background-color: rgb(255, 246, 243);
  margin-left: 4px;
  display: flex;          
  justify-content: center;
  align-items: center;
}
.img-box img {
  width: 70%;             
  height: auto;          
  object-fit: contain;     
}
.img-box1 {
  width: 5vh;             
  height: 5vh;
  border-radius: 13px;    
  background-color: rgb(255, 246, 243);
  margin-left: 4px;
  display: flex;          
  justify-content: center;
  align-items: center;
}
.img-box1 img {
  width: 4vh;             
  height: 4vh;  
  border-radius: 5px;                     
  object-fit: contain;     
}
.img-box-black {
  width: 5vh;             
  height: 5vh;
  border-radius: 13px;    
  background-color: rgb(8, 26, 38);
  margin-left: 4px;
  display: flex;          
  justify-content: center;
  align-items: center;
}
.img-box-black img {
  width: 70%;             
  height: auto;          
  object-fit: contain;     
}

.skillimg {
  width: 5vh;             
  height: 5vh;
}
.skill-img {
  width: 5vh;             
  height: 5vh;
  border-radius: 13px; 
  background-color: rgb(255, 246, 243);
}

/* 프로젝트 모음 */
.projects {
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin-top: 5em;
}
.projec-title {
  text-align: center;
  font-size: 3vh;           
  font-weight: bold;
  color: rgb(255, 255, 255);
  z-index: 1;
  padding-bottom: 4vh;
}

.project-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3em;
  padding: 2vh;
  margin-top: 3em;
  margin-bottom: 5em;
}

.project-card {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(255,255,255,0.1);
  transition: 0.3s;
  width: 60vh;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(255,255,255,0.3);
}

.project-text {
  flex: 1;
  padding: 1.5em;
  color: #000000;
}

.project-img {
  flex: 0.7;
  min-width: 100px;
  max-width: 300px;
  min-height: 200px;
  max-height: 200px;
}

.project-img img {
  width: 100%;
  height: 110%;
  object-fit: cover;
}

.project-header {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 0.5em;
  color: #383838;
}

.project-period {
  font-size: 0.7em;
  color: #aaa;
  margin-bottom: 1em;
}

.project-card p {
  font-size: 0.8em;
  color: #000000;
  margin-bottom: 1em;
}

.tech-stack {
  font-size: 0.7em;
  margin: 1em 0;
  color: rgb(56, 56, 56);
}

.buttons {
}

.btn {
  font-size: 12px;
  display: inline-block;
  padding: 0.4em 1em;
  color: rgb(255, 255, 255);
  text-decoration: none;
  background-color: #393838;
  border-radius: 60px;
}

.btn:hover {
  background: rgb(137, 137, 137);
  color: #ffffff;
}

.btn.video {
  color: #ffffff;
}

.btn.video:hover {
  background: rgb(137, 137, 137);
  color: #ffffff;
}

.footer {
  text-align: center;
  padding: 2em 1em;
  color: #aaa;
  font-size: 0.9em;
  margin-top: 3em;
}

.footer p {
  margin: 0.3em 0;
}

.footer p:first-child {
  color: #fff;
  font-weight: bold;
}

/* 빛나는 커서 */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9),
              0 0 15px rgba(255, 255, 255, 0.7),
              0 0 25px rgba(255, 255, 255, 0.5);
  z-index: 9999;
}
.cursor.click {
  background: #8f8f8f;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px #626262,
              0 0 25px #626262;
}

/* ====== 글자 효과 ====== */
.char {
  display: inline-block;
  will-change: transform;
}

.char.odd:hover  { animation: bump-up   0.35s ease; }
.char.even:hover { animation: bump-down 0.35s ease; }

@keyframes bump-up {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

@keyframes bump-down {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(10px); }
  100% { transform: translateY(0); }
}
