@charset "UTF-8";
@font-face {
  font-family: "Lab Grotesque";
  src: url("https://relab.store/themes/relab/assets/css/lab-grotesque/LabGrotesque-Regular.woff2") format("woff2"), url("https://relab.store/themes/relab/assets/css/lab-grotesque/LabGrotesque-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Lab Grotesque";
  src: url("https://relab.store/themes/relab/assets/css/lab-grotesque/LabGrotesque-Medium.woff2") format("woff2"), url("https://relab.store/themes/relab/assets/css/lab-grotesque/LabGrotesque-Medium.woff") format("woff");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Lab Grotesque";
  src: url("https://relab.store/themes/relab/assets/css/lab-grotesque/LabGrotesque-Black.woff2") format("woff2"), url("https://relab.store/themes/relab/assets/css/lab-grotesque/LabGrotesque-Black.woff") format("woff");
  font-weight: 900;
  font-display: swap;
}
@media (min-width: 1100px) {
  html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Zmieniono na flex-start, aby uniknąć przesunięć */
    background: #fff;
    font-family: "Lab Grotesque", sans-serif;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
  }
  .page-game-columns {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
  }
  .page-game1a {
    width: 240px;
    margin-right: -117px;
    margin-top: 120px;
  }
  .page-game1b {
    margin-right: auto;
    margin-left: -117px;
  }
  .column.elements {
    border: 2px solid #ccc;
    border-radius: 12px;
    background-color: #fefefe;
    border: 1px solid rgb(234, 237, 240);
    height: 510px;
  }
  .column.elements .title-single-1 {
    border-bottom: 1px solid rgb(234, 237, 240);
    padding-left: 23px;
    padding-top: 12px;
    margin-bottom: 20px;
  }
  .column.elements .title-single-1 h3 {
    font-weight: 500;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0%;
    color: rgb(39, 46, 53);
    margin-top: 0;
  }
  .column.elements ul {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 23px;
    margin-top: 10px;
  }
  .column.elements ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
    font-weight: 500;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;
    color: rgb(0, 0, 0);
  }
  .column.elements ul li img {
    width: 26px;
    height: 26px;
    object-fit: contain;
  }
  .column.elements .desc-ol ol {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 10px;
  }
  .column.elements .desc-ol ol li {
    border-bottom: 1px solid rgb(234, 237, 240);
    padding-left: 23px;
    padding-right: 23px;
    font-weight: 500;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;
    color: rgb(0, 0, 0);
    padding-bottom: 12px;
    margin-top: 12px;
  }
  .column.elements .desc-ol ol li:last-child {
    border-bottom: none;
  }
  .column.elements .desc-ol ol li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
  }
  .column.elements .desc-ol ol li span {
    margin-left: auto;
  }
}
canvas {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated; /* kluczowe! */
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
}

.page-game1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Zmieniono na flex-start */
  margin: 0;
  padding: 0;
}
@media (max-width: 768px) {
  .page-game1 {
    width: 100%;
    height: 100vh; /* Użyto vh zamiast %, aby uwzględnić pełny ekran */
    min-height: 100vh;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  }
}
.page-game1 .title1 {
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 0;
}
.page-game1 .title1 h1 {
  font-family: "Lab Grotesque";
  font-weight: 900;
  font-size: 38px;
  line-height: 44.57px;
  letter-spacing: 0;
  color: #000;
  margin: 0; /* Usunięto margines, aby nie powodował przesunięć */
}
@media (max-width: 768px) {
  .page-game1 .title1 h1 {
    font-size: 5vw;
    line-height: 6vw;
    display: none; /* Ukryto na telefonach zgodnie z twoim CSS */
  }
}
.page-game1 .desc1 {
  position: relative;
  margin: 0;
  padding: 0;
}
@media (min-width: 769px) {
  .page-game1 .desc1 {
    width: 369px;
    height: 700px;
    border: 1px solid #000;
  }
}
@media (max-width: 768px) {
  .page-game1 .desc1 {
    width: 100%;
    height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    border: none; /* Usunięto ramkę na telefonach dla pełnego ekranu */
  }
}
.page-game1 .desc1 {
  position: relative;
  background: url("../hand.png") no-repeat center center;
  background-size: contain;
  aspect-ratio: 9/19.5;
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
}
.page-game1 .desc1 canvas {
  position: absolute;
  top: 8.2%;
  left: 6.1%;
  width: 87.8%;
  height: 83%;
  z-index: 2;
  background-color: #fff;
}
.page-game1 .desc1 #gameButtons,
.page-game1 .desc1 #scoreDisplay,
.page-game1 .desc1 .play-button,
.page-game1 .desc1 .play-button2 {
  position: absolute;
  z-index: 3;
}
.page-game1 .play-button {
  position: absolute;
  top: 44%;
  width: 180.725px;
  height: 34.86px;
  border-radius: 3.64px;
  font-family: "Lab Grotesque", sans-serif;
  font-weight: 500;
  font-size: 10.93px;
  line-height: 100%;
  color: #fff;
  background-color: #000;
  border: none;
  cursor: pointer;
  z-index: 1001;
  transition: background-color 0.3s;
  text-transform: uppercase;
  left: 50%;
  transform: translateX(-50%);
}
.page-game1 .play-button:hover {
  background-color: #333;
}
.page-game1 .play-button2 {
  position: absolute;
  bottom: 10%;
  width: 191.725px;
  height: 37.86px;
  border-radius: 3.64px;
  font-family: "Lab Grotesque", sans-serif;
  font-weight: 500;
  font-size: 10.93px;
  line-height: 100%;
  color: #000;
  background-color: #fff;
  border: none;
  cursor: pointer;
  z-index: 1001;
  transition: background-color 0.3s, color 0.3s;
  text-transform: uppercase;
  left: 50%;
  transform: translateX(-50%);
}
.page-game1 .play-button2:hover {
  background-color: #333;
  color: #fff;
}
.page-game1 .game-button {
  position: absolute;
  width: 42px;
  height: 42px;
  z-index: 1000;
  cursor: pointer;
  transition: filter 0.3s;
}
.page-game1 .game-button:hover {
  filter: brightness(0.7);
}
@media (max-width: 768px) {
  .page-game1 .game-button {
    width: 7vw;
    height: 7vw;
  }
}
.page-game1 #logoContainer {
  position: absolute;
  top: 20px;
  text-align: center;
  width: 100%;
}
.page-game1 #logoContainer img {
  width: 41px;
  height: 9px;
  z-index: 1001;
  position: relative;
}
@media (max-width: 768px) {
  .page-game1 #logoContainer img {
    width: 11vw;
    height: 2.5vw;
  }
}
.page-game1 #howToPlayContainer {
  position: absolute;
  top: 100px;
  width: 100%;
  padding: 0 25px;
  box-sizing: border-box;
  z-index: 1111;
  text-align: center;
}
.page-game1 #howToPlayContainer .how-to-play-header {
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
  margin-top: 0;
}
@media (max-width: 768px) {
  .page-game1 #howToPlayContainer .how-to-play-header {
    font-size: 4.5vw;
  }
}
.page-game1 #howToPlayContainer .how-to-play-text {
  font-family: "Lab Grotesque", sans-serif;
  font-weight: 400;
  font-size: 13.93px;
  color: #fff;
  margin-top: 25px;
  line-height: 1.4;
}
@media (max-width: 768px) {
  .page-game1 #howToPlayContainer .how-to-play-text {
    font-size: 3.5vw;
    margin-top: 8vw;
  }
}
.page-game1 .carousel {
  position: absolute;
  top: 64%;
  width: 100%;
  overflow: hidden;
  z-index: 1001;
}
.page-game1 .carousel ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 1120px;
  animation: slide 20s linear infinite;
}
.page-game1 .carousel li {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin: 0 8px;
  background-color: #fff;
}
@media (max-width: 768px) {
  .page-game1 .carousel li {
    width: 15vw;
    height: 15vw;
    margin: 0 2vw;
  }
}
.page-game1 .carousel img {
  max-height: 32px;
  max-width: 32px;
  width: auto;
}
@media (max-width: 768px) {
  .page-game1 .carousel img {
    max-height: 10vw;
    max-width: 10vw;
  }
}
@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.page-game1 #gameOverContainer {
  position: absolute;
  top: 9px;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1001;
  background: linear-gradient(360deg, rgba(0, 0, 0, 0.9) 22.55%, rgba(63, 61, 61, 0.9) 112.29%);
  border-radius: 25px;
}
.page-game1 #gameOverLogo {
  margin-top: 20px;
  width: 41px;
  height: 9px;
}
@media (max-width: 768px) {
  .page-game1 #gameOverLogo {
    width: 11vw;
    height: 2.5vw;
    margin-top: 5vw;
  }
}
.page-game1 #gameOverText {
  color: #fff;
  text-align: center;
  margin-top: 42px;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .page-game1 #gameOverText {
    font-size: 4.5vw;
    margin-top: 10vw;
  }
}
.page-game1 #scoreLabel {
  color: #fff;
  text-align: center;
  margin-top: 35px;
  font-weight: 400;
  font-size: 13.93px;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .page-game1 #scoreLabel {
    font-size: 3.5vw;
    margin-top: 15vw;
  }
}
.page-game1 #scoreValue {
  font-weight: 700;
  font-size: 80.34px;
  color: #fff;
  margin-top: 0;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .page-game1 #scoreValue {
    font-size: 20vw;
    margin-bottom: 5vw;
  }
}
.page-game1 #scoreDetails {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  color: #fff;
  text-align: center;
  margin-top: 10px;
  width: 80%;
  font-weight: 400;
}
@media (max-width: 768px) {
  .page-game1 #scoreDetails {
    font-size: 4vw;
    width: 90%;
  }
}
.page-game1 #restartButton {
  position: absolute;
  bottom: 85px;
  width: 191.725px;
  height: 37.86px;
  border-radius: 3.64px;
  font-family: "Lab Grotesque", sans-serif;
  font-weight: 500;
  font-size: 10.93px;
  line-height: 100%;
  color: #000;
  background-color: #fff;
  border: none;
  cursor: pointer;
  z-index: 1001;
  transition: background-color 0.3s;
  text-transform: uppercase;
  left: 50%;
  transform: translateX(-50%);
}
.page-game1 #restartButton:hover {
  background-color: #333;
  color: #fff;
}
@media (max-width: 768px) {
  .page-game1 #restartButton {
    width: 73vw;
    height: 7vw;
    font-size: 3vw;
    border-radius: 1vw;
    bottom: 15vw;
  }
}
.page-game1 #saveButton {
  position: absolute;
  bottom: 40px;
  width: 191.725px;
  height: 37.86px;
  border-radius: 3.64px;
  font-family: "Lab Grotesque", sans-serif;
  font-weight: 500;
  font-size: 10.93px;
  line-height: 100%;
  color: #fff;
  background-color: #000;
  border: none;
  cursor: pointer;
  z-index: 1001;
  transition: background-color 0.3s;
  text-transform: uppercase;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #fff;
}
.page-game1 #saveButton:hover {
  background-color: #333;
}
@media (max-width: 768px) {
  .page-game1 #saveButton {
    width: 73vw;
    height: 7vw;
    font-size: 3vw;
    border-radius: 1vw;
    bottom: 6vw;
  }
}
.page-game1 .gradient-overlay {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(360deg, rgba(0, 0, 0, 0.7) 22.55%, rgba(63, 61, 61, 0.7) 112.29%);
  z-index: 999;
  pointer-events: none;
  border-radius: 25px;
}
.page-game1 #saveDialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 234.33px;
  height: 313.79px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: space-between;
  padding: 0;
  z-index: 1002;
}
@media (max-width: 768px) {
  .page-game1 #saveDialog {
    height: 80vw;
    border-radius: 2.5vw;
    padding: 5vw;
  }
}
.page-game1 #saveDialogTitle {
  font-family: "Inter", sans-serif;
  font-size: 10.22px;
  font-weight: 400;
  color: #000;
  text-align: left;
  padding-bottom: 10px;
  margin-top: 12px;
  padding-left: 12px;
  border-bottom: 1px solid rgb(234, 237, 240);
}
@media (max-width: 768px) {
  .page-game1 #saveDialogTitle {
    font-size: 4.5vw;
    margin-bottom: 2.5vw;
  }
}
.page-game1 #saveDialogQuestion {
  font-family: "Inter", sans-serif;
  font-size: 11.68px;
  color: #000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 400;
  padding: 0 20px;
}
@media (max-width: 768px) {
  .page-game1 #saveDialogQuestion {
    font-size: 3.5vw;
    margin-bottom: 5vw;
  }
}
.page-game1 #saveDialogScore {
  font-family: "Inter", sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #000;
  text-align: center;
  margin-bottom: 10px;
  margin-top: 5px;
}
@media (max-width: 768px) {
  .page-game1 #saveDialogScore {
    font-size: 9vw;
    margin-bottom: 2.5vw;
  }
}
.page-game1 #saveDialogScoreLabel {
  font-family: "Inter", sans-serif;
  font-size: 8px;
  color: rgb(13, 13, 13);
  font-weight: 400;
  text-align: center;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .page-game1 #saveDialogScoreLabel {
    font-size: 3vw;
    margin-bottom: 5vw;
  }
}
.page-game1 #saveDialogSaveButton {
  width: 191px;
  height: 37px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-family: "Inter", sans-serif;
  font-size: 11.51px;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background-color 0.3s;
  margin: 0 auto;
}
.page-game1 #saveDialogSaveButton:hover {
  background-color: #333;
}
@media (max-width: 768px) {
  .page-game1 #saveDialogSaveButton {
    height: 10vw;
    font-size: 3.5vw;
    border-radius: 1.5vw;
    margin-bottom: 2.5vw;
  }
}
.page-game1 #saveDialogLeaveButton {
  width: 191px;
  height: 37px;
  background-color: #fff;
  color: #000;
  border: 1px solid #000;
  border-radius: 5px;
  font-family: "Inter", sans-serif;
  font-size: 11.51px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s;
  margin: 0 auto;
  margin-bottom: 15px;
}
.page-game1 #saveDialogLeaveButton:hover {
  background-color: #f0f0f0;
}
@media (max-width: 768px) {
  .page-game1 #saveDialogLeaveButton {
    height: 10vw;
    font-size: 3.5vw;
    border-radius: 1.5vw;
    border-width: 0.5vw;
  }
}
.page-game1 #saveDialogCloseButton {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  cursor: pointer;
}
@media (max-width: 768px) {
  .page-game1 #saveDialogCloseButton {
    top: 2.5vw;
    right: 2.5vw;
    font-size: 4.5vw;
  }
}

/**/
.page-game1 .title1 {
  margin-bottom: 43px;
}
.page-game1 .title1 h1 {
  margin-bottom: 0;
}

.desc-n-1 {
  position: relative;
  width: 515px;
  height: 867px;
  background: url("../hand1.png") no-repeat center center;
  background-size: contain;
}
.desc-n-1 .desc-n-1-d {
  position: relative;
  left: 124px;
  width: 269px;
  height: 541px;
}
.desc-n-1 .desc-n-1-d #scoreDisplay {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 1000;
  display: none;
  font-size: 24px;
  font-weight: 500;
  color: #000;
  text-align: right;
}
@media (max-width: 768px) {
  .desc-n-1 .desc-n-1-d #scoreDisplay {
    font-size: 6vw;
    top: 2vw;
    right: 2vw;
  }
}
.desc-n-1 canvas#gameCanvas {
  position: absolute;
  top: 9px;
  left: 0;
  width: 269px;
  height: 541px;
  border-radius: 36px;
  background: transparent;
  z-index: 2;
  display: block;
}

@media (max-width: 1202px) {
  .page-game1a {
    display: none;
  }
}
@media (max-width: 768px) {
  .page-game-all {
    padding-top: 0;
  }
  .page-game-all .title1 {
    margin-bottom: 0 !important;
  }
  .page-game-all .title1 h1 {
    position: absolute;
    top: 100px;
    width: 100%;
    text-align: center;
    z-index: 1001;
  }
  .desc-n-1 {
    background: none;
    width: 100%;
    height: 100%;
  }
  .desc-n-1 .desc-n-1-d {
    width: 100%;
    left: 0;
    height: 100%;
  }
  canvas#gameCanvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    top: 0 !important;
    position: relative;
  }
  .desc-n-1-d {
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
  }
  body, html {
    margin: 0;
    padding: 0;
    height: 100%;
  }
  .page-game1 .gradient-overlay {
    border-radius: 0;
    top: 0;
  }
  .desc-n-1 canvas#gameCanvas {
    border-radius: 0;
  }
}
/*# sourceMappingURL=style.css.map */
