.text_color_primary {
  color: #e78614;
}

@font-face {
  font-family: "Amatic SC";
  font-weight: normal;
  src: url("../fonts/AMATICSC.woff2"), url("../fonts/AMATICSC.woff"), url("../fonts/AMATICSC.otf"), url("../fonts/AMATICSC.ttf");
}

@font-face {
  font-family: "Amatic SC";
  font-weight: bold;
  src: url("../fonts/AMATICSC-BOLD.woff2"), url("../fonts/AMATICSC-BOLD.woff"), url("../fonts/AMATICSC-BOLD.otf"), url("../fonts/AMATICSC-BOLD.ttf");
}

html,
body {
  font-family: "PT Sans", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.4;
  color: #3a3735;
}

a,
a:hover,
a:focus,
a:visited {
  color: #e78614;
  text-decoration: underline;
}

a:focus,
button:focus,
.button:focus {
  outline: 2px solid #e78614;
  outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
.button:focus:not(:focus-visible) {
  outline: none;
}

a:focus-visible,
button:focus-visible,
.button:focus-visible {
  outline: 2px solid #e78614;
  outline-offset: 2px;
}

ul > li,
ol > li {
  font-size: 24px;
  line-height: 1.375;
  margin-bottom: 16px;
}

ul > li {
  position: relative;
  list-style: none;
}

ul > li:before {
  position: absolute;
  left: -30px;
  top: 50%;
  -webkit-transform: translateY(-50%);
     -moz-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  background-color: #e78614;
  -moz-border-radius: 50%;
       border-radius: 50%;
}

ol:not(.list-unstyled):not(.flip) {
  list-style: none;
  counter-reset: item;
  padding-left: 70px;
  font-size: 23px;
  line-height: 1.3;
}

ol:not(.list-unstyled):not(.flip) > li {
  position: relative;
  counter-increment: item;
  margin-bottom: 28px;
}

ol:not(.list-unstyled):not(.flip) > li:before {
  position: absolute;
  left: -70px;
  top: 50%;
  content: counter(item);
  display: inline-block;
  width: 40px;
  height: 40px;
  font-weight: bold;
  line-height: 40px;
  color: #fff;
  text-align: center;
  background-color: #e78614;
  -moz-border-radius: 4px;
       border-radius: 4px;
  -webkit-transform: translateY(-50%);
     -moz-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}

.heading {
  font-family: "Amatic SC", "Times New Roman", Times, serif;
  font-weight: bold;
  color: #e78614;
}

@media (min-width: 500px) {
  .heading {
    font-size: 45px;
  }
}

@media (min-width: 992px) {
  .heading {
    font-size: 65px;
  }
}

.button {
  position: relative;
  -moz-border-radius: 40px;
       border-radius: 40px;
  border: none;
  width: 100%;
  max-width: 350px;
  min-height: 76px;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 24px 30px;
  z-index: 5;
}

.button_primary {
  font-size: 18px;
  line-height: 1.33333;
  text-transform: uppercase;
  font-weight: 500;
  color: #fff;
  min-width: 270px;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#fec179), to(#e78614));
  background-image: -webkit-linear-gradient(top, #fec179, #e78614);
  background-image: -moz-linear-gradient(top, #fec179, #e78614);
  background-image: linear-gradient(to bottom, #fec179, #e78614);
  border-bottom: 4px solid #c36e09;
  -moz-box-shadow: 0 5px 20px rgba(231, 134, 20, 0.4);
       box-shadow: 0 5px 20px rgba(231, 134, 20, 0.4);
  -webkit-transition: box-shadow .4s;
  -moz-transition: box-shadow .4s, -moz-box-shadow .4s;
  transition: box-shadow .4s;
  transition: box-shadow .4s, -moz-box-shadow .4s;
}

.button_primary:hover {
  -moz-box-shadow: 0 7px 25px rgba(231, 134, 20, 0.5);
       box-shadow: 0 7px 25px rgba(231, 134, 20, 0.5);
}

.label {
  position: absolute;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 200px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.8);
  border: 2px solid #fff;
  -moz-border-radius: 10px;
       border-radius: 10px;
  font-size: 16px;
  line-height: 22px;
  color: #3a3735;
  -moz-box-shadow: 0 5px 20px rgba(231, 134, 20, 0.1);
       box-shadow: 0 5px 20px rgba(231, 134, 20, 0.1);
}

@media (min-width: 768px) {
  .label {
    height: 80px;
    width: 270px;
  }
}

.label__text-before {
  -webkit-box-ordinal-group: 0;
  -webkit-order: -1;
     -moz-box-ordinal-group: 0;
      -ms-flex-order: -1;
          order: -1;
}

.label__text-selected {
  line-height: 24px;
  font-weight: bold;
}

@media (min-width: 768px) {
  .label__text-selected {
    font-size: 25px;
  }
}

.label_primary {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 110px;
  height: 50px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  background-color: #e78614;
  -moz-border-radius-bottomright: 10px;
       border-bottom-right-radius: 10px;
}

.widget {
  background-color: #fff;
  -moz-border-radius: 10px;
       border-radius: 10px;
  width: 100%;
  min-height: 320px;
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
  z-index: 100;
}

.section__transition_bottom {
  position: absolute;
  bottom: 0;
  -webkit-transform: translateY(50%);
     -moz-transform: translateY(50%);
      -ms-transform: translateY(50%);
          transform: translateY(50%);
}

.gallery {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
}

.gallery__item {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  max-width: 400px;
  margin: 0 auto 30px;
}

@media (min-width: 992px) {
  .gallery__item {
    -webkit-box-flex: 1;
    -webkit-flex: 1 0 45%;
       -moz-box-flex: 1;
        -ms-flex: 1 0 45%;
            flex: 1 0 45%;
    max-width: -webkit-calc(50% - 15px);
    max-width: -moz-calc(50% - 15px);
    max-width: calc(50% - 15px);
    margin: 0;
    margin-bottom: 30px;
  }
  .gallery__item:nth-child(2n) {
    margin-left: 30px;
  }
}

.first-screen {
  background-color: #eae0d4;
  background-image: url("../images/background-1.jpg");
  background-repeat: no-repeat;
  -moz-background-size: cover;
       background-size: cover;
}

@media (min-width: 1200px) {
  .first-screen {
    font-size: 25px;
  }
}

@media (min-width: 1900px) {
  .first-screen {
    background-image: url("../images/background-1-2x-scale-2_00x.jpg");
  }
}

.webp .first-screen {
  background-image: url("../images/background-1.webp");
}

@media (min-width: 1900px) {
  .webp .first-screen {
    background-image: url("../images/background-1-2x-scale-2_00x.webp");
  }
}

.first-screen__body {
  padding-bottom: 50px;
}

@media (min-width: 992px) {
  .first-screen__body {
    padding-bottom: 230px;
  }
}

.first-screen__preheading {
  line-height: 1.1;
}

@media (min-width: 1200px) {
  .first-screen__heading {
    font-size: 100px;
    line-height: 1;
  }
}

@media (min-width: 992px) {
  .first-screen__pictures {
    position: relative;
  }
  .first-screen__pictures:before {
    position: absolute;
    left: -200px;
    top: -150px;
    content: "";
    display: block;
    width: 88px;
    height: 67px;
    background-image: url("../images/heart-1.png");
    background-position: left top;
    -moz-background-size: contain;
         background-size: contain;
    background-repeat: no-repeat;
    -webkit-transform: rotate(7deg);
       -moz-transform: rotate(7deg);
        -ms-transform: rotate(7deg);
            transform: rotate(7deg);
  }
}

@media (min-width: 1200px) {
  .first-screen__pictures:before {
    top: -200px;
  }
}

@media (min-width: 1400px) {
  .first-screen__pictures:before {
    top: -230px;
    left: -190px;
  }
}

@media (min-width: 992px) {
  .webp .first-screen__pictures:before {
    background-image: url("../images/heart-1.webp");
  }
}

.first-screen__picture {
  display: block;
  width: 100%;
  max-width: 450px;
  margin: 0 auto 20px;
  border: 12px solid #fff2cc;
  -moz-border-radius: 15px;
       border-radius: 15px;
}

@media (max-width: 991.97px) {
  .first-screen__picture {
    max-width: 300px;
  }
}

@media (min-width: 992px) {
  .first-screen__picture {
    position: absolute;
    bottom: -20px;
    right: 10px;
    width: 105%;
    max-width: unset;
    margin: 0;
    -webkit-transform: rotate(5deg);
       -moz-transform: rotate(5deg);
        -ms-transform: rotate(5deg);
            transform: rotate(5deg);
  }
}

@media (min-width: 1200px) {
  .first-screen__picture {
    width: 120%;
  }
}

@media (min-width: 1400px) {
  .first-screen__picture {
    right: -100px;
    width: 140%;
  }
}

.first-screen__lead {
  font-weight: bold;
}

@media (min-width: 1200px) {
  .first-screen__lead {
    font-size: 27px;
  }
}

.first-screen__bonus {
  position: relative;
  text-align: center;
}

.first-screen__bonus img {
  max-width: 100%;
  width: 350px;
}

@media (min-width: 992px) {
  .first-screen__bonus {
    position: absolute;
    bottom: -100px;
    left: 370px;
    z-index: 2;
    width: 300px;
  }
}

@media (min-width: 1200px) {
  .first-screen__bonus {
    width: 350px;
    bottom: -110px;
    left: 350px;
  }
}

@media (min-width: 500px) {
  .first-screen__bonus:before {
    position: absolute;
    top: 150px;
    left: 30px;
    content: "";
    display: block;
    width: 62px;
    height: 62px;
    background-image: url("../images/arrow-2.png");
    background-repeat: no-repeat;
    -moz-background-size: contain;
         background-size: contain;
    background-position: left top;
  }
}

@media (min-width: 780px) {
  .first-screen__bonus:before {
    left: 80px;
  }
}

@media (min-width: 992px) {
  .first-screen__bonus:before {
    background-image: url("../images/arrow-1.png");
    top: -70px;
    left: 70px;
  }
}

@media (min-width: 1200px) {
  .first-screen__bonus:before {
    top: -55px;
    left: 100px;
  }
}

.first-screen__text {
  max-width: 400px;
}

@media (min-width: 992px) {
  .first-screen__widget {
    position: absolute;
    bottom: -100px;
  }
}

.spoiler {
  padding-top: 50px;
}

@media (min-width: 992px) {
  .spoiler {
    padding-top: 200px;
  }
}

.spoiler__list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.spoiler__item {
  position: relative;
  -webkit-box-flex: 0;
  -webkit-flex: 0 1 300px;
     -moz-box-flex: 0;
      -ms-flex: 0 1 300px;
          flex: 0 1 300px;
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
     -moz-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  margin-bottom: 30px;
  background-color: transparent;
}

@media (min-width: 768px) {
  .spoiler__item.spoiler__day-1 {
    -webkit-transform: rotate(-2deg) translateX(-25px);
       -moz-transform: rotate(-2deg) translateX(-25px);
        -ms-transform: rotate(-2deg) translateX(-25px);
            transform: rotate(-2deg) translateX(-25px);
  }
  .spoiler__item.spoiler__day-2 {
    -webkit-transform: rotate(3deg) translate(25px);
       -moz-transform: rotate(3deg) translate(25px);
        -ms-transform: rotate(3deg) translate(25px);
            transform: rotate(3deg) translate(25px);
  }
  .spoiler__item.spoiler__day-3 {
    margin-left: 200px;
    margin-right: 200px;
    -webkit-flex-shrink: 0;
        -ms-flex-negative: 0;
            flex-shrink: 0;
    -webkit-transform: rotate(2deg) translate(20px, -20px);
       -moz-transform: rotate(2deg) translate(20px, -20px);
        -ms-transform: rotate(2deg) translate(20px, -20px);
            transform: rotate(2deg) translate(20px, -20px);
  }
  .spoiler__item.spoiler__day-4 {
    -webkit-transform: rotate(-2deg) translate(0, -70px);
       -moz-transform: rotate(-2deg) translate(0, -70px);
        -ms-transform: rotate(-2deg) translate(0, -70px);
            transform: rotate(-2deg) translate(0, -70px);
  }
  .spoiler__item.spoiler__day-5 {
    -webkit-transform: rotate(1deg) translate(-15px, 30px);
       -moz-transform: rotate(1deg) translate(-15px, 30px);
        -ms-transform: rotate(1deg) translate(-15px, 30px);
            transform: rotate(1deg) translate(-15px, 30px);
  }
  .spoiler__item.spoiler__day-5 .spoiler__label {
    bottom: 10px;
  }
}

@media (min-width: 1200px) {
  .spoiler__item.spoiler__day-3 {
    margin-left: 30px;
    margin-right: 0;
    -webkit-transform: rotate(4deg) translate(-10px, 0);
       -moz-transform: rotate(4deg) translate(-10px, 0);
        -ms-transform: rotate(4deg) translate(-10px, 0);
            transform: rotate(4deg) translate(-10px, 0);
  }
}

.spoiler__label {
  position: absolute;
  left: 10px;
  bottom: 0;
  display: inline-block;
  width: unset;
  padding: 10px 15px;
  line-height: 1.2;
  background-color: #fff;
  font-size: 14px;
  text-transform: capitalize;
  color: #3a3735;
}

.spoiler__label b {
  font-size: 20px;
  color: #000;
}

.promise {
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f3e8dc), color-stop(90%, #ffffff));
  background-image: -webkit-linear-gradient(top, #f3e8dc, #ffffff 90%);
  background-image: -moz-linear-gradient(top, #f3e8dc, #ffffff 90%);
  background-image: linear-gradient(to bottom, #f3e8dc, #ffffff 90%);
}

.promise__item {
  position: relative;
  max-width: 100%;
  padding: 80px 52px 42px;
  border: 1px solid #e78614;
  -moz-border-radius: 5px;
       border-radius: 5px;
  font-size: 20px;
  text-align: center;
  height: 100%;
  background-color: #fff;
  -moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
       box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.promise__counter {
  position: absolute;
  top: 0;
  left: 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 66px;
  height: 66px;
  background-color: #f4ede4;
  font-family: "Amatic SC", "Times New Roman", Times, serif;
  font-weight: bold;
  font-size: 25px;
  color: #fff;
  -moz-border-radius: 50%;
       border-radius: 50%;
  -webkit-transform: translate(-50%, -50%);
     -moz-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  z-index: 1;
}

.promise__counter-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  height: 50%;
  width: 100%;
  overflow: hidden;
}

.promise__counter-wrapper:before {
  position: absolute;
  bottom: 0;
  content: "";
  display: block;
  height: 200%;
  width: 100%;
  background-image: -webkit-gradient(linear, left bottom, left top, from(#f4ede4), color-stop(50%, #f4ede4), color-stop(60%, #fff));
  background-image: -webkit-linear-gradient(bottom, #f4ede4, #f4ede4 50%, #fff 60%);
  background-image: -moz-linear-gradient(bottom, #f4ede4, #f4ede4 50%, #fff 60%);
  background-image: linear-gradient(to top, #f4ede4, #f4ede4 50%, #fff 60%);
  border: 1px solid #e78614;
  -moz-border-radius: 50%;
       border-radius: 50%;
}

.promise__counter-number {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: -webkit-calc(100% - 10px);
  width: -moz-calc(100% - 10px);
  width: calc(100% - 10px);
  height: -webkit-calc(100% - 10px);
  height: -moz-calc(100% - 10px);
  height: calc(100% - 10px);
  margin: 5px;
  -moz-border-radius: 50%;
       border-radius: 50%;
  background-color: #e78614;
  z-index: 1;
}

.beautiful-pastel {
  background-image: url("../images/background-4.jpg");
  padding-top: 70px;
}

@media (min-width: 1900px) {
  .beautiful-pastel {
    background-image: url("../images/background-4-2x-scale-2_00x.jpg");
  }
}

.webp .beautiful-pastel {
  background-image: url("../images/background-4.webp");
}

@media (min-width: 1900px) {
  .webp .beautiful-pastel {
    background-image: url("../images/background-4-2x-scale-2_00x.webp");
  }
}

.beautiful-pastel__picture {
  width: 100%;
  max-width: 450px;
}

@media (min-width: 992px) {
  .beautiful-pastel__picture {
    position: absolute;
    bottom: 0;
    right: 0;
    left: unset;
    max-width: 650px;
  }
}

@media (min-width: 1400px) {
  .beautiful-pastel__picture {
    right: -50px;
    width: 120%;
  }
}

.beautiful-pastel__label {
  position: absolute;
  left: 50%;
  bottom: 0;
  text-align: left;
  padding: 7px 20px;
  height: auto;
  width: 270px;
  font-size: 20px;
  -webkit-transform: translateX(-50%);
     -moz-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
}

@media (min-width: 500px) {
  .beautiful-pastel__label {
    left: 10%;
    -webkit-transform: none;
       -moz-transform: none;
        -ms-transform: none;
            transform: none;
    width: 310px;
  }
}

@media (min-width: 992px) {
  .beautiful-pastel__label {
    left: 0;
    bottom: 70px;
    padding: 20px 30px;
  }
}

.beautiful-pastel__label b {
  font-size: 22px;
}

@media (min-width: 500px) {
  .beautiful-pastel__label b {
    font-size: 25px;
  }
}

@media (min-width: 992px) {
  .beautiful-pastel__button .button {
    left: 70px;
  }
}

.bonus-block__cover {
  position: relative;
}

.bonus-block__cover:before {
  position: absolute;
  right: 50px;
  top: 30%;
  content: "";
  display: block;
  width: 78px;
  height: 60px;
  background-repeat: no-repeat;
  -moz-background-size: contain;
       background-size: contain;
  background-image: url("../images/heart-5.png");
}

.expert {
  background-color: #fbf4eb;
}

.expert__text {
  position: relative;
  padding: 45px;
  background-color: #fff;
  -moz-border-radius: 6px;
       border-radius: 6px;
  margin: 50px 0;
}

@media (min-width: 992px) {
  .expert__text {
    -webkit-flex-basis: 50% !important;
        -ms-flex-preferred-size: 50% !important;
            flex-basis: 50% !important;
    margin-left: 25px;
  }
  .expert__text::before {
    position: absolute;
    left: 0;
    top: 40px;
    -webkit-transform: translateX(-50%) rotate(45deg);
       -moz-transform: translateX(-50%) rotate(45deg);
        -ms-transform: translateX(-50%) rotate(45deg);
            transform: translateX(-50%) rotate(45deg);
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    background-color: #fff;
  }
}

.quotes::before, .quotes::after {
  position: absolute;
  content: "";
  display: block;
  width: 54px;
  height: 43px;
  background-repeat: no-repeat;
  -moz-background-size: contain;
       background-size: contain;
}

.quotes::before {
  top: -28px;
  left: 50px;
  background-image: url("../images/quotation-marks-1.png");
}

.quotes::after {
  bottom: -28px;
  right: 50px;
  background-image: url("../images/quotation-marks-2.png");
}

.expert__cover {
  text-align: center;
}

.expert__list {
  font-size: 24px;
}

.expert__image {
  width: 100%;
  max-width: 450px;
}

@media (min-width: 992px) {
  .expert__image {
    max-width: 400px;
  }
}

.expert__label {
  position: static;
  width: 200px;
  min-width: 0;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
     -moz-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  padding: 5px 20px;
  min-width: 290px;
  background-color: transparent;
  border: 0;
  -moz-box-shadow: none;
       box-shadow: none;
  font-size: 16px;
  text-align: left;
}

.expert__label .label__text-selected {
  font-size: 25px;
}

@media (min-width: 768px) {
  .expert__label {
    position: absolute;
    top: 0;
    right: -20px;
    width: 230px;
    min-width: 0;
  }
}

@media (min-width: 992px) {
  .expert__label {
    right: -50px;
  }
}

@media (min-width: 1200px) {
  .expert__label {
    right: -20px;
  }
}

.gallery-box {
  padding: 50px 30px;
  background-color: #fff;
  -moz-border-radius: 15px;
       border-radius: 15px;
  -moz-box-shadow: 0 5px 20px rgba(231, 134, 20, 0.1);
       box-shadow: 0 5px 20px rgba(231, 134, 20, 0.1);
}

.portfolio {
  position: relative;
  margin-top: 20px;
}

.portfolio__title {
  font-family: "Amatic SC", "Times New Roman", Times, serif;
  font-weight: bold;
}

.portfolio__item {
  margin: 15px;
}

.portfolio__item img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .portfolio__item {
    -webkit-box-flex: 1;
    -webkit-flex: 1 0 40%;
       -moz-box-flex: 1;
        -ms-flex: 1 0 40%;
            flex: 1 0 40%;
  }
}

@media (min-width: 992px) {
  .portfolio__item {
    -webkit-box-flex: 1;
    -webkit-flex: 1 0 40%;
       -moz-box-flex: 1;
        -ms-flex: 1 0 40%;
            flex: 1 0 40%;
  }
}

.portfolio {
  padding-bottom: 50px;
}

.portfolio__block {
  margin-bottom: -150px;
}

.portfolio__wrapper {
  position: relative;
  top: -200px;
  padding: 30px 20px;
  background-color: #fff;
  -moz-border-radius: 10px;
       border-radius: 10px;
  z-index: 5;
}

.students {
  padding-bottom: 50px;
}

.students__gallery {
  padding: 15px 15px;
}

.students__item {
  background-color: #fff;
  border: 10px solid #fff;
  -moz-border-radius: 10px;
       border-radius: 10px;
  -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
       box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.materials {
  padding: 50px 0;
}

@media (max-width: 992px) {
  .materials__picture {
    max-width: 300px;
  }
}

.materials__text {
  font-size: 20px;
}

@media (min-width: 992px) and (max-width: 1199.97px) {
  .materials__text {
    font-size: 18px;
  }
}

@media (min-width: 992px) {
  .materials__easel {
    position: relative;
    padding: 60px 350px 200px 80px;
    top: -40px;
    background-image: url("../images/materials/paper.jpg");
    background-repeat: no-repeat;
    -moz-background-size: contain;
         background-size: contain;
    z-index: -1;
  }
  .materials__easel li {
    font-size: 22px;
    margin-bottom: 10px;
  }
  .materials__easel:before {
    position: absolute;
    content: "";
    top: -50px;
    bottom: 0;
    right: -50px;
    width: 330px;
    background-repeat: no-repeat;
    -moz-background-size: contain;
         background-size: contain;
    background-image: url("../images/materials/pencils.png");
  }
}

@media (min-width: 992px) {
  .materials__easel:before {
    right: 0;
  }
}

@media (min-width: 1200px) {
  .materials__easel {
    padding: 100px 350px 200px 100px;
  }
  .materials__easel li {
    font-size: 24px;
    margin-bottom: 16px;
  }
}

@media (min-width: 1400px) {
  .materials__easel:before {
    width: 370px;
    right: -100px;
  }
}

.last-screen {
  padding: 50px 0;
  background-image: url("../images/background-1.jpg");
  background-repeat: no-repeat;
  -moz-background-size: cover;
       background-size: cover;
}

@media (min-width: 1900px) {
  .last-screen {
    background-image: url("../images/background-1-2x-scale-2_00x.jpg");
  }
}

.webp .last-screen {
  background-image: url("../images/background-1.webp");
}

@media (min-width: 1900px) {
  .webp .last-screen {
    background-image: url("../images/background-1-2x-scale-2_00x.webp");
  }
}

.last-screen__text {
  font-size: 25px;
}

.last-screen__bonus img {
  max-width: 100%;
  width: 350px;
}

@media (max-width: 991.97px) {
  .last-screen__bonus {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
       -moz-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  .last-screen__bonus:before {
    content: '';
    display: block;
    width: 64px;
    height: 64px;
    background-image: url("../images/arrow-2.png");
    -moz-background-size: contain;
         background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-transform: rotate(38deg);
       -moz-transform: rotate(38deg);
        -ms-transform: rotate(38deg);
            transform: rotate(38deg);
    margin-bottom: 150px;
  }
}

footer {
  background-color: #864b05;
  color: #fff;
  padding-top: 50px;
}

footer a,
footer a:hover,
footer a:visited,
footer a:active {
  color: inherit;
}

/*talks*/
.talks-widget-button {
  z-index: 1500;
  width: 50px;
  height: 50px;
  position: fixed;
  bottom: 15px;
  right: 20px;
  font-size: 25px;
  text-align: center;
  -moz-border-radius: 50%;
  border-radius: 50%;
  color: white;
  padding-top: 6px;
  background: #3a6686;
  cursor: pointer;
  -moz-box-shadow: 0 6px 13px 0 rgba(0, 0, 0, 0.23);
  box-shadow: 0 6px 13px 0 rgba(0, 0, 0, 0.23);
}

.talks-widget-button .comments-icon {
  position: absolute;
  top: 10px;
  left: 13px;
}

/*font awesome*/
.fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.modal-open .modal {
  background-color: rgba(72, 43, 117, 0.8);
}

.modal-open .modal-close {
  position: fixed;
  top: 5px;
  right: 25px;
  display: block;
  width: 36px;
  height: 36px;
  font-size: 40px;
  line-height: 36px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  background: rgba(255, 255, 255, 0.35);
  background: -webkit-radial-gradient(68.75% 465.87% at 50% 50%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 100%), -webkit-radial-gradient(84.37% 84.37% at 50% 50%, rgba(255, 255, 255, 0.25) 34.9%, rgba(255, 255, 255, 0) 100%), rgba(72, 43, 117, 0.8);
  background: -moz-radial-gradient(68.75% 465.87% at 50% 50%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 100%), -moz-radial-gradient(84.37% 84.37% at 50% 50%, rgba(255, 255, 255, 0.25) 34.9%, rgba(255, 255, 255, 0) 100%), rgba(72, 43, 117, 0.8);
  background: radial-gradient(68.75% 465.87% at 50% 50%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 100%), radial-gradient(84.37% 84.37% at 50% 50%, rgba(255, 255, 255, 0.25) 34.9%, rgba(255, 255, 255, 0) 100%), rgba(72, 43, 117, 0.8);
  -moz-border-radius: 42px;
  border-radius: 42px;
  -moz-box-shadow: 0 0 7px 1px #5a5a5a;
  box-shadow: 0 0 7px 1px #5a5a5a;
  -webkit-transition: all 200ms;
  -moz-transition: all 200ms;
  transition: all 200ms;
  cursor: pointer;
  z-index: 500;
}

.modal-open .modal-close:hover {
  opacity: 0.7;
}

.special-title {
  background-color: #ff0861;
  font-family: "Loccon", "Times New Roman", Times, serif;
  font-size: 2.5rem;
  color: #fff;
  -moz-border-radius: 0.5em;
  border-radius: 0.5em;
}

.section__button_bottom {
  position: absolute;
  bottom: 0;
  -webkit-transform: translateY(50%);
  -moz-transform: translateY(50%);
  -ms-transform: translateY(50%);
  transform: translateY(50%);
}

.section__button_bottom .button,
.section__button_bottom button {
  min-width: 200px;
}

.reviews {
  padding: 30px 0;
  background-image: -webkit-linear-gradient(top, #fbf4eb, #fbf4eb 260px, #fff 260px);
  background-image: -moz-linear-gradient(top, #fbf4eb, #fbf4eb 260px, #fff 260px);
  background-image: linear-gradient(to bottom, #fbf4eb, #fbf4eb 260px, #fff 260px);
  font-size: 22px;
}

@media (min-width: 768px) {
  .reviews__title {
    margin-bottom: 20px;
  }
}

.reviews__item {
  margin: 15px;
}

.reviews__item img {
  max-width: 100%;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .reviews__item {
    -webkit-box-flex: 1;
    -webkit-flex: 1 0 45%;
       -moz-box-flex: 1;
        -ms-flex: 1 0 45%;
            flex: 1 0 45%;
  }
}

@media (min-width: 768px) {
  .students__title {
    margin-bottom: 20px;
  }
}

.students__item {
  margin: 15px;
}

.students__item img {
  max-width: 100%;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .students__item {
    -webkit-box-flex: 1;
    -webkit-flex: 1 0 40%;
       -moz-box-flex: 1;
        -ms-flex: 1 0 40%;
            flex: 1 0 40%;
  }
}
