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

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

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400;
  src: url("https://pdf-convert.ru/welcome/fonts/Manrope-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Manrope";
  font-style: bold;
  font-weight: 500;
  src: url("https://pdf-convert.ru/welcome/fonts/Manrope-SemiBold.ttf") format("truetype");
}

html,
body {
  padding: 0;
  margin: 0;
  font-family: "Manrope", sans-serif;
}

:root {
  --typography-h1: 40.5px;
  --lh-h1: 48px;
  --typography-h2: 27px;
  --lh-h2: 32px;
  --typography-h3: 27px;
  --lh-h3: 32px;
  --typography-h4: 18px;
  --lh-h4: 24px;
  --typography-regular: 18px;
  --lh-regular: 24px;
  --typography-small: 12px;
  --lh-small: 16px;
}

h1 {
  text-align: center;
  font-size: var(--typography-h1);
  line-height: var(--lh-h1);
}

h2 {
  font-size: var(--typography-h2);
  line-height: var(--lh-h2);
}

h3 {
  font-size: var(--typography-h3);
  line-height: var(--lh-h3);
}

h4 {
  font-size: var(--typography-h4);
  line-height: var(--lh-h4);
}

div,
span,
p {
  font-size: var(--typography-regular);
  line-height: var(--lh-regular);
}

footer p {
  font-size: var(--typography-small);
  line-height: var(--lh-small);
}

.to-top-button {
  display: none; /* hidden by default */
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 24px;
  border: none;
  border-radius: 50%;
  background-color: #007bff;
  color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 8;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

@media (max-width: 720px) {
  :root {
    --typography-h1: 32px;
    --lh-h1: 40px;
    --typography-h2: 24px;
    --lh-h2: 32px;
    --typography-h3: 20px;
    --lh-h3: 28px;
    --typography-h4: 16px;
    --lh-h4: 24px;
    --typography-regular: 16px;
    --lh-regular: 24px;
    --typography-small: 12px;
    --lh-small: 16px;
  }

  div,
  span,
  p {
    font-size: 16px;
    line-height: 24px;
  }

  .logo.hide-mobile,
  a.hide-mobile,
  .hide-mobile {
    display: none;
  }

  .to-top-button.show {
    display: block;
  }
}
