body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

#map {
    flex: 1;
    width: 100%;
    background-color: #a9d3df;
}

#content {
    position: absolute;
    width: 50%; /* Take up more width on smaller screens */
    top: 20px;
    left: 25%;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.9); /* More opaque background */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Add a subtle shadow */
}

h1 {
    font-size: 1.8em;
    margin-bottom: 15px;
}

#citySelect {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding in width calculation */
}

#localDateTime {
    font-size: 1.2em;
}

footer {
    background-color: #f0f0f0;
    padding: 10px 20px;
    text-align: center; /* Center the links */
    margin-top: 0;  /* Space between map and footer */
    
}

#cityLinks {
    display: flex;   /* Use flexbox for better link arrangement */
    flex-wrap: wrap;  /* Allow links to wrap on multiple lines */
    justify-content: center; /* Center links horizontally */

}


#cityLinks a {
    text-decoration: none;
    color: #333;
    margin: 5px;   /* Add some margin around links */
    padding: 5px 10px;  /* Add padding to links */
    border-radius: 4px;  /* Round the link corners */
    background-color: #e0e0e0; /* Light background color for links */
    transition: background-color 0.3s ease; /* Smooth hover effect */

}

#cityLinks a:hover {
    background-color: #c0c0c0; /* Darker background color on hover */
}


/* Media Queries for Responsiveness */
@media only screen and (min-height: 720px) {
    #content {
        width: 70%; /* Take up more width on smaller screens */
        left: 15%;        /* Center horizontally */
    }

    footer {
        margin-top: auto; /* Push footer to bottom on small screens */
    }
}