#container {
    display: flex;
    width: 100%;    
    min-height: 100vh;
    margin: 0 auto; /* 중앙 정렬 */
    padding: 40px; /* 컨테이너 주변 여백 */
    gap: 40px; /* 좌우 컨테이너 사이 간격 */
    align-items: stretch; /* 컨테이너 높이를 동일하게 확장 */
}

.left-container { 
    width: 70%; /* 왼쪽 영역 너비 조정 */
    padding: 40px;
    animation: fade-in-up 0.8s ease-out forwards;
    text-align: center;
}

.main-header {
    text-align: center;
    width: 100%;
    margin-bottom: 70px;
}

.content-area {
    width: 100%;
}

.right-container {
    width: 30%; /* 오른쪽 영역 너비 조정 */
    border-radius: 20px; /* 모서리 둥글게 */
    
    /* 글래스모피즘 스타일 적용 */
    background: var(--background-card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px 0 var(--shadow-color);

    padding: 30px;
    transition: all 0.4s ease;
    animation: fade-in-up 0.8s 0.5s ease-out forwards;
    opacity: 0; /* 애니메이션을 위해 초기 투명도 설정 */
}

/* 콘텐츠 전환 효과를 위한 스타일 */
#right-content-area {
    transition: opacity 0.3s ease-in-out;
}
#right-content-area.fade-out {
    opacity: 0;
}

#right-content-area h3 {
    color: var(--base-color);
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 700;
}

#right-content-area p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 15px;
}

#right-content-area hr {
    border: none;
    height: 1px;
    background-color: rgba(128, 128, 128, 0.2);
    margin: 20px 0;
}

.main-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%; 
    text-align: center; 
    padding: 20px 0; 
    color: var(--footer-text-color); 
    font-size: 0.9rem; 
    transition: color 0.3s;
}

.main-footer p {
    margin: 0;
}

/* Responsive Layout */
@media (max-width: 1200px) {
    #container {
        flex-direction: column;
        padding: 20px 20px 100px 20px;          
        gap: 20px;
    }
    .left-container, .right-container { 
        width: 100%; 
    }
}

@media (max-width: 992px) {
    #container {        
        padding: 20px 20px 100px 20px;            
    }
    .left-container, .right-container { 
        padding: 20px; 
    }
    .main-header { 
        margin-bottom: 50px; 
    }
}