/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
	padding: 0;
	border: 0;
    /* border: 1px solid grey; */
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* End CSS Reset */

/* General Styles */

* {
    max-width: 100%;
}

html {
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
    line-height: 1.5;
    font-family: 'Montserrat', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 2.5rem;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 3px;
}

a {
    text-decoration: none;
}

/* Header */

header {
    Background: #026670;
    height: 10vh;
    padding: 2%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

h2 {
    text-transform: capitalize;
}

nav {
    margin: 1%;
}

nav a {
    background: #EDEAE5;
    padding: 2px;
    color: black;
    display: inline-block;
}

nav a:first-child {
    border-radius: 10% 0 0 10%;
}

nav a:last-child {
    border-radius: 0 10% 10% 0;
}

nav a:hover {
    background: rgba(237, 234, 229, 0.466);
    color: #026670;
}

/* Main Section */

.main {
    display: flex;
    align-items: flex-end;
}

.main div {
    width: 45%;
}

.main .img {
    margin: 3%;
}

.blurb {
    margin: 2%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Gallery */

.gallery {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
}

.gallery div {
    margin: 2%;
    width: 20%;
    display: flex;
    text-align: center;
    flex-direction: column;
}

.gallery img {
    border: 2px solid #026670;
    border-radius: 1%;
}

.gallery a {
    color: black;
}

.gallery a:hover {
    background: #FEF97C;
}

/* Footer */

footer {
    background: #9FEDD7;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3%;
}
footer .mail {
    color: #026670;
    background: #ffffff;
    padding: .5%;
    margin: 1%
}

footer .mail:hover {
    color:#EDEAE5;
    background: #026670;
}

footer div {
    display: flex;
    justify-content: center;
}

footer div a {
    margin: 1%;
    padding: 1%;
    color: #026670
}

footer div a:hover {
    color:#EDEAE5;
    background: #026670;
}