@import url('https://fonts.googleapis.com/css2?family=Nata+Sans:wght@100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    background: #c5e3ff80;
    font-family: "Nata Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

form {
    background: #a3d3ff51;
    padding: 10px;
    /* border: 2px solid black; */
    margin: 50px auto;
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgb(52, 52, 52);
    gap: 10px 0;
}

form h2 {
    color: #0084ffe2;
}

#city-input{
    display:flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap:5px;
    width: 60%;
    align-items: center;
    
}
#btn{
border: none;
width: 100px;
border-radius: 10px;
background: #399fffef;
margin: 10px auto;
padding: 10px;
color: white;
font-weight: bold;
cursor: pointer;
}

.flex{
    display:flex;
    gap: 5px;

}
input[type="text"]{
    border: none;
    padding: 10px;
    border-radius: 6px;
    outline: none;
    font-size: 16px;
    width: 50%;
    background: #bce3ff;
    
}

.weather-display{
    background-color: #a3d3ff;
    padding: 10px;
    border-radius: 12px;

}

#city-option{
    width: 50%;
    border-style: none;
    border-radius: 5px;
    padding: 5px;
    outline: none;
    background: #bce3ff;
} 

@media screen and (max-width: 490px){
    form {
    width: 80%;

}
#city-option{
    width: 90%;
}

.weather-display{
   margin: 0 10px 0 10px;
    padding: 10px;
    border-radius: 12px;

}

#city-input{
    width: 90%;
}
body{
    justify-content:flex-start;
}
}