 {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  color: black;
  background-color: rgba(126, 198, 226, 0.466);
}

nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  gap: 0.5rem;
  border-bottom: solid 3px rgb(0, 0, 0);
  background-color: rgba(8, 235, 140, 0.5);
}

nav a {
  display: inline-block;
  min-width: 9rem;
  padding: 0.5rem;
  border-radius: 0.2rem;
  border: solid 1px rgb(0, 0, 0);
  text-align: center;
  text-decoration: none;
  color: rgb(0, 0, 0);
}

nav a[aria-current='page'] {
  color: rgb(25, 70, 31);
  background-color: 205, 45, 253;
}

main {
  padding: 1rem;
}

h1 {
  font-weight: bold;
  font-size: 1.5rem;
}

.main-title {
  font-size: 4rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(206, 134, 134, 0.3);
  margin: 1rem 0;
}

#search-input {
  padding: 12px 20px;
  font-size: 16px;
  border: 2px solid rgb(255, 255, 255);
  border-radius: 25px;
  width: 500px;
  outline: none;
  transition: border-color 0.3s ease;
}

#search-input:focus {
  border-color: rgb(0, 0, 0);
}

button[type='submit'] {
  padding: 12px 20px;
  font-size: 16px;
  background-color: rgb(205, 45, 253);
  color: rgb(3, 130, 180);
  border: none;
  border-radius: 25px;
  cursor: pointer;
  margin-left: 10px;
  transition: background-color 0.3s ease;
}

button[type='submit']:hover {
  background-color: rgb(255, 255, 255);
}

.search-container {
  position: relative;
  display: inline-block;
}

.search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 2px solid rgb(0, 0, 0);
  border-top: none;
  border-radius: 0 0 25px 25px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.search-dropdown-item {
  padding: 12px 20px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  transition: background-color 0.2s ease;
}

.search-dropdown-item:hover {
  background-color: #f0f8ff;
}

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