body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    color: #424242;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
}

header,
footer,
main {
    box-sizing: border-box;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-top: 0px;
    font-size: 1.2em;
    align-self: center;
}

main {
    padding: 1em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
    margin-left: auto;
    margin-right: auto;
    min-height: 100%;
    width: 100%;
}

.hr_style {
    border: 0;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, #ccc, #333, #ccc);
}


/*
 *
 * Header
 *
 */

.header {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
    min-height: 56px;
    display: flex;
}

.header__inner {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    flex-flow: column;
}

.header__title {
    font-weight: 500;
    font-size: 4em;
    margin: 0.5em 0.25em;
    color: #212121;
    align-self: center;
}


/*
 *
 * Weather
 *
 */

.weather__content {
    margin: 2em 0 0 0;
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: center;
}

.weather {
    flex-grow: 1;
    align-self: center;
    margin: 2em 0 0 0;
}

.weather__location {
    font-size: 3em;
}

.weather__desc {
    display: block;
    font-size: 2em;
}

.weather__today {
    flex-grow: 1;
    align-self: center;
    margin: 2em 0 0 0;
}

.weather__today__image {
    vertical-align: middle;
}

.weather__today__temp {
    font-size: 3em;
}

.weather__today__deg {
    font-size: 2em;
    display: inline;
}

.weather__next {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}

.weather__next__item {
    display: inline-block;
    text-align: center;
}

.weather__next__item span {
    display: block;
}

#time2,
#time3,
#time4,
#time5,
#time6,
#time7 {
    margin-bottom: 0.7em;
    margin-top: 3em;
}

#day2,
#day3,
#day4,
#day5,
#day6,
#day7 {
    margin-top: 0.4em;
}

.location__container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 3em 0 0 0;
}

.fa {
    font-size: 1.5em;
    margin-right: 0.5em;
    align-self: center;
}

#location_long {
    font-size: 1.2em;
    margin: 0 0 0 0;
    align-self: center;
}

.forecast_container {
    display: flex;
    padding-top: 10px;
    flex-direction: row;
    justify-content: center;
}

.weather__forecast {
    align-self: center;
    font-size: 1.5em;
    text-align: center;
    padding-bottom: 10px;
}


/*
 *
 * Footer
 *
 */

.footer {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.26);
    min-height: 56<px;
    display: flex;
    flex-direction: row;
    text-align: center;
    justify-content: center;
}

.footer_box_1 {
    font-size: 0.9em;
    flex-grow: 1;
    margin-top: 1em;
    margin-bottom: 2em;
    align-self: center;
}

.footer_box_2 {
    margin-top: 2em;
    font-size: 0.9em;
    flex-grow: 1;
    align-self: center;
}


/*
 *
 * Media queries
 *
 */

@media screen and (max-width: 549px) {
    body {
        width: 300px;
        margin-right: auto;
        margin-left: auto;
    }
    .header__title {
        margin-left: 0;
        font-size: 2em;
    }
    .weather__desc {
        display: block;
        font-size: 1em;
    }
    .weather__location {
        font-size: 2em;
    }
    .weather__today__temp {
        font-size: 2.5em;
    }
    .Weather__content {
        margin: 0 0 0 0;
        flex-direction: column;
    }
    /* .weather__today__image {
        width: 60px;
        height: 60px;
    }
    .weather__next__image {
        width: 60px;
        height: 60px;
    }*/
}

@media screen and (min-width: 550px) {
    body {
        width: 400px;
        margin-right: auto;
        margin-left: auto;
    }
    .header__title {
        margin-left: 0;
        font-size: 3em;
    }
    .weather__location {
        font-size: 2em;
        margin-right: 0px;
    }
    .weather__desc {
        display: block;
        font-size: 1.5em;
    }
    .weather {
        margin: 0 0 0 0;
    }
    .weather__today {
        margin: 0 0 0 0;
    }
}

@media screen and (min-width: 700px) {
    body {
        width: 650px;
        margin-right: auto;
        margin-left: auto;
    }
    .header__title {
        margin-left: 0;
        font-size: 3.5em;
    }
    .weather__location {
        font-size: 2.5em;
    }
}

@media screen and (min-width: 850px) {
    body {
        width: 700px;
        margin-right: auto;
        margin-left: auto;
    }
    .header__title {
        margin-left: 0;
        font-size: 4em;
    }
    .weather__location {
        font-size: 3em;
    }
}