/* style.css */
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(120deg, #0077b6, #00b4d8);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.app-container {
  text-align: center;
  width: 90%;
  max-width: 800px;
}

h1 {
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.search-area {
  margin-bottom: 1.5rem;
}

#search-box {
  width: 70%;
  max-width: 400px;
  padding: 0.8rem;
  border-radius: 0.5rem;
  border: none;
  outline: none;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

button {
  background-color: #03045e;
  border: none;
  color: #fff;
  padding: 0.7rem 1.4rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: 0.3s ease;
  font-weight: bold;
}

button:hover {
  background-color: #023e8a;
}

#results {
  margin-top: 1.5rem;
  text-align: left;
}

.result-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.6rem;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: transform 0.2s ease, background 0.3s ease;
}

.result-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.result-item a {
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  font-weight: 600;
}

.result-item p {
  margin-top: 0.5rem;
  color: #e0e0e0;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  #search-box {
    width: 90%;
  }

  button {
    padding: 0.6rem 1rem;
  }
}
