* {
  box-sizing: border-box;
}
img,
legend {
  border: 0;
}

body,
html {
  height: 100%;
  background: #fff;
}

form p {
  color: #46578a;
  font-weight: bold;
  text-transform: uppercase;
}

.container,
.item,
sub,
sup {
  position: relative;
}

#iphone,
#win2,
#winP,
[hidden],
template {
  display: none;
}
.container {
  padding: 0 16px;
}
.container,
.popup,
table td {
  text-align: center;
}

.title_h1,
.title_h2,
.title_h3,
b,
strong {
  font-weight: 700;
}

.popup,
.tooltip_yet_spin {
  box-shadow: 0 4px 9px 4px rgba(0, 0, 0, 0.55);
}

.text_big {
  font-size: 1.5em;
}

.vis_small {
  display: none;
}

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

audio,
canvas,
video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

html {
  color: #555;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-size: 14px;
  line-height: 1;
}

body {
  margin: 0;
}

a {
  background: 0 0;
  color: #cf0103;
}

a:active,
a:hover {
  outline: 0;
  text-decoration: none;
}

.title_h1,
.title_h2,
.title_h3,
h1,
h2,
h3 {
  color: #1254bc;
}

.title_h1,
h1 {
  font-size: 38px;
  margin: 10px 0 30px;
}

.title_h2,
h2 {
  font-size: 24px;
  margin: 10px 0 20px;
}

.title_h3,
h3 {
  font-size: 18px;
  margin: 10px 0 15px;
}

h4 {
  font-size: 1em;
  margin: 1.33em 0;
}

h5 {
  font-size: 0.83em;
  margin: 1.67em 0;
}

h6 {
  font-size: 0.75em;
  margin: 2.33em 0;
}

p.attention {
  color: #fa8564;
}

abbr[title] {
  border-bottom: 1px dotted;
}

dfn {
  font-style: italic;
}

mark {
  background: #ff0;
  color: #000;
}

code,
kbd,
pre,
samp {
  font-family: sans-serif;
  font-size: 1em;
}

pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}

q {
  quotes: "\201C""\201D""\2018""\2019";
}

q:after,
q:before {
  content: "";
  content: none;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

dl,
menu,
ol,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

fieldset {
  border: 1px solid silver;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  padding: 0;
  white-space: normal;
}

#win,
#win2,
.close_button,
.popup .popup_header .close:hover {
  cursor: pointer;
}

.popup .popup_content p,
.popup .popup_header,
.popup_wrapper.winner .popup_content {
  font-family: sans-serif;
}

.header {
  background: #3b5998;
  height: 45px;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  height: 100%;
}

table td.first {
  width: 60px;
  background: #243c6d;
}

.clear {
  clear: both;
}

.item {
  margin-bottom: 3px;
  padding: 2px;
  background: #fff;
  min-height: 30vw;
}

#spinner {
  width: 29vw;
  margin: auto;
  text-align: initial;
  padding-top: 15px;
}

.item .img {
  float: left;
  border: 0 solid #666;
  padding: 1px;
}

.container {
}

#iphone,
#light,
#spin,
#spinBG,
#win,
#win2 {
  position: absolute;
}

#spin {
  z-index: 2;
  width: 29vw;
}

#light {
  z-index: 2;
  width: 29vw;
  animation: light 1.2s infinite;
}

#spinBG {
  z-index: 2;
  top: 2vw;
  left: 2vw;
  width: 88vw;
}

#win,
#win2 {
  z-index: 8;
  width: 7vw;
  left: 11vw;
  top: 11vw;
  position: relative;
}

#iphone {
  z-index: 4;
  top: 15vw;
  left: 10vw;
  width: 72vw;
}

@keyframes light {
  0%,
  100% {
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
}

#win {
  animation: scale 0.5s infinite;
  animation-direction: alternate;
}

@keyframes rotateIn {
  0% {
    transform-origin: center;
    transform: rotate3d(0, 0, 1, -200deg);
    opacity: 0;
  }
  100% {
    transform-origin: center;
    transform: none;
    opacity: 1;
  }
}

.rotateIn {
  animation-name: rotateIn;
}

.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.spinAround,
.spinAround2 {
  animation-duration: 6.6s;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
}

@keyframes scale {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.spinAround {
  animation-name: spin;
}

@keyframes spin {
  0% {
    transform: rotate(0);
  }
  80% {
    transform: rotate(4740deg);
  }
  95% {
    transform: rotate(4738deg);
  }
  100% {
    transform: rotate(4739deg);
  }
}

.spinAround2 {
  animation-name: spin2;
}

@keyframes spin2 {
  0% {
    transform: rotate(4739deg);
  }
  90% {
    transform: rotate(7456deg);
  }
  95% {
    transform: rotate(7454deg);
  }
  100% {
    transform: rotate(7453deg);
  }
}

.show {
  opacity: 1 !important;
  display: block !important;
}

.show-flex-center {
  display: flex !important;
  justify-content: center;
  align-items: center;
  opacity: 1 !important;
}

.popup_wrapper {
  background: rgba(0, 0, 0, 0.5);
  height: 100%;
  opacity: 0;
  position: fixed;
  width: 100%;
  z-index: 100;
  top: 0;
  left: 0;
  display: none;
}

.popup {
  width: 467px;
  border-radius: 9px;
  position: relative;
  margin: 12vw auto 0;
  z-index: 4;
}

.popup .popup_header {
  font-size: 23px;
  color: #fffefe;
  background: #46578a;
  padding: 16px 0;
  position: relative;
  z-index: 1;
  font-weight: 700;
  text-transform: uppercase;
  font-family: sans-serif;
}

.popup .popup_header .close {
  position: absolute;
  width: 30px;
  height: 30px;
  z-index: 4;
  top: 10px;
  right: 12px;
  display: block;
}

.popup .popup_content {
  background: #fff;
  text-align: center;
  position: relative;
  padding: 25px 17px;
  border-bottom: 1px solid #f2f2f2;
}

.popup .popup_content p {
  font-size: 19px;
  color: #000000;
  font-weight: 600;
  line-height: 24px;
  margin: 0;
  font-family: sans-serif;
}

.popup.welcome p span {
  color: #e9946f;
  display: block;
  padding: 12px 0;
}

.popup_wrapper.winner .popup_content {
  font-size: 16px;
  color: #888787;
}

.popup_wrapper.winner .popup_content img {
  max-width: 100%;
}

.close_button,
.select_block,
.select_block h2,
.tooltip_yet_spin {
  color: #fff;
  font-family: sans-serif;
}

.popup_wrapper.winner .popup_content span {
  font-weight: 700;
  display: block;
  padding-bottom: 10px;
  font-family: sans-serif;
  font-size: 18px;
}

.popup_wrapper.winner .popup_content p {
  line-height: 22px;
}

.popup_button {
  width: 100%;
  text-align: center;
  background: #fff;
}

.my_button {
  font-size: 24px;
  font-weight: 700;
  line-height: 24px;
  padding: 10px 23px;
  background: #58cd52;
  border-radius: 5px;
  display: inline-block;
  text-decoration: none;
  font-family: sans-serif;
  text-transform: uppercase;
  cursor: pointer;
  color: #fff;
}

.close_button:hover {
  background: #5edb58;
}

.tooltip_yet_spin {
  background: #3b5998;
  font-size: 18px;
  line-height: 26px;
  padding: 20px;
  width: 245px;
  text-align: left;
  border-radius: 10px;
  position: relative;
  cursor: pointer;
}

@media screen and (max-width: 460px) {
  .vis_small {
    display: block;
    padding-top: 260px;
  }
  .text_big {
    font-size: 16px;
  }
  .tooltip_yet_spin {
    width: 185px !important;
    padding: 14px !important;
  }
  .select_block {
    width: 100% !important;
    font-size: 14px !important;
    line-height: 18px !important;
  }
  .select_block h2 {
    font-size: 16px !important;
    line-height: 20px !important;
  }
  .top_block {
  }
  .top_block h1 {
    font-size: 20px !important;
    line-height: 23px !important;
  }
  .top_block p {
    font-size: 16px !important;
    line-height: 20px;
  }
  /* .top_block p span {
    padding: 0 15px;
  } */
  .chest__title {
    margin: 0 !important;
  }
  .chest__subtitle {
    margin: 5px 0 5px !important;
  }
  .text_big {
    margin: 5px 0 !important;
  }
}

@media screen and (max-width: 360px) {
  .container {
    padding: 0 15px !important;
  }
  .select_block,
  .chest__img_pack {
    width: 100% !important;
    padding: 23px !important;
  }
  .tooltip_yet_spin {
    width: 220px !important;
  }
  .popup {
    width: 100% !important;
  }
  .popup_header {
    text-align: left !important;
    padding-left: 15px !important;
  }
}

@media screen and (max-width: 780px) {
  .text_big {
    font-size: 16px;
  }
  .select_block,
  .chest__img_pack {
    width: 100% !important;
  }
}

@media screen and (max-width: 760px) {
  .text_big {
    font-size: 16px;
  }
  .popup {
    width: 80% !important;
  }
}

.select_block {
  padding: 10px 10px 0;
  width: 50%;
  margin: 0 auto;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  border: 5px solid #d8575c;
  border-radius: 4px;
}

.select_block h2 {
  font-size: 25px;
  line-height: 30px;
  font-weight: 700;
  margin: 0 0 10px;
}

.top_block {
  font-family: sans-serif;
  margin: 3px 0 3px;
}

.top_block h1 {
  font-weight: 700;
  color: #1e2d4c;
  font-size: 25px;
  font-family: sans-serif;
  margin: 0;
  line-height: 30px;
}

.top_block p {
  color: #888787;
  margin: 0;
  font-size: 18px;
  line-height: 26px;
  font-family: sans-serif;
}

.top_block p span {
  font-weight: 700;
  display: block;
}

@media (max-width: 1144px) {
  #spinner,
  #spin,
  #light {
    width: 33vw;
  }
  #win,
  #win2 {
    left: 13vw;
    top: 13vw;
  }
  .item {
    min-height: 350px;
  }
}

@media (max-width: 768px) {
  .text_big {
    font-size: 16px;
  }
  #spinner,
  #spin,
  #light {
    width: 41vw;
  }
  #win,
  #win2 {
    left: 15vw;
    top: 15vw;
    width: 11vw;
  }
  .item {
    min-height: 350px;
  }
}

@media (max-width: 480px) {
  #spinner,
  #spin,
  #light {
    width: 90%;
  }
  #win,
  #win2 {
    left: 38%;
    top: 31vw;
    width: 20vw;
  }
  .item {
    min-height: 440px;
  }
  .my_button {
    font-size: 17px;
  }
  .popup_wrapper.winner .popup_content {
    padding: 500px 500px;
  }
  .popup .popup_header {
    padding-top: 5px;
    padding-bottom: 5px;
  }
  form p {
    margin-top: 0;
  }
}

@media (max-width: 420px) {
  .text_big {
    font-size: 16px;
  }
  .item {
    min-height: 350px;
  }
  #win,
  #win2 {
    top: 140px;
    left: 40%;
  }
}

@media (max-width: 375px) {
  .text_big {
    font-size: 16px;
  }
  .item {
    min-height: 350px;
  }
  #win,
  #win2 {
    top: 123px;
    left: 40%;
  }
}

@media (max-width: 365px) {
  .text_big {
    font-size: 16px;
  }
  .item {
    min-height: 350px;
  }
  #win,
  #win2 {
    left: 43%;
  }
}

@media (max-width: 325px) {
  .text_big {
    font-size: 16px;
  }
  .item {
    min-height: 350px;
  }
  #win,
  #win2 {
    top: 110px;
    left: 44%;
  }
}

.myblock1 {
  font-family: sans-serif;
  color: rgba(255, 32, 0, 0.78);
  padding: 10px 7px 10px 7px;
  font-size: 21px;
  max-width: 421px;
  width: auto;
  margin: 0 auto;
  border: 1px dashed rgba(241, 70, 45, 0.85);
  font-weight: 500;
  top: 20px;
  display: -webkit-inline-box;
  margin-top: 0;
  border-radius: 3px;
  text-shadow: 0 0 0px #cecece;
}

br {
  content: "" !important;
}

.my_form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #ffffff;
  padding: 25px 0;
  border-radius: 50px;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.submit-roulette {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: auto;
}

.text_popup {
  background-color: #336699;
  font-family: sans-serif;
  font-size: 23px;
  color: #ffffff;
  padding: 20px 5px;
  box-sizing: border-box;
  width: 100%;
}

input,
button,
.m4l_button,
select {
  display: inline-block;
  outline: none;
  padding: 10px 0;
  font-size: 1.7em;
  font-family: sans-serif;
  border-radius: 50px;
  margin-top: 1em;
}

input,
select {
  border: 1px solid black;
  text-indent: 10px;
}

button,
.m4l_button {
  cursor: pointer;
  color: #fff;
  background-color: #2c9e76;
  border: 1px solid #167755;
  text-transform: uppercase;
}

button:hover,
.m4l_button:hover {
  background-color: #7dcfb2;
}

input[placeholder],
select[placeholder] {
  color: #000;
}

@media screen and (max-width: 1200px) {
}

@media screen and (max-width: 650px) {
  input,
  button,
  .m4l_button,
  select {
    width: 280px;
  }
}

@media screen and (max-width: 340px) {
  input,
  button,
  .m4l_button,
  select {
    width: 95%;
    font-size: 1.3em;
  }
  .text_popup {
    font-size: 1.5em;
  }
}

#order_form input {
  display: flex;
  justify-content: center;
}

#order_form #input-name,
#order_form #input-phone {
  display: inline-block;
  outline: none;
  padding: 10px 0;
  max-width: 285px;
  width: 97%;
  font-size: 16px;
  font-family: sans-serif;
  border-radius: 50px;
  margin-top: 1em;
  height: 52px;
}

#order_form #input-name[placeholder],
#order_form #input-phone[placeholder] {
  color: #000;
}

.saleBox {
  max-width: 350px;
  width: 100%;
}

@media (max-width: 360px) {
  .saleBox {
    max-width: 276px;
  }
}

.prodImg {
  width: 75%;
}

.select_block .select_block__title {
  color: #000;
}

.text_big {
  color: #d8575c;
  font-weight: 600;
}

@media (max-width: 360px) {
  #order_form #input-name,
  #order_form #input-phone {
    font-size: 13px;
  }
}
.chest {
  margin-bottom: 30px;
}
