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

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

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

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

@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;
}

#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;
  background-color: var(--rose);
}



form {
  padding: 10px 30px;
}

@media screen and (min-width: 720px) {
  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: "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;
  }
  .modal-footer button,
  form input.form-control,
  form button.btn {
    font-size: 35px;
  }
}
.modal-footer button,
form button.btn {
  color: white;
  border: 2px solid black;
  background-color: black;
  font-weight: 800;
}

.modal-footer button:hover,
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);
  }
}

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

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

#soporte {
  width: 400px;
  height: auto;
  top: 340px;
  left: calc(50vw - 160px);
}

#base {
  left: calc(50vw - 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: 600px) {
  #base {
    left: 158px;
  }
  #soporte {
    left: 140px;
  }
}

#base.rotatedN {
  transform: rotate(730deg);
}

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

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

#base.rotatedC,
#base.rotatedC1 {
  transform: rotate(508deg);
}
#base.rotatedC2 {
  transform: rotate(598deg);
}

#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;
}

img#win,
img#lose {
  display: none;
  width: 278px;
  z-index: 30;
  left: 50%;
  transform: translatex(-50%);
  top: 148px;
}

#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;
}

.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;
}
