// 상단 네비게이션 바 .navbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); color: white; max-height: 40px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); .navLeft { display: flex; align-items: center; flex: 1; .hamburgerBtn { background: none; border: none; color: white; cursor: pointer; padding: 8px; border-radius: 4px; transition: background-color 0.2s; &:hover { background-color: rgba(255, 255, 255, 0.1); } } } .navCenter { display: flex; justify-content: center; flex: 1; .logo { display: flex; align-items: center; gap: 8px; font-weight: bold; font-size: 1.1rem; span:first-child { font-size: 1.2rem; } } } .navRight { display: flex; align-items: center; flex: 1; justify-content: flex-end; .navIcon { background: none; border: none; color: white; cursor: pointer; padding: 8px; border-radius: 4px; transition: background-color 0.2s; &:hover { background-color: rgba(255, 255, 255, 0.1); } } } } // 모바일 최적화 @media (max-width: 480px) { .navbar { padding: 10px 12px; max-height: 40px; .logo { font-size: 1rem; } .navIcon { padding: 6px; } } } // 태블릿 최적화 @media (min-width: 481px) and (max-width: 768px) { .navbar { padding: 14px 20px; } }