body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; 
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat;
}

.container {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.2); 
    margin-top: 100px;
    color: #ffffff; 
    position: relative;
}

h2,label,p {
    color: #f1ecec;
    margin: 0;
    padding:10px;
}
input {
    width: 100%;
    padding:10px;
    box-sizing: border-box;
    border: 1px solid black;
    margin-top: 12px;
    border-radius: 5px;
}
button {
    background-color:rgb(255, 255, 255);
    color: black;
    padding: 10px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top:20px;
    width: 100%;
    font-size: 16px;
}
button:hover {
    background-color: #e7f9fa;
}
.temp p {
    font-size: 20px;
    margin-top: 20px;
}
.weather-info {
    font-size: 20px;
}
.weather-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    margin-bottom: 0;
    display: none;
}
.weather-icon img {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    display: block;
}
.weather-icon.show {
    display: block;

}

#hourly-forecast, #daily-forecast {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.hourly-item, .daily-item {
    background: rgba(255,255,255,0.8);
    border-radius: 8px;
    padding: 10px;
    min-width: 120px;
    text-align: center;
}