/*This is my screen css file*/
/*@imports comes first.*/

@import url('https://fonts.googleapis.com/css?family=Sansita');
@import url('normalize.css');

* {
    box-sizing: border-box;
    /* changes width property
    to total width instead of content width */
}

*:before,
*:after {
    box-sizing: border-box;
}

article,
aside,
footer,
header,
nav,
section,
main,
figcaption,
figure {
    display: block;
    /* just in case we have
    any older browsers that don't recognize
    the HTML5 semantic elements */
}

body {
    margin: 0;
    /* remove any margin from body */
    padding: 0;
    /* ditto for padding */
    font-size: 20px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Sansita, arial, sans-serif;
}

.hide{
    display: none;
}

.show{
    display: block;
}

#status{
    text-align: center;
    font-size: 2vw;
}

/* Mobile rules*/

header, nav ul, h1, #locationInfo{
    display: flex;
}


header{
    background-color: #0e89d5;
    justify-content: flex-start;
}


.logo {
    font-size: 2em;
    padding-top: 5px;
}


.site-title {
    font-size: 2em;
    font-weight: 300;
}

h1{
    margin-top: 0px;
    margin-bottom: 0px;
    padding-left: 5px;
}

.n{
    transform: rotate(0deg);
}

.ne{
    transform: rotate(45deg);
}

.nw{
    transform: rotate(315deg);
}

.s{
    transform: rotate(180deg);
}

.se{
    transform: rotate(135deg);
}

.sw{
    transform: rotate(225deg);
}

.e{
    transform: rotate(90deg);
}

.w{
    transform: rotate(270deg);
}


#locationInfo {
    width: 100%;
    display: flex;
    font-size: .65em;
    padding-left: 5px;
}

nav {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #0e89d5;
}


nav ul {
    display: flex;
    justify-content: space-around;
    margin: 5px;
    padding: 0px;
}

nav ul li {
    list-style: none;
    height: auto;
    padding: 3px;
}

#hourly ul{
    list-style: none;
}


nav a:link {
    text-decoration: none;
    color: #fff;
}

nav a:visited {
    color: #fff;
}

nav a:hover {
    color: #000;
}

nav a:active {
    color: #FFF;
}

#curWeather {
    background-size: cover;
    border: 1px solid;
    margin: .2em auto;

}

.clear{
   background-image: url(/weather/images/weather-images/clear-600x500.jpg);
}

.clouds{
    background-image: url(/weather/images/weather-images/clouds-600x500.jpg);
}

.fog{
    background-image: url(/weather/images/weather-images/fog-600x500.jpg)
}

.rain{
    background-image: url(/weather/images/weather-images/rain-600x500.jpg)
}

.snow{
    background-image: url(/weather/images/weather-images/snow-600x500.jpg)
}


#smallConditions {
    display: flex;
    justify-content: space-around;
    background-color: rgba(200, 200, 200, .8);
    margin: 0.5em;
    padding: 0px 0px 0px 20px;
    border: 1px solid;
    border-radius: 15px;
}

#temps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 5px auto;
    max-width: 170px;
}

#temps h3 {
    font-size: 3em;
    margin-top: 5px;
    margin-bottom: 5px;
}

#tempRightNow {
    padding-left: 20px;
}

#hot {
    color: red;
    padding-left: 26px;
    margin: 0px;
}

#cold {
    color: blue;
    padding-left: 15px;
    margin: 0px;
}


#feels{
    margin: 0;
    padding-left: 15px;
}

#dial {
    height: 150px;
    width: 150px;
    background: no-repeat center/85% url('/weather/images/wind-pointer.png');

}

#wind {
    display: flex;
    flex-flow: column nowrap;
    text-align: center;
    margin: 10px auto;
}

#wind p {
    margin: 0px;
}

#speed {
    position: absolute;
    padding-top: 80px;
    padding-left: 50px;
}


h2 {
   display: none;
}

#video {
    background-color: rgba(200, 200, 200, .8);
    margin: 10px;
    border: 1px solid;
    border-radius: 15px;
}


#video img {
    display: block;
    margin: 10px auto;
    }

#hourly h3{
    display: none;
}

#hourly ul {
    display: flex;
    overflow-x: scroll;
    background-color: gray;
    color: white;
    padding-left: 0px;
}

#hourly li{
    padding: 10px;
    flex: 0 0 auto;
}

footer {
    margin-bottom: 2em;
    background-color: #0e89d5;
}

/* Large Screens: 850px or 42.5em*/

@media screen and (min-width: 850px) {

    body>div {
        max-width: 1100px;
        margin: 0 auto;
    }

    h2 {
        display: block;
        margin: .25em 0;
    }

    .site-title {
        font-size: 3em;
    }

    .logo {
        font-size: 3em;
        padding: 5px;
    }

    nav {
        position: relative;
        font-size: 1.6vw;
        padding: 10px 0px;
        width: auto;
    }

    h1 {
        font-size: 2em;
    }

    #locationInfo {
        font-size: 1.5vw;
    }

    #smallConditions #wind{
        margin-left: 80px;
    }

    #curWeather {
        display: flex;
        justify-content: center;
        padding: 1em 0;
        width: auto;
    }

    .clear{
        background-image: url(/weather/images/weather-images/clear-1100x350.jpg);
    }

    .clouds{
        background-image: url(/weather/images/weather-images/clouds-1100x350.jpg);
    }

    .fog{
        background-image: url(/weather/images/weather-images/fog-1100x350.jpg)
    }

    .rain{
        background-image: url(/weather/images/weather-images/rain-1100x350.jpg)
    }

    .snow{
        background-image: url(/weather/images/weather-images/snow-1100x350.jpg)
    }

    #smallConditions {
        background-color: transparent;
        margin: 0;
        padding: 0;
        border: none;
    }

   #temps{
        background-color: rgba(200, 200, 200, .6);
        margin: 0;
        border: 1px solid;
        border-radius: 15px;
        padding: .1em;
        width: 250px;
        height: 270px;
        display: flex;
    }

    #temps {
        max-width: 100%;
    }

    #smallConditions #temps h2{
      padding-left: 40px;
    }

    #tempRightNow {
        padding-left: 37px;
    }

    #hot {
        padding-left: 75px;
    }


    #feels {
        padding-left: 60px;
    }

    #dial img{
        display: none;
    }

    #dial {
        height: 150px;
        width: 150px;
        background: no-repeat center/85% url('/weather/images/wind-pointer.png');
        margin: -.6em auto 0;
    }


    #speed {
        padding-top: 120px;
        padding-left: 95px;
    }

    #wind{
        background-color: rgba(200, 200, 200, .6);
        margin: 0;
        border: 1px solid;
        border-radius: 15px;
        padding: .1em;
        width: 250px;
        height: 270px;
        display: flex;
    }


    #wind{
        text-align: center;
    }

    #video{
        background-color: rgba(200, 200, 200, .6);
        margin: 0;
        border: 1px solid;
        border-radius: 15px;
        padding: .1em;
        width: 250px;
        height: 270px;
        display: flex;
    }

    #video {
        flex-direction: column;
        align-items: center;
        margin: 0 0 0 80px;
        min-width: 200px;
    }

    #video img {
        width: 200px;
    }

    #hourly {
        background-color: rgba(200, 200, 200, .6);
        margin: .2em auto;
        border: 1px solid;
        border-radius: 15px;
        align-items: center;
        margin: .50em 0;
        height: 90px;
        overflow: hidden;

    }

    #hourly > h2 {
        font-size: 20px;
        margin-left: 5px;
    }

    .linha {
        border: 1px solid #000;
        margin-top: 15px;
        margin-bottom: 7px;
    }

    #temps h3 {
        font-size: 4.5em;
        }

}
