@font-face {
  font-family: 'Gotham Pro Regular';
  src: url('./fonts/GothamPro.eot');
  src: url('./fonts/GothamPro.eot?#iefix') format('embedded-opentype'),
  url('./fonts/GothamPro.woff') format('woff'),
  url('./fonts/GothamPro.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Gotham Pro Bold';
  src: url('./fonts/GothamPro-Bold.eot');
  src: url('./fonts/GothamPro-Bold.eot?#iefix') format('embedded-opentype'),
  url('./fonts/GothamPro-Bold.woff') format('woff'),
  url('./fonts/GothamPro-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  font-size: 10px;
}

body, html {

}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Gotham Pro Regular', sans-serif;
  line-height: 1.5;
  color: #222221;
  background-color: #f8f5e4;
  background-image: url(./images/4.png);
  background-repeat: repeat-x;
  background-position: top center;
}

.main-container {
  padding-top: 19rem;
  padding-bottom: 20rem;
  display: grid;
  grid-gap: 12rem;
  grid-template-columns: 120rem;
  justify-content: center;
}
.container {
  display: grid;
  grid-gap: 6rem;
}

h1, h2, h3 {}
h1 {
  font-size: 4.8rem;
}
h2 {
  font-size: 4.8rem;
}
h3 {}
.title {
  font-weight: bold;
  font-family: 'Gotham Pro Bold', 'Gotham Pro Regular', sans-serif;
  margin: 0;
  text-align: center;
  line-height: 1.2;
}
.title-red {
  color: #ae1b2a;
}
.title-wrapper {
  display: grid;
  grid-gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(20rem, max-content));
  align-items: center;
  justify-content: center;
}
.title-wrapper img {
  width: 29rem;
}

.header-products-list {
  display: grid;
  grid-gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(10rem, max-content));
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}
.header-product {
  position: relative;
}
.header-product img {
  max-width: 100%;
}
.header-product.marked::before {
  content: '';
  display: block;
  width: 23.6rem;
  height: 23.6rem;
  background: url('./images/product-mark.png') no-repeat center;
  background-size: cover;
  position: absolute;
  top: -3rem;
  right: -10rem;
  box-shadow: .5rem 1rem .5rem rgba(0, 0, 0, .2);
  border-radius: 50%;
}

.shops-list {
  display: grid;
  grid-gap: 4rem;
  grid-template-columns: repeat(auto-fit, minmax(10rem, max-content));
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}
.shops-list li {}
.shops-list li a {
  text-decoration: none;
}
.shops-list img {
  max-width: 100%;
}

.advantages-list {
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(10rem, max-content));
  align-items: start;
  justify-content: center;
  margin: 0;
  list-style: none;
  padding: 0 0 12rem;
  background: url('./images/11.png') no-repeat bottom center;
  background-size: 7rem;
}
.advantages-list li {}
.advantages-list img {
  box-shadow: .5rem 1rem .5rem rgba(0, 0, 0, .2);
  border-radius: 50%;
  max-width: 100%;
}
.advantages-list li:nth-child(1) {}
.advantages-list li:nth-child(2) {}
.advantages-list li:nth-child(3) {
  margin-top: 3rem;
}
.advantages-list li:nth-child(4) {}
.advantages-list li:nth-child(5) {}

.description {
  width: 88rem;
  margin: 0 auto;
  font-size: 3.6rem;
  text-align: center;
}
.description > div{}

.paper {
  position: relative;
  font-size: 2.2rem;
  background: url('./images/paper.png') repeat-y 45% top;
  background-size: contain;
  padding: 10rem 10rem 0 20rem;
  margin-top: 70rem;
  min-height: 160rem;
  box-sizing: border-box;
  filter: drop-shadow(1rem 1rem 1rem rgba(0, 0, 0, 0.24));
}
.paper-title {
  text-align: center;
  margin: 3rem 0;
  padding: 2.2rem 0 1.8rem;
  border: .1rem solid #777;
  border-left: none;
  border-right: none;
}
.paper-title img {
  max-width: 100%;
}

.paper-header-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  top: -20rem;
}
.paper-header-image::before,
.paper-header-image::after {
  content: '';
  display: block;
  position: absolute;
  top: -30rem;
  bottom: 0;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 2rem 2rem .5rem rgba(0, 0, 0, .2);
  width: 92.5rem;
  height: 60rem;
}
.paper-header-image::before {
  background-image: url('./images/21.jpg');
  transform: rotate(-6deg);
  top: -40rem;
  left: 0;
  z-index: 4;
}
.paper-header-image::after {
  background-image: url('./images/22.jpg');
  transform: rotate(3deg);
  right: 0;
  z-index: 3;
}

.paper-ingredients {
  list-style: none;
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  width: 94rem;
  margin: 0 auto;
  line-height: 1.3;
  font-size: 2.1rem;
}
.paper-ingredients ul {
  padding: 0;
  margin: 0;
}
.paper-ingredients li {
  display: grid;
  grid-template-columns: 31rem 16rem;
  align-items: stretch;
  align-content: center;
  justify-content: center;
}
.paper-ingredients li .strong {
  font-weight: bold;
}
.paper-ingredients li > div {
  padding: .8rem;
}
.paper-ingredients li div:first-child {}
.paper-ingredients li div + div {
  font-weight: bold;
  border-left: .1rem solid #777;
  padding-left: 1.2rem;
}

.paper-cooking {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-gap: 1rem;
}
.paper-cooking li {
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: 5rem 1fr;
  align-items: start;
}
.paper-cooking li span {
  font-size: 3rem;
  color: #ae1b2a;
  position: relative;
  top: -.5rem;
  font-weight: bold;
}
.paper-cooking li div{}


@media (max-width: 1400px) {
  :root {
    font-size: 9px;
  }
}
@media (max-width: 1200px) {
  :root {
    font-size: 8px;
  }
}
@media (max-width: 1100px) {
  :root {
    font-size: 7px;
  }
}
@media (max-width: 1050px) {
  :root {
    font-size: 6px;
  }
}
@media (max-width: 900px) {
  .header-products-list {
    padding: 0 10rem;
    box-sizing: border-box;
  }
  .header-product.marked::before {
    width: 20rem;
    height: 20rem;
  }
  .paper {
    font-size: 3rem;
    background: url('./images/paper-fragment.png') repeat-y 45% top;
    background-size: contain;
    padding: 10rem 8rem 5rem 16rem;
  }
  .paper-ingredients {
    grid-template-columns: 1fr;
    font-size: inherit;
  }
  .paper-ingredients li {
    grid-template-columns: 60% 1fr;
  }
}
@media (max-width: 768px) {
  .main-container {
    grid-template-columns: 1fr;
    padding: 22rem 5rem 10rem;
  }
  .header-products-list {
    padding: 0 20rem;
  }
  .header-product.marked::before {
    width: 15vw;
    height: 15vw;
  }
  .shops-list,
  .advantages-list {
    grid-template-columns: repeat(auto-fit, minmax(15rem, min-content));
  }
  .paper {
    margin-top: 50vw;
  }
  .paper-header-image::before, .paper-header-image::after {
    width: 80vw;
    height: 50vw;
  }
  .paper-header-image::before {
    top: -35rem;
  }
  .paper-header-image::after {
    top: -30rem;
  }
  .paper-ingredients {
    width: 100%;
  }
  .paper-ingredients li {
    grid-template-columns: 70% 1fr;
  }
  .description {
    width: 100%;
    box-sizing: border-box;
  }
}
@media (max-width: 680px) {
  .paper {
    padding: 5rem 4rem 3rem 10rem;
  }
}
@media (max-width: 600px) {
  .main-container {
    grid-gap: 6rem;
  }
  .container {
    grid-gap: 3rem;
  }
  .header-products-list {
    padding: 0 5rem;
  }
  .header-product.marked::before {
    right: -5rem;
  }
  .shops-list,
  .advantages-list {
    grid-template-columns: repeat(auto-fit, minmax(10rem, min-content));
  }
  .advantages-list {
    background-size: 5rem;
    padding-bottom: 8rem;
  }
  .title-wrapper {
    grid-template-columns: 1fr;
    justify-items: center;
    grid-gap: 4rem;
  }
  .paper {
    /* margin-top: 40rem; */
  }
  .paper-header-image::before {
    top: -25rem;
  }
  .paper-header-image::after {
    top: -20rem;
  }
}
@media (max-width: 500px) {
  body {
    background-size: 500px;
  }
  .main-container {
    min-width: 300px;
    padding: 70px 10px 10px;
    grid-template-columns: 100%;
  }
  .title {
    font-size: 18px;
  }
  .title-wrapper {
    grid-gap: 10px;
  }
  .title-wrapper img {
    width: 121px;
  }
  .header-product.marked::before {
    box-shadow: 2px 2px 2px rgba(0, 0, 0, .4);
  }
  .shops-list {
    grid-template-columns: repeat(auto-fit, minmax(40px, min-content));
    grid-gap: 10px;
  }
  .advantages-list {
    grid-template-columns: 52px 44px 51px 70px 47px;
    padding-bottom: 30px;
    background-size: 20px;
    grid-gap: 5px;
  }
  .advantages-list img {
    box-shadow: 2px 2px 2px rgba(0, 0, 0, .4);
  }
  .description {
    font-size: 14px;
  }
  .paper {
    margin-top: 130px;
    padding: 30px 20px 35px 40px;
  }
  .paper-header-image::before, .paper-header-image::after {
    width: 244px;
    height: 174px;
    box-shadow: 5px 5px 2px rgba(0, 0, 0, .2);
  }
  .paper-header-image::before {
    top: -20px;
    left: 10px;
  }
  .paper-header-image::after {
    top: -10px;
    right: 10px;
  }
  .paper-ingredients {
    font-size: 11px;
  }
  .paper-cooking {
    font-size: 10px;
  }
  .paper-cooking li {
    grid-template-columns: 20px 1fr;
  }
  .paper-cooking li span {
    font-size: 14px;
  }
}