/* 전체 요소 기본 스타일 리셋 */
* {
    margin: 0;
    padding: 0;
    /*박스의 크기 계산 테두리를 기준으로 크기를 정함*/
    /*콘첸츠 + 패딩 + 테두리 모두 포함하여 계산*/
    box-sizing: border-box;
    /*폰트 종류 설정*/
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    color: #000;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* 메인 컨테이너 스타일 */
.container {
    min-height: 100vh; /*브라우저의 화면 높이만큼 최소 높이 설정 110vh = 100%*/
    display: flex;
    flex-direction: column; /*자식 요소들이 세로로 배치됨*/
    width: 100%;
    height: 100%;
    background-color: #fff;
}

/* 헤더(상단바) 스타일 */
.header {
    /*코드의 자식 요소가 가로 정렬로 바뀜*/
    display: flex;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 1000;
    /*좌우 여백 자동 계산*/
    margin-left: auto;
    margin-right: auto;
    background-color: rgb(220, 243, 243);
    /*가로 정렬*/
    justify-content: space-between;
    /*세로 정렬*/
    align-items: center;
    /*좌우 여백*/
    padding: 0 20px;
}

/* 로고 영역 스타일 */
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    width: auto;
    height: 60px;
    padding-left: 10px;
    list-style: none; /*a 태그 수정*/
}

/* 로고 이미지 스타일 */
.logo img {
    width: 45px;
    height: 45px;
    border-radius: 5%; /* 동그랗게 */
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); /* 약간의 그림자 */
}

.logo li a {
    font-size: 2rem;
    font-weight: 700;
    color: #0077b6; /* 포인트 컬러 */
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
}

.logo li a:hover {
    background: #ffe5b4;
    color: #0077b6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* 네비게이션 메뉴 영역 스타일 */
.menu {
    /*flex-grow, flex-shrink, flex-basis를 한 번에 사용하는 단축 속성*/
    /*flex-grow: 요소의 너비 증가 비율*/
    /*flex-shrink: 요소의 너비 감소 비율*/
    /*flex-basis: 요소의 기본 너비*/
    flex: 1;
    height: 80px;
    display: flex;
    align-items: center;
    /*컨테이너의 자식들을 오른쪽 끝으로 정렬*/
    justify-content: flex-end;
}

/* 메뉴 리스트 스타일 */
.menu ul {
    display: flex;
    align-items: center;
    gap: 48px;
    margin: 0;
    padding: 0;
}

/* 메뉴 리스트 아이템 스타일 */
.menu ul li {
    list-style: none;
}

/* 메뉴 링크 스타일 */
.menu ul li a {
    text-decoration: none;
    color: #222;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 8px 18px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

/* 메뉴 링크 호버 효과 */
.menu ul li a:hover {
    background: #ffe5b4;
    color: #0077b6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* 메인 콘텐츠 영역 스타일 */
.main {
    flex: 1 0 auto; /*남는 공간만큼 확장 가능, 공간 부족시 줄어들지 않음, 요소의 기본 크기를 컨텐츠에 따라 자동 결정*/
    min-height: 100%; /* 최소 높이를 100%로 설정하고, 내용에 따라 늘어날 수 있도록 함 */
    width: 100%;
    background-color: #f1d2b0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 50px 16px 0 16px; /* header 높이만큼 추가 */
    overflow: visible;
}

/* 메인 텍스트 스타일 */
.typed-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
     
}
.typed-content {
    font-size: 4rem;
    font-weight: 700;
}

.cursor {
    /*px 고정된 값 크기 rem html의 글꼴크기를 기준으로 하는 상대 단위*/
    width: 2px;
    height: 4rem;
    background-color: #000000;
    /*너비와 높이를 보유하지만 요소와 같은 줄에 놓고 싶어 작성*/
    display: inline-block;
    margin-left: 8px;
    vertical-align: bottom;
}

/* 버튼 스타일 */
.button, .main_text button {
    display: inline-block;
    padding: 12px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    background: #0077b6;
    border: none;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    margin-top: 12px;
}
.button:hover, .main_text button:hover {
    background: #005f8a;
    transform: translateY(-2px) scale(1.03);
}

/* 푸터 영역 스타일 */
.footer {
    flex-shrink: 0; /* 푸터가 줄어들지 않도록 설정 */
    width: 100%;
    min-height: 80px; /* 푸터의 최소 높이 설정 */
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 푸터 텍스트 영역 스타일 */
.footer_text {
    width: 100%;
    height: 20px;
    text-align: center;
    background-color: #000000;
}

/* 푸터 텍스트 스타일 */
.footer_text h1 {
    font-size: 16px;
    /*글씨 굵기*/
    font-weight: 200px;
    font-style: normal;
    color: #ffffff;
}

.footer_email {
    width: 100%;
    text-align: center;
    margin-top: 8px;
}

.footer_email p, .footer_email span, .footer_email a {
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
    text-align: center;
}

.privacyPoclicy {
    width: 100%;
    text-align: center;
    margin-top: 8px;
}
.privacyPoclicy ul {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.privacyPoclicy ul li a {
    color: #fff;
    font-size: 0.95rem;
    text-decoration: underline;
    transition: color 0.2s;
}
.privacyPoclicy ul li a:hover {
    color: #ffe5b4;
}

/* 반응형 스타일 */
@media (max-width: 1280px) {
    .header {
        padding-left: 8px;
        padding-right: 8px;
        flex-direction: column;
        height: auto;
        padding: 8px 0;
    }
    .menu ul {
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .header {
        padding-left: 8px;
        padding-right: 8px;
        padding: 8px 0;
    }
    .logo li a {
        font-size: 1.3rem;
    }
    .menu ul {
        gap: 0px;
    }
    .menu ul li a {
        font-size: 0.8rem;
    }
}

/* 로고 옆 사이트명 스타일 */
.logo-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0077b6; /* 포인트 컬러 */
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
}