html {
    /* stylelint-disable property-no-vendor-prefix */
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    /* stylelint-enable property-no-vendor-prefix */
}

/* Normalize */
*,
*::before,
*::after {
    box-sizing: border-box;
    /* normalize box-sizing */
    /* stylelint-disable property-no-vendor-prefix */
    -ms-flex: 0 1 auto;
    /* to normalize flex */
    /* stylelint-enable property-no-vendor-prefix */
}

body {
    font-family: Airbnb Cereal VF, Circular, -apple-system, BlinkMacSystemFont, Roboto, Helvetica Neue, sans-serif;
    font-size: 0.875rem;
    /* font-size should be 16px, but there are styles that rely on "em" */
    line-height: 1.43;
    color: #222222;
    background-color: #fff;
    margin: 0;
    /* stylelint-disable property-no-vendor-prefix */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* stylelint-enable property-no-vendor-prefix */
    font-synthesis: none;
}

body {
    line-break: strict;

    [lang='ko'] & {
        word-break: keep-all;
    }
}

/* Cursor on buttons */
button,
html input[type='button'],
input[type='reset'],
input[type='submit'] {
    -webkit-appearance: button;
    cursor: pointer;
}

input,
textarea,
select,
button,
a {
    font-family: inherit;
    font-size: 100%;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 25px;
    margin-bottom: 15px;

    &:first-child {
        margin-top: 0;
    }
}

/* Remove the outline from non-interactive focusable elements      This should be handled with a custom focus */
[tabindex='-1']:focus:not(:focus-visible) {
    outline: 0;
}

.screen-reader-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.screen-reader-only-focusable:active,
.screen-reader-only-focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.skip-to-content:focus {
    background-color: white;
    font-size: 18px;
    padding: 0 24px;
    position: absolute;
    left: 3px;
    line-height: 64px;
    top: 3px;
    z-index: 10000;
}

/* stylelint-enable */
@font-face {
    font-family: 'Airbnb Cereal VF';
    src: url('../fonts/new/1.woff2') format('woff2 supports variations'),
    url('../fonts/new/2.woff2') format('woff2-variations');
    font-style: normal;
    unicode-range: U+0000-03FF, U+0500-058F, U+0700-074F, U+0780-FAFF, U+FE00-FE6F, U+FF00-EFFFF, U+FFFFE-10FFFF;
    font-display: swap;
}

@font-face {
    font-family: 'Airbnb Cereal VF';
    src: url('../fonts/new/3.woff2') format('woff2 supports variations'),
    url('../fonts/new/4.woff2') format('woff2-variations');
    font-style: italic;
    unicode-range: U+0000-03FF, U+0500-058F, U+0700-074F, U+0780-FAFF, U+FE00-FE6F, U+FF00-EFFFF, U+FFFFE-10FFFF;
    font-display: swap;
}

@font-face {
    font-family: 'Airbnb Cereal VF';
    unicode-range: U+0600-06FF, U+0750-077F;
    font-style: normal;
    src: url('../fonts/new/5.woff2') format('woff2 supports variations'),
    url('../fonts/new/6.woff2') format('woff2-variations');
    font-display: swap;
}

@font-face {
    font-family: 'Airbnb Cereal VF';
    unicode-range: U+0400-04FF;
    font-style: normal;
    src: url('../fonts/new/7.woff2') format('woff2 supports variations'),
    url('../fonts/new/8.woff2') format('woff2-variations');
    font-display: swap;
}

@font-face {
    font-family: 'Airbnb Cereal VF';
    unicode-range: U+0590-05FF, U+FB00-FB4F;
    font-style: normal;
    src: url('../fonts/new/9.woff2') format('woff2 supports variations');
    font-display: swap;
}

@font-face {
    font-family: 'Airbnb Cereal VF';
    src: url('../fonts/new/10.woff2') format('woff2 supports variations'),
    url('../fonts/new/11.woff2') format('woff2-variations');
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Airbnb Cereal VF';
    unicode-range: U+0900-097F;
    font-style: normal;
    src: url('../fonts/new/12.woff2') format('woff2 supports variations'),
    url('../fonts/new/13.woff2') format('woff2-variations');
    font-display: swap;
}

@font-face {
    font-family: 'Airbnb Cereal VF';
    unicode-range: U+0E00-0E7F;
    font-style: normal;
    src: url('../fonts/new/14.woff2') format('woff2 supports variations'),
    url('../fonts/new/15.woff2') format('woff2-variations');
    font-display: swap;
}

@font-face {
    font-family: 'Airbnb Cereal VF';
    unicode-range: U+0370-03FF;
    font-style: normal;
    src: url('../fonts/new/16.woff2') format('woff2 supports variations'),
    url('../fonts/new/17.woff2') format('woff2-variations');
    font-display: swap;
}
