/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
  background-color: lightblue;
  padding: 1rem;
  text-align: center;
}
header h1 {
  margin-bottom: 1.5rem;
  font-family: 'Times New Roman', Times, serif;
}


.grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  border-radius: 10px;
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.card span {
  position: relative;
  z-index: 1;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.card-tictactoe {
  background-image: url("../images/tictactoe-bg.jpg");
}

