/*--------------------------General reference applied----------------------*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body{
    font-family: "K2D", Arial, Helvetica, sans-serif;
}


/*-----------Header Section--------------------*/
header {
    max-width: 100%;

    background-color: #3a4048;

    display: flex;

}

picture {
    margin-left: 1rem;
    padding: 0.5rem;


}
picture img {
    width: 100px;
    height: auto;

}

.headings {
    flex: auto;

    /* for the children h1, h2 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
h1,h2 {
    margin: 0.25rem;
    color: #ffffff;
}
h1 {
    font-size: 1.75rem;
}
h2 {
    font-size: 0.95rem;
    color: #ffc90c;
    font-style: italic;
}

.column {
    color:#ffff;
    width: -20%;
    height: auto;
    border: 1px solid #ffff;

    padding: 0.5rem;
    background-color: #3a4048;
    margin: .5rem;
    margin-right: 10px;
}

div img {
    width: 50px;

    margin-top: 10px;
    margin-right: 10px;


}

.note {
    margin-top: 25px;
    font-size: smaller;
    font-variant: small-caps;
    float:left;
    padding: 0.5rem;

}
/*---------------NAVIGATION BAR--------------*/

nav > button {
    display: none;
}

.navigation {

    list-style-type: none;
    overflow: hidden;
    background-color: #d6d3d2;
    text-align: center;
}

li {
    display: inline-block;
}

li a {
    display: block;
    color: #3a4048;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

/* Change the link color to #111 (black) on hover */
li a:hover {
    background-color: #ffffff;
}


/* Margin for Main section and footer
so that id oes not diplay oll over the page*/
main,footer {
    max-width: 80%;
    margin: auto;

}
/* Margin for Main section and footer
so that id oes not diplay oll over the page*/


/*------------------Weather Summary preston image----------------------------*/

h3 {
    color:#3a4048;
    text-align: center;
    padding: 1.5rem;
   /* border: 3px dashed purple;*/


}

.prestonimg {
    /*border: black solid;*/
    width: 100%;
    height: auto;


}



.weathersummary{
   /* border: 3px dashed red;*/
    color: #ffc90c;
    background: rgba(128, 128, 128, 0.8);
    width: 230px;
    position: absolute;
    padding:20px ;
    top: 300px ;
    left: 200px;


}

h4{
    font-size: 20px;
    margin-bottom: 20px;
   /* border: purple dashed;*/
}
.label {
    color:#e4dd9e;
    margin: 3px !important;
    border: 0px !important;
    padding: 2px !important;
    text-align:left;
}
.value {
    color:#ffffff;

    margin-top: -25px !important;
    border: 0px !important;
    padding: 0px !important;
    text-align:right;
}



/*--------------Forecast----------------------*/
.forecast{

    background:#d6d3d2;
    text-align: center;
    color:#3a4048;
    position: relative;
    padding:0.5rem ;
    height: 120px;
    border: 3px solid #d6d3d2;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    /*border: 3px solid purple;*/

}
.table1{

    bottom: 30px;
    width: 360px;
    background-color: #e4dd9e;



    margin-left: auto;
    margin-right: auto;
    top:0px;


    /*border: 3px solid purple;*/
}

td {

    color:#ffc90c;
    border: 3px solid #3a4048;
    background-color: #3a4048;
    text-align: center;

}



/*--------------Get the wind chill--------------*/
.form{
    font-size: 20px;
    margin-top: -15px;
    background-color:#ffc90c;
    text-align: center;
    padding: 1rem;


}

/*-----------first article--------------*/
article{
    background-color: #d6d3d2;
    padding: 2rem;

    margin-top: 10px;
    text-align:justify;


}

article > img {
    width: 25%;
    float: right;
    margin-top: -40px;
    right: 250px;
    border: 3px solid #3a4048;
    position: absolute;
}

.firstarticle {
    
    width: 50%;
}

.credit {
    color:#3a4048;
    font-size: 20px;
    margin-top: 10px;
    text-align: left
}

.linkarticle {
    font-size: 20px;
    text-align: left;
    margin-top:10px;

}

/*--------------------sitemap article---------------------------*/

.sitemap{
    width: 100%;
    display:flex;
    /*border:dashed red;*/




}
.sitemap img{
    width: 30%;
    float:left;

}

.address{
    width: 100%;
    margin-top: 50px;
    font-size: 20px;
    text-align: center;
    /*border: solid green;*/


}

section .mapimage{
    width: 30%;
    
    padding:20px;
    float:right;
}

/*----------------footer-------------------------*/

footer{
    margin-top: 10px;
    background-color: #3a4048;
    color: #ffffff;
}

footer > p {
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 3.5rem;
}

footer > p > a {
    color: #ffc90c;
}


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

main {
    box-sizing: border-box;

}

.grid{

    margin-top: 15px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr ;
    grid-gap: 20px;
}

.grid div{
    border: 1px solid #ffc90c;
    background-color: #ffc90c;
    border-radius: 3px;

    padding:0.2em;
    color:#3a4048;
}


 .gallery {
     grid-template-columns: 1fr 1fr ;
    width: 100%;
     display: grid;
}

.gallery:hover {box-shadow: 1px 1px 10px #3a4048;}
