body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: 300% 300%;
}  
  
.app {
    background: rgba(255, 255, 255, 0.15);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
    text-align: center;
    width: 300px;
}
  
.search-box {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
  
input[type="text"] {
    flex: 1;
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    outline: none;
}
  
button {
    padding: 0.5rem 1rem;
    background: #0077ff;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
  
button:hover {
    background: #005ccc;
}
  
.weather-card {
    display: none;
    margin-top: 1rem;
    text-align: left;
}
  
.loader {
    display: none;
    margin: 1rem auto;
    border: 6px solid #f3f3f3;
    border-top: 6px solid #0077ff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}
  
@keyframes spin {
    to { 
        transform: rotate(360deg); 
    }
    
}
  
:root {
    background: hsla(141, 81%, 87%, 1);
    background: linear-gradient(90deg, hsla(141, 81%, 87%, 1) 0%, hsla(41, 88%, 75%, 1) 50%, hsla(358, 82%, 71%, 1) 100%);
    background: -moz-linear-gradient(90deg, hsla(141, 81%, 87%, 1) 0%, hsla(41, 88%, 75%, 1) 50%, hsla(358, 82%, 71%, 1) 100%);
    background: -webkit-linear-gradient(90deg, hsla(141, 81%, 87%, 1) 0%, hsla(41, 88%, 75%, 1) 50%, hsla(358, 82%, 71%, 1) 100%);
    filter: 
    progid: DXImageTransform.Microsoft.gradient(startColorstr="#C5F9D7", endColorstr="#F7D486", GradientType=1);    
}

.q {
    background: hsla(227, 100%, 84%, 1);
    background: linear-gradient(90deg, hsla(227, 100%, 84%, 1) 0%, hsla(317, 29%, 42%, 1) 100%);
    background: -moz-linear-gradient(90deg, hsla(227, 100%, 84%, 1) 0%, hsla(317, 29%, 42%, 1) 100%);
    background: -webkit-linear-gradient(90deg, hsla(227, 100%, 84%, 1) 0%, hsla(317, 29%, 42%, 1) 100%);
    filter: 
    progid: DXImageTransform.Microsoft.gradient(startColorstr="#ABBDFF", endColorstr="#894B77", GradientType=1);
}