@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    src: url('./assets/fonts/inter/Inter.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Inter-Italic';
    font-style: normal;
    src: url('./assets/fonts/inter/Inter-Italic.ttf') format('truetype');
}


html,
body {
    height: max-content;
    scrollbar-gutter: stable;
}

body.noskroll,
html.noskroll {
    overflow: hidden;
}

html {
    width: 100%;
    scroll-behavior: smooth;
    cursor: default;
}

[id] {
    scroll-margin-top: 150px;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    transition: color 0.5s, background-color 0.5s;
    letter-spacing: 0;
    line-height: 140%;
    font-size: 1.3rem;
    font-weight: 300;
    text-rendering: optimizeLegibility;
    min-width: var(--site-min-width);
    position: relative;
    background-color: var(--color-bg);
}

* {
    margin: 0;
    padding: 0;
    font: inherit;
    box-sizing: border-box;
    outline: none;
    font-family: 'Inter';
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letterspacing: -1%;
}

audio,
canvas,
progress,
video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
}

[hidden],
template {
    display: none;
}


*:focus,
*:active,
*:hover {
    outline: none;
}

hr {
    box-sizing: content-box;
    height: 0;
}

ol,
ul {
    list-style: none;
}

pre {
    tab-size: 4;
    white-space: pre-wrap;
}

img,
svg {
    border: 0;
    display: block;
    max-width: 100%;
    max-height: 100%;
    height: auto;
}

svg:not(:root) {
    overflow: hidden;
}

button,
input {
    line-height: normal;
}

button,
select {
    text-transform: none;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    overflow: visible;
    appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"] {
    appearance: textfield;
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    appearance: none;
}

textarea {
    overflow: auto;
    vertical-align: top;
    resize: none;
    user-select: text;
}

button,
input,
select[multiple],
textarea {
    background-image: none;
}

input,
select,
textarea {
    box-shadow: none;
}

[placeholder]:focus::placeholder {
    color: transparent;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

a {
    background: transparent;
    text-decoration: none;
    color: inherit;

    @media screen and (hover: hover) {
        &:hover {
            color: var(--color-accent);
        }
    }
}

p {
    margin: 0 0 20px 0;
}

strong,
b {
    font-weight: 500;
}

.is-hidden {
    display: none;
}

#panel {
    z-index: 1000000;
    /* position: fixed; */
    top: 0;
    left: 0;
    width: 100%;
}

.fit-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.container {
    width: 100%;
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 0 24px;
}


.button {
    display: flex;
    height: 44px;
    border-radius: 22px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    background-color: var(--color-accent);
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    text-decoration-line: none;
    border: none;

    &.button-red {
        color: #fff;
        background-color: var(--color-accent);
    }

    &.button-white {
        color: var(--color-text-primary);
        background-color: #fff;
    }
}