:root {
    --gradient-start-color: #00c6ff; /* Start color of the gradient */
    --gradient-end-color: #004e92; /* End color of the gradient */
    --text-white: #ffffff; /* Standard white color */
    --text-light-white: rgba(255, 255, 255, 0.8); /* Lighter shade of white */
    --text-shadow-color: rgba(0, 0, 0, 0.4); /* Shadow color */
    --bg-semi-transparent: rgba(255, 255, 255, 0.1); /* Semi-transparent background */
    --bg-semi-transparent-white: rgba(255, 255, 255, 0.43); /* Semi-transparent white */
}

.weather-container {
    max-width: 500px;
    margin: auto;
    padding: 10px;
    background: radial-gradient(circle, var(--gradient-start-color), var(--gradient-end-color)); /* Blue gradient */
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    color: var(--text-white); /* White font color */
}

.weather-timestamp {
    font-size: 14px;
    font-weight: 300;
    text-align: center;
    margin: 10px 0;
    color: var(--text-light-white); /* Lighter shade of white */
    line-height: 1.2;
    text-shadow: 1px 1px 2px var(--text-shadow-color); /* Added shadow */
}

.weather-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    font-weight: 500;
}

.weather-city {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white); /* White font color */
    margin-top: 20px;
    text-shadow: 2px 2px 4px var(--text-shadow-color); /* 3D effect */
    margin-bottom: 10px;
}

.weather-date {
    font-size: 16px;
    padding: 10px;
    color: var(--text-white); /* White font color */
    text-shadow: 1px 1px 2px var(--text-shadow-color); /* Added shadow */
}

.weather-description {
    font-size: 18px;
    color: var(--text-white); /* White font color */
    display: flex;
    align-items: center;
    margin-top: 5px;
    text-shadow: 1px 1px 2px var(--text-shadow-color); /* Added shadow */
}

.weather-description img {
    margin-right: 10px;
    max-width: 80px;
    background-color: var(--bg-semi-transparent-white); /* Semi-transparent white */
}

.weather-temp {
    font-size: 60px;
    font-weight: 700;
    color: var(--text-white); /* Retain this color for temperature */
    margin-top: 35px;
    margin-bottom: 25px;
    text-shadow: 3px 3px 8px var(--text-shadow-color); /* 3D effect */
}

.temp-unit {
    font-size: 0.6em;
    font-weight: 300;
    color: var(--text-white); /* White font color */
    text-shadow: 1px 1px 2px var(--text-shadow-color); /* Added shadow */
}

/* Update this section for label and data alignment */
.weather-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    margin-bottom: 20px;
    margin-left: 10%;
    margin-right: 10%;
    background-color: var(--bg-semi-transparent); /* Semi-transparent background */
    padding: 17px;
    border-radius: 8px;
}

.weather-details div {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Align items vertically */
    font-size: 14px;
    color: var(--text-white); /* White font color */
    line-height: 1.2;
    padding: 0 10px; /* Add padding for tighter grouping */
    text-shadow: 1px 1px 2px var(--text-shadow-color); /* Added shadow */
}

.weather-label {
    text-align: left;
    font-weight: 500;
    margin-right: 10px; /* Adjust space between label and data */
}

.weather-data {
    text-align: right;
    font-weight: 600;
    text-shadow: 1px 1px 2px var(--text-shadow-color); /* Added shadow */
}
