/* Сторінка «Дякуємо за замовлення» (views/order.ejs).
   Винесено з main.css: ці правила спрацьовують лише тут, а main.css
   вантажать усі сторінки сайту. */

.megogo-text {
	text-transform: uppercase;
	font-weight: bold;
	color: #22c3b1;
  }

.s-success-1 {
  background-image: linear-gradient(-45deg, #f78349 20%, #f7ae8a 100%);
  color: #fff;
  min-height: calc(100vh + 85px);
  padding-top: 80px;
  padding-bottom: 150px;
  text-align: center;
}

.s-success-1 .main {
  margin-top: 12.5vh;
}

.s-success-1 .main > * {
  opacity: 0;
  -webkit-transform: translateY(40px);
  transform: translateY(40px);
  transition: opacity 0.65s ease, -webkit-transform 0.6s ease;
  transition: opacity 0.65s ease, transform 0.6s ease;
  transition: opacity 0.65s ease, transform 0.6s ease, -webkit-transform 0.6s ease;
}

.s-success-1 .icon-smile-large {
  display: inline-block;
  height: 150px;
  width: 150px;
  margin-bottom: 6.5vh;
  transition-delay: 0.1s;
}

.s-success-1 .subttl {
  font-size: 18px;
  margin: 0 auto 8.5vh;
  max-width: 650px;
  transition-delay: 0.3s;
}

.s-success-1 .promo-wrapper {
  display: block;
  margin: 0 auto;
  transition-delay: 0.45s;
}

.s-success-1 .promo-wrapper img {
  max-width: 100%;
}

.page-success .section-decor-left-1 {
  width: 850px;
  height: 300px;
  top: 0;
  left: 0;
  -webkit-transform: translate(-34%, 0%) rotate(35deg);
  transform: translate(-34%, 0%) rotate(35deg);
}

.page-success .section-decor-left-2 {
  width: 670px;
  height: 200px;
  bottom: 0;
  left: 0;
  -webkit-transform: translate(-12%, 10%) rotate(55deg);
  transform: translate(-12%, 10%) rotate(55deg);
}

.page-success .section-decor-right-1 {
  width: 600px;
  height: 225px;
  top: 50%;
  right: 0;
  -webkit-transform: translate(100%, -12%) rotate(2deg);
  transform: translate(100%, -12%) rotate(2deg);
}

.page-success .section-decor-right-2 {
  width: 300px;
  height: 125px;
  top: 290px;
  right: 30%;
  -webkit-transform: translate(72%, -105%) rotate(-20deg);
  transform: translate(72%, -105%) rotate(-20deg);
}

body.loaded .page-success .section-decor-left-1 {
  -webkit-transform: translate(-34%, 0%) rotate(59deg);
  transform: translate(-34%, 0%) rotate(59deg);
}

body.loaded .page-success .section-decor-left-2 {
  -webkit-transform: translate(-12%, 10%) rotate(87deg);
  transform: translate(-12%, 10%) rotate(87deg);
}

body.loaded .page-success .section-decor-right-1 {
  -webkit-transform: translate(75%, -12%) rotate(2deg);
  transform: translate(75%, -12%) rotate(2deg);
}

body.loaded .page-success .section-decor-right-2 {
  -webkit-transform: translate(72%, -105%) rotate(-43deg);
  transform: translate(72%, -105%) rotate(-43deg);
}

body.loaded .s-success-1 .main > * {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

@media (max-width: 767px) {

.s-success-1 .main {
    margin-top: 5vh;
    padding-bottom: 30px;
  }

.s-success-1 .subttl {
    font-size: 16px;
  }

.page-success .section-decor {
    display: none;
  }

.section-1 .main {
	  padding-top: 70px;
	}

}

@media (max-width: 767px) and (orientation: landscape) {

.section-1 .main {
	  padding-top: 40px;
	}

}
