

.custom {
 max-width: 930px;
 width: 100%;
 margin: 5% auto !important;
 padding: 0 15px !important;
 background: #fff;
 display: none;
}

.custom * {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}

.custom__wrapper {
 padding: 40px 0 !important;
}

.custom__title {
 padding: 15px;
 font-weight: 700;
 font-size: clamp(16px, 4vw, 23px);
 text-align: center;
 color: #fff;
 background-color: #3d4751;
 border-radius: 18px;
}

.custom__items {
 display: flex;
 justify-content: space-evenly;
 align-items: center;
 height: clamp(130px, 15vw, 180px);
}

.custom__item {
 width: 215px;
 height: 100%;
 position: relative;
 cursor: pointer;
 display: flex;
 justify-content: center;
 align-items: center;
 color: #000;
 font-size: 36px !important;
 font-weight: 600;
}

.custom__item::before {
 content: "";
 position: absolute;
 width: 100%;
 height: 100%;
 background-size: contain;
 background-position: center center;
 background-repeat: no-repeat;
 transition: 0.2s;
}

.custom__item::before {
 background-image: url(../img/license-1.png);
}

.custom__item:nth-child(2)::before {
 background-image: url(../img/license-2.png);
}

.custom__item:nth-child(3)::before {
 background-image: url(../img/license-3.png);
}

.custom__item.open {
 transform: scale(0.9);
}

.custom__item.win {
 transition: 0.5s;
 transform: scale(1.2);
}

.custom__form {
 max-width: 620px;
 width: 100%;
 /* margin: 5% auto !important; */
 padding: 0 10px;
 overflow: hidden;
 background-color: #fff;
}

.custom__wrapper-form {
 width: 100%;
 max-width: 450px;
 margin: 0 auto;
 padding-top: 25px !important;
 padding-bottom: 25px !important;
 border: 1px solid rgba(0, 0, 0, 0.5);
 border-radius: 22px;
}

.spin-result-wrapper {
 display: none !important;
 padding: 0 10px !important;
 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 !important;
}

.pop-up-window {
 position: absolute;
 max-width: 400px;
 width: 85%;
 margin: 0px auto !important;
 background: #ffffff none repeat scroll 0% 0%;
 text-align: center !important;
 padding: 10px !important;
 padding-top: 70px !important;
 padding-bottom: 20px !important;
 border-radius: 10px;
 animation: 0.7s ease 0s normal none 1 running pop-up-appear;
 right: auto;
 left: 50%;
 top: 50%;
 transform: translate(-50%, -50%);
}

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

.popup-title {
 margin-bottom: 10px;
 font-weight: 600;
 font-size: 25px;
 color: #000;
}

.pop-up-text {
 max-width: 75%;
 margin: 0 auto;
 margin-bottom: 25px !important;
 font-size: 20px !important;
 line-height: 1.3;
 text-align: center !important;
}

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

.pop-up-window::before {
 content: "";
 position: absolute;
 width: 110px;
 height: 110px;
 top: -55px;
 left: 0;
 right: 0px;
 margin: 0 auto !important;
 background-color: #85c155;
 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 !important;
 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;
 -o-border-image: 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: translate(-50%, -2000px);
 }

 30% {
  transform: translate(-50%, 100px);
 }

 100% {
  transform: translate(-50%, -50%);
 }
}

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

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

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

 100% {
  opacity: 1;
 }
}

#order {
 display: block;
}

.order__title {
 color: #000;
 font-size: 20px !important;
 font-weight: 700;
 max-width: 80%;
 margin: 0 auto !important;
 text-align: center !important;
 margin-bottom: 20px !important;
}

.order__descr,
.timer {
 max-width: 90%;
 margin: 0 auto !important;
 margin-bottom: 10px !important;
 text-align: center !important;
}

.timer span {
 color: #ff0000;
}

.input-roulette {
 max-width: 330px;
 width: 100%;
 height: 42px;
 border-radius: 8px;
 background: #f2f2f2;
 box-shadow: 0px 0px 4px 4px rgba(255, 255, 255, 0.25);
 border: none;
 color: #000;
 font-size: 16px;
 font-weight: 500;
 margin-bottom: 15px !important;
 box-sizing: border-box;
 border: 1px solid rgba(0, 0, 0, 0.5);
 border-radius: 27px;
 text-align: center;
}

.input-roulette.phone {
 margin-bottom: 25px !important;
}

.input-roulette::-moz-placeholder {
 color: #000;
}

.input-roulette::placeholder {
 color: #000;
}

.submit-roulette {
 height: 40px;
 max-width: 185px;
 width: 100%;
 border-radius: 12px;
 background: #508c46;
 box-shadow: 0px 0px 4.8px 5px rgba(255, 255, 255, 0.9);
 color: #fff;
 text-align: center !important;
 font-size: 20px;
 border: none;
 cursor: pointer;
 display: flex;
 justify-content: center;
 align-items: center;
 font-size: 18px;
}

.order__form {
 display: flex !important;
 flex-direction: column !important;
 justify-content: center !important;
 align-items: center !important;
}

[scroll="goScrollToForm"] {
 cursor: pointer;
}

#goToForm {
 scroll-margin-top: 60px;
}

@media screen and (max-width: 600px) {
 .custom__items {
  padding-left: 0 !important;
 }

 .custom__wrapper-form {
  background-size: 255px;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, #fff 24.5%, rgba(255, 255, 255, 0) 40.5%);
 }

 .custom__item {
  font-size: 30px !important;
 }

 .order__form {
  align-items: center !important;
 }
}

@media (max-width: 500px) {
 .custom__wrapper {
  padding: 3% 0 !important;
 }
}
