/* 기존 스타일 유지 */
body {
  margin: 0;
  padding: 0;
  background-color: #f9fcff;
  color: #333;
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
}

.main-header {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
              url('https://png.pngtree.com/background/20230424/original/pngtree-two-korean-students-standing-side-by-side-are-smiling-picture-image_2458659.jpg') no-repeat center/cover;
  color: white;
  text-align: center;
  padding: 10rem 1rem;
}

.back-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 10px 20px;
  background-color: #ffffff;
  color: #4aa3f0;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 50px; /* 완전히 둥글게 */
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.back-btn:hover {
  background-color: #e6f2fb;
  transform: translateY(-2px);
}
.main-header h1 {
  font-family: 'Dongle', sans-serif;
  font-size: 7rem;
  margin: 0;
}

.main-header p {
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

.header-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  background-color: #3498db;   /* 하늘색 느낌 */
  border: none;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.header-btn:hover {
  background-color: #217dbb;  /* hover 시 진한 파란색 */
  transform: translateY(-3px); /* 살짝 위로 올라가는 효과 */
}

.intro-section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.intro-section h2 {
  font-family: 'Dongle', sans-serif;
  font-size: 5rem;
  color: #4aa3f0;
  margin-bottom: 1rem;
  text-align: center;
}

.intro-box {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.intro-box p {
  font-size: 1.2rem;
  font-family: 'Roboto', sans-serif;
  margin: 0;
}

.intro-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.image-text {
  position: absolute;
  top: 0%;
  right: 10%;
  transform: none;
  font-family: 'Dongle', sans-serif;
  font-size: 4rem;
  color: #4aa3f0;
  text-align: right;
  pointer-events: none; /* 클릭 이벤트는 통과 (이미지A만 클릭되도록) */
}

/* 이미지 세션 - 세로 정렬 */
.image-section {
  display: flex;
  flex-direction: column; /* 세로 방향 정렬 */
  align-items: center;
  gap: 5rem; /* 위아래 간격 */
  margin: 3rem auto;
}

.image-container {
  position: relative;
  width: 1000px;
  height: 100px;
  cursor: pointer;
}

.image-b {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.image-a {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: transform 3s ease;
  transform: translateX(-350px); /* 항상 제자리 */
}

.image-a.move {
  transform: translateX(2000px); /* 클릭 시 오른쪽 이동 */
}

.page-footer {
  background-color: #e0e0e0; /* 깔끔한 회색 배경 */
  color: #333;               /* 텍스트 색 */
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid #ccc; /* 상단 경계선으로 구분 */
  font-family: 'Roboto', sans-serif;
}

.page-footer .footer-content p {
  margin: 0.3rem 0;
  font-size: 0.9rem;
}