@import './fonts/fonts.css';

:root {
  --color-black: #272544;
  --color-gray: #A1A0AB;
  --color-gray-bg: #F4F4F7;
  --color-red: #D83E48;
  --color-ozon: #1488CA;
  --color-wildberries: #9F4C97;
  --color-yandex: #FFC327;
}

html {
  scroll-behavior: smooth;
  scroll-padding: 69px;
}

body {
  margin: 0;
  padding: 0;

  color: var(--color-black);
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  /* font-size: 18px; 
  line-height: 24px; */
  font-size: 16px; 
  line-height: 1.5;

  overflow-x: hidden;
}


.block {
  width: 100%;
  max-width: calc(1134px + 2 * 30px);
  margin: 0 auto;
  padding-left: 30px;
  padding-right: 30px;
  box-sizing: border-box;
}

.text-l {
  font-size: 23px;
  line-height: 28px;
}

.text-s {
  font-size: 15px;
  line-height: 21px;
  font-weight: 500;
}

p {
  margin: 0;
  line-height: 24px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: 'PT Serif', 'Times New Roman', Times, serif;
}

h2 {
  /* font-size: 39px;
  line-height: 47px; */
  font-size: 30px;
  line-height: 1.5;
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  font-size: inherit;
  color: inherit;
}

svg,
img {
  vertical-align: middle;
}

input {
  background: none;
  color: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

@media (max-width: 1130px) {
  body {
    font-size: 16px;
    line-height: 21px;
  }

  h2 {
    font-size: 25px;
  }

  p {
    line-height: 22px;
  }
}

@media (max-width: 720px) {
  .block {
    padding-left: 20px;
    padding-right: 20px;
  }
}