body{
    font-family: arial;
    background: linear-gradient(180deg, hsl(204, 71%, 52%), rgba(255, 255, 255, 0.847));
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    margin:0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.weatherForm{
    margin: 20px;
}

.cityInput{
    padding: 10px;
    font-size: 2rem;
    font-weight: bold;
    border: 2px solid hsla(0,0%,20%,0.3);
    border-radius:10px;
    margin: 0px;
    width: 300px;

}

button[type="submit"]{
    padding: 10px 20px;
    font-weight: bold;
    font-size: 2rem;
    background-color: hsl(122,39%,50%);
    color:white;
    border:none;
    border-radius: 5px;
    cursor:pointer;
}

button[type="submit"]:hover{
    background-color: hsl(122,39%,40%);
}

.card{
    background: linear-gradient(180deg, hsl(210,100%,75%), hsl(0, 0%, 100%));
    padding: 25px;
    box-shadow: 2px 2px 5px hsla(0,0%,0%,0.5);
    border-radius: 10px;
    min-width: 200px;
    max-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.likeDisplay{
    font-style: italic;
    font-size: 0.9rem;
}

.lowHighDisplay{
    font-style: bold;
}

h1{
    font-size: 3rem;
    margin-top:0;
    margin-bottom:25px;

}

p{
    font-size: 1.5rem;
    margin:5px 0;

}

.cityDisplay, .tempDisplay{
    font-weight: bold;
    color:hsla(0,0%,0%,0.75);
    margin-bottom: 10px;
    margin-top: 0;
}

.tempDisplay{
    font-size: 1.75rem;
}

.humidityDisplay{
    font-weight: bold;
    margin-bottom: 10px;
}

.descDisplay{
    font-style: italic;
    font-weight: bold;
    font-size: 1.25em;
}

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

.errorDisplay{
    font-size: 2.5rem;
    font-weight: bold;
    color:black;
    max-width: 600px;
}

#suggestions{
    background: linear-gradient(180deg, rgb(155, 229, 254), rgb(255, 255, 255));
    list-style-type: none;
    border-radius: 5px;
    width: 302px;
    margin-top: 0px;
    padding-left: 0;
    margin-left: 0;
    margin-top: 0;
    transform: translateX(20px);
}

#suggestions li{
    border-bottom: 1px solid black;
    border-radius: 5px;
    cursor: pointer;
    font-family: Arial;
    font-style: italic;
    
}

#suggestions li:hover{
    background-color: rgb(49, 183, 255);
    border-radius: 5px;
    transition: 0.5s ease;
}

.Heading{
    background: linear-gradient(180deg, hsl(229, 100%, 75%), hsl(0, 0%, 100%));
    padding: 0 50px;
    border-radius: 25px;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 2px 2px 5px hsla(0,0%,0%,0.5);
}

.City{
    margin-bottom: 0px;
    text-align: center;
}

@media(max-width: 600px){
    .errorDisplay{
        font-size: 2rem;
        width: 350px;
    }
    .Heading{
        padding: 0 5px;
    }
    .weatherForm{
        margin: 50px;
    }
}

@media(max-width: 400px){
    .errorDisplay{
        font-size: 1.5rem;
        width: 250px;
    }
    .Heading{
        padding: 0 5px;
    }
    .weatherForm{
        margin: 40px;
    }
}