* {
  margin: 0;
  padding: 0;
}

:root {
  --facebook: #3b5998;
}

/* Apply Black Han Sans font globally */

/* Optional: specific styling for other elements */
.time-text,
.play-time {
  font-family: "Black Han Sans", sans-serif;
}

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url(../img/00_backgound_img3.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  width: 100%;
  height: 100vh;
}

.timeBox {
  display: flex;
}

.play-time,
.time-text {
  font-size: 3rem;
  margin-top: 2rem;
  color: white;
}

.play-time {
  margin-left: 10px;
}

.contentsWrap {
  display: flex;
  position: relative;
}

.logoBox-wrap {
  /* height: 100%; */
  margin-right: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;

  align-items: center;
  justify-content: center;
}

.logoBox {
  width: 140px;
  height: 140px;
  background-color: plum;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: end;
  transition: all 0.3s;
}

.logoBox:hover {
  transform: scale(1.05);
  box-shadow: 2px 3px 1px 1px rgba(108, 108, 108, 0.5);
  filter: brightness(0.7);
}

.logoBox > a {
  width: 100%;
  height: 100%;
  display: block;
}

.logoBox img {
  width: 100%;
  height: 100%;
}

ul {
  width: 400px;
  height: 400px;
  list-style: none;
  margin-top: 1rem;
  border: 10px solid white;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* grid-gap:10px; */
}

li {
  width: 100px;
  height: 100px;
  background: #ccc;
  color: white;
  background: url("https://picsum.photos/id/237/400/400");
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.cheat-key,
.change-pic {
  background: var(--facebook);
  color: #fff;
  border: none;

  margin-top: 0.3rem;
  cursor: pointer;
}

.start-button,
.cheat-key,
.change-pic {
  border: transparent;
  background-color: transparent;
  cursor: pointer;
  transition: transform 0.3s;
}

.change-pic {
  width: 250px;
}

.start-button {
  margin-top: 3em;
  width: 300px;
}
.cheat-key {
  width: 150px;
}

.start-button img,
.cheat-key img,
.change-pic img {
  width: 100%;
}

.contentsWrap {
  display: flex;
}

.puzzleContentsWrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.list1 {
  background-position-x: 0px;
  background-position-y: 0px;
}

.list2 {
  background-position-x: -100px;
  background-position-y: 0px;
}

.list3 {
  background-position-x: -200px;
  background-position-y: 0px;
}

.list4 {
  background-position-x: -300px;
  background-position-y: 0px;
}

.list5 {
  background-position-x: 0px;
  background-position-y: -100px;
}

.list6 {
  background-position-x: -100px;
  background-position-y: -100px;
}

.list7 {
  background-position-x: -200px;
  background-position-y: -100px;
}

.list8 {
  background-position-x: -300px;
  background-position-y: -100px;
}

.list9 {
  background-position-x: 0px;
  background-position-y: -200px;
}

.list10 {
  background-position-x: -100px;
  background-position-y: -200px;
}

.list11 {
  background-position-x: -200px;
  background-position-y: -200px;
}

.list12 {
  background-position-x: -300px;
  background-position-y: -200px;
}

.list13 {
  background-position-x: 0px;
  background-position-y: -300px;
}

.list14 {
  background-position-x: -100px;
  background-position-y: -300px;
}

.list15 {
  background-position-x: -200px;
  background-position-y: -300px;
}

.list16 {
  background-position-x: -300px;
  background-position-y: -300px;
}

.game-text {
  position: absolute;
  font-size: 45px;
  color: red;
  display: none;
  top: 39%;
  width: 400px;
}

.game-text img {
  width: 100%;
}
