/********** 헤더 **********/
header {
    background-color: #ffffff;
    padding: 10px 170px;
    display: flex;                              /* Flexbox 사용 (버튼 위치를 조정한다.)*/
    justify-content: space-between;             /* 양쪽 끝 정렬 */
    align-items: center;                        /* 내부 요소 수직 중앙 정렬 */
}
/* 로고 이미지 */
#headerLogo {
    width: auto;
    height: 85%;            /* 부모 요소(header)의 높이에 맞춤 */
    max-height: 150px;      /* 최대 높이를 제한 */
    object-fit: contain;    /* 로고 비율 유지 */
}
/* 버튼 공통 스타일 적용 */
nav#header-Btns {
    display: flex;
    gap: 30px;              /* 버튼 간 간격 */
}
/* 로그인 버튼 - 공통 스타일 적용 (추가된 버튼이 있다면 태그 추가하기) */
.header-Btns {
    padding: 5px 10px;
    background-color: #ffffff;
    border: none;
    color: #777777;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}
.header-Btns:hover {
    color: #333333;                            
}
/* 문의하기 버튼 */
#inquiry-Btn {
    padding: 8px 13px 8px 13px;
    min-width: 100px;
    height: auto;
    box-sizing: border-box;
    border-radius: 50px;
    font-size:14px;
    font-weight: 700;
    box-shadow: 0px -3px 3px #ffffff, 0px 3px 3px #cccccc;
    color: #777777;
}


/********** 이미지 스크린 **********/
#img-Screen {
    height: 130px;
    position: relative;
    display: flex;
    flex-direction: column;       /* 수직 정렬 */
    justify-content: center;
    align-items: flex-start;      /* 왼쪽 정렬 */
    color: rgb(230, 230, 230);
    padding: 80px 170px;            /* 왼쪽 패딩 조정 */
}
/* 슬라이드 배경 애니메이션을 적용할 가상 요소 */
#img-Screen::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
      #0084ff 0%,               /* 예시 색상 1 */
      #004b91 50%,              /* 예시 색상 2 */
      #001c36 100%);            /* 예시 색상 3 */
    animation: gradientChange 15s infinite alternate;  /* 슬라이드 애니메이션 */
    z-index: -1;                           /* 콘텐츠 뒤로 배경을 보내기 */
}
/* 배경 슬라이드 애니메이션 정의 */
@keyframes gradientChange {
    0% {
      background: linear-gradient(to right, 
        #0084ff 0%,               /* 색상 1 */
        #004b91 50%,              /* 색상 2 */
        #001c36 100%);            /* 색상 3 */
    }
    50% {
      background: linear-gradient(to right, 
        #4f3bff 0%,               /* 색상 1 */
        #1300bd 50%,              /* 색상 2 */
        #080050 100%);            /* 색상 3 */
    }
    100% {
      background: linear-gradient(to right, 
        #00ce6e 0%,               /* 색상 1 */
        #147548 50%,              /* 색상 2 */
        #00361d 100%);            /* 색상 3 */
    }
}
#img-Screen h2 {
    font-size: 50px;
    margin-top: 0;       /* h2의 위쪽 여백을 제거 */
    margin-bottom: 0px;  /* h2와 아래 요소 간 여백 줄이기 */
}
#img-Screen h4 {
    font-size: 25px;
    margin-top: 5px;        /* h4의 위쪽 여백을 줄이기 */
    margin-bottom: 5px;     /* h4와 아래 요소 간 여백 줄이기 */
}
#img-Screen p {
    font-size: 15px;
    margin-top: 5px;        /* p의 위쪽 여백을 줄이기 */
    margin-bottom: 0;       /* p 아래쪽 여백 제거 */
}
/* 태그들 간의 행간을 줄이기 위해 line-height 조정 */
#img-Screen h2, #img-Screen h4, #img-Screen p {
    line-height: 1.2; /* 행간을 줄여 요소 간 간격 조절 */
}


/********** 메뉴 **********/
.menu-nav {
    background-color: rgb(230, 240, 240); /* 메뉴 배경색 */
    padding: 10px 170px;                    /* 메뉴 전체 여백 */
}
.menu-list {
    display: flex;                 /* 리스트를 가로로 정렬 */
    justify-content: space-around; /* 리스트 항목 간격 균등 배치 */
    list-style: none;              /* 기본 불릿 제거 */
    margin: 0;
    padding: 0;
}
.menu-list li {
    display: inline-block;      /* 리스트 항목을 인라인 블록으로 표시 */
    margin-right: 1px;          /* 버튼 간의 간격을 10px로 설정 */
}
.menu-list a {
    text-decoration: none;          /* 밑줄 제거 */
    background-color: transparent;
    color: #777777;               /* 버튼 글자색 */
    font-size: 14px;
    font-style: italic;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease, background-color 0.3s ease; /* 효과 추가 */
}
.menu-list a:hover {
    color: #333333;                           /* 호버 시 글자색 변경 */
}


/********** 푸터 **********/
#footer {
    margin-top: 200px;
    padding: 25px 0px;
    background-color: rgb(60, 60, 60);    /* 메뉴 배경색 */;
    display: flex;
    flex-direction: column;                 /* 수직으로 배치 */
    align-items: flex-start;                /* 왼쪽 정렬 */
}
/* 로고 CSS */
#footerLogo {
    padding: 0px 170px;
    width: auto;
    height: 85%;            /* 부모 요소(header)의 높이에 맞춤 */
    max-height: 150px;      /* 최대 높이를 제한 */
    margin: 5px;
    object-fit: contain;    /* 로고 비율 유지 */
}
/* 텍스트 CSS */
#footer p {
    padding: 0px 170px;
    color: #838383;
    font-size: 12px;
    font-style: italic;
    text-align: left;           /* 텍스트를 왼쪽 정렬 */
    line-height: 1.5;           /* 줄 간격 추가 */
}
#footer hr {
    border: 0;                          /* 기본 경계선을 제거 */
    border-top: 1px solid #4b4b4b;    /* 상단 선의 두께와 색상 설정 */
    width: 100%;                        /* 수평선 너비 설정 (필요에 따라 변경) */
    box-sizing: border-box;             /* 여백(margin)을 포함한 전체 크기를 고려해 정확히 부모의 너비를 따르도록 보장 */
}