@charset "utf-8";

/* 숫자폰트 */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

/* 기본폰트 */
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Rebecca';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2210-EF@1.0/EF_Rebecca.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}

/* 타이틀 폰트 */
@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

/* 한교안심 사물함체 */
@font-face {
    font-family: 'SchoolSafeLocker';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2402_keris@1.0/TTHakgyoansimSamulhamR.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}


/* ===========================
   CSS VARIABLES & ROOT
=========================== */
:root {
  --navy:        #080c1e;
  --navy-2:      #0d1230;
  --navy-3:      #111840;
  --navy-4:      #172050;

  --accent:      #0184dc;   /* 밝은 블루 (c.jpg 좌측) */
  --accent-2:    #1046a6;   /* 딥블루  (c.jpg 우측) */
  --accent-3:    #169dff;   /* 하이라이트 블루 */
  --accent-glow: rgba(1,132,220,0.35);

  --blue-mid:    #1046a6;
  --blue-soft:   #0184dc;

  --white:       #ffffff;
  --gray-50:     #f4f6fb;
  --gray-100:    #eaecf5;
  --gray-200:    #d0d5e8;
  --gray-400:    #8892b0;
  --gray-600:    #4a5280;
  --text:        #0f1324;
  --text-muted:  #4e587a;
  --border:      rgba(1,132,220,0.14);
  --border-dark: rgba(1,132,220,0.28);

  --shadow-sm:   0 2px 14px rgba(8,12,30,0.10);
  --shadow-md:   0 8px 36px rgba(8,12,30,0.16);
  --shadow-lg:   0 20px 64px rgba(8,12,30,0.22);
  --shadow-acc:  0 8px 32px rgba(1,132,220,0.40);

  --radius:      12px;
  --radius-lg:   20px;
  --transition:  all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===========================
   RESET & BASE
=========================== */

html{font-size:17px;scroll-behavior:smooth}
html,body{width:100%;min-height: 100%;scroll-behavior: smooth;font-feature-settings: "kern", "liga", "clig", "calt";}
body,div,ul,li,dl,dt,dd,ol,p,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,blockquote,th,td{margin: 0;padding: 0;}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Segoe UI", "Roboto", sans-serif;
    font-weight: 400;
    letter-spacing: -0.02em;
	background: var(--iron);
    color: var(--text-dark);
    overflow-x: hidden;
     /* 브라우저별 렌더링 품질 균일화 */
    text-rendering: optimizeLegibility; 
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html { scroll-behavior: smooth; }
ul,ol,dl,li {list-style: none;}
ul {padding: 0;margin: 0;}
img {border:0;vertical-align: top;}
fieldset {border: none;}
h1,h2,h3,h4,h5,h6 {font-size: 100%;font-weight: normal;}
address,caption,cite,code,dfn,em,th,var {font-style: normal;font-weight: normal;}
a {outline: 0;color: inherit;text-decoration: none;cursor: pointer;}
a:link,a:active,a:visited,a:hover {text-decoration: none;}
table {width: 100%;border-spacing: 0;table-layout: fixed;border-collapse: collapse;word-break: break-all;}

input,button,textarea{vertical-align: middle;font-family: inherit;}
input,select,button,textarea:focus {outline:none;box-shadow:none;}
button {-webkit-tap-highlight-color: rgba(0,0,0,0);cursor: pointer;}
button,input[type="submit"],input[type="button"]{overflow: visible;margin: 0;background-color: transparent;border: none;-webkit-appearance: button;cursor: pointer;font: inherit;color: inherit;}
button::-moz-focus-inner,input::-moz-focus-inner{padding: 0;border: 0;}

a, div, span, button {
    /* 1. iOS(Safari)에서 링크를 탭했을 때 나타나는 배경색/하이라이트 제거 */
    -webkit-tap-highlight-color: transparent; 
    /* 2. 일부 Android/Chrome 브라우저에서 발생하는 터치 반응 효과 제거 */
    -webkit-touch-callout: none;
}

/* 모바일 터치 피드백 효과 삭제 */
* {-webkit-tap-highlight-color: transparent;}