body {
    background-image: url('Image.jpg');
    background-size: cover; 
    font-family: Arial, sans-serif;
    color:#333;
    padding: 20px;
    display:flex;
    justify-content: center;
    align-items: center;
    height: 90vh; 
    margin:0;
}

.container{
    max-width:400px;
    height:50vh;
    margin:auto;
    padding:20px;
    border-radius:8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    background-image: url('img.jpg'); 
}

pre{
    text-align: center;
}

h1{
    text-align: center;
    color: #00796b;/* Dark teal color for heading */
}

label{
    display:block;
    margin-top:15px;
    font-weight: bold; 
}

input{
    width:90%;
    padding:8px;
    margin-top: 5px;
    border: 1px solid #009688; /* Teal border */
    border-radius: 5px;
    font-weight:bold;
}

button{
    margin-top:10px;
    padding: 10px 15px;
    background-color: #00796b; /* Teal button */
    color: white;
    border:none;
    font-weight: bold; 
    border-radius: 5px;
    cursor:pointer;
}

button:hover {
    background-color: #005b4f; /* Darker teal on hover */
}

button:active {
    background-color: #004d40; /* Even darker teal when button is clicked */
}

.result {
    padding: 60px; 
    background-image: url('img.jpg'); 
    border-radius: 10px; 
    min-width: 300px;
    margin-top: 50px; 
    margin-bottom: 50px; 
    position:absolute;
    text-align: center; 
    display: none; 
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    z-index:1;
}

/* Weather Result Text */
.cityDisplay,.tempDisplay{
    font-size:3rem;
    font-weight: bold;
    color:#333;
    margin-top: 10px;
    text-align:center;
}
.tempContainer {
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 10px; 
}

.tempMin, .tempMax {
    font-size: 1rem; 
    color: #333; 
    text-align: center; /
}

.humidityDisplay, .speedDisplay{
    text-align:center;
    font-size:1rem;
    margin-bottom: 10px; 
}

.weatherEmoji{
    font-weight: bold;
    text-align:center;
    margin-bottom: 10px;
    font-size: 4rem; 
}

.descDisplay{
    font-style: italic;
    font-weight:bold;
    font-size: 1.5rem;
    text-align:center;
  
}   

.errorDisplay{
    font-size:1.5rem;
    font-weight: bold;
    color: red;
}

/* Media Queries for Responsiveness */
@media (max-width: 600px) {
    .container {
        padding: 15px;
        max-width: 90%;
    }

    h1 {
        font-size: 1.5rem;
    }

    input, button {
        font-size: 1rem;
    }

    .cityDisplay, .tempDisplay {
        font-size: 2.5rem;
    }
}
