* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.weatherForm {
    background:rgba(194, 143, 241, 0.98);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    display: flex;
    gap: 10px;
    max-width: 500px;
    width: 100%;
    
}

.cityInput {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #667eea;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.cityInput:focus {
    border-color: #764ba2;
    box-shadow: 0 0 10px rgba(118, 75, 162, 0.3);
}

.weatherForm button {
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.weatherForm button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(118, 75, 162, 0.4);
}

.weatherForm button:active {
    transform: translateY(0);
}

.card {
    background: linear-gradient(135deg, rgba(149, 73, 220, 0.98) 0%, rgba(217, 191, 255, 0.95) 100%);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    text-align: center;
    max-width: 420px;
    width: 100%;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border: none;
}

.cityDisplay {
    font-size: 3rem;
    color: #390053;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tempDisplay {
    font-size: 2.2rem;
    color: #500480;
    font-weight: 700;
    margin: 10px 0 5px 0;
    letter-spacing: 1px;
}

.humidityDisplay {
    font-size: 2rem;
    color: #500480;
    margin: 5px 0;
    font-weight: 500;
}

.descDisplay {
    font-size: 1.7rem;
    color:#500480;
    margin: 5px 0;
    font-style: italic;
    font-weight: 500;
}

.weatherDisplay {
    font-size: 3.5rem;
    margin: 10px 0;
    filter: drop-shadow(0 2px 8px rgba(102, 126, 234, 0.2));
    line-height: 1;
}

.errorDisplay {
    color: #e74c3c;
    font-size: 1.1rem;
    margin: 0;
    display: block;
    font-weight: 600;
    background: rgba(231, 76, 60, 0.1);
    padding: 12px 20px;
    border-radius: 10px;
    border-left: 4px solid #e74c3c;
}

/* Responsive Design */
@media (max-width: 600px) {
    .weatherForm {
        flex-direction: column;
    }
    
    .cityDisplay {
        font-size: 2em;
    }
    
    .tempDisplay {
        font-size: 3em;
    }
    
    .weatherDisplay {
        font-size: 4em;
    }
}