@charset "UTF-8";

body,
html {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
}

main {
  display: flex;
  /* overflow: hidden; */
  flex-direction: column;
  position: relative;
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  font-family: "Roboto", sans-serif;
}
.logo {
  height: 220px;
  position: absolute;
  top: 30px;
  right: 70px;
}
.logo2 {
  height: 200px;
  position: absolute;
  top: 30px;
  left: 94px;
}
.sect1,
.sect2,
.sect3,
.sect4,
.board {
  visibility: hidden;
  top: 0;
  left: 0;
  right: 0;
  bottom: -33px;
}
.landing {
  height: 100%;
  width: 100%;
}
/* Styles for puzzle scenes */
.sect1,
.sect2,
.sect3,
.sect4 {
  display: grid;
  justify-items: center;
  align-items: center;
  padding: 20px;
  position: fixed;
  width: 70%;
  top: 49%;
  left: 50%;
  transform: translate(-50%, -80%);
}

.puzzles-container {
  display: flex;
  width: 21.5rem;

  justify-self: center;

  gap: 3px;
  margin-top: 15rem;
  cursor: pointer;
}
.puzzleStyle {
  height: fit-content;
  width: 100%;
  border: #000000 2px solid;
  transition: transform 0.1s ease;
}

.puzzleStyle:hover {
  transform: scale(1.2);
}
.sect {
  width: 100vh;
}

.board {
  display: flex;
  align-items: center;
  justify-content: space-between;
  justify-items: center;
  align-items: center;
  height: 12%;
  width: 70%;
  position: fixed;
  top: 55%;
  left: 50%;
  transform: translate(-50%, 220%);
  background-color: #395c68;
  overflow: visible;
}

.boardRight {
  display: flex;
  gap: 20px;
  margin-right: 50px;
  align-self: right;
}

.scoreStyle {
  padding: 10px;
  font-size: 40px;
  position: fixed;
  background-color: #00bcd463;
  border-radius: 200px;
  top: 16px;
  right: 3rem;
  height: 3rem;
  text-align: center;
  width: 3rem;
  visibility: hidden;
}
.skip-button {
  width: fit-content;
  position: absolute;
  right: 5rem;
  top: 34.5rem;
  background-color: #00bcd4ba;
  color: #ffffff;
  font-size: 22px;
  padding: 14px 26px;
  cursor: pointer;
  border-radius: 16px;
  place-content: center;
  text-align: center;
  transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}
.skip-button:active {
  transform: scale(0.95);
}
.boardStyle {
  height: 40px;
  width: auto;
  margin: 5px;
  margin-left: 25px;
  cursor: pointer;
}

.boardLeft {
  margin-left: 20px;
}

.buttons {
  background-color: #00bcd463;
  color: #ffffff;
  font-size: 21px;
  margin-left: 10px;
  padding: 14px 26px;
  cursor: pointer;
  border-radius: 16px;
  display: grid;
  place-content: center;
  text-align: center;
  transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.buttons:active {
  transform: scale(0.95);
}

.timerStyle {
  padding: 10px;
  font-size: 25px;
  position: fixed;
  background-color: #00bcd463;
  border-radius: 200px;
  top: 28px;
  left: 4rem;
  text-align: center;
  visibility: hidden;
}
@media only screen and (max-width: 1180px) {
  .skip-button {
    top: 30rem;
  }
  .board {
    top: 52%;
  }
}
@media only screen and (max-width: 768px) {
  .landing {
    width: 100vw; /* 100% of the viewport width */
    height: 100vh;
    margin: 0;
    padding: 0;
  }
  .skip-button {
    top: 16rem;
    font-size: 12px;
  }
  .logo {
    height: 100px;
  }
  .logo2 {
    height: 100px;
  }
  .puzzles-container {
    top: 13rem;
  }
  .timerStyle {
    left: 2rem;
  }
  .scoreStyle {
    right: 1rem;
  }
  .sect1,
  .sect2,
  .sect3,
  .sect4 {
    width: 75%;
    top: 47%;
  }
  .board {
    width: 75%;
    top: 61%;
  }
  .buttons {
    font-size: 13px;
    padding: 8px;
    border-radius: 6px;
  }
  .boardStyle {
    height: 26px;
    margin-left: 17px;
  }
}
