body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #111827;
  /* bg-gray-900 */
  color: #e2e8f0;
}

.container {
  max-width: 700px;
  margin: 40px auto;
  /* background: #1f2937; */
  /* border-radius: 18px; */
  /* box-shadow: 0 4px 24px rgba(0,0,0,0.18); */
  padding: 40px 32px 32px 32px;
}

header {
  text-align: center;
  margin-bottom: 32px;
}

.profile-pic {
  width: 200px;
  height: 200px;
  margin: 0 auto 16px auto;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #383832;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.17);
}

.profile-pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  /* center top, center bottom 등으로 조정 가능 */
  image-rendering: auto;
  image-rendering: crisp-edges;
  /* 또는 high-quality, 둘 중 하나만 사용 */
  /* image-rendering: -webkit-optimize-contrast; */
  /* 크롬 실험적 */
}

.icon-links {
  margin: 16px 0 8px 0;
}

.icon-links a {
  color: #facc15;
  /* text-yellow-400 */
  font-size: 2rem;
  margin: 0 4px;
  transition: color 0.2s;
}

.icon-links a:hover {
  color: #fde047;
  /* hover: text-yellow-300 */
}

.subtitle {
  color: #facc15;
  /* text-yellow-400 */
  font-size: 1.1rem;
  margin-top: 4px;
}

h1 {
  color: #facc15;
  /* text-yellow-400 */
}

h2 {
  color: #facc15;
  /* text-yellow-400 */
  margin-bottom: 10px;
}

section {
  margin-bottom: 28px;
}

.basic-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: disc inside;
  padding: 0;
  margin: 0;
}

.basic-list li {
  position: relative;
  padding-left: 0.5em;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.skill-list li {
  background: #393e46;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 1rem;
  color: #facc15;
  /* text-yellow-400 */
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-card {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  /* 세로 배치 */
  align-items: stretch;
  padding: 0;
  border-radius: 12px;
  background: #1f2937;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.18s;
  min-height: 120px;
  overflow: hidden;
}

.project-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: scale(1.03);
}

.icon-small {
  font-size: 1.4rem !important;
}

.project-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  display: block;
  flex-shrink: 0;
}

.project-card-content {
  padding: 10px 12px;
  /* 기존 padding: 16px; 에서 줄임 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  margin : 0;
}

.project-card-content h2 {
  margin: 5px 0 10px 0;
}

.project-card-content ul {
  margin: 0 ;
}

header h1 {
  margin-bottom: 4px;
  /* header 안의 h1만 예외적으로 아래 여백을 줄임 */
}

header .icon-links {
  margin-top: 0;
  /* header 안의 아이콘만 위 여백 제거 */
  margin-bottom: 8px;
  /* 아래 여백은 기존대로 */
}

.project-card.project0 .project-thumb {
  object-position: center 35%;
  /* 예시: 위쪽을 더 많이 보이게 */
}

.project-card.project1 .project-thumb {
  object-position: center 47%;
  /* 예시: 위쪽을 더 많이 보이게 */
}

.project-card.project2 .project-thumb {
  object-position: center 35%;
  /* 예시: x축 30%, y축 70% 위치로 이동 */
}

.project-card.project3 .project-thumb {
  object-position: center 90%;
  /* 예시: x축 30%, y축 70% 위치로 이동 */
}

/* 첫번째 프로젝트의 skill-list를 더 작은 폰트로 */
.project-card .skill-list li {
  padding: 4px 8px;
  font-size: 0.75rem;
}

/* 반응형 레이아웃 */
@media (max-width: 768px) {
  .container {
    padding: 10px;
  }

  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-pic {
    width: 120px;
    height: 120px;
    min-width: 100px;
    min-height: 100px;
    max-width: 150px;
    max-height: 150px;
  }

  .profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
  }

  .project-list {
    flex-direction: column;
    gap: 16px;
  }

  .project-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0 auto;
  }

  .project-thumb {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  .project-card-content p {
    font-size: 0.95rem;
  }
}