/* style.css */
body {
    margin: 0;
    font-family: sans-serif;
    background-color: #f0fdf4; /* 아주 연한 녹색 배경 */
    color: #333;
}

/* 상단 헤더 영역 */
header {
    background-color: #22c55e; /* 메인 그린 컬러 */
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center; /* 가운데 정렬 추가 */
    position: relative; /* 위치 기준점 추가 */
}

#menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    position: absolute; /* 버튼을 왼쪽 끝으로 고정 */
    left: 20px;
}

h1 {
    margin: 0;
    font-size: 20px;
}

/* 좌측 사이드바 메뉴 */
#sidebar {
    position: fixed;
    top: 0;
    left: -250px; /* 처음에 화면 왼쪽 밖으로 숨김 */
    width: 250px;
    height: 100%;
    background-color: #166534; /* 짙은 그린 컬러 */
    color: white;
    transition: left 0.3s ease; /* 부드럽게 나타나는 애니메이션 효과 */
    padding-top: 20px;
}

/* 메뉴가 열렸을 때 사용될 클래스 (3단계 자바스크립트에서 제어) */
#sidebar.active {
    left: 0;
}

#close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
}

#sidebar ul {
    list-style: none;
    padding: 0;
    margin-top: 50px;
}

#sidebar ul li a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    font-size: 18px;
}

#sidebar ul li a:hover {
    background-color: #15803d; /* 마우스 올렸을 때 살짝 밝아짐 */
}

/* 메인 콘텐츠 영역 */
main {
    padding: 20px;
}

