@import "./fonts.css";

* {
  box-sizing: border-box;
}

html {
  font-size: 1vw;
  scroll-behavior: smooth;
}

@media (min-width: 1200px) and (max-width: 1439.98px) {
  html {
    font-size: 1.05vw;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  html {
    font-size: 1.4vw;
  }
}

@media (min-width: 480px) and (max-width: 991.98px) {
  html {
    font-size: 2.3vw;
  }
}

@media (min-width: 480px) and (max-width: 575.98px) {
  html {
    font-size: 2.8vw;
  }
}

@media (max-width: 479.98px) {
  html {
    font-size: clamp(16px, 5vw, 24px);
  }
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-text-size-adjust: 100%;
  text-rendering: geometricPrecision;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}
