body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f0f8ff;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  background-color: #e92828;
  padding: 20px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header img {
  max-width: 200px;
  height: auto;
}

main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
}

article {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

article:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

article img {
  width: 100%;
  height: auto;
}

article p {
  margin: 10px 0;
  padding: 10px;
  background-color: #f9f9f9;
  color: #333;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

article p:nth-child(2) {
  font-size: 1.5em;
  font-weight: bold;
  color: #333333;
  text-transform: uppercase;
  background-color: #dcdcdc;
  border-radius: 5px;
  padding: 15px 10px;
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

article p:nth-child(2):hover {
  background-color: #bfbfbf;
  color: #1b1b1b;
  transform: scale(1.05);
}

article a {
  display: block;
  margin: 10px;
  padding: 10px;
  background-color: #ff6f61;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

article a:hover {
  background-color: #e55d4a;
}

@media (max-width: 600px) {
  main {
    grid-template-columns: 1fr;
  }
}
