:root {
  --coef: max(calc(100vh / 1066), calc(100vw / 600));
  --beige: #f8f0e6;
  --rose: #f4e3ec;
  --beige-win: #f9e4d9;
  --granate: #7f315a;

  --azul: #1773f9;

  /*--yellow: #ffcb00;*/
  --yellow: #ffcc07;
  --bg-lose: #00d46b;
  --bg-win: #1773f9;
  --purple-win: #fa1dbb;
}

html,
body {
  /* Reserves space for the scrollbar on the side (usually the right) */
  /*scrollbar-gutter: stable;*/
}

#ruleta {
  overflow-x: hidden !important;
}

body#ruletaInPost {
  margin: 0;
  background-color: var(--yellow);
  font-family: "Saira", sans-serif;
  font-optical-sizing: auto;
}

body#ruletaInPost.step2 {
  background-color: var(--azul);
}
body#ruletaInPost.winner {
  background-color: var(--purple-win) !important;
}
body#ruletaInPost.loser {
  background-color: var(--bg-lose) !important;
}

body#ruletaInPost .form-check-input {
  margin-top: 4px !important;
}

#registerForm,
#pantalla-participa {
  background-color: #1773f9;
}

@media screen and (min-width: 720px) {
  body#ruletaInPost .form-check-input {
    margin-top: 9px !important;
  }
  #pantalla-inicio img,
  #pantalla-participa img {
    max-width: 100%;
  }
}

body#ruletaInPost .form-check-input[type="checkbox"] {
  border-radius: 0;
  min-width: 16px;
}

main {
  width: 100%;
  min-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
body,
#main {
  transform-origin: top center;
}


@media screen and (min-height: 1100px) {
  main {
    width: 100vw;
    height: 100vh;
  }
}

.pointer {
  cursor: pointer;
}
.responsive {
  width: 100%;
  height: auto;
}

.juego {
  width: 600px;
  max-width: 100vw;
  max-height: 100vh;
  max-height: 100dvh;
  aspect-ratio: 600/1066 !important;
}

.comercio-item {
  display: inline-block;
  margin: 5px 10px;
  font-weight: 700;
}

/*
  .juego {
    aspect-ratio: 600 / 1066;
    height: 1066px;
    max-height: 100vh;
    max-height: 100dvh;
    width: auto;
    background-color: white;
}
*/
form {
  padding: 10px 30px;
}

@media screen and (min-width: 720px) {
  form {
    padding: 60px;
  }
}

.modal-footer button {
  padding: 10px 70px;
  border-radius: 40px;
  font-weight: 600 !important;
  display: inline-block;
  width: auto;
  margin: 0 auto;
}

form input.form-control,
form button.btn {
  width: 100%;
  margin-bottom: 15px;
  border-radius: 0;
  font-size: 28px;
  font-family: "Saira", sans-serif;
}

form input.form-control {
  color: black;
  border: 2px solid #a5a5a5;
  padding: 3px;
}
@media screen and (min-width: 720px) {
  form input.form-control {
    padding: inherit;
  }
  form input.form-control,
  form button.btn {
    font-size: 35px;
  }
}

form button.btn {
  color: white;
  border: 2px solid black;
  background-color: black;
  font-weight: 800;
}

.modal-content {
  background-color: white !important;
  color: black;
  padding: 30px !important;
}

form button.btn:hover {
  background-color: var(--granate);
  border: 2px solid var(--granate);
  color: white;
}

.form-check label {
  font-size: 23px;
  font-family: "Saira", sans-serif;
  margin-top: -5px;
}

@media screen and (min-width: 720px) {
  .form-check label {
    margin-top: 0px;
  }
}

.form-check-input {
  margin-top: 9px !important;
}

.screen-game {
  display: none;
}

.form-check-input[type="checkbox"] {
  border-radius: 0;
  margin-right: 12px !important;
}

#ruleta img {
  position: absolute;
}

#ruleta {
  min-height: 470px;
  /*transform: scale(1.2);*/
}

@media screen and (min-width: 720px) {
  #ruleta {
    transform: scale(1.2);
  }
}

#soporte {
  width: 150px;
  height: auto;
  top: 330px;
  left: 50%;
  transform: translatex(-50%);
}

#centro {
  left: 48%;
  transform: translatex(-50%);
  top: 87px;
  width: 190px;
  height: auto;
  z-index: 10;
  opacity: 1;
}

#borde {
  left: 50%;
  transform: translatex(-50%);
  top: 45px;
  z-index: 9;
  width: 300px;
  height: 300px;
}

#base {
  left: calc(50% - 140px);
  top: 53px;
  z-index: 8;
  width: 280px;
  /*transform: rotate(10deg);*/
  transition: transform 2s ease-in-out;
  transform-origin: center center;
}
/*
@media screen and (min-width: 800px) {
  #base {
    left: 158px;
  }
}
*/
#base.rotatedA {
  transform: rotate(710deg);
}

#base.rotated_F1 {
  transform: rotate(770deg);
}
#base.rotated_F2 {
  transform: rotate(800deg);
}
#base.rotated_F3 {
  transform: rotate(810deg);
}
#base.rotated_F4 {
  transform: rotate(690deg);
}
#base.rotated_F5 {
  transform: rotate(1000deg);
}

#btn-jugar {
  z-index: 20;
}
.modal-dialog {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-size: 35px;
  font-family: "Saira", sans-serif;
  color: var(--granate);
}
.modal-content {
  background-color: var(--beige-win) !important;
}

#msg-win,
#msg-lose {
  display: none;
}

img#win,
img#lose {
  display: none;
  /* width: 278px; */
  z-index: 30;
  left: 50%;
  transform: translatex(-50%);
  top: 68px;
  width: 73%;
  margin: 0 auto;
}

.juego.lose p.p60.whiteText {
  margin-top: 50px !important;
}

#premio-texto {
  color: var(--granate);
  font-size: 30px;
  font-family: "Saira", sans-serif;
  font-weight: 500;
  padding: 20px 20px 0px;
  line-height: 1.2;
}

#premio-texto a {
  color: inherit;
}
#premio-texto a:hover {
  opacity: 0.7;
}

#premio-texto .big-text {
  font-size: 40px;
  font-weight: 700;
}

#premio-texto .code-text {
  font-size: 48px;
  font-weight: 700;
  color: black;
  cursor: pointer;
}
#registerForm,
.cta-participa {
  background-color: var(--azul);
  text-align: center;
}

#game-area {
  margin-top: -30px;
  background-color: var(--yellow);
}

.fetti {
  margin-top: 20vh;
}

#registerForm {
  display: flex;
  flex-direction: column;
  /*align-items: center;*/
  justify-content: center;
  padding: 0px 30px;
}

img#win,
img#lose {
  display: none;
  z-index: 30;
  left: 50%;
  transform: translatex(-50%);
  top: 96px;
  width: 100%;
  margin: 0 auto;
}

@media screen and (min-width: 600px) {
  #premio-texto {
    padding: 30px 60px 0px;
  }
  #premio-texto .big-text {
    font-size: 50px;
  }
  #premio-texto .code-text {
    font-size: 60px;
  }
  #game-area {
    margin-top: 48px;
  }
  .fetti {
    margin-top: 40vh;
  }
  .p60 {
    padding: 0px 60px;
  }
  #registerForm {
    padding-left: 0px;
    padding-right: 0px;
  }
  img#win,
  img#lose {
    top: 68px;
    width: 73%;
    margin: 0 auto;
  }
}

#empezar_btn {
  border: 0;
  padding: 0;
  margin: 0;
  background: none;
}

#registerForm a {
  color: inherit;
}

#emailInput {
  border: 0;
  padding: 15px;
  border-radius: 50px;
  margin-top: 25px;
  margin-bottom: 5px;
}

.p60 + .form-check {
  padding-left: 15%;
  padding-right: 15%;
  text-align: center;
  border-radius: 10px;
}

.form-check .form-check-input {
  margin: 0;
}

p.whiteText {
  color: white;
  font-size: 23px;
  text-align: center;
}

.dvh100 {
  height: 100%;
  max-height: 100dvh;
}

#pantalla-game {
  background-color: var(--yellow);
}
.win #game-area,
.win #pantalla-game {
  background-color: var(--purple-win);
}
.lose #game-area,
.lose #pantalla-game {
  background-color: var(--bg-lose);
}

.modal-content {
  background-color: white !important;
  color: black !important;
}

.modal-content p {
  font-size: 26px;
  line-height: 1.2;
}

.modal-footer button {
  font-size: 28px;
  font-weight: 800;
  background-color: var(--yellow);
  border: 2px solid var(--yellow);
}

.modal-footer button:hover {
  color: white;
  background-color: black;
  border-color: black;
}

.form-check-input:checked {
  background-color: black !important;
  border-color: black !important;
}
#parrafo {
  margin-top: 20px;
  color:#000000 !important;
}
@media screen and (max-width: 799px) {

  #parrafo {
    margin-top: 0px !important;
  }

  #game-area {
    margin-top: -40px !important;
  }

  #emailInput {
    border: 0;
    margin-top: 0px;
    padding: 10px;
    font-size: 24px;
  }

  p.whiteText {
    font-size: 16px;
  }
  .form-check label {
    font-size: 17px;
    line-height: 1.2;
    margin-top: 2px;
    text-align: left;
  }
  .p60 + .form-check {
    border-radius: 10px;
  }
  .juego {
    width: auto !important;
  }
}

.modal-footer {
  border: 0 !important;
  padding-top: 0 !important;
}

.comercio-item a {
  color: inherit;
  text-decoration: none;
}

.comercio-item a:hover {
  color: inherit;
  text-decoration: underline;
}
