.page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: space-between;
  font-family: Arial, sans-serif;
}

.header,
.footer {
  text-align: center;
}

.header {
  background-color: rgba(47, 47, 64, 0.8);
  text-align: center;
  padding: 15px 0;
}

.header h1 {
  color: white;
  margin: 0;
  padding: 0;
}

.footer {
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 10px 30px;
  font-size: 0.8em;
}

.footer p {
  margin: 5px;
}

.mainContent {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding: 50px 40px;
}

.pageTitle {
  color: #333;
  font-size: 2.5em;
  margin-bottom: 0.5em;
}

.pageText {
  margin-top: 1em;
  text-align: left;
  color: #444;
  font-size: 1.1em;
  margin-bottom: 1.5em;
}

.pageText strong {
  font-size: 1.2em;
  display: block;
  margin-bottom: 0.5em;
}

.footerText {
  text-align: left;
  color: #444;
  font-size: 1.1em;
  margin-bottom: 0.5em;
  line-height: 1.5;
}

.textWithImage {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 1.5em;
  padding: 0 20px;
}

.textWithImage img {
  margin-right: 20px;
  border-radius: 10px;
}

/* 반응형 스타일 추가 */
@media (max-width: 768px) {
  .pageText {
    font-size: 1em; /* 글씨 크기 줄이기 */
  }

  .footerText {
    font-size: 0.8em; /* 글씨 크기 줄이기 */
  }

  .pageText strong {
    font-size: 1.2em; /* 강조된 글씨 크기 줄이기 */
  }

  .textWithImage {
    flex-direction: column; /* 모바일에서 이미지와 텍스트를 세로로 배치 */
    align-items: center;
    padding: 0 10px; /* 모바일에서 좌우 여백 줄이기 */
  }

  .textWithImage img {
    margin-bottom: 10px; /* 이미지 아래에 여백 추가 */
    margin-right: 0; /* 이미지와 텍스트 사이의 간격 제거 */
  }
}
