html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1; /* main 콘텐츠가 화면을 채우도록 설정 */
}

.main-footer {
    background-color: var(--color-gray);
    padding: 2em 1em;
    text-align: center;
    font-family: 'Noto Sans KR', sans-serif;
    color: var(--color-text);
    font-size: 1em;
    margin-top: auto; /* ✅ footer가 항상 아래로 밀리도록 */
}


.footer-container {
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.footer-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5em;
    font-size: 1em;
}

.footer-menu a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: var(--color-blue);
}

.footer-menu span {
    color: #999;
}

.footer-info {
    font-size: 0.9em;
    color: #666;
    line-height: 1.5;
}

.footer-copy {
    font-size: 0.9em;
    color: #999;
}


.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content {
  flex: 1;
}