@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #ebebeb;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 50px;
}

h1 {
  font-size: 3em;
  color: #333;
}

.highlight {
  color: #4a6ff0;
}

p.subtitle {
  color: #777;
  margin-top: 10px;
  font-size: 1.2em;
}

.movies {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.movie {
  cursor: pointer;
  width: 150px;
  transition: transform 0.3s;
}

.movie:hover {
  transform: scale(1.05);
}

.movie img {
  width: 100%;
  border-radius: 10px;
}

.actors {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

.actor {
  width: 100px;
  text-align: center;
}

.actor img {
  width: 100%;
  border-radius: 10px;
}

.actor-name {
  font-weight: bold;
  font-size: 0.9em;
}

.character-name {
  font-size: 0.8em;
  color: #555;
}

.search-bar {
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-input {
  width: 400px;
  padding: 10px 20px;
  font-size: 1.2em;
  border: 2px solid #4a6ff0;
  border-radius: 30px 0 0 30px;
  outline: none;
  transition: box-shadow 0.3s;
  font-family: "Poppins", sans-serif;
}

.search-input:focus {
  box-shadow: 0 0 10px rgba(74, 110, 240, 0.651);
}

.search-button {
  background-color: #4a6ff0;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 29px;
  border-radius: 0 30px 30px 0;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-button:hover {
  background-color: #385bb1;
}
