@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
body {
  font-family: 'Press Start 2P', cursive;
  background-color: #000;
  color: #0ff;
  text-align: center;
  min-height: 100vh;
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

a {
  text-decoration: none;
}

.container {
  margin: 0 auto;
}

h1 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

#outer-heading {
  background-color: #ff0; /* Yellow background */
  padding: 1.25rem; /* Larger padding to create a border effect */
  border-radius: 0.5rem; /* Slightly larger border radius */
  display: inline-block; /* To apply padding and background color only around the text */
}

#inner-heading {
  background-color: #f00; /* Red background */
  color: #fff; /* White text */
  padding: 1rem; /* Padding around the text */
  border-radius: 0.375rem; /* Rounded corners */
  display: inline-block; /* To apply padding and background color only around the text */
  margin: 0; /* Remove default margin */
}

p {
  margin-bottom: 1.5rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  background-color: #222;
  font-size: 0.75rem;
  border-radius: 0.375rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
  text-decoration: none;
}

.card .image-container {
  height: 200px;
  overflow: hidden;
}

.card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(1.05);
}

.card img {
  width: 100%;
  object-fit: cover;
}

.card div {
  padding: 1.5rem;
}

.card h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: #4a5568;
}

.card span {
  background-color: #f00;
  display: inline-block;
  padding: 0.5em 2em;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  border-radius: 9999px; /* equivalent to Tailwind's rounded-full */
  transition: background-color 0.2s; /* equivalent to Tailwind's transition-colors duration-200 */
}

.card span:hover {
  background-color: #ff0; /* equivalent to Tailwind's bg-blue-600 */
}
