@keyframes pop-up-appear {
   0% {
      transform: translateY(-2000px);
   }
   30% {
      transform: translateY(100px);
   }
   to {
      transform: translateY(0);
   }
}
@keyframes pop-up-appear-before {
   0% {
      transform: scale(0);
   }
   to {
      transform: scale(1);
   }
}
@keyframes pop-up-appear-after {
   0% {
      opacity: 0;
   }
   to {
      opacity: 1;
   }
}
.submit-roulette:hover {
   background: #b00;
   transition: background 0.3s;
}
#order_form {
   flex-direction: column;
   align-items: center;
}
#order_form,
#order_form input {
   display: flex;
}
.submit-roulette:active {
   transform: translateY(2px);
   box-shadow: none;
}
.submit-roulette,
input[value="Получить бесплатно"] {
   text-transform: uppercase;
   padding: 10px 15px;
   outline: 0;
   border: 0;
   margin: 5px 0 15px;
   border-radius: 5px;
   box-shadow: 0 4px 3px #242120;
   background: red;
   color: #fff;
   font-weight: 700;
   cursor: pointer;
   transition: background 0.3s;
}
input[value="Получить бесплатно"]:hover {
   background: #b00 !important;
   transition: background 0.3s;
}
input[value="Получить бесплатно"]:active {
   transform: translateY(2px);
   box-shadow: none !important;
}
.input-roulette::placeholder {
   font-size: 0.9em;
}
.input-roulette {
   padding-left: 5px;
   height: 42px;
   margin-bottom: 10px;
   width: auto !important;
}
.ruletka-p {
   text-indent: 0;
   color: #000;
   text-align: center !important;
   margin: 15px;
   line-height: 25px;
   font-weight: 700;
}
.ruletka-p h2 {
   font-size: 25px;
   margin-bottom: 15px;
}
.danger-text {
   color: red;
   font-weight: 700;
}
.order_block {
   display: none;
   text-align: center !important;
}
.order_block img {
   width: 100%;
   max-width: 350px;
}
.order_block h3 {
   font: 700 18px Arial !important;
   background: 0 0;
}
.time_remains {
   font-size: 1.1em;
   color: red;
   font-weight: 700;
}
.spin-result-wrapper {
   background: rgba(0, 0, 0, 0.6);
   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;
   text-align: center;
}
.close-popup {
   background: url(../fonts/cross-1.svg) 0 0/100%;
   position: absolute;
   width: 30px;
   height: 30px;
   top: -40px;
   border-radius: 50%;
   -webkit-box-shadow: 0 0 10px #fff;
   box-shadow: 0 0 10px #fff;
   right: -40px;
   cursor: pointer;
}
.pop-up-text {
   margin-bottom: 25px;
   font-size: 24px;
   line-height: 30px;
   text-align: center !important;
}
.pop-up-button {
   background: #71c341;
   text-transform: uppercase;
   text-decoration: none !important;
   padding: 10px 20%;
   font-size: 20px;
   border-radius: 5px;
   color: #fff !important;
   border: medium;
   cursor: pointer;
   outline: medium;
   font-family: Georgia, Times, "Times New Roman", serif;
}
.pop-up-window {
   position: relative;
   max-width: 400px;
   right: 0;
   left: 0;
   top: 40%;
   margin: 0 auto;
   background: #fff 0 0;
   text-align: center;
   padding: 70px 10px 20px;
   border-radius: 10px;
   animation: 0.7s ease 0s normal none 1 running pop-up-appear;
}
.pop-up-window::after,
.pop-up-window::before {
   content: "";
   position: absolute;
   left: 0;
   right: 0;
   margin: 0 auto;
}
.pop-up-window::before {
   background: #71c341;
   width: 110px;
   height: 110px;
   top: -55px;
   border-radius: 50%;
   animation: 0.5s ease 0.6s normal backwards 1 running pop-up-appear-before;
}
.pop-up-window::after {
   border: medium medium 4px 4px solid solid currentcolor currentcolor white white;
   width: 50px;
   height: 20px;
   top: -20px;
   -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;
}
.pop-up-button:hover {
   color: #fff !important;
   text-decoration: none !important;
}
.matreshka__item img,
.matreshka__title,
.win p {
   -webkit-text-size-adjust: 100%;
   -webkit-font-smoothing: antialiased;
   box-sizing: border-box;
}
.matreshka__title {
   background: #3a4752;
   text-transform: uppercase;
   text-align: center;
   font-size: 22px !important;
   border-radius: 0.5em;
   font-weight: 700;
   font-style: normal;
   line-height: 30px;
   margin: 15px 0;
   color: #fff !important;
   padding: 10px;
}
.matreshka__container {
   display: flex;
   justify-content: space-around;
}
.matreshka__item img,
.win p {
   cursor: pointer;
}
.matreshka__item img {
   font-size: 16px;
   color: #e4cbcc;
   margin: 0 auto 20px;
   max-width: 250px;
   width: 100%;
}
.win {
   display: none;
   position: relative;
}
.win p {
   position: absolute;
   top: 20%;
   left: 50%;
   -webkit-transform: translate(-50%, 50%);
   padding: 0;
   margin: 0 0 20px;
   text-shadow: 1px 1px 1px #fff;
}
.win,
.win p,
.win span {
   color: #8d7a7a !important;
}
.grats span,
p.grats {
   color: #f52626 !important;
}
.grats:after {
   background: url(img/line.png) 0 0 / cover;
   content: "";
   width: 100%;
   height: 30px;
   position: absolute;
   bottom: -20px;
   left: 0;
   z-index: 2;
}
@media (max-width: 767px) {
   .matreshka__item img {
      max-width: 200px;
   }
   .win p {
      font-size: 36px !important;
   }
   .sale {
      top: 15%;
   }
}
@media (max-width: 540px) {
   .win p {
      font-size: 32px !important;
   }
}
@media (max-width: 480px) {
   .sale {
      top: 8%;
   }
}
@media (max-width: 420px) {
   .win p {
      font-size: 28px !important;
   }
}
@media (max-width: 360px) {
   .win p {
      font-size: 26px !important;
   }
   .sale {
      top: 5%;
   }
}


.win p {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    cursor: pointer;
    box-sizing: border-box;
    position: absolute;
    top: 20%;
    left: 50%;
    -webkit-transform: translate(-50%,50%);
    padding: 0;
    margin: 0 0 20px;
    line-height: 1.4!important;
    color: #8d7a7a!important;
    font-family: 'poetsen_oneregular';
    font-size: 50px!important;
    font-weight: 600;
    text-shadow: 1px 1px 1px #fff;
}
.grats span, p.grats {
   color: #f52626!important;
}
.pop-up-window::before {
   content: "";
   position: absolute;
   width: 110px;
   height: 110px;
   top: -55px;
   left: 0;
   right: 0;
   margin: 0 auto;
   background-color: #71c341;
   border-radius: 50%;
   animation: .5s ease .6s normal backwards 1 running pop-up-appear-before;
}
.pop-up-window::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 ease 0s;
   animation: .5s ease .6s normal backwards 1 running pop-up-appear-after;
}

body * {
   font-family: Georgia, Times, 'Times New Roman', serif !important;
}

p,
ul li,
ol li {
   font-size: 22px !important;
   line-height: 26px !important;
}

form .input-roulette {
   font-size: 16px !important;
}

input[value="Получить бесплатно"],
.submit-roulette {
   text-transform: uppercase;
   padding: 10px 15px;
   margin: 15px 0;
   outline: none;
   border: none;
   margin-top: 5px;
   border-radius: 5px;
   box-shadow: 0 4px 3px #242120;
   background: red;
   color: #fff;
   font-weight: bold;
   cursor: pointer;
   height: 42px;
   transition: background .3s;
}

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