/*--- base ---*/
@-ms-viewport {
    width: device-width;
}

@o-viewport {
    width: device-width;
}

@viewport {
    width: device-width;
}

:root {
    /* brand color */
    --primary: #21252A;
    --secondary: #b8a59d;
    --tertiary: #efefef;
    --tertiary: #FCF8F3;
    --background: #323538;
    /*color */
    --border: #ADB5BD;
    --white: #FFF;
    --font: #21252A;
    --text-01: #565c61;
    --text-02: #DEE2E6;

    /* ---semantic--- */
    --s-error: #ff3b55;
    --s-warning: #FFB82E;
    --s-success: #20c557;
    --s-info: #4261ed;

    /* ui */
    --transition: 0.2s ease-in-out;
    --box-shadow: 0 1px 6px 2px rgb(255 255 255 / 5%);
    --w-1200: 1200px;
    /* font size */
    --f-big: 36px;
    --f-large: 24px;
    --f-middle: 20px;
    --f-normal: 16px;
    --f-small: 14px;
    --f-caption: 12px;

    /* font weight */
    --f-w-bold: 700;
    --f-w-semibold: 500;
    --f-w-regular: 400;

    /* fonts */
    --hahmlet: 'Hahmlet', 'serif';

    /* radius */
    --r-big: 42px;
    --r-large: 36px;
    --r-medium: 20px;
    --r-regular: 16px;
    --r-small: 8px;
}

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,input,textarea,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video,button {
    font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

/* base */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    word-break: keep-all;
    font-size: 16px;
    color: var(--white);
    user-select: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

body::-webkit-scrollbar {
    display: none;
}

body {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html{
    overflow-x: hidden;
}

::selection {
    background-color: var(--white);
    color: var(--font);
}

label {
    cursor: pointer;
}

a,
a:link,
a:visited {
    text-decoration: none;
    transition: var(--transition);
}

ul,
ol,
li {
    list-style: none;
}

[type='text']:focus,
[type='email']:focus,
[type='url']:focus,
[type='password']:focus,
[type='number']:focus,
[type='date']:focus,
[type='datetime-local']:focus,
[type='month']:focus,
[type='search']:focus,
[type='tel']:focus,
[type='time']:focus,
[type='week']:focus,
[multiple]:focus,
textarea:focus,
select:focus {
    border-color: var(--white);
    --tw-ring-color: var(--border);
}

.btn,
select,
option,
input {
    height: 50px;
}

.btn {
    opacity: 1;
    transition: var(--transition);
    cursor: pointer;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: var(--r-regular);
}

select,
input,
textarea {
    border: 1px solid var(--border);
    border-color: var(--border);
    padding: 8px 14px;
    transition: var(--transition);
    background-color: var(--text-01);
    color: var(--white);
}

select:hover,
input:hover,
textarea:hover,
select:focus,
input:focus,
textarea:focus,
select:focus-visible,
input:focus-visible,
textarea:focus-visible{
    outline: none;
    border-color: var(--white);
}

select {
    cursor: pointer;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

[type='checkbox'],
[type='radio'] {
    color: var(--primary);
}

[type='checkbox']:checked,
[type='radio']:checked {
    border-color: var(--border);
}

input::placeholder {
    color: var(--text-02);
    font-size: var(--f-small);
}

textarea::placeholder {
    color: var(--text-02);
    font-size: var(--f-small);
}

.mobile {
    display: none;
}

b {
    font-weight: 700;
}

.text-primary {
    color: var(--primary);
}

button {
    border-color: transparent;
    cursor: pointer;
    font-weight: 500;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background-color: var(--white);
}

::-webkit-scrollbar {
    width: 10px;
    height: 5px;
    border-radius: var(--r-big);
}

::-webkit-scrollbar-thumb {
    background-color: var(--border);
    border-radius: var(--r-big);
}

::-webkit-scrollbar-track {
    background-color: var(--background);
}


.hahmlet{
    font-family: var(--hahmlet);
}

/* 미디어쿼리 */
@media all and (max-width:360px) {
    :root{
        --f-big: 28px;
        --f-large: 22px;
        --f-middle: 18px;
        --f-normal: 14px;
        --f-small: 13px;
        --f-caption: 11px;
    }

    *{
        font-size: var(--f-normal);
    }

}