:root {
    --bg-color: #ffffff;
    --text-color: #000000;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevent scrolling usually */
}

.container {
    width: 90%;
    max-width: 800px;
    text-align: center;
    border: 1px solid var(--text-color);
    padding: 2rem;
    box-sizing: border-box;
}

header {
    border-bottom: 2px solid var(--text-color);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

#location-name {
    font-size: 3rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.sub-header {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-style: italic;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.weather-main {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.temp-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

#weather-icon {
    font-size: 6rem; /* Increased size to match temp roughly */
    margin-bottom: 0; /* Remove bottom margin */
    line-height: 1;
}

#temperature {
    font-size: 8rem;
    font-weight: bold;
    line-height: 1;
}

#condition {
    font-size: 2rem;
    margin-top: 1rem;
    text-transform: uppercase;
}

.weather-details {
    display: flex;
    justify-content: space-around;
    border-top: 2px solid var(--text-color);
    padding-top: 1.5rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.label {
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.value {
    font-size: 1.5rem;
}

/* Response adjustments for smaller screens (or different e-ink sizes) */
@media (max-width: 600px) {
    #temperature {
        font-size: 5rem;
    }
    #location-name {
        font-size: 2rem;
    }
}
