body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
}

header {
  background-color: #2c3e50;
  color: white;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  cursor: default;
}

.logo {
  margin-right: 40px;
  font-weight: bold;
  cursor: pointer;
}

nav {
  display: flex;
  gap: 30px;
}

.menu {
  position: relative;
}

.menu > a {
  color: white;
  text-decoration: none;
}

.submenu {
  position: absolute;
  top: 30px;
  left: 0;
  background-color: #34495e;
  display: none;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.5s ease;
  min-width: 180px;
  cursor: pointer;
}

.submenu a {
  padding: 10px;
  color: white;
  text-decoration: none;
}

.submenu.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.submenu.closing {
  display: flex;
  opacity: 0;
  pointer-events: auto;
}

.submenu.close {
  opacity: 0;
  pointer-events: none;
}

/* .menu:not(:hover) .submenu:not(:hover) {
  display: flex;
  opacity: 0;
  transition: opacity 0.5s;
} */

/* .menu:hover .submenu {
  display: flex;
  opacity: 1;
} */

main {
  flex: 1;
  padding: 0px;
}

main > p {
  padding: 20px;
  /* line-height: 1.6;
  font-size: 1.2rem;
  color: #333; */
}

.page-title {
  width: 100vw; /* 화면 전체 너비 */
  background-color: #003366; /* 군청색 */
  color: #fff; /* 흰색 글자 */
  margin: 0; /* 기본 margin 제거 */
  padding: 40px 20px; /* 상하 25px, 좌우 20px 패딩 */
  box-sizing: border-box; /* 패딩 포함 너비 계산 */
}

.page-title h1 {
  margin: 0; /* h1 기본 margin 제거 */
  text-align: Center; /* 가운데 정렬 */
  font-size: 2.5rem; /* 적당한 크기 */
  font-weight: 700;
}

footer {
  background-color: #003366; /* 군청색 */
  color: #fff;
  padding: 30px 20px 15px;
  font-size: 0.9rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  box-sizing: border-box;
}

footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 40px;
  max-width: 1200px;
  margin: 0 auto 15px auto;
  justify-content: center;
}

footer .item {
  flex: 1 1 220px;
  min-width: 180px;
  line-height: 1.5;
}

footer .item strong {
  font-weight: 600;
}

footer .copyright {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.7;
}
