/* 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;
	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 OF RESET ======= */

/* ======= LAYOUT ======= */
* {
	box-sizing: border-box;
}
main, header, footer {
	width: 85%;
	min-width: 400px;
	margin: 0 auto;
}

/* ======= TYPOGRAPHY & COLOUR ======= */
body {
	font-family: "Lato", Verdana, Geneva, sans-serif;
	font-size: 1.0em;
	color: #1a1a1a;
}
header, footer {
	text-align: center;
}
footer {
	font-size: 0.8em;
	color: #178ec0;
	padding-top: 2.0em;
	border-top: 1px solid #bbb;
	margin-top: 3.5em;
	margin-bottom: 2.5em;
}
h1 {
	font-family: "Berkshire Swash", Georgia, Times, cursive;
	font-size: 3.4em;
	color: #116c92;
	width: 65%;
	padding-bottom: 0.1em;
	border-bottom: 5px double #82d2f3;
	margin: 0.6em auto 0.8em;
}

/* ======= GALLERY STYLING ======= */
figure {
	background-color: #f6f6f6;
	padding: 5% 5% 3.5%;
	margin-top: 1.5em;
	box-shadow: 3px 3px 3px rgba(50, 50, 50, 0.4);
}
figure img {
	width: 100%;
	border: 1px solid #bbb;
}
figcaption {
	min-height: 3.6em;
	line-height: 1.45;
	padding-top: 0.5em;
}

/* ======= RESPONSIVE STYLING ======= */
/*
The styling above is the default, "mobile first" styling, using one column of images.

Your responsive style should have three breakpoints, one for a two-column layout, a second for a three-column layout and a third for a four-column layout. You may use any technique you like (e.g. grid, floats, etc.).

Do not edit the HTML file. Do not edit the CSS above - you need only add media queries.
*/

@media screen and (min-width:700px) {


	main{

			display: grid;
			grid-template-columns: 1fr 1fr;
			grid-gap: 4%;

	}
}



@media screen and (min-width:900px) {


	main{

			display: grid;
			grid-template-columns: 1fr 1fr 1fr;
			grid-gap: 4%;

	}
}
