@charset "UTF-8";
/*Шрифты*/
html {
  scroll-behavior: smooth;
}

html,
body,
div,
span,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
address,
img,
b,
i,
ol,
ul,
li,
form,
aside,
footer,
header,
menu,
nav,
section,
audio,
video,
input,
textarea {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html,
body {
  position: relative;
  min-height: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ol,
ul {
  list-style: none;
}

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

input,
textarea {
  color: inherit;
}
input::-moz-placeholder, textarea::-moz-placeholder {
  color: inherit;
  font-size: 1em;
}
input::placeholder,
textarea::placeholder {
  color: inherit;
  font-size: 1em;
}
input:focus,
textarea:focus {
  outline: none;
}

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

textarea,
input.text,
input[type=text],
input[type=button],
input[type=submit],
.input-checkbox {
  -webkit-appearance: none;
  border-radius: 0;
}

.main__container, .header__container {
  padding-left: 4.6875%;
  padding-right: 4.6875%;
  margin: 0 0 30px;
}
@media (min-width: 769px) {
  .main__container, .header__container {
    padding-left: 2.5%;
    padding-right: 2.5%;
  }
}
@media (min-width: 1200px) {
  .main__container, .header__container {
    padding-left: 3.4722222222%;
    padding-right: 3.4722222222%;
  }
}

body.lock {
  overflow: hidden;
}

body {
  font-family: "Nunito";
  font-size: 1rem;
  line-height: 1.25;
  background: linear-gradient(180deg, rgba(0,84,184,0.6532738095238095) 38%, rgba(231,244,73,0.7148984593837535) 79%);
}

.wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  overflow: hidden;
}

main {
  flex: 1 1 auto;
}

.wrapper {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  padding-bottom: 50px;
}
.wrapper img {
  max-width: 100%;
  width: 100%;
}

.header__container {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.header__logo {
  max-width: 350px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(21, 133, 245, 0.245);
  background: #fff;
}

.main__title {
  font-size: 1.7rem;
  text-align: center;
  margin-bottom: 20px;
}
.main__title span {
  color: #fff500;
  display: block;
  text-align: center;
  font-weight: 700;
}

.action {
  height: auto;
  transition: height 1s ease;
}
.action__subtitle {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 50px;
}
.action__subtitle span {
  color: #ffffff;
  display: block;
  text-align: center;
  font-weight: 700;
}
.action__confetti {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0);
  transition: transform 0.5s ease;
}
.action__confetti.visible {
  transform: scale(1);
}
.action__confetti:nth-child(1) {
  transition-delay: 0s;
  width: 45vw;
  height: 45vw;
  top: 0;
  left: 0%;
  z-index: 1;
}
.action__confetti:nth-child(1) img {
  transform: translate(-45%, -50%);
}
.action__confetti:nth-child(2) {
  transition-delay: 0.2s;
  width: 40vw;
  height: 40vw;
  top: 20%;
  left: 30%;
}
.action__confetti:nth-child(3) {
  transition-delay: 0.4s;
  width: 25vw;
  height: 25vw;
  bottom: 0;
  right: 0%;
}
.action__confetti:nth-child(3) img {
  transform: translate(10%, -20%);
}
.action__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  -moz-column-gap: 3vw;
       column-gap: 3vw;
  position: relative;
}
.action__item {
  position: relative;
  cursor: pointer;
}
.action__item.active .action__image:first-child {
  transform: rotate(10deg);
}
.action__item.active .action__image:last-child {
  transform: rotate(-10deg);
}
.action__item.active .action__discount span {
  transform: scale(0.9) translateY(165%);
}
.action__item.selected .action__image:first-child {
  transform: rotate(17deg);
}
.action__item.selected .action__image:last-child {
  transform: rotate(-17deg);
}
.action__item.selected .action__discount span {
  background: linear-gradient(180deg, rgba(0, 84, 184, 0.6532738095238095) 38%, rgba(231, 244, 73, 0.7148984593837535) 79%);
  color: #fff;
  transform: scale(1) translateY(150%);
}
/* .action__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  z-index: 2;
} */
.action__image {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.5s ease;
}
.action__image:first-child {
  transform-origin: 100% 0%;
}
.action__image:last-child {
  transform-origin: 0% 0%;
}
.action__discount {
  line-height: 1;
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.action__discount span {
  transition: transform 0.75s 0.075s ease;
  background-color: rgb(232, 232, 232);
  min-width: 35%;
  text-align: center;
  border: 0.3vw solid rgba(43, 97, 215, 0.6);
  font-size: 4vw;
  border-radius: 5vw;
  padding: 1.5vw 3vw;
  display: inline-block;
  transform: scale(0);
}
.action__images-2{
  display: none;
}
.action__item.selected .action__images-2{
  display: block;
}
.action__item.selected .action__images{
  display: none;
}
.form-block {
  height: 0;
  overflow: hidden;
  transition: height 1s ease;
}
.form-block__title {
  font-size: 1.7rem;
  text-align: center;
  margin-bottom: 20px;
}
.form-block__title span {
  color: #00c100;
  color: #fff500;
  text-align: center;
  font-weight: 700;
}

#m-form-block #lead-form-result {
  display: none;
  box-sizing: border-box;
  width: 100%;
  border-radius: 3px;
  padding: 7px;
  font-size: 15px;
  color: #a94442;
  background-color: #f2dede;
  border: 1px solid #ebccd1;
}

#m-form-block .order_block,
#m-form-block .order_block * {
  box-sizing: border-box;
  transition: 0.2s;
  font-family: Arial, sans-serif !important;
}

#m-form-block .order_block {
  max-width: 430px;
  width: 100%;
  margin: auto;
  text-align: center;
  background: #ffffff7e;
  box-shadow: 0 0px 25px 0px rgba(2, 55, 141, 0.438);
  border-radius: 20px;
  margin: 0 auto 30px;
}

#m-form-block .order_block .order_offfer {
  text-align: center;
}

#m-form-block .order_block .order_offfer img {
  max-width: 100%;
  width: auto;
  height: 200px;
}

#m-form-block .order_pre_form {
  padding: 20px 20px 0 20px;
}

#m-form-block .order_form_row {
  margin-bottom: 10px;
  text-align: left;
}

#m-form-block .order_form {
  width: 100%;
  max-width: 500px;
  padding: 0 20px 20px 20px;
}

#m-form-block .order_header {
  margin: 12px 0 !important;
  padding: 0 !important;
  font-size: 18px;
}

#m-form-block .order_form .order_form_row input {
  width: 100% !important;
  padding: 14px;
  border: 2px solid #eaeaea;
  font-size: 15px;
  border-radius: 3px;
  box-shadow: none !important;
  margin: 0 !important;
  border-radius: 20px;
  background: #03608f4b;
}

#m-form-block .order_form .order_form_row label {
  font-size: 13px;
  text-align: left;
  font-weight: bold;
}

#m-form-block .order_form .order_form_row input:active,
#m-form-block .order_form .order_form_row input:focus {
  outline: none;
  border: 2px solid #cecece;
}

#m-form-block .order_form .order_form_button {
  box-shadow: 0px 1px 0px 0px rgb(12, 94, 181) inset;
  background: #03518c;
  border-radius: 20px;
  border: 1px solid rgb(255, 255, 255);
  width: 100%;
  display: inline-block;
  cursor: pointer;
  color: rgb(255, 255, 255);
  text-transform: uppercase;
  outline: none;
  padding: 16px 0;
  font-weight: bold;
  font-size: 16px;
  margin-top: 5px;
  text-decoration: none;
  letter-spacing: 0.6px;
  text-shadow: 0px 1px 0px rgb(129, 14, 5);
}

#m-form-block .order_form .order_form_button:hover {
  background: rgb(198, 45, 31);
}

#m-form-block .order_form .order_form_button:active {
  position: relative;
  top: 1px;
}

#m-form-block .order_timer_block {
  line-height: 1;
  font-weight: bold;
}

#m-form-block .order_timer_block p {
  font-size: 18px;
  margin: 10px 0 !important;
  padding: 0 !important;
}

#m-form-block .order_timer_block .order_timer {
  font-size: 21px;
}

#m-form-block .time_remains {
  color: red;
}

#m-form-block .box-popup-wrapper {
  background: rgba(0, 0, 0, 0.5);
  height: 100%;
  position: fixed;
  width: 100%;
  z-index: 100;
  top: 0;
  left: 0;
  display: none;
}

#m-form-block .box-tooltip {
  background: #fff;
  font-size: 18px;
  padding: 20px;
  width: 90%;
  max-width: 320px;
  margin: 80px auto;
  box-sizing: border-box;
  text-align: center;
  border-radius: 5px;
  position: relative;
  box-shadow: 0 1px 40px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

#m-form-block .box-tooltip:hover .box-tooltip-btn {
  background: #62a30e;
  transition: 0.2s;
}

#m-form-block .box-tooltip-title {
  margin: 0;
  padding: 0;
  color: #333;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif !important;
}

#m-form-block .box-tooltip-ico {
  width: 100%;
  padding: 20px;
  padding-top: 0;
  box-sizing: border-box;
  text-align: center;
}

#m-form-block .box-tooltip-ico img {
  height: 40px;
  width: auto;
}

#m-form-block .box-tooltip-btn {
  background: #70b31a;
  color: #fff;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif !important;
  width: 100%;
  margin: 0 auto !important;
  padding: 16px 0;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  animation: scale 0.4s infinite;
  animation-direction: alternate;
}

#m-form-block select {
  position: relative;
  background: rgb(255, 255, 255) none repeat scroll 0% 0%;
  outline: 0 none;
  display: block;
  font-weight: 600;
  width: 100% !important;
  padding: 14px;
  border: 2px solid #eaeaea;
  font-size: 15px;
  border-radius: 3px;
  box-shadow: none !important;
  margin-bottom: 10px;
}

#m-form-block .afterlose-boxes_item {
  opacity: 0.6;
}

#m-form-block .shake {
  animation: shake 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  animation-iteration-count: 1;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }
  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }
  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}
@keyframes scale {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.03);
  }
}
#m-form-block #boxesContainer {
  width: 100%;
  margin: auto;
  max-width: 600px;
}

#m-form-block .boxes,
#m-form-block .boxes cbox,
#m-form-block .boxes img {
  width: 100%;
}

#m-form-block .instructions {
  padding: 10px;
  background-color: #232f3e;
  border-radius: 4px;
  box-shadow: 0 4px 15px 0 rgba(129, 150, 160, 0.45);
  color: #fff;
}

#m-form-block #tries_count {
  font-size: 19px;
}

#m-form-block .boxes {
  margin: 10px 0;
}

#m-form-block .boxes_item {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 32.5%;
  transition-duration: 0.2s;
  cursor: pointer;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

#m-form-block .boxes_item.afterlose-boxes_item {
  cursor: default;
}

#m-form-block .boxes_item.afterlose-boxes_item:hover {
  transform: none;
}

#m-form-block .boxes_item:hover {
  transform: scale(1.1, 1.1);
}

#m-form-block .win_prize {
  font-size: 35px;
  font-weight: bold;
  color: #e72c2a;
  text-transform: uppercase;
  width: 100%;
  text-align: center;
  margin: 0;
}

@media (max-width: 479px) {
  #m-form-block .boxes > div {
    width: 32%;
  }
  #m-form-block .win_prize {
    font-size: 24px;
  }
}
@media (max-width: 319px) {
  #m-form-block .boxes > div {
    width: 48%;
  }
  #m-form-block .win_prize {
    font-size: 21px;
  }
}