header {
    background-color: #f0f0f0; /* 헤더 전체 배경색 */
    color: #000000;
    padding: 10px;
    width: 100%;               /* 화면 전체 폭 */
    box-sizing: border-box;
    border-bottom: 4px solid #000000;
    min-width: 900px;
        /* height, min-width 제거 */
    min-height: 60px;   /* 기본 최소 높이만 지정 */
}

header .container_head {
    max-width: 1200px;         /* 내용 영역은 가운데 정렬 */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* h1 스타일 */
header h1 {
    margin: 0;
}

header h1 a {
    text-decoration: none;
    color: inherit;
}

/* nav 스타일 */
header nav {
    display: flex;
    flex-direction: row;
}

header nav ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}

header nav ul li {
    position: relative;
    padding: 10px 20px;
}

/* 메뉴 토글 버튼 */
header .menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}