/* 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; }

/* ----- BANNER TOP ----- */

.banner {
    height: 50px;
    line-height: 50px;
    background: #EC9A29;
    text-align: center;
    font-size: 12px;
}

/* ----- HEADER ----- */

header, h1 {
    font-size: 30px;
    text-transform: uppercase;
}

header,
nav,
main,
footer {
    max-width: auto;
    margin: 0 auto;
}

h1 {
    font-size: 2rem;
}

h2 {
    color: #536878;
}

h1, h2, p {
    margin: 0;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #808080;
}

header img {
    width: 100px;
    height: auto;
    display:block;
}

/* ----- NAV ----- */

nav button {
    margin: .2rem 2%;
    background-color: transparent;
    border: none;
    font-size: 1.6rem;
    color: #fff;
}

nav {
    background-color: #536878;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li a {
    display: block;
    padding: .8rem 2%;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    border-top: 1px solid rgba(0,0,0,0.3);
}

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

nav ul li a:hover {
    background-color: rgba(0,0,0,0.4);
}

nav ul.hide {
    display: none;
}


/*----- MAIN -----*/

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

  .h2-gallery {
    margin-top: 10px;
    text-align: center;
}

  .grid-gallery {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 2px;
    justify-content: center;
    justify-items: center;
    text-align: center;
}

.gallery-item {
    padding: 10px 10px 20px 10px;
    border: 2px solid #BFBFBF;
    background-color: white;
    border-radius: 1em;
    box-shadow: 10px 10px 5px #aaaaaa;
}

figure img {
    grid-column: auto;
    width: 250px;
    height: 250px;
    padding: 0px;
    align-items: center;
    justify-items: center;
    border: 3px solid #ccc;
	border-radius: 1em;
}


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

  .gmap {
    grid-column: 1/5;
    grid-row: 1/2;
    margin-left: auto;
    margin-right: auto;
    width:200px; 
    height:150px;
    border: 3px solid #ccc;
    border-radius: 1em;
}

.navlinks li {
    font-size: 12px;
    list-style:none;
    text-align: left;
}