@font-face {
  font-family: 'LatoLight';
  src: url(../font/Lato-Light.ttf);
}

@font-face {
  font-family: 'LatoBold';
  src: url(../font/Lato-Bold.ttf);
}

a {
  text-decoration: none;
}

a:focus {
  outline: none;
}

.case-wrapper {
  font: 16px Gothic, sans-serif;
  width: 100%;
  background: #2a0036;
  overflow: hidden;
  padding-left: 90px;
}

.case-container {
  width: 100%;
  max-width: 1570px;
  padding-left: 15px;
  padding-right: 15px;
  margin: 0 auto;
  display: flex;
}

.logo {
  max-width: 435px;
  -webkit-align-self: center;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
  text-align: center;
}

.logo__img {
  max-width: 435px;
  width: 100%;
  height: auto;
  margin-bottom: 12vh;
}

.logo__description {
  font: 16px/26px LatoLight, sans-serif;
  color: #fff;
  text-align: center;
  margin-bottom: 4vh;
  padding: 15px;
}

.logo__link {
  font: 16px LatoBold, sans-serif;
  color: #fff;
  display: inline-block;
  position: relative;
  padding-bottom: 20px;
}

.logo__link:before {
  content: '';
  background: url(../images/underline.png) 0 0 no-repeat;
  background-size: contain;
  width: 100%;
  height: 15px;
  position: absolute;
  bottom: 0;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.logo__link:hover {
  color: #ceb295;
  text-decoration: none;
  -webkit-transition: all .3s;
  transition: all .3s;
}

.title {
  font: 30px Arial, sans-serif;
  color: #7e4d8d;
}

.text {
  font: 16px/26px LatoLight, sans-serif;
  color: #030303;
}

.step-img {
  margin-bottom: 45px;
}

.hero {
  height: -webkit-calc(100vh + 80px);
  height: calc(100vh + 80px);
  position: relative;
  display: flex;
}

.hero:after {
  content: '';
  background: url(../images/bottom-line.png) 0 0 no-repeat;
  background-size: 100%;
  height: 80px;
  width: 100%;
  position: absolute;
  bottom: -5px;
  -webkit-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  transform: rotate(-180deg);
  left: 0;
}

.hero__text {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 40%;
  -ms-flex: 0 0 40%;
  flex: 0 0 40%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.hero__images {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 60%;
  -ms-flex: 0 0 60%;
  flex: 0 0 60%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.hero__images-main {
  max-width: 100%;
  height: auto;
}

.hero__images-item {
  position: absolute;
  left: 0;
  height: auto;
  max-width: 100%;
}

.hero__images-item.hero_burger {
  top: 28%;
  left: 8%;
  width: 18%;
}

.hero__images-item.hero_milk {
  width: 35%;
  top: 60%;
  left: 59%;
}

.hero__images-item.hero_tomato {
  top: 1%;
  left: 27%;
  width: 13%;
}

.hero__images-item.hero_potato {
  width: 14%;
  top: 3%;
  right: 0%;
  left: auto;
}

.hero__animation {
  position: relative;
  width: 100%;
  text-align: center;
}

.section-row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.problem {
  background: #e8daca;
  position: relative;
  z-index: 10;
}

.problem__content {
  max-width: 770px;
  margin: 0 auto;
  text-align: center;
  -webkit-align-self: center;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
}

.problem__container.case-container {
  position: relative;
}

.problem__row.section-row {
  min-height: 440px;
}

.problem__img {
  position: absolute;
  height: auto;
}

.problem__img-cup {
  width: 9%;
  left: 10%;
  top: 14%;
}

.problem__img-phone {
  width: 10%;
  left: 3%;
  top: 49%;
}

.problem__img-comp {
  width: 20%;
  right: 0;
  top: 15%;
  -webkit-transform: rotate(25deg);
  -ms-transform: rotate(25deg);
  transform: rotate(25deg);
}

.steps {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
}

.steps:before {
  content: '';
  background: url(../images/bottom-line.png) 0 0 no-repeat;
  background-size: 100%;
  height: 80px;
  width: 100%;
  position: absolute;
  top: -5px;
  left: 0;
}

.steps .title {
  color: #d2b697;
}

.steps .text {
  color: #fff;
}

.steps-mobile__col {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 25%;
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
  padding: 0 15px;
  z-index: 10;
}

.steps-mobile__col img {
  width: 100%;
  height: auto;
}

.steps-mobile__col.steps-mobile__col2 {
  padding-top: 12%;
}

.steps-mobile__col.steps-mobile__col3 {
  padding-top: 22%;
}

.steps-mobile__col.steps-mobile__col4 {
  padding-top: 32%;
}

.steps-mobile.steps-mobile_mobile {
  display: none;
}

.steps-mobile.steps-mobile_mobile .steps-mobile__col {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 50%;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  margin-bottom: 30px;
}

.step1__text {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 50%;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  text-align: right;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 0 15px;
}

.step1__text-layout {
  -webkit-align-self: center;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
}

.step1__figure {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 50%;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 0 15px;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.step1__figure-table {
  width: 55%;
  height: auto;
  position: absolute;
  top: 10%;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.step1__figure-basket {
  width: 35%;
  height: auto;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
}

.step1__figure-crump1 {
  width: 12%;
  height: auto;
  right: 20%;
  bottom: -30px;
  position: absolute;
}

.step1__figure-fly {
  width: 16%;
  height: auto;
  right: 10%;
  bottom: 95%;
  position: absolute;
}

.step1__figure-layout {
  height: 500px;
  width: 100%;
  position: relative;
}

.step1__figure-layout-mobile {
  width: 100%;
  position: relative;
  display: none;
}

.step1__figure-layout-mobile img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

.step2 {
  height: 1400px;
  position: relative;
}

.step2__food1 {
  width: 23%;
  position: absolute;
  right: -3%;
  top: 20%;
}

.step2__food2 {
  width: 30%;
  position: absolute;
  left: -12%;
  bottom: 0;
  -webkit-transform: rotate(20deg);
  -ms-transform: rotate(20deg);
  transform: rotate(20deg);
}

.step3 {
  position: relative;
  top: -100px;
}

.step3__text {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 50%;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  text-align: left;
  padding: 0 15px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.step3__text-layout {
  -webkit-align-self: center;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
}

.step3__figure {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 50%;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  padding: 0 15px;
  text-align: center;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.step3__img {
  top: -35px;
  max-width: 100%;
  position: relative;
  z-index: 10;
  height: auto;
}

.end {
  background: #e8daca;
  min-height: 816px;
  padding-top: 35px;
}

.end__text {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 50%;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  text-align: right;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 0 15px;
}

.end__text-layout {
  -webkit-align-self: center;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
}

.end__figure {
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 50%;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 0 15px;
}

.end__figure-layout {
  -webkit-align-self: center;
  -ms-flex-item-align: center;
  -ms-grid-row-align: center;
  align-self: center;
}

@media (max-width: 1024px) {
  .case-wrapper {
    padding-left: 75px;
  }
}

@media (max-width: 960px) {
  .logo__img {
    margin-bottom: 30px;
  }

  .logo__description {
    margin-bottom: 10px;
  }

  .step-img {
    margin-bottom: 15px;
  }

  .hero {
    height: auto;
    padding-top: 15%;
  }

  .hero__text {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    height: auto;
    margin-bottom: 10%;
  }

  .hero__images {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
  }

  .section-row {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .steps-mobile {
    display: none;
  }

  .steps-mobile__col.steps-mobile__col2 {
    padding-top: 0;
  }

  .steps-mobile__col.steps-mobile__col3 {
    padding-top: 0;
  }

  .steps-mobile__col.steps-mobile__col4 {
    padding-top: 0;
  }

  .steps-mobile.steps-mobile_mobile {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }

  .step1 {
    margin-bottom: 30px;
  }

  .step1__text {
    -webkit-box-flex: 1;
    -webkit-flex: auto;
    -ms-flex: auto;
    flex: auto;
    margin-bottom: 60px;
  }

  .step1__figure {
    -webkit-box-flex: 1;
    -webkit-flex: auto;
    -ms-flex: auto;
    flex: auto;
  }

  .step1__figure-layout {
    display: none;
  }

  .step1__figure-layout-mobile {
    display: block;
  }

  .step2 {
    height: auto;
    margin-bottom: 30px;
  }

  .step3 {
    top: 0;
  }

  .step3__text {
    -webkit-box-flex: 1;
    -webkit-flex: auto;
    -ms-flex: auto;
    flex: auto;
  }

  .step3__figure {
    -webkit-box-flex: 1;
    -webkit-flex: auto;
    -ms-flex: auto;
    flex: auto;
  }

  .step3__img {
    top: 0;
  }

  .end__img {
    max-width: 100%;
    height: auto;
  }

  .end__text {
    -webkit-box-flex: 1;
    -webkit-flex: auto;
    -ms-flex: auto;
    flex: auto;
    margin-bottom: 60px;
  }

  .end__figure {
    -webkit-box-flex: 1;
    -webkit-flex: auto;
    -ms-flex: auto;
    flex: auto;
  }
}

@media (max-width: 767px) {
  .case-wrapper {
    padding-left: 0;
    padding-bottom: 60px;
  }
}