/* 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%;}
/*----------- apply a natural box layout model to all elements --------------*/
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
body{
    margin: 0 auto;
    background-color: #C9F0FF;
}
h1, h2, h3{
    font-family: 'Arvo', serif;
    letter-spacing: 0.06em;
}
p{
    font-family: 'Nunito', sans-serif;
    letter-spacing: 0.09em; 
}
#join-banner{
    background-color: #111E34;
    padding: 0.5rem;
    color: #EDF3DE;
    text-align: center;
    font-size: 0.8rem;
    line-height: 2rem;
    margin: 1rem;
}
header{
    background-color: #111E34;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0.6rem;
    grid-gap: 10px; 
    margin: 1rem;
    position: relative;
}
header #logo-img{
    width: 100%;
    grid-column: 1;
    margin-top: 1rem;
    margin-bottom: 1rem;
    margin-left: .7rem;
}
header button{
    background: transparent;
    border: 1px solid #EDF3DE;
    font-size: 1.5rem;
    color: #EDF3DE;
    margin-top: 2.2rem;
    margin-left: 3rem;
    margin-right: .5rem;
}
#social{
    grid-column: 2;
    justify-self: center;
    margin-top: 2rem;
    margin-left: 1rem;
}
#social a{
    text-decoration: none;
}
#social img{
    width: 30%;
    margin: 0.2rem;
}
nav{
    justify-self: right;
    align-self: center;
}
header nav ul{
    display: none;
    font-family: 'Nunito', sans-serif;
    letter-spacing: 0.09em;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
header nav .open{
    display: block;
}
header nav ul li a{
    display: block;
    text-decoration: none;
    color: #EDF3DE;
    padding: 0.8rem 2vw;
}
header nav ul li a:hover{
    background-color: rgba(128, 110, 96, 0.3);
}
.active{
    border-top: 2px solid #EDF3DE;
}
#date{
    grid-column: 1 / 4;
    grid-row: 2;
    display: block;
    color:#EDF3DE;
    text-align: center;
    padding: 1rem;
    background-color: #806E60;
    font-family: 'Nunito', sans-serif;
    letter-spacing: 0.09em;
    margin: 0.6rem;
    font-size: 0.8rem;
}
#burguerBtn span:nth-child(1) {display: block;}
#burguerBtn span:nth-child(2) {display: none;}
#burguerBtn.open span:nth-child(1) {display: none;}
#burguerBtn.open span:nth-child(2) {display: block;}

main{
    margin: 1.75em;
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 15px;
}
main section{
    border: 1px solid #000;
    background-color: #EFEFF0;
    color: #111E34;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
main section h2{
    text-shadow: 5px 5px 10px #111E34;
}
#siteName-action{
    padding: 0;
    position: relative;
}
#siteName-action img{
    width: 100%;
}
#welcome{
    font-size: 0.8rem;
    position: absolute;
    top: 5px;
    left: 15px;
    background-color: #111E34;
    border-radius: 4px;
    color: #EDF3DE;
    padding: 0.4rem;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
#join-button{
    position: absolute;
    bottom: 5px;
    right: 15px;
    background-color: #111E34;
    padding: 0.6rem; 
    border-radius: 10px;
    border: 2px solid #111E34;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    color: #EDF3DE;
    font-size: 0.6rem;
}
#join-button a{
    text-decoration: none;  
}
#event{
    padding: 1.2rem;
    text-align: center;
}
#event-title{
    margin-top: 0;
}
#event p{
    line-height: 1.5rem;
    margin-bottom: 0;
}
#weather{
    padding: 1rem;
    text-align: center;
}
#img-temp{
    margin-top: 2rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
#weather h3{
    text-align: right;
    margin-bottom: 2%;
}
#img-temp p{
    font-size: 1.7rem;
}
#wind-speed{
    border-top: 1px solid #111E34;
    display: flex;
    justify-content: space-around;
}
#wind-chill{
    display: flex;
    justify-content: space-around;
}
#join{
    display: none;
    padding: 1.5rem;
    text-align: center;
    line-height: 1.7rem;
}
#h-join-button{
    background-color: #111E34;
    padding: 1rem;
    border-radius: 10px;
}
#news{
    padding: 1rem;
    text-align: center;
}
#news p{
    line-height: 2rem;
}
#spotlights{
    padding: 1em;
}
#spotlight1, #spotlight2, #spotlight3{
    padding: 0.8rem;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
#spotlight1 h2, #spotlight2 h2, #spotlight3 h2{
    margin-top: 0.2rem;
}
.spotlight-email{
    border-top: 1px solid #111E34;
    margin-bottom: 0;
    padding-top: 0.5rem;
}
#spotlight1 p, #spotlight2 p, #spotlight3 p{
    margin-top: 0.5rem;
    margin-bottom: 0.4rem;
}
#spotlight1, #spotlight2{
    margin-top: 0;
}
#spotlight2{
    border-top: none;
}
#spotlight3{
    display: none;
}
footer{
    background-color: #111E34;
    color:#EDF3DE;
    font-family: 'Arvo', serif;
    letter-spacing: 0.06em;
    padding: 1rem;
    text-align: center;
    margin: 1rem;
}
footer p, footer section{
    font-family: 'Nunito', sans-serif;
    letter-spacing: 0.09em;
}
#contact-info{
    margin-bottom: 1.5rem;
}
#contact-info a{
    color: #EDF3DE;
    text-decoration: none;
}
#site-name{
    margin-bottom: 1rem;
}
#site-name p{
    margin-top: 0;
}
#site-name h2{
    margin-bottom: 0.3rem;
}
#footer-info{
    display: flex;
    flex-direction: column;
    border-top: 1px solid #806E60;
    padding: 1rem;
    text-align: center;
}
#footer-info p{
    margin-bottom: 0;
}
#copyright-weather{
    padding: 0.5rem;
}
#copyright-weather a{
    color: #EDF3DE;
}
/* discover page*/
#content{
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    grid-gap: 20px;
}
.local-storage{
    width: 100%;
    text-align: center;
    line-height: 1.4rem;
}
.statistics, .graphs{
    padding: 1rem;
}
.statistics{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    font-size: 0.8rem;
}
.graphs{
    width: 100%;
}
.graphs img{
    width: 100%;
    border: 2px solid #111E34;
}
.d-images img[data-src]{
    filter: blur(0.2em);
}
.sec-img{
    padding: 1rem;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.d-images img{
    width: 100%;
    filter: blur(0em);
    transition: filter 0.5s;
    border: 2px solid #111E34;
}
.population-p{
    text-align: center;
    padding: 1rem;
    border: 2px solid #111E34;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 0.8rem;
}
#projections{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
#projections p{
    margin: 1rem;
    border: 2px solid #111E34;
    padding: 1rem;
}
.investment{
    padding: 1rem;
    width: 100%;
}
.investment h2{
    text-align: center;
    margin-bottom: 2.3rem;
}
#gallery{
    padding: 1rem;
    background-color: #EFEFF0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
/*Join page*/
#join-content{
    margin: 0 2rem;
}
form fieldset{
    margin-top: 2rem;
}
#top-legend{
    text-align: center;
    font-size: 1.1rem;
}
form fieldset legend{
    font-family: 'Arvo', serif;
    letter-spacing: 0.06em;
    color: #111E34;
    font-size: 1rem;
}
#top-field{
    margin-top: 1rem;
    border-radius: 8px;
    padding-bottom: 1rem;
}
#bottom-field{
    border-radius: 8px;
}
form label.info{
    display: block;
    margin-top: 0.75rem;
    font-family: 'Nunito', sans-serif;
    letter-spacing: 0.09em;
    color: #111E34;
}
form textarea{
    display: block;
    width: 80%;
    max-width: 22rem;
    min-height: 9rem;
}
form label.info input{
    display: block;
    max-width: 22rem;
    width: 80%;
    padding: .75rem;
}
.member, form label#benefit, form label#costs{
    display: block;
    padding: 0.75rem;
    font-family: 'Nunito', sans-serif;
    letter-spacing: 0.09em;
}
form label#benefit, form label#costs{
    margin-top: 0;
    line-height: 2rem;
}
form div{
    font-family: 'Arvo', serif;
    letter-spacing: 0.06em;
    color: #111E34;
    margin-top: 2rem;
    text-align: center;
    margin-bottom: 0.5rem;
}
input.submitBtn{
    font-family: 'Nunito', sans-serif;
    letter-spacing: 0.09em;
    font-size: 1.2rem;
    border: none;
    background-color: #111E34;
    color: #EDF3DE;
    border-radius: 8px;
    width: 70%;
    max-width: 20rem;
    padding: 0.75rem;
    margin-top: 1.2rem;
    margin-left: 3rem;
    margin-right: 3rem;
    margin-bottom: 0.5rem;
}
/* thankyou page*/
#thanks-content{
    font-size: 0.8rem;
}
#message-container{
    border: 3px solid #111E34;
    text-align: center;
}
#message-container p{
    margin-top: 1.3rem;
    line-height: 2rem;
}
.gobackBtn{
    border: none;
    margin-top: 1rem;
    margin-bottom: 1rem;
    width: 70%;
    padding: .75rem;
    color: #EDF3DE;
    background-color: #111E34;
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    letter-spacing: 0.09em;
}
/* directory page*/
#directory-content {display: block;}
#directory-title{
    text-align: center;
    padding: .75rem;
    line-height: 2.2rem;
}
.menu{
    text-align: center;
    padding: 1rem;
    margin-bottom: 1rem;
}
.menu button{
    padding: .5rem .70rem;
    border-color: #111E34;
    margin-left: 1rem;
    margin-right: 1rem;
    background: #EFEFF0;
}
.menu button#grid{
    background: rgba(0, 0, 0, 0.35);
}
/* grid view */
.grid{
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
}
.business-card{
    text-align: center;
    padding: 1rem;
    font-size: 0.8rem;
}
.grid .company-name {display: none;}
/* list view */
.list .company-name {display: block;}
.list img {display: none;}
.list .business-card {text-align: left;}
.list .business-card p{
    margin-top: 1%;
    margin-bottom: 0;
}
.list .company-name {font-size: 1rem;}
.list .business-card:nth-child(2), .list .business-card:nth-child(3),
.list .business-card:nth-child(4), .list .business-card:nth-child(5),
.list .business-card:nth-child(6), .list .business-card:nth-child(7),
.list .business-card:nth-child(8), .list .business-card:nth-child(9){border-top: none;}
.list .business-card h2 {margin-top: 0;}
/* contact us page*/
#contact-content{
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
}
#contact-content h1{
    text-align: center;
    background-color: #111E34;
    padding: 2.5rem;
    color: #EDF3DE;
}
#general-contact, #member-contact, #form-contact, #sponsorship, #visit-us {padding: 1rem; font-size: 0.9rem;}
#general-contact h2 {margin-bottom: 2rem;}
#alex-quote, #general-contact h3, #alex-contact {text-align: center;}
#alex-quote {line-height: 1.4rem; margin-bottom: 1.5rem;}
#member-contact p, #member-contact p, #sponsorship p {line-height: 1.4rem;}
#visit-us {display: none;}
#or {text-align: center;}
#radio-btns {text-align: left;}
#member-question {
    font-family: 'Nunito', sans-serif;
    letter-spacing: 0.09em;
}