@import url(font.css);
@import url(scheme.css);
@import url(menu.css);
@import url(footer.css);
@import url(modal.css);

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    background: var(--bg);
}

body {
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.fixed, .no-scroll { overflow: hidden !important; }

* { box-sizing: border-box; }

a { color: var(--hud); text-decoration: none; }
a:hover { color: var(--hud-strong); }
a > i, a, a > font, a *, button * { cursor: pointer; }
button, a, a *, button * { transition: 0.2s ease all; }

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 { font-weight: 700; line-height: 1.1; margin: 0 0 0.5em; letter-spacing: 0.01em; }
p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid var(--hud); outline-offset: 3px; }

::selection { background: var(--sun); color: #fff; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media screen and (max-width: 800px) {
    html, body { overflow-x: hidden; }
    body { font-size: 16px; }
}
