Newer
Older
2024-C123065.zenbu...ZENBUDASU / puzzle.css
body {
  font-family: 'Arial', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
  background-color: #faf8ef;
}

h1 {
  margin: 0;
  padding: 10px;
  font-size: 2rem;
  color: #776e65;
}

a {
  text-decoration: none;
  color: inherit;
}

.game-container {
  display: grid;
  grid-template-columns: repeat(4, 100px);
  grid-gap: 10px;
  background-color: #bbada0;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tile {
  width: 100px;
  height: 100px;
  background-color: #cdc1b4;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  color: #776e65;
  transition: all 0.2s ease;
}

.tile[data-value="2"] { background-color: #eee4da; }
.tile[data-value="4"] { background-color: #ede0c8; }
.tile[data-value="8"] { background-color: #f2b179; color: #f9f6f2; }
.tile[data-value="16"] { background-color: #f59563; color: #f9f6f2; }
.tile[data-value="32"] { background-color: #f67c5f; color: #f9f6f2; }
.tile[data-value="64"] { background-color: #f65e3b; color: #f9f6f2; }
.tile[data-value="128"] { background-color: #edcf72; color: #f9f6f2; }
.tile[data-value="256"] { background-color: #edcc61; color: #f9f6f2; }
.tile[data-value="512"] { background-color: #edc850; color: #f9f6f2; }
.tile[data-value="1024"] { background-color: #edc53f; color: #f9f6f2; }
.tile[data-value="2048"] { background-color: #edc22e; color: #f9f6f2; }
.tile[data-value="4096"] { background-color: #3c3a32; color: #f9f6f2; }

img {
  border-radius: 5px;
  transition: transform 0.2s ease;
}

img:hover {
  transform: scale(1.1);
}