/* @import "/src/sass/main"; */

/* GAME */
.container-game {
  background-color: #1f6936;
  background-image: url("../assets/juego_latas/bg_juego.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

@media(max-width:912px) {
  .container-game {
    background-image: url("../assets/juego_latas/bg_juego_small.jpg");
    background-position-y: 0rem;
    height: 100vh;
    margin-top: 0;
    width: 100vw;
  }
}

.containerTitle--game {
  text-align: center;
}

.containerTitle--game>h1 {
  color: white;
  font-size: 35px;
  margin-bottom: 25px;
}

#container-canvas #c2canvasdiv #c2canvas {
  border: 7px solid #ffd477;
}

#container-canvas {
  width: 405px;
  height: inherit;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  margin: 0 auto;
}

@media(max-width: 1350px) {
  #container-canvas {
    width: 295px;
  }
}

@media (max-width:575) {
  #container-canvas {
    width: 90vw;
    margin-top: 0;
  }
}

#c2canvasdiv {
  margin: 0 !important;
  box-shadow: 0px 0px 0px 5px #ffd477;
  pointer-events: none;
}

.coronaFloatR-img1 {
  position: absolute;
  left: -172px;
  width: 458px;
  pointer-events: none;
  bottom: 120px;
}

@media(max-width:912px) {
  .coronaFloatR-img1 {
    bottom: 0px;
    top: 133px;
  }
}

@media(max-width:575px) {
  .coronaFloatR-img1 {
    display: none;
  }
}

.coronaFloatR-img2 {
  pointer-events: none;
  position: absolute;
  right: -157px;
  width: 400px;
  bottom: 173px;
}

@media(max-width:912px) {
  .coronaFloatR-img2 {
    display: none;
  }
}

.game-section {
  width: 100%;
  height: 87vh;
  position: relative;
  overflow: hidden;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

@media(max-width:1350px) {
  .game-section {
    height: 91vh;
  }
}

@media(max-width:767px) {
  .game-section {
    height: 100vh;
    margin-top: 0;
    width: 100vw;
  }
}


/* LANDING */
.landing-juegos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 90vh;
  padding-top: 190px;
  background-image: url("../assets/juego_latas/bg_landing.jpg");
}

@media (max-width: 640px) {
  .landing-juegos {
    background-image: url("../assets/juego_latas/bg_landing_small.jpg");
    padding-top: 130px;
  }
}

.title {
  width: 600px;
  margin-bottom: 12px;
}

@media (max-width: 640px) {
  .title {
    width: 400px;
  }
}

@media (max-width: 480px) {
  .title {
    width: 300px;
  }
}

.landing-juegos__check-tyc {
  display: grid;
  align-items: center;
  grid-template-columns: 10px auto;
  gap: 42px;
  width: fit-content;
  height: 36px;
  font-size: 18px;
  align-items: center;
  color: #1f6936;
  font-family: "inter";
  font-size: 18px;
}

@media (max-width: 640px) {
  .landing-juegos__check-tyc {
    font-size: 16px;
  }
}

.landing-juegos__check-tyc a,
.landing-juegos__check-tyc p {
  color: #1f6936;
  font-family: "inter";
  font-size: 18px;
  align-items: center;
}

@media (max-width: 640px) {
  .landing-juegos__check-tyc a {
    font-size: 16px;
  }
}

.landing-juegos__check-tyc a:hover,
.landing-juegos__check-tyc a:active,
.landing-juegos__check-tyc a:visited,
.landing-juegos__check-tyc a:link {
  color: #1f6936;
}

.landing-juegos__check-tyc a {
  text-decoration: underline;
}

.landing-juegos__check-tyc-box {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  width: 500px;
}

@media (max-width: 640px) {
  .landing-juegos__check-tyc-box {
    width: 300px;
  }
}

.landing-juegos__check-tyc-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: flex-start;
  margin: 20px 0px;
}

.landing-juegos__check-tyc-wrapper .error-message-tyc {
  margin-top: 8px;
  color: #c61b20;
  font-family: "inter";
  font-size: 16px;
}

@media (min-width: 768px) {
  .landing-juegos__check-tyc-wrapper .error-message-tyc {
    font-size: 16px;
  }
}

.landing-juegos__check-tyc input[type="checkbox"] {
  display: grid;
  place-content: center;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
  margin: 0;
  width: 36px;
  height: 36px;
  border: 3px solid #1f6936;
}

.landing-juegos__check-tyc input[type="checkbox"]::before {
  content: "";
  width: 20px;
  height: 20px;
  transform: scale(0);
  box-shadow: inset 1em 1em #1f6936;
  transform-origin: bottom left;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  -webkit-clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
  -moz--clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.landing-juegos__check-tyc input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.landing-juegos__buttonPlay {
  max-width: 320px;
  margin-top: 16px;
  cursor: pointer;
}

.landing-juegos__buttonPlay img:hover {
  transform: translateY(-10px);
  transition: all .3s ease;
}

@media (max-width: 640px) {
  .landing-juegos .buttonPlay {
    width: 250px;
  }
}

/* +RANKING */
.ranking-lata {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(#008c4f80, #008c4f80),
  url("../assets/juego_latas/bg_juego-lata.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 90vh;
  z-index: 0;
  padding-top: 80px;
  padding-bottom: 70px;
}

@media (max-width:991px) {
  .ranking-lata {
    background-image: linear-gradient(#008c4f80, #008c4f80),
    url("../assets/juego_latas/bg_juego_lata_small.jpg");
    background-position: top;
  }
}

@media (max-width:640px) {
  .ranking-lata {
    padding-top: 40px;
    padding-bottom: 240px;
  }
}

.ranking-lata__title {
  color: #fff;
  font-family: "Amsipronarw";
  font-size: 100px;
  text-transform: uppercase;
}

@media (max-width:640px) {
  .ranking-lata__title {
    font-size: 60px;
  }
}

.ranking-lata__score {
  display: grid;
  grid-template-columns: 122px 388px 160px 110px;
  justify-content: space-around;
  align-items: center;
  column-gap: 0px;
  width: 780px;
  padding: 0px 40px;
  overflow: hidden;
  height: 80px;
  background-color: #fff;
  border-radius: 18px;
  overflow: hidden;
}

@media (max-width:767px) {
  .ranking-lata__score {
    grid-template-columns: 90px 230px 130px 90px;
    height: 50px;
    width: 540px;
    border-radius: 8px;
  }
}

@media (max-width:640px) {
  .ranking-lata__score {
    grid-template-columns: 50px 110px 100px 40px;
    width: 300px;
  }
}

.ranking-lata__score.ranking-lata__socre-best {
  background-color: #1f6936;
}

.ranking-lata__score.ranking-lata__socre-best p {
  color: #fff;
}

.ranking-lata__score.ranking-lata__socre-best p:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #1f6936;
  background-color: #fff;
}

.ranking-lata__score.ranking-lata__socre-best h1 {
  color: #fff
}

.ranking-lata__score-text {
  color: #1f6936;
  font-family: "Amsipronarw", arial, sans-serif;
  text-align: center;
  font-size: 28px;
  text-transform: uppercase;
}

@media only screen and (max-width: 767px) {
  .ranking-lata__score-text {
    font-size: 16px;
  }
}

@media only screen and (max-width: 640px) {
  .ranking-lata__score-text {
    font-size: 14px;
  }
}

.ranking-lata__score p:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #fff;
  background-color: #1f6936;
}

.ranking-lata__score h1,
.ranking-lata__score p:nth-child(2) {
  text-align: left;
  padding-left: 50px;
  overflow-y: hidden;
}

.ranking-lata__score h1::-webkit-scrollbar,
.ranking-lata__score p:nth-child(2)::-webkit-scrollbar {
  width: 0;
  display: none;
}

@media only screen and (max-width: 640px) {

  .ranking-lata__score h1,
  .ranking-lata__score p:nth-child(2) {
    padding-left: 24px;
  }
}

.ranking-lata__score-table {
  position: relative;
  display: grid;
  grid-template-rows: 100px auto;
  width: 100%;
}

.ranking-lata__score-table-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 940px;
  width: 100%;
  margin-top: 16px;
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #3ec64b;
  border-radius: 40px;
  z-index: 10;
}

@media only screen and (max-width: 767px) {
  .ranking-lata__score-table-wrapper {
    width: 580px;
  }
}

@media only screen and (max-width: 640px) {
  .ranking-lata__score-table-wrapper {
    width: 330px;
  }
}

.ranking-lata__score-table-header {
  display: grid;
  grid-template-columns: 122px 348px 200px 110px;
  justify-items: center;
  align-items: center;
  justify-content: center;
  width: 780px;
  margin-bottom: 16px;
}

@media only screen and (max-width: 767px) {
  .ranking-lata__score-table-header {
    grid-template-columns: 90px 230px 130px 90px;
  }
}

@media only screen and (max-width: 640px) {
  .ranking-lata__score-table-header {
    grid-template-columns: 50px 100px 90px 40px;
    width: 300px;
  }
}

.ranking-lata__score-table-header p {
  color: #fff;
  font-family: "Amsipronarw", arial, sans-serif;
  font-size: 16px;
  text-transform: uppercase;
}

@media only screen and (max-width: 767px) {
  .ranking-lata__score-table-header p {
    font-size: 14px;
  }
}

@media only screen and (max-width: 640px) {
  .ranking-lata__score-table-header p {
    font-size: 12px;
  }
}

.ranking-lata__score-table-header p:nth-child(2) {
  text-align: left;
  justify-self: flex-start;
  padding-left: 50px;
}

@media only screen and (max-width: 640px) {
  .ranking-lata__score-table-header p:nth-child(2) {
    justify-self: center;
    padding-left: 20px;
  }
}

.ranking-lata__score-table-body {
  width: 780px;
}

@media only screen and (max-width: 767px) {
  .ranking-lata__score-table-body {
    width: 540px;
  }
}

@media only screen and (max-width: 640px) {
  .ranking-lata__score-table-body {
    width: 300px;
  }
}

.ranking-lata__score-table-body-item {
  display: grid;
  grid-template-columns: 122px 338px 240px 100px;
  grid-auto-flow: row;
  justify-items: center;
  justify-content: center;
  align-items: center;
  row-gap: 28px;
  margin-top: 50px;
  padding-bottom: 24px;
  border-bottom: 1px solid #fff;
}

@media only screen and (max-width: 767px) {
  .ranking-lata__score-table-body-item {
    grid-template-columns: 90px 230px 130px 90px;
  }
}

@media only screen and (max-width: 640px) {
  .ranking-lata__score-table-body-item {
    grid-template-columns: 18px 144px 108px 38px;
  }
}

.ranking-lata__score-table-body-item p {
  color: #fff;
  font-family: "Amsipronarw", arial, sans-serif;
  font-size: 22px;
}

@media only screen and (max-width: 767px) {
  .ranking-lata__score-table-body-item p {
    font-size: 16px;
  }
}

.ranking-lata__score-table-body-item p:nth-child(2) {
  text-transform: uppercase;
  justify-self: flex-start;
  padding-left: 60px;
}

@media (max-width:767px) {
  .ranking-lata__score-table-body-item p:nth-child(2) {
    padding-left: 20px;
  }
}

@media (max-width:767px) {
  .ranking-lata__score-table-body-item p:nth-child(3) {
    text-align: center;
  }
}

.ranking-lata__score-table-body-item p:nth-child(4) {
  font-size: 28px;
}

@media only screen and (max-width: 767px) {
  .ranking-lata__score-table-body-item p:nth-child(4) {
    font-size: 18px;
  }
}

.ranking-lata__score-table-message1 {
  color: #fff;
  font-family: "Amsipronarw", arial, sans-serif;
  font-size: 26px;
  text-align: center;
  text-transform: uppercase;
}

@media only screen and (max-width: 767px) {
  .ranking-lata__score-table-message1 {
    font-size: 16px;
    padding-left: 10px;
    padding-right: 10px;
  }
}

.ranking-lata .slider_weeksBtn {
  width: 780px;
}

@media only screen and (max-width: 767px) {
  .ranking-lata .slider_weeksBtn {
    width: 540px;
  }
}

@media only screen and (max-width: 640px) {
  .ranking-lata .slider_weeksBtn {
    width: 320px;
  }
}

.ranking-lata .swiper-slide {
  background-color: transparent;
}

.ranking-lata__score-table-btnGroup {
  display: flex;
  width: 780px;
  margin-bottom: 40px;
}

@media only screen and (max-width: 767px) {
  .ranking-lata__score-table-btnGroup {
    width: 540px;
  }
}

@media only screen and (max-width: 640px) {
  .ranking-lata__score-table-btnGroup {
    width: 320px;
    margin-bottom: 20px;
  }
}

.ranking-lata__score-table-btnGroup .ranking-lata__score-table-btnGroup--weekBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 180px;
  background-color: transparent;
  color: #1f693690;
  border: none;
  cursor: pointer;
}

@media only screen and (max-width: 640px) {
  .ranking-lata__score-table-btnGroup .ranking-lata__score-table-btnGroup--weekBtn {
    height: 40px;
  }
}

.ranking-lata__score-table-btnGroup .ranking-lata__score-table-btnGroup--weekBtn p {
  font-family: "Amsipronarw", arial, sans-serif;
  font-size: 20px;
  text-align: center;
  text-transform: uppercase;
}

@media only screen and (max-width: 767px) {
  .ranking-lata__score-table-btnGroup .ranking-lata__score-table-btnGroup--weekBtn p {
    font-size: 18px;
  }
}

@media only screen and (max-width: 640px) {
  .ranking-lata__score-table-btnGroup .ranking-lata__score-table-btnGroup--weekBtn p {
    font-size: 14px;
  }
}

.ranking-lata__score-table-btnGroup .btn-active {
  color: #1f6936;
  border: 2px solid #1f6936;
  border-radius: 19px;
  line-height: 16px;
}

@media only screen and (max-width: 767px) {
  .ranking-lata__score-table-btnGroup .btn-active {
    border-radius: 14px;
  }
}

@media only screen and (max-width: 640px) {
  .ranking-lata__score-table-btnGroup .btn-active {
    border-radius: 10px;
  }
}

.ranking-lata__tada {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 780px;
  margin-top: 40px;
}

@media only screen and (max-width: 640px) {
  .ranking-lata__tada {
    width: 320px;
    margin-top: 20px;
  }
}

.ranking-lata__tada-text {
  color: #fff;
  font-family: "Amsipronarw", arial, sans-serif;
  font-size: 26px;
  text-align: center;
  line-height: 40px;
  padding-left: 12px;
  padding-right: 12px;
}

@media only screen and (max-width: 767px) {
  .ranking-lata__tada-text {
    font-size: 16px;
    line-height: 30px;
  }
}

@media only screen and (max-width: 640px) {
  .ranking-lata__tada-text {
    font-size: 13px;
    line-height: 24px;
  }
}

.ranking-lata__tada img {
  width: 100px;
  vertical-align: text-top;
}

@media only screen and (max-width: 767px) {
  .ranking-lata__tada img {
    width: 70px;
  }
}

@media only screen and (max-width: 767px) {
  .ranking-lata__tada img {
    width: 60px;
  }
}

.ranking-lata__btn-show-more {
  margin-top: 60px;
  margin-bottom: 60px;
  cursor: pointer;
}

.ranking-lata__btn-show-more p {
  color: #fff;
  font-family: "Amsipronarw", arial, sans-serif;
  font-size: 22px;
  text-decoration: underline;
  text-transform: uppercase;
}

@media only screen and (max-width: 767px) {
  .ranking-lata__btn-show-more p {
    font-size: 18px;
  }
}

.ranking-lata__btn-play {
  height: 80px;
}

@media only screen and (max-width: 767px) {
  .ranking-lata__btn-play {
    height: 60px;
  }
}

.ranking-lata__btn-play picture img {
  height: 80px;
  object-fit: contain;
  cursor: pointer;
}

@media only screen and (max-width: 767px) {
  .ranking-lata__btn-play picture img {
    height: 60px;
  }
}

.ranking-lata .imgFondo {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.ranking-lata .imgFondo__copo1 {
  top: 8%;
  right: calc(100% - 228px);
  width: 100px;
}

@media only screen and (max-width: 640px) {
  .ranking-lata .imgFondo__copo1 {
    top: 14%;
    right: 6px;
    width: 80px;
  }
}

.ranking-lata .imgFondo__copo2 {
  top: -132px;
  left: 100%;
  width: 110px;
}

@media only screen and (max-width: 640px) {
  .ranking-lata .imgFondo__copo2 {
    display: none;
  }
}

.ranking-lata .imgFondo__copo3 {
  top: 10%;
  right: -110px;
  width: 50px;
}

@media only screen and (max-width: 640px) {
  .ranking-lata .imgFondo__copo3 {
    top: 105%;
    right: 0;
  }
}

.ranking-lata .imgFondo__hielo1 {
  top: 9%;
  left: -128px;
  width: 88px;
}

@media only screen and (max-width: 640px) {
  .ranking-lata .imgFondo__hielo1 {
    top: 102%;
    left: -18px;
    width: 50px;
  }
}

.ranking-lata .imgFondo__hielo2 {
  top: -50px;
  right: -288px;
  width: 110px;
}

@media only screen and (max-width: 640px) {
  .ranking-lata .imgFondo__hielo2 {
    display: none;
  }
}

.ranking-lata .imgFondo__hielo3 {
  top: 30%;
  right: -288px;
  width: 70px;
}

@media only screen and (max-width: 640px) {
  .ranking-lata .imgFondo__hielo3 {
    display: none;
  }
}

.ranking-lata .imgFondo__lata1 {
  bottom: -210px;
  left: -270px;
  z-index: -1;
  width: 300px;
}

@media only screen and (max-width: 767px) {
  .ranking-lata .imgFondo__lata1 {
    bottom: -364px;
    left: 0;
    width: 180px;
    z-index: 5;
  }
}

.ranking-lata .imgFondo__lata2 {
  bottom: -210px;
  right: -400px;
  z-index: -1;
  width: 500px;
}

@media only screen and (max-width: 767px) {
  .ranking-lata .imgFondo__lata2 {
    bottom: -364px;
    right: -48px;
    width: 288px;
  }
}

.ranking-lata .separador {
  width: 780px;
  height: 2px;
  background-color: #fff;
  margin-bottom: 40px;
}

@media only screen and (max-width: 767px) {
  .ranking-lata .separador {
    width: 540px;
  }
}

@media only screen and (max-width: 640px) {
  .ranking-lata .separador {
    width: 300px;
  }
}

/* ATTEMPS */

.attemps {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(#008c4f80, #008c4f80), url("../assets/juego_latas/bg_landing.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 90vh;
  z-index: 0;
  padding-top: 80px;
  padding-bottom: 70px;
}

@media only screen and (max-width: 640px) {
  .attemps {
    background-image: linear-gradient(#008c4f80, #008c4f80), url("../assets/juego_latas/bg_landing_small.jpg");
    background-position: top;
  }
}

.attemps__box {
  position: relative;
  display: flex;
  height: 300px;
  width: 600px;
  background-color: #1f6936;
  border-radius: 50px;
}

@media only screen and (max-width: 640px) {
  .attemps__box {
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    width: 320px;
    padding-block: 30px;
  }
}

.attemps .title {
  position: absolute;
  top: -84px;
  left: 50%;
  width: 300px;
  transform: translateX(-50%);
}

.attemps__tada {
  display: flex;
  align-items: center;
  justify-content: center;
}

.attemps__tada-text {
  color: #fff;
  font-family: "Amsipronarw", arial, sans-serif;
  font-size: 24px;
  text-align: center;
  line-height: 40px;
  padding-left: 58px;
  padding-right: 58px;
}

@media only screen and (max-width: 640px) {
  .attemps__tada-text {
    font-size: 16px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

.attemps__tada img {
  width: 100px;
  vertical-align: text-top;
}

.attemps__btn {
  height: 80px;
  margin-top: 40px;
}

.attemps__btn img {
  height: 80px;
}

/* Game loader */
.loaderGame {
  position: fixed;
  z-index: 10000000;
  top: 0px;
  display: none;
  height: 100vh;
  align-items: center;
  justify-content: center;
  width: 100%;
  cursor: default;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
}
.loaderGame img {
  width: 240px;
}

.activeLoader {
  display: flex;
}

.hideCanvas {
  display: none;
}
