body {
  font-family: 'Arial', sans-serif;
  background-color: #f4f4f9;
  margin: 0;
  padding: 0;
}

.container {
  margin: 30px auto;
  text-align: center;
  max-width: 1200px;
  padding: 10px 20px;
}

/* 네비게이션 바 */
.navbar {
  width: 100%;
  height: 50px;
  background-color: #4fb062; /* 좀 더 진한 녹색 */
  color: white;
  display: flex;
  align-items: center;
  padding: 0 15px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
}

.nav-title {
  margin-left: 10px;
  font-size: 20px;
}

.hamburger {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* 메인 컨테이너 */
.main-container {
  display: flex;
  transition: transform 0.3s ease-in-out;
}

/* 사이드바 */
.sidebar {
  width: 250px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: -250px;
  background-color: #5DAE63; /* 사이드바 색상 */
  color: white;
  padding-top: 60px;
  transition: left 0.3s ease-in-out;
  z-index: 1002;
}

.sidebar.active {
  left: 0;
}

.sidebar-header {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #4B9A55;
  position: relative;
}

/* 닫기 버튼 (왼쪽 상단) */
.close-btn {
  position: absolute;
  top: -70px;
  left: 10px;
  background: none;
  border: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
}

.close-btn:hover {
  color: rgb(203, 203, 203); /* 빨간색으로 변하지 않게 유지 */
}

.sidebar h2 {
  font-size: 22px;
  margin-bottom: 18px;
  font-weight: 500;
}

.sidebar a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 12px;
  border-bottom: 1px solid #4B9A55;
  transition: background 0.3s;
}

.sidebar a:hover {
  background-color: #4B9A55;
}

/* 오버레이 (배경 어둡게) */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1001;
  transition: opacity 0.3s ease-in-out;
}

.overlay.active {
  display: block;
}

/* 콘텐츠 */
.container {
  text-align: center;
  flex-grow: 1;
  padding: 60px 20px;
  transition: transform 0.3s ease-in-out;
}

/* 사이드바가 열릴 때 콘텐츠 이동 */
.container.shift {
  transform: translateX(250px);
}

/* 버튼 스타일 */
.btn {
  display: inline-block;
  padding: 4px 20px;
  font-size: 16px;
  margin-bottom: 20px;
  border: 1px solid white; /* 흰색 테두리 */
  background: transparent;
  color: white;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

/* 버튼 호버 효과 */
.btn:hover {
  background: white;
  color: #4fb062; /* 버튼 색상 */
}