html,
body {
    max-width: 100%;
    overflow-x: hidden;
}


/* Prevent adjustments of font size after orientation changes in IE on Windows Phone and in iOS.  */

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

header {
    padding: 5px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#thanks {
    font-size: 3rem;
}


/*----------- apply a natural box layout model to all elements --------------*/

* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}


/*----------- BODY --------------*/

body {
    font-size: 16px;
    font-family: Verdana, sans-serif;
}

#top {
    background-color: #ee7465ff;
}

header img {
    width: 90px;
    height: auto;
    background-color: transparent;
}

.headings {
    display: flex;
    flex-direction: column;
}

.headings h1 {
    font-size: 1.6rem;
    margin: 0 0 0 17px;
}

.subtitles {
    font-style: italic;
    letter-spacing: 1pt;
    color: #f6dc26ff;
    margin-left: 20px;
    font-size: 120%;
}

img {
    width: 20%;
    margin-right: 1rem;
    margin-top: 1rem;
}

.title {
    text-align: center;
}

nav {
    margin: 0 auto;
    background-color: #ee7465ff;
}

.navigation {
    list-style: none;
    padding: 0;
}

#buttom {
    background-color: transparent;
    border: none;
    font-size: 2.5rem;
}

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

.navigation li {
    display: none;
}

.navigation a {
    display: block;
    padding: 0.75rem;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    color: black;
    font-weight: 700;
    font-size: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
}

nav ul li.active a {
    background-color: rgba(0, 0, 0, 0.2);
}

.navigation a:hover {
    color: white;
    background-color: rgba(0, 0, 0, 0.4);
}

.navigation a:active {
    background-color: rgba(0, 0, 0, 0.2);
}

.main_img {
    position: relative;
}

.home_img {
    width: 100%;
}

.banner {
    position: absolute;
    width: 30%;
    height: 65%;
    flex-wrap: wrap;
    color: white;
    font-size: 1.64vw;
    line-height: 3vw;
    font-weight: 900;
    top: 35%;
    right: 54%;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.3);
    background-color: #ff7465ff;
    opacity: 0.8;
    padding: 15px;
}

h2#bannerTitle {
    font-size: 1.3vw;
}

.info {
    color: #f6dc26ff;
}

hr {
    width: 100%;
}

.midle {
    display: block;
    margin: 0 auto;
}

.forecast {
    text-align: center;
    display: none;
}

.flex,
.headingmap {
    display: none;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.3);
}

div.cards2 {
    display: block;
    border: solid 3px red;
    text-align: center;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
    background-color: #ff7465ff;
    opacity: 0.8;
}

.img-center {
    width: 100%;
}

.imgicon {
    margin: 0 auto;
}

.midle div {
    margin: 0px auto;
    padding: 12px;
}


/*----------- FOOTER --------------*/

footer {
    display: block;
    margin: 0 auto;
    text-align: center;
    max-width: 80%;
    font-size: 0.8em;
    background-color: #ee7465ff;
    padding: 0.1rem;
}

.contact {
    text-align: center;
    margin: 0 auto;
}

h5,
h3 {
    margin: 0 auto;
}

.contacticons {
    width: 60%;
}

#final {
    text-decoration: none;
    color: black;
    font-weight: 700;
}

.message {
    display: none;
}

.fridaymessage {
    display: block;
    background-color: #f6dc26ff;
    color: black;
    text-align: center;
    padding: 0.1rem;
}

.articlebody {
    padding: 20px;
}

.googlemap {
    width: 100%;
}


/*Hamburguer*/

.responsive li {
    display: block;
}

.articlebody {
    padding: 10px;
}

.img-center {
    margin: 5px;
    box-shadow: 10px 18px 16px 4px rgba(0, 0, 0, 0.4);
}

.contact {
    line-height: 2.3;
}

.contain {
    background-color: #96c0ea;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.3);
}

.firstline {
    padding-top: 10px;
}

div span.data {
    font-size: 1.4rem;
}

.clearfix {
    content: "";
    display: table;
    clear: both;
}

#grid {
    display: grid;
    grid-gap: 1rem;
    grid-auto-rows: minmax(100px, auto);
}

.box1 {
    grid-area: one;
}

.box2 {
    grid-area: two;
}

.box3 {
    grid-area: three;
}

.box4 {
    grid-area: four;
}

.box5 {
    grid-area: five;
}

.box6 {
    grid-area: six;
}

.box7 {
    grid-area: seven;
}

.box8 {
    grid-area: eight;
}

.box9 {
    grid-area: nine;
}

#grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "one" "two" "three" "four" "five" "six" "seven" "eight" "nine";
    justify-items: stretch;
    padding: 10px;
}

img {
    align-self: stretch;
    width: 100%;
    border-radius: 4px;
}

p {
    padding: 5px;
    font-weight: bold;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.box1 .box2 .box3 .box4 .box5 .box6 .box7 .box8 .box9 {
    border-radius: 4px;
}

.imgicon {
    width: 18%;
}

.grid.clearfix {
    margin: 0 auto;
    text-align: center;
}

.cards {
    display: block;
    margin: 18px 0px 5px 0px;
    text-align: center;
    padding: 5px;
}

#hometown {
    width: 90%;
}

#todaystory {
    width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.5);
    background-color: #ff7465ff;
    opacity: 0.8;
    padding: 40px;
    text-align: center;
    font-size: 0.8rem;
    font-style: italic;
    color: black;
}

h2.title {
    color: skyblue;
    text-shadow: 2px 2px 4px #000000;
    font-size: 3vw;
}

.cards section {
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.3);
}

main {
    padding: 0 2%;
    min-height: 20rem;
}


/*------------------FORM------------*/

form fieldset {
    margin: 2rem 0;
    border: 1px solid #445ba9;
    border-radius: 10px;
    padding: .5rem 2%;
}

form legend {
    color: #445ba9;
    margin: 0 1rem;
    padding: 0 .5rem
}

form label.top,
form div {
    display: block;
    padding-top: 1rem;
    color: #9c2c13;
    font-size: 1rem;
}

form label.top input,
form label.top select {
    -webkit-appearance: none;
    display: block;
    font-size: 1rem;
    border: solid 1px #999;
    border-radius: 4px;
    padding: .75rem;
    color: #555;
    width: 100%;
    max-width: 20rem;
    background-color: rgba(0, 0, 0, 0.1);
}

form label.sbs {
    display: block;
    padding: .75rem;
    color: #555;
}

#severity {
    color: #9c2c13;
}

#levels {
    display: flex;
    flex-direction: column;
    color: brown;
    padding: .75rem;
    width: 100%;
    max-width: 20rem;
}

form input.submitBtn {
    border: none;
    background-color: #9c2c13;
    color: white;
    border-radius: 1rem;
    padding: .75rem 1.5rem;
    margin: 0 0 2rem 2%;
    width: 96%;
    max-width: 20rem;
}

form label.top input:required {
    border-left: red solid 6px;
}

form label.top input:required:valid {
    border-left: green solid 6px;
}

#final {
    color: #f6dc26ff;
    font-weight: 900;
}