.tile {
  transition: transform 0.3s ease;
  transform-style: preserve-3d;
  width: 15vw;
  height: 15vw;
  min-width: 2.5rem;
  min-height: 2.5rem;
  max-width: 4rem;
  max-height: 4rem;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: 0.5px solid black;
  position: relative;
  background-image: url('/images/card-back.jpg');
  background-size: cover;
  background-position: center;
  background-color: #4a2c0b;
}
.tile:hover {
  background-color: #cbd5e0;
}
.tile img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  backface-visibility: hidden;
  transform: rotateY(180deg);
}
.tile img.hidden {
  display: none;
}
.tile.flipped img {
  display: block;
}
@media (min-width: 640px) {
  .tile {
    width: 6rem;
    height: 6rem;
  }
}
@media (max-width: 639px) {
  .tile {
    width: 12vw;
    height: 12vw;
    min-width: 2rem;
    min-height: 2rem;
  }
}
.tile.flipped {
  transform: rotateY(180deg);
}
.zulu {
  background-color:#f4e4bc;
}


#transition-overlay {
  transition: opacity 0.5s ease;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  pointer-events: none;
}
#transition-overlay:not(.hidden) {
  opacity: 1;
  pointer-events: auto;
}
#game-board {
  margin: 0 auto;
  padding: 0;
  line-height: 0;
  font-size: 0;
  display: grid;
  width: fit-content;
}
#win-message {
  text-align: center;
  margin-top: 1rem;
}
#win-message.hidden {
  display: none;
}
.next-round {
  display: block;
  padding: 0.5rem 1rem;
  background-color: #4a2c0b;
  color: #f4e4bc;
  text-decoration: none;
  border-radius: 0.25rem;
  margin:auto;
}
.next-round:hover {
  background-color: #6b4519;
}
h1, h2 {
  text-align: center;
}
.restart-game {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

/* styles.css */

body.zulu {
  font-family: Arial, sans-serif;
  background-color:#f4e4bc;
  height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h1 {
  font-size: 36px;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.next-round {
  background-color: #4CAF50;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

.next-round:hover {
  background-color: #3e8e41;
}

/* Responsive design */

@media (max-width: 768px) {
  h1 {
    font-size: 28px;
  }
  .next-round {
    font-size: 16px;
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 24px;
  }
  .next-round {
    font-size: 14px;
    padding: 6px 12px;
  }
}

#game-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* H1 and H2 */
h1, h2 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #6b4519; /* Nice blue color */
  text-align: center;
}

h1 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
}

h2 {
  font-size: 24px;
  font-weight: normal;
  margin-top: 0;
  color: #2ecc71; /* Nice green color */
}