body {
  background-color: #f7f9fc;
  color: #333;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
}

header {
  background-color: #005f73;
  color: white;
  padding: 20px 10px;
  text-align: center;
}

header h1 {
  margin: 0;
  font-weight: 700;
}

header a {
  color: #94d2bd;
  text-decoration: none;
  font-weight: 600;
  margin-top: 8px;
  display: inline-block;
}

header a:hover {
  color: #d505ff;
  text-decoration: none;
}

.search-bar {
  padding: 15px;
  text-align: center;
  background-color: #e0fbfc;
}

.search-bar input {
  width: 60%;
  padding: 10px;
  border: 1.5px solid #14c7ea;
  border-radius: 6px;
  font-size: 16px;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1100px;
  margin: 0 auto 40px auto;
}

.movie-card {
  background-color:  #ffffff;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  text-align: center;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.movie-card:hover {
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.movie-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.movie-card p {
  margin: 12px 0;
  font-weight: 600;
  color: rgb(242, 0, 255);
  font-size: 1rem;
}
.movie-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  text-align: center;
  overflow: hidden;
  cursor: pointer;
  transition: 
    box-shadow 0.3s ease,
    transform 0.3s ease,
    background-color 0.3s ease;
  transform: translateY(0);
}

.movie-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  transform: translateY(-5px) scale(1.03);
  background-color: #f0fdfc;
}

.movie-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.movie-card:hover img {
  transform: scale(1.05);
}

