.matreshka__container {
  display: flex;
  justify-content: space-around;
}

.matreshka__title {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  font-size: 22px !important;
  margin-bottom: 25px;
  background-color: #3a4752;
  padding: 10px 0;
  border-radius: .5em;
}

.matreshka__item img {
  max-width: 250px;
  width: 100%;
  padding: 0px !important;
  height: auto;
}

.win__matreshka span,.win__matreshka p {
  color: #8d7a7a !important;
}

.win__matreshka {
  display: none;
  position: relative;
  color: #8d7a7a !important;
}

.win__matreshka p {
  font-family: 'poetsen_oneregular' !important;
  font-size: 50px !important;
  text-shadow: 1px 1px 1px #fff !important;
  text-align: center !important;
}

.sale {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, 50%);
  -webkit-transform: translate(-50%, 50%);
  -moz-transform: translate(-50%, 50%);
  -ms-transform: translate(-50%, 50%);
  -o-transform: translate(-50%, 50%);
}

.grats span,p.grats {
  color: #f52626 !important;
}

picture.grats:after {
  content: none;
}

.grats:after {
  content: '';
  width: 100%;
  height: 30px;
  position: absolute;
  bottom: -20px;
  left: 0;
  z-index: 2;
  background-size: cover;
  background-image: url(../images/xline.png);
}

.order_block,.spin-result-wrapper {
  display: none;
}

.spin-result-wrapper {
  max-width: 100%;
  display: none;
  padding: 0 10px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  top: 0;
  z-index: 999;
  left: 0;
  height: 100%;
  position: fixed;
  background-color: rgba(0, 0, 0, .6);
  text-align: center;
}

.spin-result-wrapper {
  max-width: 100%;
  display: none;
  padding: 0 10px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  top: 0;
  z-index: 999;
  left: 0;
  height: 100%;
  position: fixed;
  background-color: rgba(0, 0, 0, .6);
  text-align: center;
}

.pop-up-window {
  position: relative;
  max-width: 400px;
  right: 0;
  left: 0;
  top: 40%;
  margin: 0 auto;
  background: #fff none repeat scroll 0 0;
  text-align: center;
  padding: 10px;
  padding-top: 70px;
  padding-bottom: 20px;
  border-radius: 10px;
  animation: .7s ease 0s normal none 1 running pop-up-appear;
}

.cursor-text:active {
  -webkit-box-shadow: rgba(0, 0, 0, .4) 0 0 5px inset;
  box-shadow: rgba(0, 0, 0, .4) 0 0 5px inset;
}

@keyframes pop-up-appear {
  0% {
    transform: translateY(-2000px);
  }

  30% {
    transform: translateY(100px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes pop-up-appear-before {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes pop-up-appear-after {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.submit-roulette:hover {
  background: #b00;
  transition: background .3s;
}

#order_form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.submit-roulette:active {
  transform: translateY(2px);
  box-shadow: none;
}

.input-roulette::placeholder {
  font-size: .9em;
}

.input-roulette {
  padding-left: 5px;
  height: 42px;
  margin-bottom: 10px;
  max-width: 352px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width:767px) {
  .matreshka__item img {
    max-width: 155px;
  }

  .win p {
    font-size: 44px;
  }

  .sale {
    top: 10%;
  }

  .win p {
    font-size: 36px;
  }

  .sale {
    top: 15%;
  }
}

@media (max-width:540px) {
  .win p {
    font-size: 32px;
  }
}

@media (max-width:480px) {
  .sale {
    top: 8%;
  }
}

@media (max-width:420px) {
  .win p {
    font-size: 28px;
  }
}

@media (max-width:360px) {
  .win p {
    font-size: 26px;
  }

  .sale {
    top: 5%;
  }
}

@keyframes pop-up-appear {
  0% {
    transform: translateY(-2000px);
  }

  30% {
    transform: translateY(100px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes pop-up-appear-before {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes pop-up-appear-after {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.cursor-text {
  line-height: 45px !important;
  font-size: 12px !important;
}

.sale-red,.sale-blue,.sale-yellow {
  font-size: 50px !important;
}

p.sale {
  display: block !important;
  margin-block-start: 1em !important;
  margin-block-end: 1em !important;
  margin-inline-start: 0px !important;
  margin-inline-end: 0px !important;
  padding: 0 !important;
}
@media screen and (max-width: 768px) {
  .sale-blue,  .sale-red,  .sale-yellow,  .win__matreshka p {
    font-size: 32px !important;
  }
}
@media screen and (max-width: 576px) {
  .sale-blue,  .sale-red,  .sale-yellow,  .win__matreshka p {
    font-size: 25px !important;
  }
}

.matreshka__wrapper {
  background-image: url(../images/bg1-100.webp);
  background-size: cover;
  background-position: center center;
  padding-bottom: 10px;
}

.matreshka__item img {
  margin: 0px !important;
}

h2.matreshka__title {
  text-align: center;
}

h2.matreshka__title::after {
  display: none;
}

.matreshka__wrapper {
  max-height: 460px;
}

@media (max-width:1023px) {
  .matreshka__wrapper {
    max-height: 440px;
  }
}

@media screen and (max-width:768px) {
  .matreshka__wrapper {
    max-height: 430px;
  }
}

@media screen and (max-width:480px) {
  .matreshka__wrapper {
    max-height: 322px;
  }
}

@media screen and (max-width:415px) {
  .matreshka__wrapper {
    max-height: 291px;
  }
}

@media screen and (max-width:400px) {
  .matreshka__wrapper {
    max-height: 284px;
  }
}

@media screen and (max-width:390px) {
  .matreshka__wrapper {
    max-height: 290px;
  }
}

@media screen and (max-width:350px) {
  .matreshka__wrapper {
    max-height: 250px;
  }
}

@media screen and (max-width:321px) {
  .matreshka__wrapper {
    max-height: 260px;
  }
}

.matreshka__wrapper.go_go_dance .matreshka__item {
  -webkit-animation: bounceAndRotate 3s linear infinite;
  -moz-animation: bounceAndRotate 3s linear infinite;
  -ms-animation: bounceAndRotate 3s linear infinite;
  -o-animation: bounceAndRotate 3s linear infinite;
  animation: bounceAndRotate 3s linear infinite;
}

@-webkit-keyframes bounceAndRotate {
  0% {
    -webkit-transform: rotate(0deg);
  }

  25% {
    -webkit-transform: rotate(-10deg);
  }

  50% {
    -webkit-transform: rotate(0deg);
  }

  75% {
    -webkit-transform: rotate(10deg);
  }

  100% {
    -webkit-transform: rotate(0deg);
  }
}

@keyframes bounceAndRotate {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-10deg);
  }

  50% {
    transform: rotate(0deg);
  }

  75% {
    transform: rotate(10deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.matreshka__wrapper.go_go_dance:hover .matreshka__item {
  animation: shake 1.22s cubic-bezier(.36, .07, .19, .97) both;
  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(-3px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(3px, 0, 0);
  }
}

header {
  border-bottom: 3px solid #f2f2f2;
}

.order_block,.order_block * {
  box-sizing: border-box;
  transition: .2s;
  font-family: Arial, sans-serif !important;
}

.order_block {
  max-width: 470px;
  width: 100%;
  margin: auto;
  text-align: center;
  background: #fff;
  box-shadow: 0 0 25px 0 rgba(0, 0, 0, .12);
  border: 3px dashed #eaeaea;
  border-radius: 0;
}

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

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

.order_form .order_form_button {
  box-shadow: 0 1px 0 0 #f5978e inset;
  background: #f24537;
  border-radius: 3px;
  border: 1px solid #d02718;
  width: 100%;
  display: inline-block;
  cursor: pointer;
  color: #fff;
  text-transform: uppercase;
  outline: none;
  padding: 16px 0;
  font-weight: bold;
  font-size: 16px;
  margin-top: 5px;
  text-decoration: none;
  letter-spacing: .6px;
  text-shadow: 0 1px 0 #810e05;
}

.order_form .order_form_button:hover {
  background: #c62d1f;
}

.order_form .order_form_button:active {
  position: relative;
  top: 1px;
}

.order_timer_block {
  line-height: 1;
  font-weight: bold;
}

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

.order_timer_block .order_timer {
  font-size: 21px;
}

.time_remains {
  color: red;
}

.footer {
  border: none;
}

@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);
  }
}

.vk-container {
  font-family: tahoma, arial, verdana, sans-serif;
  font-size: 17px;
  color: #000;
  text-decoration: none;
}

.vk-header {
  background: #dae2e8 none repeat scroll 0% 0%;
  padding: 4px 4px 4px 6px;
  margin-bottom: 10px;
}

.vk-logo {
  background: transparent none no-repeat scroll 0% 0%;
  width: 16px;
  height: 16px;
  float: right;
  margin-top: -1px;
}

.vk-header-text {
  padding: 2px 3px 1px;
  line-height: 100%;
  color: #45688e;
  font-weight: bold;
}

.vk-comment,.vk-comment {
  margin-bottom: 15px;
  position: relative;
  border-bottom: 1px solid #dae1e8;
  padding-bottom: 15px;
}

.vk-avatar img {
  float: left;
  margin-right: 10px;
}

.vk-comment-name {
  color: #2b587a;
  font-weight: bold;
  font-size: 12px;
}

.vk-comment-text {
  margin-left: 60px;
}

.vk-comment-date {
  margin-left: 60px;
  color: #999;
}

.vk-logo {
  background: transparent none no-repeat scroll 0% 0%;
  width: 16px;
  height: 16px;
  float: right;
  margin-top: -1px;
}

.vk-header-text {
  padding: 2px 3px 1px;
  line-height: 100%;
  color: #45688e;
  font-weight: bold;
}

.vk-avatar img {
  float: left;
  width: 48px;
  height: 48px;
  margin-right: 10px !important;
}

.vk-comment,.vk-comment {
  margin-bottom: 15px;
  position: relative;
  border-bottom: 1px solid #dae1e8;
  padding-bottom: 15px;
}

.vk-comment:last-child {
  border-bottom: 0 none;
}

.vk-comment-name {
  color: #2b587a;
  font-weight: bold;
  font-size: 16px;
  padding-bottom: 5px;
}

.vk-comment-text {
  margin-left: 60px;
}

.vk-comment-text img {
  margin-top: 10px;
}

.vk-comment-date {
  margin-left: 60px;
  color: #999;
}

.vk-comment p {
  margin: 0 !important;
}

.img_d {
  max-width: 220px;
  float: left;
  margin-right: 15px;
}

.contentBox h2 {
  line-height: 1.4;
  margin-top: 10px;
  margin-bottom: 10px;
}

.main {
  width: 73%;
}

.img_d {
  float: none;
}

.img_l {
  display: inline-block;
  vertical-align: top;
}

@media screen and (max-width:1000px) {
  .main {
    width: 100%;
  }
}

@media screen and (max-width:767px) {
  .img_d {
    float: none;
    display: block;
    margin: 10px auto !important;
  }

  .img_l {
    display: block;
    text-align: center;
    width: 100%;
  }

  .order_block input.submit-roulette {
    font-size: 13px !important;
  }
}

/* style 3 */

.spin-result-wrapper {
  display: none;
  padding: 0 10px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%;
  top: 0;
  z-index: 999;
  left: 0;
  height: 100%;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.6);
  text-align: center;
}

.pop-up-window {
  position: relative;
  max-width: 400px;
  right: 0px;
  left: 0px;
  top: 40%;
  margin: 0px auto;
  background: #ffffff none repeat scroll 0% 0%;
  text-align: center;
  padding: 10px;
  padding-top: 70px;
  padding-bottom: 20px;
  border-radius: 10px;
  animation: 0.7s ease 0s normal none 1 running pop-up-appear;
}

.pop-up-text {
  margin-bottom: 25px;
  font-size: 24px;
  line-height: 30px;
  text-align: center !important;
}

.pop-up-button {
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 10px 20%;
  font-size: 20px;
  border-radius: 5px;
  background-color: #71c341;
  color: white !important;
  border: medium none;
  cursor: pointer;
  outline: medium none;
}

.cursor-text:active {
  -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 5px inset;
  box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 5px inset;
}

.pop-up-window {
  position: relative;
  max-width: 400px;
  right: 0px;
  left: 0px;
  top: 40%;
  margin: 0px auto;
  background: #fff none repeat scroll 0% 0%;
  text-align: center;
  padding: 10px;
  padding-top: 70px;
  padding-bottom: 20px;
  border-radius: 10px;
  animation: 0.7s ease 0s normal none 1 running pop-up-appear;
}

.pop-up-window::before {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  top: -55px;
  left: 0;
  right: 0px;
  margin: 0 auto;
  background-color: #71c341;
  border-radius: 50%;
  animation: 0.5s ease 0.6s normal backwards 1 running pop-up-appear-before;
}

.pop-up-window::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 20px;
  top: -20px;
  left: 0px;
  right: 0;
  margin: 0 auto;
  border-width: medium medium 4px 4px;
  border-style: none none solid solid;
  border-color: currentcolor currentcolor white white;
  -moz-border-top-colors: none;
  -moz-border-right-colors: none;
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  border-image: none;
  transform: rotate(-45deg);
  transition: opacity 1s ease 0s;
  animation: 0.5s ease 0.6s normal backwards 1 running pop-up-appear-after;
}

@keyframes pop-up-appear {
  0% {
    transform: translateY(-2000px);
  }

  30% {
    transform: translateY(100px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes pop-up-appear-before {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes pop-up-appear-after {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.pop-up-button:hover {
  color: white !important;
  text-decoration: none !important;
}

@media (max-width:767px) {
  .contentBox h1 {
    font-size: 26px;
    text-align: center;
  }

  .contentBox h2 {
    font-size: 21px;
    text-align: center;
  }

  .order_block {
    padding: 10px;
  }

  .vk-container {
    padding: 10px;
  }
}