@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap');
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


/*기본 색상 설정*/
:root {
    --color-primary: #CAA164;
    --color-secondary: #553C33;
    --color-light: #FCF9F6;
}


/* Freesentation 폰트 - 하나의 font-family로 통합 */
@font-face {
    font-family: 'Freesentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-2ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Freesentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-4Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Freesentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-5Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Freesentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-6SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Freesentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-7Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Freesentation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-9Black.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}



.sound_only {
    display: none;
}

body {
    font-family: 'Freesentation', sans-serif;    
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Freesentation', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
}


/* break-keep, letter-spacing 스타일 */

p,
div,
span,
label,
h1,
h2,
h3,
h4,
h5,
h6 {
    word-break: keep-all;
    overflow-wrap: break-word;
    letter-spacing: -0.02rem;
}


/*모바일, 태블릿 뷰에서 lenis 새로고침 중지*/
html,
body {
    overscroll-behavior-y: none;
}

@media (min-width:1024px) {

    html,
    body {
        overscroll-behavior-y: initial;
    }
}


/* 에디터 콘텐츠 내 텍스트, 이미지 정렬 - 에디터에서 설정한 정렬 그대로 반영 */

.editor_content p,
.editor_content div,
#bo_v_con p,
#bo_v_con div {
    text-align: inherit;
    font-family: inherit !important;
}

.editor_content img,
#bo_v_con img {
    display: inline-block;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

/* 체크박스 체크 시 색상 변경 */

input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    border: 1px solid #000 !important;
}

input[type="checkbox"]+label span {
    width: 16px !important;
    height: 16px !important;
    border: 1px solid #000 !important;
}

input[type="checkbox"] {
    accent-color: var(--color-primary) !important;
}

input[type="checkbox"]:checked {
    accent-color: var(--color-primary) !important;
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

input[type="checkbox"]:checked+label span {
    accent-color: var(--color-primary) !important;
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

input[type="checkbox"]+label:hover {
    color: var(--color-primary) !important;
}

/* input, 셀렉트박스 focus 시 파란색 outline 제거 및 색상 변경 (아이디·비밀번호 동일) */
input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    box-shadow: none;    
    border: 1px solid #cdcdcd !important;
}

input[type="text"]:focus-visible,
input[type="password"]:focus-visible {
    outline: none;
    box-shadow: none;
    border: 1px solid #cdcdcd !important;
}

/* 비밀번호 필드: 브라우저 autofill 시 연한 파란 배경 제거, 아이디와 동일한 #f5f5f5 적용 */
input[type="password"]:-webkit-autofill,
input[type="password"]:-webkit-autofill:hover,
input[type="password"]:-webkit-autofill:focus,
input[type="password"]:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #f5f5f5 inset !important;
    box-shadow: 0 0 0 30px #f5f5f5 inset !important;
    -webkit-text-fill-color: #171717;
    transition: background-color 5000s ease-in-out 0s;
}


input[type="radio"] {
    accent-color: #212121;
}

input[type="radio"]:checked {
    outline: none;
    box-shadow: none;
}

select:focus {
    outline: none;
    box-shadow: none;
    border: 1px solid #cdcdcd !important;
}

select:focus-visible {
    outline: none;
    box-shadow: none;
    border: 1px solid #cdcdcd !important;
}



