@charset "utf-8";

@import url('https://fonts.googleapis.com/css?family=Black+Han+Sans:400');
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Light.woff') format('woff');
    font-weight: 300;
    font-display: swap;
}

/* 전체 초기화 */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    background-color: #1a1a1a;
    color: #dbdbdb;
    font-family: 'Pretendard', sans-serif;
    box-sizing: border-box;
}

/* ✅ 헤더 (상단 고정) */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 110px;
    background-color: #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 1000;
    box-sizing: border-box;
}

.logo {
    width: 450px;
    margin-top: 0;
}

.logo-group {
    display:flex;
    align-items: center;
    gap: 15px;;
}

header span {
    list-style: none;
    font-size: 20px;
    color: #dbdbdb;
    font-family: 'Black Han Sans';
    display: flex;
    padding:0;
    margin-top:28px;

}

.logo-group .head {
    font-size: 18px; 
    font-family: 'Black Han Sans';
    cursor: pointer; /* 마우스 커서가 포인터로 변경 */
    transition: color 0.3s; /* 색 변경 부드럽게 */
}

.logo-group .head:hover {
    color: #66ff33; /* 마우스 올렸을 때 색 */
}


header nav ul {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

header nav ul li a {
    color: #dbdbdb;
    text-decoration: none;
    font-family: 'Black Han Sans';
    font-size: 30px;
}

header nav ul li a:hover {
    color: #66ff33;
}
.on { color: #66ff33; }

/* ✅ 본문 (헤더·푸터 높이만큼 여백 확보) */
main {
    padding-top: 130px;   /* header 높이 + 여유 */
    padding-bottom: 130px; /* footer 높이 + 여유 */
    min-height: calc(100vh - 260px); /* 전체 화면에서 header+footer 뺀 높이 */
    box-sizing: border-box;
}

/* ✅ 푸터 (하단 고정) */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #1a1a1a;
    color: #dbdbdb;
    padding: 10px 20px;
    box-sizing: border-box;
    z-index: 300;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer .blog {
    font-size: 20px;
    font-weight: bold;
    color: #dbdbdb;
    text-decoration: none;
}
footer .blog:hover { color: #66ff33; }

/* 링크 영역 */
footer div, footer p {
    margin: 0;
}

/* ✅ 공통 링크 스타일 */
a {
    color: inherit;
    text-decoration: none;
}
a:hover { color: #66ff33; }


/*카카오상담하기*/
.kakaochat {
    position: fixed;
    right: 15px;
    bottom: 50px;
    width: 80px;
    height: 80px;
    z-index: 999;
    object-fit: contain; 
}



/*블로그*/
.blogicon {
    position: fixed;
    right: 15px;
    bottom: 105px;
    width: 80px;
    height: 80px;
    z-index: 999;
    object-fit: contain; 
}



/* 모바일 */


@media screen and (max-width: 768px) {

    
  
    

    
/* 전체 초기화 */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    background-color: #1a1a1a;
    color: #dbdbdb;
    font-family: 'Pretendard', sans-serif;
    box-sizing: border-box;
}

/* ✅ 헤더 (모바일용 수정) */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;  /* 헤더 크기 */
    background-color: #1a1a1a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    z-index: 1000;
    box-sizing: border-box;
}

/* 로고 크기 조정 (모바일에서 로고 크기) */
.logo {
    width: 250px;  /* 모바일에서 로고 크기 조정 */
}

/* 로고 그룹 */
.logo-group {
    display: flex;
    flex-direction: column;  /* 로고와 텍스트 두 줄로 배치 */
    align-items: center;
    gap: 8px;
    justify-content: center;
    flex-direction: row;
    margin-bottom: 5px;
    margin-top: 0;
}

header span {
    font-size: 5.5px;
    color: #dbdbdb;
    font-family: 'Black Han Sans';
    display: flex;
    padding: 0;
}

/* 헤더 텍스트 */
.logo-group .head {
    font-size: 8pt;
    font-family: 'Black Han Sans';
    cursor: pointer;
    transition: color 0.3s;
}

.logo-group .head:hover {
    color: #66ff33;
}

/* 네비게이션 (모바일용 메뉴 가로로 배치) */
header nav ul {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 5px 0 5px 0;
    padding: 0;
    list-style: none;
    width: 100%;
}

header nav ul li a {
    color: #dbdbdb;
    text-decoration: none;
    font-family: 'Black Han Sans';
    font-size: 17pt;
}

header nav ul li a:hover {
    color: #66ff33;
}

/* ✅ 본문 (헤더·푸터 높이만큼 여백 확보) */
main {
    padding-top: 100px;   /* 헤더 크기만큼 여백 */
    padding-bottom: 50px; /* 푸터 높이만큼 여백 */
    min-height: calc(100vh - 330px); /* 화면에서 헤더와 푸터 높이를 제외한 영역 */
}

/* ✅ 푸터 (하단 고정) */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;  /* 푸터 높이 */
    background-color: #1a1a1a;
    color: #dbdbdb;
    padding: 0; /* 패딩 제거 */
    box-sizing: border-box; /* 여백 계산을 border 포함하도록 설정 */
    z-index: 300;
    display: flex;
    flex-direction: column;  /* 푸터 항목 세로로 정렬 */
    justify-content: center;  /* 내용물 세로로 중앙 정렬 */
    align-items: center; /* 내용물 가로로 중앙 정렬 */
    font-size: 8pt;
    margin: 0; /* 마진 제거 */
}

br {
    margin: 0;
    padding: 0;
    display: none;
}


footer .blog {
    text-align: center;
    display: block;
    font-size: 10pt;
    margin: 0;
    padding: 0;
}



/* 푸터 블로그 링크 */
footer .blog  a {
    display: block;
    font-size: 10px;
    font-weight: bold;
    color: #dbdbdb;
    text-decoration: none;
    width: 100%;
    margin: 0;
    padding: 0;
}

footer .blog:hover { 
    color: #66ff33; 
}

/* 푸터 연락처 텍스트 */
footer p {
    font-size: 8px;
    text-align: center;
}

footer div, footer p {
    margin: 0;
}

/* ✅ 공통 링크 스타일 */
a {
    color: inherit;
    text-decoration: none;
}

a:hover { 
    color: #66ff33; 
}



/*카카오상담하기*/
.kakaochat {
    position: fixed;
    right: 15px;
    bottom: 40px;
    width: 80px;
    height: 80px;
    z-index: 999;
    object-fit: contain; 
}




/*블로그*/
.blogicon {
    position: fixed;
    right: 15px;
    bottom: 95px;
    width: 80px;
    height: 80px;
    z-index: 999;
    object-fit: contain; 
}


}