body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-image: url(bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.container {
    background: rgba(0, 0, 0, 0.74);
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    height: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.container img {
    height: 80%;
    width: 100%;
}

h1 {
    margin-bottom: 20px;
    font-size: 1.5em;
    word-wrap: break-word;
}

.input-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

#locationInput {
    padding: 10px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    margin-right: 10px;
    width: 100%;
    max-width: 200px;
    box-sizing: border-box;
}

#fetchWeather {
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #00f2fe;
    color: #fff;
    transition: background-color 0.3s;
    width: 100%;
    max-width: 200px;
}

#fetchWeather:hover {
    background-color: #4facfe;
}

.weather-data {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 1em;
    word-wrap: break-word;
}

@media (max-width: 600px) {
    #locationInput {
        width: 100%;
        margin-bottom: 10px;
    }

    #fetchWeather {
        width: 100%;
    }
}