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

.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.pagespeed.ic.HaUQXKH3rT.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, 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: 480px) {
  .win__matreshka p {
    display: block !important;
    width: 80px;
  }

  .sale-blue,  .sale-red,  .sale-yellow,  .win__matreshka p {
    font-size: 32px !important;
    text-align: center;
  }

  .grats:after {
    bottom: -20px;
  }

  .sale {
    top: 20%;
  }

  p.sale {
    display: block !important;
    margin: 0 !important;
  }
}

@media screen and (max-width: 400px) {
  .win__matreshka p {
    display: block !important;
    width: 80px;
  }

  .sale-blue,  .sale-red,  .sale-yellow,  .win__matreshka p {
    font-size: 28px !important;
    text-align: center;
  }

  .grats:after {
    bottom: -20px;
  }

  .sale {
    top: 20%;
  }

  p.sale {
    display: block !important;
    margin: 0 !important;
  }
}

.spin-result-wrapper-110625 {
  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;
}

.close-popup-110625 {
  position: absolute;
  width: 30px;
  height: 30px;
  background-image: url(../images/cross.svg);
  background-size: 100%;
  top: -40px;
  border-radius: 50%;
  -webkit-box-shadow: 0 0 10px #fff;
  box-shadow: 0 0 10px #fff;
  right: -40px;
  cursor: pointer;
}

.pop-up-heading-110625 {
  font-size: 40px;
  margin-bottom: 20px;
}

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

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

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

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

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

.pop-up-window-110625::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 20px;
  top: -20px;
  left: 0;
  right: 0;
  margin: 0 auto;
  border-width: medium medium 4px 4px;
  border-style: none none solid solid;
  border-color: currentcolor currentcolor #fff #fff;
  -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;
  animation: 0.5s 0.6s backwards pop-up-appear-110625-after;
}

.pop-up-window-110625 .form_control_vik_group {
  margin-bottom: 10px;
}

.pop-up-window-110625 .form_control_vik_group input {
  display: inline-block;
  padding: 10px !important;
  width: 80%;
  background-color: #fff;
  height: auto;
}

.pop-up-window-110625 .error_note {
  text-align: center;
  margin: 4px 0 0 !important;
  font-size: 13px;
  line-height: 16px;
  color: #c92f54;
}

.pop-up-window-110625 .submit-roulett {
  width: 90%;
  font-size: 22px !important;
  text-transform: uppercase;
  padding: 10px 15px !important;
  margin: 5px 0 15px;
  outline: 0;
  border: none;
  border-radius: 5px;
  box-shadow: 0 4px 3px #242120;
  background: red;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
}

.pop-up-window-110625 .submit-roulett:hover {
  background: #b00 !important;
  transition: background 0.3s;
}

.pop-up-window-110625 .submit-roulett:active {
  transform: translateY(2px);
  box-shadow: none !important;
}

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

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

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

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

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

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

  100% {
    opacity: 1;
  }
}

.pop-up-button-110625:hover {
  color: #fff !important;
  text-decoration: none !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(0.36, 0.07, 0.19, 0.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);
  }
}

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

.matreshka__item {
  overflow: hidden !important;
}