body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    color: #333;
}

header {
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    text-align: center;
    background-image: url('/mnt/data/image.png');
    background-size: cover;
    background-position: center;
}

#main-content {
    display: flex;
    flex: 1;
}

#sidebar {
    background-color: #34495e;
    color: white;
    padding: 20px;
    min-width: 220px;
    background-image: url('/mnt/data/image.png');
    background-size: cover;
    background-position: center;
}

nav {
    display: flex;
    flex-direction: column;
}

.nav-button {
    margin: 10px 0;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    text-align: left;
    position: relative;
    border-radius: 5px;
    font-size: 1em;
}

.nav-button i {
    margin-right: 10px;
}

.nav-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.nav-button::after {
    content: attr(title);
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    margin-left: 10px;
    font-size: 0.8em;
}

.nav-button:hover::after {
    opacity: 1;
}

#content {
    flex: 1;
    padding: 20px;
    background-color: white;
    overflow-y: auto;
}

.game-section {
    display: none;
}

.game-section.active {
    display: block;
}

.status {
    margin: 10px 0;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.resource {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 1.1em;
}

.action-button {
    margin: 5px;
    padding: 10px;
    background-color: #27ae60;
    color: white;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    border-radius: 5px;
    font-size: 1em;
}

.action-button i {
    margin-right: 5px;
}

.action-button:hover {
    background-color: #2ecc71;
}

.main-button {
    margin: 5px;
    padding: 10px;
    background-color: #555;
    color: white;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    border-radius: 5px;
    font-size: 1em;
}

.main-button i {
    margin-right: 5px;
}

.main-button:hover {
    background-color: #777;
}

footer {
    text-align: center;
    padding: 10px;
    background-color: #2c3e50;
    color: white;
    border-top: 1px solid #34495e;
}

footer button {
    margin: 5px;
    padding: 10px;
    background-color: #555;
    color: white;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    border-radius: 5px;
    font-size: 1em;
}

footer button:hover {
    background-color: #777;
}

.event-log {
    background-color: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 10px;
    border-radius: 5px;
}

.notification {
    background-color: #ffd700;
    color: #333;
    padding: 10px;
    border: 1px solid #333;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000;
    border-radius: 5px;
    font-size: 1em;
}

#city-stats, #city-resources {
    display: flex;
    flex-wrap: wrap;
}

.resource {
    flex: 1 1 45%;
    margin: 5px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}
