/* General styles for body and layout */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f4f8;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Header styling */
header {
    background-color: #4CAF50;
    color: white;
    padding: 2em;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
}

/* Main section styling */
main {
    display: flex;
    justify-content: center;
    /* Center content horizontally */
    padding: 2em;
}

/* Button styling */
button {
    padding: 1em 2em;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
}

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

/* Styles for quiz page */
#quiz-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2em;
}

.question {
    margin-bottom: 1.5em;
}

label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: bold;
}

select {
    padding: 0.5em;
    font-size: 1em;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#map {
    height: 20rem;
    width: 60rem;
    margin-top: 1em;
}

#search-container {

    background-color: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#search-input {
    width: 200px;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#search-button {
    padding: 8px 16px;
    font-size: 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Layout for results page */
main#results {
    display: flex;
    justify-content: space-between;
    /* Space items evenly */
    align-items: flex-start;
    /* Align items to the start (top) */
    width: 100%;
    max-width: 1200px;
    /* Adjust max width as needed */
}

/* Aside (Left Section) styling */
aside {
    display: flex;
    flex-direction: column;
    width: calc(50% - 1em);
    /* Adjust width as needed */
    max-width: 600px;
}

#location-section {
    background-color: #ffffff;
    /* White background for contrast */
    padding: 2em;
    border-radius: 10px;
    margin-bottom: 1em;
}

#weather-section {
    background-color: #e0f7fa;
    padding: 2em;
    border-radius: 10px;
    margin-bottom: 1em;
}

#schedule-section {
    background-color: #ffffff;
    /* White background for contrast */
    padding: 2em;
    border-radius: 10px;
}

#scheduleCanvas {
    border: 1px solid #ccc;
    border-radius: 8px;
}

/* Plant section styling (Right Section) */
#plant-section {
    background-color: #ffffff;
    /* White background for contrast */

    border-radius: 10px;
    width: 80%;
    margin-left: 5rem;
}

#plant-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: center;
}

.plant-item {
    background-color: white;
    border: 1px solid #ccc;
    padding: 1em;
    border-radius: 8px;
    width: 200px;
    text-align: center;
    cursor: pointer;
}

.plant-item img {
    width: 100%;
    border-radius: 8px;
}

.plant-item h3 {
    margin: 0.5em 0;
}