@import url("https://fonts.googleapis.com/css?family=Ubuntu");
* {
    box-sizing: border-box;

}
article,
aside,
footer,
header,
nav,
section,
main,
figcaption,
figure {
    display: block;
    width: 100%
}
body {
    align-items: center;

}

main {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
}
ul li{
    list-style-type: none;

}


nav ul{

    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    bottom: 0px;
   /* position: fixed;*/
}



.title h1 {
    align-items: flex-end;
}

footer {
    padding-bottom: 4.4em;
}

.currentconition {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;
}

.hourly-forecast {
    visibility: hidden;
}
.container {
    display: flex;
    flex-flow:column nowrap;
    align-items: center;
}

.overview h2{
    display: flex;
}
main {
    background-image: url("../img/sunny-winter.jpg");
    background-size: cover;
}
body {
    font-family: Helvetica;
    font-size: 20px;
    margin:0;
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Ubuntu", fantasy, sans-serif;

}
nav a:link {
    text-decoration: none;
    color: #47556F;
}

a:visited {
    color:green;
}
nav a:hover {
    background-color: yellow;
}
nav a:active {
    color: yellow;
}
.current-conditions {
    background-color: rgba(200,200,200,.6);
    margin: .2em auto;
    border: 1px solid;
    border-radius: 5px;
}
h1 span {
    transform: rotate(25deg);
    display: inline-block;
}
.overview h3, .overview p {
    color: black;
}
.overview h1{
    background-color: rgba(200,200,200,.6);
    margin: .2em auto;
    border: 1px solid;
    border-radius: 5px;
}

.currentconition{
    background-color: rgba(200,200,200,.6);
    margin: auto;
    border: 1px solid;
    border-radius: 5px;
}
.footer {
    width: 100%;
    background-color: lightgray;
    margin: auto;
    border: 1px solid;
    border-radius: 5px;
}
.footer ul li{
    align-items: center;
}

.navbar a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding-right: 5px;
    padding-top: 14px;
    padding-bottom: 14px;
    text-decoration: none;
    font-size: 17px;
}
.navbar {
    display: flex;
    flex-basis: auto;
    padding:0px;
    border: none;
    overflow: hidden;
    background-color: salmon;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.middlebox h2{
    justify-content: center;
    font-size: 75px
}
.title h1 {
    align-self: flex-end;
    background-color: lightblue;
        margin:0;
}

@media screen and (min-width: 34em) {
    .title h1:nth-child(2) {
        width: 20em;
        align-self: stretch;
    }
    .navbar {position: static;}
    .hourly-forecast {
        visibility: visible;
}
    main {
        flex-direction: row;
        align-items: stretch;

    }
    main > section {
        flex: 1 0 30%;
    }
    .overview h1, .currentconition, .current-conditions {
        margin: 0;
        border: none;
        border-radius: 0px;}
    .current-conditions{
        background:none;
        order:-1;
    }
    .overview {
        background-image: url("../img/sunny-winter.jpg");
        background-size: cover;
    }
    main {
        background-image: none;
        background-color: slategray
    }
    .current-conditions, .hourly-forecast{
        max-height: 12em;
        overflow: auto;
    }
    .hourly-forecast ul {
        list-style-type: none;
        padding-left: 0;
        max-height: 12em;
        overflow: auto;
    }
    .hourly-forecast ul li {
        display: flex;
        justify-content: space-around;

    }
    body {
        max-width: 800px;
        margin: auto;
    }


}




