/* @import url('https://fonts.googleapis.com/css?family=Raleway:100,400,500,700,900&display=swap'); */

*{
    font-family: 'Raleway', sans-serif;  
}
/* EXTRA WHITE SPACE */

html {  box-sizing: border-box; }
*, *:before, *:after {  box-sizing: inherit; }

.navigation{
    font-size: 0px;
}
.navigation > *{
    font-size: 1rem;
}

#pancakes {
    background-color: rgb(0, 157, 230);
    padding: 1px;
    text-align: center;
    color: white;
    font-size:1em;
    font-weight: 700;
}

.hidden{
    display: none;
}

.active-page{
    font-weight: 700;
}

body{
    min-width: 300px;
    background-image: url("/cit230/super-accurate-weather/images/preston-background.jpg");
    background-size: cover;
    background-position: center bottom;
    background-attachment: fixed;

}

header{
    text-align: center;
    background-color: rgb(250, 250, 250);
    
}
header img{
    width: 300px;
}

header .white-logo{
    display: none;
}

header nav ul{
    list-style-type: none;
    text-align: center;
    padding: 0;
    margin: 0 !important;
    
}

header nav a{
    display: block;
    padding: 10pt;
    text-transform: uppercase;
    letter-spacing: 3pt;
    border-top: 1px rgb(250, 250, 250) solid;
    background-color: #353535;
    text-decoration: none;
    color: white;
    font-size: .8em;
    transition: 0.7s;
}

header nav a:hover{
    text-decoration: none;
    color: black;
    background-color: rgb(230, 230, 230);
    letter-spacing: 6pt;

}

nav a:visited{
    text-decoration: none;
    color: white;
}


.navigation li:first-child {
	display: block;
}

.navigation li {
    display: none;
}

.responsive li {
    display: block;
    opacity: 0;
    animation-name: menu;
    animation-duration: .6s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}
        @keyframes menu{
            0%{
                opacity: 0
            }
                
            100%{
                opacity: 1
            }
        }

        
footer{
    background-color: #353535;
    margin:0px;
    padding: 10pt;
    color: white;
    text-align: center;
}

footer p{
    margin:5px;
}


/*-----------------HOME PAGE------------------ */

#home main{
    max-width: 1200px;
    margin: 20px auto 50px auto;
    text-align: center;
}

#home h1{
    font-size: 3em;
    margin: auto;
    padding: 10px 40px;
}

.town-data{
    display: grid;
    grid-template-columns: 1fr;
    margin: 30px auto;
}

.town-data figure{
    background-color: rgb(248, 248, 248);
    width: 350px;
    border-radius: 5pt;
    margin: 20px auto;
    box-shadow: 0pt 0pt 20pt rgba(0, 0, 0, 0.3);

    transition: .3s ease-in-out;
    cursor: pointer;

}

.town-data figure:hover{
    transform: scale(1.08);
    transition: .3s ease-in-out;
}


.town-data img{
    width: 100%;
    border-radius: 5pt 5pt 0 0;
}

.town-data h2{
    font-size: 2.8em;
    font-weight: 200;
    margin-bottom: 0;
}

.town-data h3{
    font-size: 1em;
    height: 2em;
    font-weight: 700;
    margin-top: 5pt;
    font-style: italic;
    color: rgb(37, 37, 37);
    padding: 0 50px;
}

.town-data figcaption{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: baseline;
    padding: 10px 30px;
}

.town-data h4{
    font-size: .7em;
    letter-spacing: 1pt;
    font-weight: 700;
    margin-top: 5pt;
    text-transform: uppercase;
    height: 1.6em;
    vertical-align: middle;
    color: rgb(160, 160, 160);

}

.town-data p{
    font-size: 2em;
    font-weight: 300;
    margin-top: 0;
    color: rgb(105, 105, 105);
}

/*-----------------PRESTON PAGE------------------ */

#preston main, #fish-haven main, #soda-springs main{
    padding:25px;
    max-width: 1000px;
    min-width: 300px;
    margin: auto;

}

#preston .heroimg{
    background-image: url("/cit230/super-accurate-weather/images/preston-cover.jpg");

}
.heroimg{
/* The image used */
    /* background-image: url("/cit230/lesson5/images/preston-cover.jpg"); */
    padding: 25px;

    min-height: 200px; 

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    margin-bottom: 30px;

}

.heroimg h1{
    font-size: 3.6em;
    font-weight: 700;
    border-left: .2em solid rgb(0, 157, 230);
    padding-left: .3em;
    margin-top: 0px;
    color: white;
    text-shadow: 2px 2px 15px  #00000062;
  
}

.heroimg section{
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10pt;
    color: white;
    display: inline-block;
    width: 200px;
}

.heroimg h2{
    text-transform: uppercase;
    font-size: .9em;
    margin-top: 0px;
    border-bottom: white 1px solid;
}

.heroimg p{
    margin: 2px;
    font-size: .8em;
    letter-spacing: 1pt;

}

#weather-icon{
    margin: -10px 0;
}

main a:link{
    text-decoration: none;
    color: black;
}

main a:hover{
    text-decoration: none;
    color: rgb(0, 157, 230);
}

main a:visited{
    text-decoration: none;
    color: black;
}

.forecast5{
    display: none;
}

.forecast5 img{
    width: 30px;
}

#digital-clock{
    font-size: 2em;
    margin: 0 0 10 0;
}


#weather-map{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border: 4px #353535 solid;
    background-image: url("/cit230/super-accurate-weather/images/weather-map.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#weather-map img{
    width: 100%;
}



#todo-list{
    font-weight: 700;
    margin-bottom: 15px;
}
#todo-list a:hover{
    color: rgb(0, 157, 230);
}


#todo-img img{
    width: 100%;
}
#todo-info p{
   font-size: .8em;
   margin: 0;
}

#todo-info h3{
    padding: 3pt 0pt;
    display: inline-block;
    letter-spacing: 2pt;
    font-weight: 700;;
}
#todo-info h4{
    margin-top:5pt;
}

.crossed-out{
    color: rgb(177, 177, 177);
    text-decoration: line-through;
    font-weight: 400;
}

.section-container section{
    margin-bottom: 30pt;
}


.section-container h2{
    text-transform: uppercase;
    letter-spacing: 3pt;
    font-size: 1em;
    font-weight: 700;
    display: inline-block;
    background-color: #353535;
    color: white;
    padding: 5pt 10pt;
    max-width: 350px;
    border-left: .5em solid rgb(0, 157, 230);

}

.section-container td, .section-container th{
    text-align: left;
    padding: 8pt;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
}

.section-container article, .events-container{
    padding: 25pt 15pt 15pt;
    background-color: rgba(255, 255, 255, 0.7);
    margin-top: -25pt;
    border-radius: 0pt 10pt 10pt 10pt;
    line-height: 1.3em;
}


.article-date{
   margin-top: 0px;
   padding-bottom: 10px;
   display: block;
   font-weight: 700;
}

.section-container article img{
    width: 100%;
}

.events-container p{
    color: white;
    background-color: #606060;
    border-radius: 3px;
    margin-bottom: 5px !important;
    padding: 15px 20px;
    transition: .3s;

}

.events-container p:hover{
    background-color: rgb(0, 157, 230);
    cursor: pointer;
}


#contact iframe{
    display: none;
}

.section-container h3{
    font-size: 1em;
    margin: 0px;
}
.section-container address{
    font-style: normal;
    font-size: .9em;
    padding: 10px;
}

/*-----------------FISH HAVEN PAGE------------------ */
#fish-haven .heroimg{
    background-image: url("/cit230/super-accurate-weather/images/fish-haven.jpg")
}

/*-----------------SODA SPRING PAGE------------------ */
#soda-springs .heroimg{
    background-image: url("/cit230/super-accurate-weather/images/soda-springs.jpg")
}

/*-----------------GALLERY PAGE------------------ */


#weather-gallery-title{
    background-image: url("/cit230/super-accurate-weather/images/weather-gallery-cover.jpg");
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    /* background-attachment: fixed; */

}

#gallery h1{
    font-size: 3.6em;
    font-weight: 700;
    text-align: center;
    margin-top: 0px;
    padding:100px 10px;
    color: white;
    text-shadow: 0px 0px 30px #000000b6;
}

#gallery-container{
    display: grid;
    margin-top: 20px;
}

#gallery-container figure{
    margin: 20px;
    position: relative;
}

#gallery-container img{
    width: 100%;    
}

#gallery-container figcaption{
    color:white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 25px;
    position: absolute;
    bottom: 4px;
}

/*-----------------STORM CENTER------------------ */

#storm-center main{
    padding:25px;
    max-width: 1000px;
    min-width: 300px;
    margin: auto;

}

#storm-center h1{
    font-size: 3.6em;
    font-weight: 700;
    border-left: .2em solid rgb(0, 157, 230);
    padding-left: .3em;
    margin-top: 0px;
    color: white;
    text-shadow: 2px 2px 15px  #00000062;
  
}

#storm-center form{
    margin: 20px;
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 30px;
    display: inline-block;
}

#storm-center form div{
    margin: 10px;
}

#storm-center form p{
    font-size: .7em;
    font-style: italic ;
}

#storm-center form label{
    display: inline-block;
    width: 150px;
    vertical-align: top;

}

#storm-center form .radio-button{
    width: 30px;
}

#myVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%; 
    min-height: 100%;
    z-index: -1;
    overflow: hidden;
}

#thanks section{
    color: white;
    text-align: center;
    padding-top: 50px;
    height: 600px;
    background-color: hsla(0, 0%, 0%, 0.5);
    font-weight: 700;
    letter-spacing: 1pt;
    font-size: 1.3em;
}