@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('./fonts/Inter-Light.woff2') format('woff2'),
    url('./fonts/Inter-Light.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('./fonts/Inter-Regular.woff2') format('woff2'),
    url('./fonts/Inter-Regular.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('./fonts/Inter-Bold.woff2') format('woff2'),
    url('./fonts/Inter-Bold.woff') format('woff');
  font-display: swap;
}

:root {
  --body-bg-color: #0e121b;
  --main-bg-color: #171d26;
  --main-bg-color-darken: #11161d;
  --text-color: #7985a2;

  --tiny-space: 0.6rem; /* 12px */
  --small-space: 1.25rem; /* 24px */
  --medium-space: 2rem; /* 36px */
  --large-space: 2.75rem; /* 48px */
}

html,
body {
  min-width: 100vw;
  min-height: 100vh;
}

body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: var(--text-color);
  background-color: var(--body-bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-weight: 300;
}

.icon {
  fill: var(--text-color);
}

.spinner {
  stroke: var(--text-color);
}

h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol {
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--small-space);
}

h2 {
  font-size: 1rem;
  font-weight: 300;
  margin: var(--tiny-space) 0;
}

@media only screen and (max-width: 575px) {
  body {
    background-color: var(--main-bg-color);
  }
}
