* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #2c3e50;
  font-weight: 300;
  font-size: 2.5rem;
}

.input {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: flex-end;
}

.input label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #2c3e50;
}

.input input {
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  min-width: 250px;
}

.input button {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.input button:hover {
  background-color: #2980b9;
}

.info {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.info h1 {
  text-align: left;
  margin-bottom: 15px;
  font-size: 2rem;
}

.info img {
  max-width: 300px;
  height: auto;
  border-radius: 4px;
  margin: 15px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.info p, .info h3 {
  margin: 8px 0;
}

.info button {
  background-color: #2ecc71;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  margin: 10px 10px 10px 0;
  transition: background-color 0.3s;
}

.info button:hover {
  background-color: #27ae60;
}

.story {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 4px;
  margin: 15px 0;
  border-left: 3px solid #3498db;
}

.towatch {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#blank {
  text-align: center;
  padding: 40px 20px;
}

#blank img {
  max-width: 150px;
  opacity: 0.7;
  margin-bottom: 20px;
}

#blank p {
  color: #7f8c8d;
  font-size: 1.1rem;
}

.movie-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.movie-item:last-child {
  border-bottom: none;
}

.movie-item img {
  width: 80px;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
}

.movie-item p {
  flex-grow: 1;
  font-weight: 500;
}

.remove-btn {
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.remove-btn:hover {
  background-color: #c0392b;
}

.display {
  display: none;
}

@media (max-width: 768px) {
  .input {
    flex-direction: column;
    align-items: stretch;
  }
  
  .input input {
    width: 100%;
  }
  
  .info img {
    max-width: 100%;
  }
  
  .movie-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .movie-item img {
    width: 100%;
    height: auto;
  }
}