:root{
    margin: 0;
    padding: 0;
    box-sizing: content-box;
}


/* Title Area*/

body{
    display: flex;
    flex-direction: column;
    align-content: center;
}

#title{
    text-align: center;
    font-size: 3em;
    margin: 0;
    margin-bottom: 0.5em;
    background-color: cornflowerblue;
    color: black;
}

#bodyGrid{
    display: grid;
    grid-template-columns: 1fr 3fr;
}


/* Options Container-----------------------------------------------*/
#optionsContainer{
    padding-right:1em;
    justify-content: center;
    align-items: center;

}

#searchContainer{
    padding-bottom: 1.5px;
    border-bottom: 2.5px solid rgba(31, 31, 31, 0.342);
}

#searchContainer p{
    font-weight: 600;
    font-size: 1.5em;
    margin: 0;
    padding: 0;
}

/* Everything Buttons */
button{
    width: 100%;
    margin: 5px;
    font-size: 1.25rem;
    font-weight: 500;
    min-width: 200px;
}

button:hover {
    cursor: pointer;
    transition: transform 300ms;
    transform: scale(1.05);
    background-color: rgba(38, 128, 38, 0.808);
}

button:focus {
    outline:0;
}

#searchContainer button{
    background-color: cornflowerblue;
}
#searchContainer button:hover{
    background-color: rgba(38, 128, 38, 0.808);
}

/* Text Area Mods */
textarea{
    width: 100%;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    resize: none;
}


/* Weather Container-----------------------------------------------*/
    /*UV Colours*/
.uVGreen{
    background-color: rgb(53, 105, 0);
    color: cornsilk;
}

.uVYellow{
    background-color: rgb(246, 230, 3);
    color: rgb(15, 15, 15);
}

.uVOrange{
    background-color: rgb(255, 157, 0);
    color: rgb(15, 15, 15);
}

.uVRed{
    background-color: rgb(231, 0, 0);
    color: rgb(0, 0, 0);
}

#weatherContainer{
    display:flex;
    flex-direction: column;
}

#day1WeatherContainer{
    border: 2.5px solid rgba(31, 31, 31, 0.342);
    padding: 1em;
}

#day1Title{
    display:flex;
    justify-content: space-between;
    font-size: 2.75rem;
    font-weight: 600;
    
}

#day1Temp, #day1Wind, #day1Humidity, #day1UVIndexNo{
    font-size: 1.5rem;
}



#day1WeatherContainer p{
    font-weight: 600;

}

#day1Title p{
    padding:0;
    margin:0;
}

#day5Forecast{
    font-weight: 600;
    font-size: 2em;
    padding:0;
    margin:0;
    padding: 0.5em 0em 0.5em 0em;

}

#fiveDayWeatherContainer{
    display: grid;
    grid-template-columns:repeat(5,1fr);
    grid-auto-rows:minmax(3em,auto);
    grid-gap:1em;
}

.dayContainer{
    background-color: cornflowerblue;
    color: black;
    font-size: 1.25em;
    padding: 0.25em;
    font-weight: 600;
    text-align: center;
}

.dayContainer p:first-child{
    font-size: 2rem;
}

.dayContainer i{
    font-size: 4rem;
}

/* Weather Container-----------------------------------------------*/

@media only screen and (max-width: 1145px) {
    #bodyGrid{
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;       
    }

    #optionsContainer{
        width: 100%;
    }

    #weatherContainer{
        width: 100%;
    }
  }

 

  @media only screen and (max-width:  849px) {
    #fiveDayWeatherContainer{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center; 
        width: 100%;
        text-align: center;
        
    }
    #fiveDayWeatherContainer div{
        width: 100%;
    
    }

    #weatherContainer{
        width: 100%;
    }
  }

  @media only screen and (max-width:  480px) {
    #day1Title{
        display: block;
    }

    #day1WeatherContainer{
        text-align: center;
    }

    #searchContainer{
        text-align: center;
    }

    #day5Forecast{
        text-align: center;
    }
  }