@import url('normalize.css');
@import url('./fonts.css');

html {
  box-sizing: border-box;
}

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

:root {
  --text-main: #000;
  --text-secondary: #6b6b6b;
  --background: #fff;

  font-synthesis: none;
  text-rendering: optimizelegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text-main: #fff;
    --text-secondary: #e3e3e3;
    --background: #141414;
  }
}

body {
  min-width: 320px;
  min-height: 100vh;
  font-family: Inter, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--text-main);
  background-color: var(--background);
}

img {
  max-width: 100%;
  object-fit: contain;
}

.h {
  margin-top: 0;
  font-weight: 700;
}

.h--1 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

@media (width >= 768px) {
  .h--1 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
  }
}

p {
  margin-top: 0;
  font-size: 1rem;
}

@media (width >= 768px) {
  p {
    font-size: 1.1rem;
  }
}

.container {
  width: 100%;
  margin: 0 auto;
  padding-right: 20px;
  padding-left: 20px;
}

@media (width >= 576px) {
  .container {
    max-width: 540px;
  }
}

@media (width >= 768px) {
  .container {
    max-width: 720px;
  }
}

@media (width >= 992px) {
  .container {
    max-width: 960px;
  }
}

@media (width >= 1200px) {
  .container {
    max-width: 1140px;
  }
}
