body {
  background-color: black;
  color: white;
  font-family: "Times New Roman", Times, serif;
  flex-wrap: wrap;
}

.container {
  max-width: 1200px;
  margin: auto;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
}

nav {
  display: flex;
  justify-content: center;
  gap: 40px;
}

a {
  text-decoration: none;
  color: #f3f3f3;
}

a:hover {
  color: greenyellow;
}

input {
  padding: 15px 30px;
  background-color: #222;
  border: 1px solid gray;
  margin-top: -10px;
  border-radius: 8px;
}
button {
  color: white;
  background-color: #222;
  margin: -10px 10px 0 0;
  cursor: pointer;
  border: 1px solid gray;
  padding: 8px 12px;
  border-radius: 8px;
}

h1 {
  margin-top: -5px;
  margin-left: 30px;
  font-size: 40px;
}

article {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

h2 {
  margin-top: 100px;
  font-size: 50px;
}

p {
  font-size: 22px;
  color: #f3f3f3;
  margin-top: -30px;
  margin-bottom: 50px;
}
/* MOVIES */
.movies {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.card {
  width: 200px;
  height: 300px;
  overflow: hidden;
  border-radius: 10px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card img {
  transition: 0.3s ease;
  max-width: 100%;
  height: auto;
}

.card img:hover {
  transform: scale(1.05);
  filter: brightness(0.8);
  cursor: pointer;
}

@media (max-width: 768) {
  .container {
    width: 100%;
  }
  .card {
    flex-direction: column;
  }
}
