/* 글꼴은 시스템 기본으로 */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-image: url('10.jpg'); /* 또는 'images/10.jpg' */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #333;
  text-align: center;
}

/* ───────────── 네비게이션 ───────────── */
header {
  display: flex;
  justify-content: space-between;
  padding: 20px 5%;
  align-items: center;
}

header nav a {
  margin: 0 25px;
  text-decoration: none;
  color: inherit;
  font-weight: 500;
}

.logo { font-size: 1.4rem; }

.icon-img {
  width: 200px;
  margin: 0 20px;
  display: inline-block;
  vertical-align: middle;
}
.music-img {
  width: 180px; /* 책보다 살짝 작게 */
}


/* ───────────── 메인 카피 ───────────── */
.welcome h2 {
  font-size: clamp(1.2rem, 2.5vw + 0.9rem, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
  max-width: 80%;
  margin: 0 auto 20px;
    font-family: 'MonoplexKRWideNerd-BoldItalic';
     font-weight: 700; /* 또는 800 */

}

/* ───────────── 감정 단어 ───────────── */
.feelings {
  position: relative;   /* 기준점 */
  width: 100%;
  height: 600px;        /* 감정 단어 영역 높이 설정 */
  margin-top: 100px;
   overflow: visible; /* 넘치는 부분도 보이게 허용! */
}

.feeling {
  position: absolute;              /* 각 단어를 좌표로 배치하기 위해 */
  animation: float 5s ease-in-out infinite;
  text-decoration: none;
  color: #6B4C3B;
  font-size: clamp(0.8rem, 2vw + 0.5rem, 1.3rem);
     font-family: 'MonoplexKRWideNerd-BoldItalic';
     font-weight: 500; /* 또는 800 */
     line-height: 1.5;       /* ✅ 줄 간격 여유 줘서 잘림 방지 */
  padding: 4px 8px;       /* ✅ 텍스트 박스에 여유 공간 확보 */
  transition: all 0.3s ease;
}
.feeling:hover {
  transform: scale(1.5);      /* 살짝 확대 */
  color: #000;             /* 갈색 톤 */
} 
.feeling-joy         { top: 10vh; left: 12vw; }
.feeling-loneliness  { top: 15vh; left: 32vw; }
.feeling-anger       { top: 8vh;  left: 50vw; }
.feeling-longing     { top: 14vh; left: 68vw; }
.feeling-sadness     { top: 30vh; left: 18vw; }
.feeling-emptiness   { top: 35vh; left: 45vw; }
.feeling-excitement  { top: 29vh; left: 72vw; }
.feeling-love        { top: 12vh; left: 85vw; }


/* 단어마다 시작 타이밍을 살짝씩 다르게 */
.feeling:nth-child(2) { animation-delay: .5s; }
.feeling:nth-child(3) { animation-delay: 1s; }
.feeling:nth-child(4) { animation-delay: 1.5s; }
/* 필요하면 더 추가 */


.emotion-title {
  font-size: 1.5rem !important;
  margin-top: 90px !important;
  font-weight: 300;
  text-align: center;
}

@keyframes float {
  0%   { transform: translateY(0); }
  25%  { transform: translateY(-20px); }
  50%  { transform: translateY(0); }
  75%  { transform: translateY(10px); }
  100% { transform: translateY(0); }
}



/* ───────────── 푸터 ───────────── */
footer {
  position: fixed;
  bottom: 20px;
  right: 40px;
  color: #999;
  font-size: 1.2rem;
}

@font-face {
  font-family: 'EF_jejudoldam';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2210-EF@1.0/EF_jejudoldam.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
    font-family: 'MonoplexKRWideNerd-BoldItalic';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_Monoplex-widenerd@1.0/MonoplexKRWideNerd-BoldItalic.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

.icon-img:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

