/* Reset some basic elements */
body, h1, h2, p, ul, li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Body and HTML styling */
html, body {
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Wrapper for flexbox layout */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Flex-grow main content area */
.main-content {
    flex: 1;
}

/* Header and navigation bar */
header {
    background-color: #4CAF50;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

header .logo a {
    color: white;
    font-size: 1.5em;
    text-decoration: none;
    font-weight: bold;
    padding-left: 20px;
}

header .nav-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 20px;
}

header .nav-links li {
    margin-left: 20px;
}

header .nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

header .nav-links a:hover {
    color: #ffeb3b;
}

/* Search Results styling */
#search-results {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* Main content styling */
main {
    padding: 20px;
}

main section {
    margin-bottom: 40px;
}

#search h1 {
    text-align: center;
    margin-bottom: 20px;
}

#search form {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#search input[type="text"] {
    width: 300px;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
}

#search button {
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    transition: background-color 0.3s ease;
}

#search button:hover {
    background-color: #45a049;
}

#features h2, #about h2 {
    margin-bottom: 10px;
}

#features ul {
    padding-left: 20px;
}

#features li {
    margin-bottom: 10px;
}

a, a:visited {
    color: blue;
}

/* Footer styling */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    bottom: 0;
    width: 100%;
}

footer .footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

footer p {
    margin-bottom: 10px;
}

footer .socials {
    display: flex;
    justify-content: center;
    align-items: center;
}

footer .socials li {
    margin: 0 10px;
}

footer .socials a img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

footer .socials a:hover img {
    transform: scale(1.2);
}
