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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.weatherForm {
    margin: 20px;
}

.cityInput {
    padding: 12px;
    font-size: 1.6rem;
    font-weight: bold;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin: 10px;
    width: 300px;
    outline: none;
}

button[type="submit"] {
    padding: 12px 24px;
    font-weight: bold;
    font-size: 1.6rem;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

.card {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 2.2rem;
    color: #333;
}

p {
    font-size: 1.4rem;
    margin: 8px 0;
    color: #666;
}

.cityDisplay, .tempDisplay {
    font-size: 3.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.humidityDisplay {
    font-weight: bold;
    margin-bottom: 20px;
    color: #555;
}

.descDisplay {
    font-style: italic;
    font-weight: bold;
    font-size: 1.8rem;
    color: #777;
}

.weatherEmoji {
    margin: 0;
    font-size: 7.5rem;
}

.errorDisplay {
    font-size: 2.2rem;
    font-weight: bold;
    color: #dc3545;
}
