* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #1e1e1e;
  color: #fff;
}

header {
  background-color: #000;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5em;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1em;
}

.featured {
  background-image: url('featured.jpg');
  background-size: cover;
  background-position: center;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-content {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 20px;
  text-align: center;
}

.featured-content h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.featured-content p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

button {
  padding: 10px 20px;
  background-color: #e50914;
  border: none;
  color: #fff;
  font-size: 1em;
  cursor: pointer;
  margin: 10px;
}

.content-grid {
  padding: 40px;
}

.content-grid h2 {
  margin-bottom: 20px;
  font-size: 2em;
}

.grid-item {
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* Reduced from 150px to 100px */
  gap: 15px; /* Optional: Reduce gap between grid items */
}

.grid-item img {
  width: 80%; /* Optional: Reduce image width to make the cards smaller */
  height: auto;
  border-radius: 8px; /* Optional: Slightly reduce border-radius */
  margin-bottom: 8px; /* Optional: Reduce bottom margin */
}

footer {
  background-color: #000;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
}

.card {
  max-width: 250px; /* Adjust this value to make the cards smaller */
  margin: 10px auto; /* Center the card with auto margins */
}

.card-link {
  text-decoration: none; /* Remove underline from the link */
  color: inherit; /* Inherit text color for the entire card */
}

.card img {
  border-radius: 8px; /* Adjust the border radius for images */
}

.card-title {
  font-size: 1rem; /* Adjust the title font size */
  text-align: center; /* Center the text */
}