* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
    outline: none;
    font-family: 'Roboto', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e3f2fd; /* Light blue background */
}

.container {
    width: 90%;
    max-width: 400px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.search-box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-box input {
    width: 70%;
    font-size: 18px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 20px;
    transition: border 0.3s;
}

.search-box input:focus {
    border-color: #2196f3;
    outline: none;
}

.search-box button {
    width: 50px;
    height: 50px;
    background-color: #2196f3;
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    font-size: 20px;
    margin-left: 10px;
    transition: background-color 0.3s;
}

.search-box button:hover {
    background-color: #1976d2;
}

.weather-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.weather-body img {
    width: 80%;
    max-width: 200px; /* Limit the max width for larger screens */
}

.weather-box {
    margin-block: 20px;
    text-align: center;
}

.weather-box .temperature {
    font-size: 48px;
    font-weight: 800;
    color: #333;
}

.weather-box .description {
    font-size: 24px;
    font-weight: 600;
    color: #555;
}

.weather-details {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    align-items: center;
}

.humidity, .windspeed {
    display: flex;
    align-items: center;
}

.weather-details i {
    font-size: 36px;
    color: #2196f3;
}

.weather-details .text {
    margin-left: 10px;
    font-size: 18px;
}

.text span {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.loading {
    text-align: center;
    font-size: 20px;
    color: #2196f3;
    margin-top: 20px;
}

.location-not-found {
    margin-top: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.location-not-found h1 {
    font-size: 20px;
    color: #e53935; /* Red color for error messages */
    margin-block-end: 15px;
}