/*
 GLOBAL CSS

*/


* { margin: 0; padding: 0; border: 0; outline: 0; box-sizing: border-box; } 
html, body { width: 100%; height: 100%; font-family: 'Noto Sans KR', sans-serif; font-size: 15px; font-weight: normal; color: rgba(255, 255, 255, 0.5); } 
body { background-color: #131414; } 
input, button, textarea { font-family: 'Noto Sans KR', sans-serif; background-color: transparent; border-radius: 0; } 



/* container */
.container { position: relative; padding: 16rem 0 10rem 0; width: 100%; height: auto; min-height: calc(100vh - 6rem); text-align: center; } 



/* header */
header { position: fixed; left: 0; top: 0; width: 100%; height: 10rem; font-size: 0; text-align: center; background-color: rgba(20, 20, 20, 0.95); z-index: 10; } 
header::after { content: ''; position: absolute; left: calc((100% - 80rem) / 2); bottom: 0; width: 80rem; height: 2px; background-color: #252525; } 
/*header h2 { width: 100%; height: 6rem; font-family: sans-serif; font-size: 2rem; font-weight: 300; color: #fff; line-height: 6rem; } */
header h2 { width: 100%; height: 6rem; font-size: 0; background: no-repeat 50% 50% / contain url('/assets/images/header_img_logo.png'); } 
header h2 b { font-weight: 700; } 
header div { position: relative; margin: 0 auto; width: 100%; height: 4rem; max-width: 1200px; line-height: 4rem; overflow: hidden; } 
header div a { display: inline-block; width: 16.6%; height: inherit; font-size: 1.2rem; font-weight: 400; color: rgba(255, 255, 255, 0.5); line-height: inherit; text-decoration: none; transition: color 0.5s; } 
header div a:hover { cursor: pointer; color: rgba(255, 255, 255, 1); } 
header div .selected { color: #fff; } 
header div .bar { position: absolute; left: -16.6%; bottom: 0; width: 16.6%; height: 2px; background-color: rgba(0, 105, 172, 0); z-index: 1; transition: left 1s, background-color ease-in 0.5s; } 
header button { position: absolute; left: calc(50% + 34rem); top: 2.25rem; padding: 0.5rem 1rem; width: auto; height: auto; font-family: sans-serif; font-size: 0.85rem; font-weight: 400; color: #fff; background-color: rgba(255, 255, 255, 0.05); border-radius: 4px; z-index: 11; transition: background-color 0.5s; } 
header button:hover { cursor: pointer; background-color: rgba(0, 105, 172, 1); } 



/* nav - mobile */
nav { position: fixed; display: none; left: 0; bottom: 0; width: 100vw; height: 6rem; font-size: 0; background-color: rgba(0, 0, 0, 0.95); z-index: 9; } 
nav::before { content: ''; position: absolute; left: 0; top: 0; width: 100vw; height: 1px; background-color: rgba(255, 255, 255, 0.1); } 
nav a { display: inline-block; padding-top: 4.25rem; width: 25%; height: inherit; font-size: 11px; font-weight: 400; color: rgba(255, 255, 255, 0.5); line-height: 11px; text-align: center; text-decoration: none; background: no-repeat 50% -0.5rem / contain; filter: grayscale(100%); } 
nav a:first-of-type { background-image: url('/assets/images/footer_img_home.png'); } 
nav a:nth-of-type(2) { background-image: url('/assets/images/footer_img_create.png'); } 
nav a:nth-of-type(3) { background-image: url('/assets/images/footer_img_now.png'); } 
nav a:nth-of-type(4) { background-image: url('/assets/images/footer_img_history.png'); } 
nav a:hover { opacity: 0.5; } 
nav .selected { color: rgba(0, 105, 172, 1); filter: grayscale(0%); pointer-events: none; } 


/* footer */
footer { position: relative; margin: 0 auto; width: 100%; height: 6rem; max-width: 1200px; font-family: sans-serif; font-size: 0.85rem; font-weight: 300; color: rgba(255, 255, 255, 0.2); text-align: center; line-height: 6rem; letter-spacing: 2px; } 
footer::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 1px; background-color: #252525; } 



/* common */
h1 { font-family: sans-serif; font-size: 4rem; font-weight: 300; color: rgba(255, 255, 255, 0.5); line-height: 4.1rem; } 
h2 { font-size: 2rem; font-weight: 400; color: rgba(255, 255, 255, 1); letter-spacing: -2px; line-height: 2.1rem; } 
h3 { font-size: 1.3rem; font-weight: 400; color: rgba(255, 255, 255, 1); line-height: 1.4rem; } 
h4 { font-size: 1rem; font-weight: 400; color: rgba(255, 255, 255, 1); line-height: 1.5rem; } 
h5 { font-size: 0.95rem; font-weight: 400; color: rgba(255, 255, 255, 0.5); line-height: 1.2rem; } 

.m-top-05 { margin-top: 0.5rem; } 
.m-top-1 { margin-top: 1rem; } 
.m-top-3 { margin-top: 3rem; } 
.m-top-5 { margin-top: 5rem; } 
.red { color: #fff !important; background-color: #9c101d !important; } 
.align-center { text-align: center !important; } 

/*  paging  */
div.paging { position: relative; display: flex; justify-content: center; align-items: center; width: 100%; height: 2rem; }
div.paging a { margin: 0 1rem 0 0; font-size: 0.8rem; font-weight: 400; color: rgba(255, 255, 255, 0.5); transition: color 0.5s ease; }
div.paging a:hover { cursor: pointer; color: rgba(255, 255, 255, 1); }
div.paging a.selected { font-weight: 700; color: rgba(0, 105, 172, 1) !important; text-decoration: underline; }
div.paging a.prev::before { content: '\25C0'; display: inline; }
div.paging a.next::before { content: '\25B6'; display: inline; }

.loading { 
 display: none; position: absolute; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 5; 
}
 
 .lds-dual-ring { 
 display: inline-block; 
 position: absolute; 
 width: 80px; 
 height: 80px; 
 left: 50%; 
 top: 50%; 
 transform: translate(-50%, -50%); 
}
 .lds-dual-ring:after { 
 content: " "; 
 display: block; 
 width: 64px; 
 height: 64px; 
 margin: 8px; 
 border-radius: 50%; 
 border: 6px solid #fff; 
 border-color: #fff transparent #fff transparent; 
 animation: lds-dual-ring 1.2s linear infinite; 
}
 @keyframes lds-dual-ring { 
 0% { 
 transform: rotate(0deg); 
}
 100% { 
 transform: rotate(360deg); 
}
}


/* footer */




/* mobile */
@media (min-width: 320px) and (max-width: 675px) { 
 body { width: 100vw; height: 100vh; } 

 /* common */
 h1 { font-size: 3.5rem; line-height: 3.6rem; } 

 /* container */
 .container { padding: 8rem 0 10rem 0; width: 100vw; height: auto; min-height: unset; overflow-x: hidden; overflow-y: auto; } 

 /* header */
 header { height: 6rem; } 
 header::after { left: 0; bottom: 0; width: 100vw; height: 2px; background-color: #252525; } 
 header div { display: none; } 
 header button { left: calc(100vw - 5.5rem); top: 2rem; padding: 0.5rem; } 

 /* navigation */
 nav { position: fixed; display: block; } 

 footer { display: none; } 
}
