body {
  background-image: url(assets/background.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: white;
  width: 100vw;
  height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Dosis';
}

body * {
  user-select: none !important;
}

.styled-box-redish {
  background-color: #ff5941;
  border: 3px solid white;
  border-radius: 20px;
}

.styled-box-yellow {
  background-color: #ff8f00 !important;
  border: 3px solid white;
  border-radius: 20px;
}
.styled-box-yellow:hover {
  background-color: #ffb04a !important;
}

/* components  */
.press-button {
  position: relative;
  color: white;
  background-color: #ff5941;
  font-weight: 500;
  font-size: 22px;
  border: 3px solid white;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  /* min-width: 300px; */
  /* width: 100%; */
  text-align: center;
  font-size: 43px;
  font-family: 'Dosis';
  color: #fff;
  padding: 10px 80px;
}
.press-button:hover {
  background-color: #ff8876;
}
.press-button.nohover label:hover {
  color: inherit;
}

.arrow-back {
  cursor: pointer;
  position: absolute;
  z-index: 100;
  top: 30px;
  left: 30px;
  background-image: url(assets/back.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 50px;
  height: 50px;
}

/* complete modal  */
.complete1-container {
  display: none;
  position: absolute;
  z-index: 1000;
  top: 0;
  left: 0;
}
.complete1 {
  z-index: 1000;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}
.complete1 > div {
  position: absolute;
  width: 100%;
}
.complete1-buttons {
  margin-top: 120px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 50px;
}
.complete1-buttons label {
  font-size: 30px;
}

/* review modal  */
.review-container {
  display: none;
  position: absolute;
  z-index: 1000;
  top: 0;
  left: 0;
}
.review {
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}
.review > div {
  position: absolute;
  width: 550px;
  margin: 0 auto;
  padding: 40px;
  display: grid;
  place-items: center;
}
.review-text,
.review-text-finish {
  margin-top: 10px;
  color: #fff;
  text-align: center;
}
.review-buttons,
.review-button-finish {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 0;
}
.review-buttons img {
  margin-left: 15px;
  cursor: pointer;
}
.review-container label {
  font-size: 19px;
}
.review-text-finish,
.review-button-finish {
  display: none;
}

/* exit modal  */
.some-container {
  display: none;
  position: absolute;
  z-index: 1000;
  top: 0;
  left: 0;
}
.some {
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
}
.some-box {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  font-size: 34px;
  gap: 20px;
  border-radius: 80px;
}
.some-buttons {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

/* PAGES */
.page {
  display: none;
}
.pages-container {
  width: 100%;
  max-width: 1480px;
  /* margin: 0 auto; */
}

/* PAGE: START  */
.start-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;
}
.square-button {
  content: ' ';
  position: absolute;
  z-index: 100;
  top: 30px;
  left: 30px;
  background-image: url(assets/square.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 40px;
  height: 40px;
}
.info-button {
  content: ' ';
  position: absolute;
  z-index: 100;
  top: 30px;
  right: 30px;
  background-image: url(assets/info-icon.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.info-box {
  position: absolute;
  z-index: 900;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  display: none;
  justify-content: center;
  align-items: center;
}

/* PAGE: CHOOSELEVEL */
.page[data-page~='chooselevel'],
.page[data-page~='play'] {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: center;
  align-items: center;
}
.chooselevel-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 800px;
  padding: 80px;
  border-radius: 80px;
}
.chooselevel-container .level-buttons {
  display: flex;
  flex-direction: column;
  gap: 40px;
  cursor: pointer;
}

/* PAGE: PLAY */
.page[data-page~='play'] .play-card {
  aspect-ratio: 1;
  width: 186px;
  height: 186px;
  background-color: #ff5941;
  border-radius: 19px;
  cursor: pointer;
  box-shadow: inset 0 0 0 2px white;
}

.page[data-page~='play'][data-level~='2'] .play-card,
.page[data-page~='play'][data-level~='2'] .play-card img {
  width: 120px;
  height: 120px;
}

.page[data-page~='play'][data-level~='3'] .play-card,
.page[data-page~='play'][data-level~='3'] .play-card img {
  width: 90px;
  height: 90px;
}

.play-card[data-status~='closed'] > img {
  display: none;
}
.play-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(auto, 1fr);
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}
.page[data-page~='play'][data-level~='2'] .play-container {
  grid-template-columns: repeat(6, 1fr);
  /* grid-template-rows: repeat(4, 1fr); */
}
.page[data-page~='play'][data-level~='3'] .play-container {
  grid-template-columns: repeat(8, 1fr);
  /* grid-template-rows: repeat(6, 1fr); */
  grid-column-gap: 15px;
  grid-row-gap: 15px;
}

.some-container {
  display: none;
}
.rounded-xl {
  border-radius: 80px;
}

.logo {
  width: 300px;
  height: auto;
}

.title-img {
  width: 75vw;
  max-width: 800px;
  height: auto;
}

.info-box-bg {
  width: 70vw;
  height: auto;
}

.choose-level-bg {
  width: 430px;
  height: auto;
}

.lvl1-title-bg {
  width: 430px;
  height: auto;
}

.review-buttons img {
  width: 60px;
  height: 60px;
}

.mobile-only {
  display: none;
}

.desktop-only {
  display: block;
}

@media (width < 48rem) {
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: block;
  }
  body {
    min-height: 100vh;
    height: auto !important;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .logo {
    width: 200px;
  }
  .title-img {
    width: 90vw;
  }
  .press-button {
    padding: 5px 60px;
    font-size: 28px;
  }
  .info-box-bg {
    width: 95vw;
  }

  .choose-level-bg {
    width: 80vw;
  }

  .review-buttons img {
    width: 40px;
    height: 40px;
  }
  .chooselevel-container {
    width: 95vw;
    border-radius: 20px;
  }
  .lvl1-title-bg {
    width: 90vw;
  }
  .play-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* grid-template-rows: repeat(3, 1fr); */
    grid-column-gap: 20px;
    grid-row-gap: 20px;
  }

  .page[data-page~='play'][data-level~='2'] .play-container {
    grid-template-columns: repeat(4, 1fr);
  }
  .page[data-page~='play'] .play-card {
    width: 100px;
    height: 100px;
  }
  .page[data-page~='play'] .play-card img {
    width: 100px;
    /* height: auto; */
  }

  /* lvl 2 */
  .page[data-page~='play'][data-level~='2'] .play-container {
    grid-template-columns: repeat(4, 1fr);
  }
  .page[data-page~='play'][data-level~='2'] .play-card,
  .page[data-page~='play'][data-level~='2'] .play-card img {
    width: 80px;
    height: 80px;
  }

  /* lvl 3 */
  .page[data-page~='play'][data-level~='3'] .play-container {
    grid-template-columns: repeat(5, 1fr);
    grid-column-gap: 15px;
    grid-row-gap: 15px;
  }
  .page[data-page~='play'][data-level~='3'] .play-card,
  .page[data-page~='play'][data-level~='3'] .play-card img {
    width: 70px;
    height: 70px;
    border-radius: 12px;
  }
  .page[data-page~='play'][data-level~='3'] {
    padding-top: 50px;
  }

  .some-box {
    padding: 30px;
    border-radius: 50px;
  }
  .some-buttons {
    gap: 24px;
  }
  .review > div {
    width: 95vw;
    border-radius: 40px;
  }
}
