*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  font-size: 10px;
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: transparent;
}

html {
  &:focus-within {
    scroll-behavior: smooth;
  }

  @media (max-width: 1024px) {
    scroll-behavior: smooth;
  }
}

body {
  text-rendering: optimizeSpeed;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

input[type="number"],
input[type="search"] {
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
}

input,
button,
textarea,
select {
  font: inherit;
  outline: 0;
}

input,
textarea,
button,
select,
label,
a {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

:root {
  --color-primary: #04133a;
  --color-secondary: #0052d0;
  --color-white: #ffffff;
}

* {
  touch-action: manipulation;
}

html {
  font-size: 10px;
}

body {
  display: grid;
  grid-template-rows: min-content 1fr min-content;
  gap: 40px 0;
  background-color: var(--color-primary);
  color: var(--color-white);
  overflow: hidden scroll;
  min-height: 100svh;
  scrollbar-gutter: stable;
  font-size: 1.6rem;
  line-height: 2rem;
  padding: 20px;
  font-family: "Onest", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.logo {
  display: block;
  max-width: 100%;
  height: auto;
}

.contacts {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.contacts__item {
  display: flex;
  flex-direction: column;
  gap: 4px 0;
  width: 100%;
}

.contacts__title {
  font-size: 1.2rem;
  line-height: 1.8rem;
  opacity: 0.8;
}

.contacts__value {
  font-size: 2rem;
  line-height: 2.4rem;
}

.contacts__value a {
  color: currentColor;
  text-decoration: none;
}

.copyright {
  font-size: 1.2rem;
  line-height: 1.8rem;
  opacity: 0.8;
  text-align: center;
}

.beauty {
  position: absolute;
  inset: 10px;
  display: none;
  width: 100%;
  height: 100%;
  max-width: calc(100vw - 20px);
  max-height: calc(100vh - 20px);
  object-fit: contain;
}


&::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

&::-webkit-scrollbar-track {
  background-color: transparent;
}

&::-webkit-scrollbar-thumb {
  background-color: var(--color-secondary);
  border: 4px solid transparent;
  background-clip: content-box;
  border-radius: 10px;
}