*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    color: var(--color-text-main);
    font-family: var(--font-family-body);
    letter-spacing: var(--letter-spacing-main);
    font-size: 16px;
    line-height: 120%;
    font-weight: 400;
    font-style: normal;
    background: var(--color-background-main);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p,
ul,
ol,
li,
dl,
dd,
hr,
pre,
form,
table,
video,
figure,
figcaption,
blockquote {
    margin: 0;
    padding: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

img {
    display: block;
}

button {
    border: none;
    cursor: pointer;
    background: transparent;
}

input {
    outline: none;
    border: none;
}

input,
button,
select,
textarea {
    font: inherit;
    -webkit-appearance: none;
    appearance: none;
}

fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

label {
    display: block;
}

::selection {
    text-shadow: none;
    background: #cbeafb;
}

mark {
    background-color: #bcf8a0;
}

small {
    font-size: 80%;
}

hr {
    width: 100%;
    height: 1px;
    border: none;
    background-color: var(--color-borders);
}

sub,
sup {
    position: relative;
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

ul:not([class]) li+li {
    margin-top: 10px;
}

ol:not([class]) li+li {
    margin-top: 10px;
}

a {
    text-decoration: none;
    color: var(--color-text-main);
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 120%;
    margin: 0;
    font-family: var(--font-family-headings);
    font-weight: var(--font-weight-headings);
    letter-spacing: var(--letter-spacing-headings);
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}