.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2rem;
  width: 60vw;
  height: 75vh;
  max-width: 800px;
}

.tile {
  background-color: var(--bg-light);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-light);
  font-size: 1.5rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
}

.tile:hover {
  background-color: var(--accent);
  transform: translateY(-0.5rem);
  color: var(--bg-dark) !important;
}


@media (max-width: 768px) {
  .tiles {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    width: 90vw;
    height: auto;
  }
  .tile {
    height: 50vh;
  }
}
