:root {
  --coef: max(calc(100vh / 1066), calc(100vw / 600));
  --beige: #f8f0e6;
  --beige-win: #f9e4d9;
  --granate: #a40000;
  --verde: #3c9265;
  --amarillo: #ffc900;
}

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

body#ruletaInPost {
  margin: 0;
  background-color: black;
  font-family: "Archivo", sans-serif;
  font-optical-sizing: auto;
}

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

@media screen and (min-width: 720px) {
  #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;
}

#main {
  transform-origin: top center;
}

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

@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;
  aspect-ratio: 600/1066;
}

form {
  padding: 10px 30px;
}

@media screen and (min-width: 720px) {
  body#ruletaInPost .form-check-input {
    margin-top: 4px !important;
  }
  form {
    padding: 60px;
  }
}

.modal-footer button,
form input.form-control,
form button.btn {
  width: 100%;
  margin-bottom: 15px;
  border-radius: 0;
  font-size: 28px;
  font-family: "Archivo", 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;
  }
  .modal-footer button,
  form input.form-control,
  form button.btn {
    font-size: 35px;
  }
}
.modal-footer button,
form button.btn {
  color: var(--amarillo);
  border: 2px solid var(--verde);
  background-color: var(--verde);
  font-weight: 800;
}

.modal-footer button:hover,
form button.btn:hover {
  background-color: black;
  border: 2px solid black;
  color: var(--amarillo);
  /*color: white;*/
}

.form-check label {
  font-size: 16px;
  font-family: "Archivo", sans-serif;
  margin-top: -7px;
  color: white;
}

@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: 520px;
  /*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;
}


#base.rotated,
#base.rotatedN {
  transform: rotate(950deg);
}

#base.rotatedA {
  transform: rotate(710deg);
}

#base.rotatedB {
  transform: rotate(810deg);
}

#base.rotatedC {
  transform: rotate(870deg);
}


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

img#win, img#lose {
    display: none;
    width: 430px;
    z-index: 30;
    left: 50%;
    transform: translatex(-50%);
    top: 137px;
}
img#win-bottom, img#lose-bottom {
    display: none;
    width: 100%;
    z-index: 31;
    bottom: 0px;
}

#premio-texto {
  color: var(--verde);
  font-size: 30px;
  font-family: "Archivo", 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;
}

.cta-participa {
  max-width: 90%;
  margin: 0 auto;
}

#game-area {
  margin-top: -30px;
}

.fetti {
  margin-top: 20vh;
}

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

@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;
  }
  #registerForm {
    padding: 0px 60px;
  }
}

#registerForm a {
  color: inherit;
}

#registerForm button {
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
}

#registerForm button img {
  width: 100%;
  height: auto;
}

#cn-form-container {
  top: 66%;
}

#emailInput {
  border: 0;
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
  padding: 10px 0px;
  font-size: 30px;
}

#emailInput::placeholder {
  color: white;
}

.texto-fechas {
  color: #ffcb00;
  font-size: 14px;
}

@media screen and (max-width: 720px) {
  .form-check label {
    font-size: 12px;
  }
  body#ruletaInPost .form-check-input {
    margin-top: -6px !important;
  }
  #emailInput {
    padding: 5px 0px;
    font-size: 22px;
  }
}


.modal-content,
.modal-content p {
	color: black !important;
}

.modal-footer button, form button.btn {
	background-color: black;
  border: 0 !important;
}

#game-area {
    position: absolute;
    top: 15%;
}

#playAndWin img {
    max-width: 70%;
    height: auto;
    border: 0;
}
