body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    background-color: #007AFF;
    color: #FFF;
    text-align: center;
    padding: 1rem;
}

main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.hero {
    background-color: #F0F0F0;
    padding: 1rem;
    border-radius: 10px;
}

.features {
    margin-top: 2rem;
}

footer {
    background-color: #007AFF;
    color: #FFF;
    text-align: center;
    padding: 1rem;
}
/* Center the search container */
.search-container {
    text-align: center;
    margin-top: 2rem;
}

/* Style the search input and button */
#searchInput {
    padding: 0.5rem;
    font-size: 16px;
}

#searchButton {
    padding: 0.5rem 1rem;
    font-size: 16px;
    background-color: #007AFF;
    color: #FFF;
    border: none;
    cursor: pointer;
}

/* Center the results container */
.results-container {
    text-align: center;
    margin-top: 2rem;
}

/* Style the search results */
#searchResults {
    list-style: none;
    padding: 0;
}

#searchResults li {
    margin: 0.5rem 0;
    padding: 1rem;
    background-color: #F0F0F0;
    border-radius: 8px;
}
/* Add loading animation styles */
/* Loading animation styles */
.loading {
    list-style: none;
    padding: 1rem;
    background-color: #F0F0F0;
    border-radius: 8px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #007AFF;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
