body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: #f9f9f9;
  margin: 0;
  padding: 30px;
  color: #222;

}

.resume {
  max-width: 900px;
  margin: auto;
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
  margin-bottom: 20px;
  justify-content: space-between;
}

.photo img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #eee;
}

#number,
#email {
  background-color: ivory;
}

.info h1 {
  font-size: 28px;
  margin: 0 0 10px;
  background-color: ivory;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.info p {
  margin: 4px 0;
  font-size: 15px;
  font-weight: bold;
}

.info a {
  color: #000;
  text-decoration: underline;
}

.info a:visited {
  color: #000;
}

.info a:hover {
  color: #000;
}

.info a:active {
  color: #000;
}

.section {
  margin-top: 35px;
  padding: 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.section:hover {
  background-color: #f8f9fa;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transform: translateX(5px);
}

.section h2 {
  font-size: 20px;
  border-bottom: 2px solid #ccc;
  padding-bottom: 5px;
  margin-bottom: 10px;
  transition: border-color 0.3s ease;
}

.section:hover h2 {
  border-bottom-color: #333;
}

.item {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: normal;
}

.item strong {
  display: inline-block;
  width: 290px;
  font-weight: bold;
}

.university img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 10px;
}

.info {
  flex: 1;
  margin: 0 20px;
}

table.family {
  width: 100%;
  border-collapse: collapse;
}

table.family th,
table.family td {
  border: 1px solid black;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  transition: all 0.3s ease;
}

table.family tbody tr {
  transition: all 0.3s ease;
}

table.family tbody tr:hover {
  background-color: lightgray;
  transform: scale(1.02);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

table.myself {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid black;
}

table.myself td {
  padding: 15px;
  font-weight: bold;
}

.page {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 10px;
}

.next-page {
  padding: 10px 10px;
  background-color: black;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}


/* 기술 스택 프로그레스 바 */
.skills-container {
  margin-top: 15px;
  padding: 10px 0;
}

.skill-item {
  margin-bottom: 20px;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.skill-name {
  font-weight: bold;
  font-size: 16px;
  color: #333;
}

.skill-clickable {
  cursor: pointer;
  transition: all 0.3s ease;
}

/* JAVA, HTML/CSS 클릭 효과 */
.skill-clickable:hover {
  color: #4CAF50;
  text-decoration: underline;
  transform: scale(1.05);
}

.skill-percent {
  font-weight: bold;
  font-size: 14px;
  color: #666;
}

.progress-bar {
  width: 100%;
  height: 25px;
  background-color: #e9ecef;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #4CAF50);
  border-radius: 15px;
  transition: width 1.5s ease-out;
  position: relative;
  overflow: hidden;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/* 프로필 이미지 호버 효과 */
.photo img {
  transition: all 0.3s ease;
}

.photo img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 대학 로고 호버 효과 */
.university img {
  transition: all 0.3s ease;
}

.university img:hover {
  transform: scale(1.05);
}

/* 다음 페이지 버튼 호버 효과 */
.next-page {
  transition: all 0.3s ease;
}

.next-page:hover {
  background-color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 자격증 클릭 링크 스타일 */
.certificate-link {
  color: #000;
  cursor: pointer;
  text-decoration: underline;
  transition: all 0.3s ease;
}

.certificate-link:hover {
  color: #000;
  text-decoration: underline;
}

/* 모달 스타일 */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-content {
  position: relative;
  margin: 5% auto;
  padding: 0;
  max-width: 90%;
  max-height: 85vh;
  animation: slideDown 0.4s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* 자격증 모달 크기 조정 */
#cert-modal-content {
  max-width: 50%;
}

/* 작은 화면에서는 크기 조정 */
@media (max-width: 768px) {
  #cert-modal-content {
    max-width: 80%;
  }
}

.modal-video {
  width: 100%;
  max-height: 80vh;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.close {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1001;
}