body {
  margin: 0;
  background-color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  font-family: Arial, sans-serif;
  background: url(./assets/background_tile.png);
}

* {
  padding: 0;
  margin: 0;
}

.victory-screen {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  justify-content: center;
  align-items: center;
  max-width: 100vw;
  width: 100vw;
  max-height: 100dvh;
  height: 100dvh;
  background-color: #00000080;
  overflow: hidden;
  border: none;
  user-select: none;
}

.victory-window {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  aspect-ratio: 9 / 19.5;
}

.victory-window-content {
  position: relative;
  display: flex;
  width: fit-content;
  height: fit-content;
}

.victory-window-content .victory-image {
  width: 100%;
  object-fit: contain;
}

button {
  outline: none;
  border: none;
  background-color: transparent;
  cursor: pointer;
  width: fit-content;
  height: 40px;
  max-height: 40px;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 2px 0 4px #E06800;
}

button img {
  height: 100%;
}

button:active {
  box-shadow: 0 1px 0 4px #E06800;
  transform: translateY(1px);
}

.message-screen {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 100vw;
  min-height: 100dvh;
  background: url(./assets/background_tile.png);
  overflow: hidden auto;
}

.message-screen .message {
  width: 100%;
  object-fit: contain;
}

.message-screen p {
  font-size: 24px;
  color: #ffffff;
  font-weight: 700;
  margin-left: 20px;
}

#photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

#photo-gallery img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  transition: transform 0.2s;
}

#photo-gallery img:hover {
  transform: scale(1.05);
}