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

#animate {
	margin: 0 auto;
	width: 20px;
	overflow: visible;
	position: relative;
}

/* override browser default */
html,
body {
  margin: 0;
  padding: 0;
	font-family:monospace;
	font-size:1em;
	display: grid;
  grid-template-rows: auto 1fr auto;
	background-color:#fff;
}

.header{
	text-align:center;
	background-repeat: no-repeat;
	background-image: url("/img/Logo-PerishableGoods.svg");
	background-size: 200px;
	/* background-color:#E4E4E4; */
	background-position: center;
	height: 150px;
	animation: fadeIn 3s;
	-webkit-animation: fadeIn 3s;
	-moz-animation: fadeIn 3s;
	-o-animation: fadeIn 3s;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@-moz-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@-webkit-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@-o-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@-ms-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.nav {
	padding:1em 1em 3em 1em;
	text-align: center;
}

.nav ul > li {
	display:inline-block;
}

.nav a{
	padding:0.5em;
	text-decoration: none;
	color:black;
}

.nav a:hover{ 
	background-color:black;
	color:white;
	padding:0.5em;
}

h2 {
	margin-bottom: 0.3em;
}

h3 {
	margin-bottom: 0.3em;
}

.main {
	width:100%;
	/* background-color: red; */
	margin-bottom:2em;
}

.section {
	margin-left:auto;
	margin-right:auto;
	margin-bottom:3em;
	width:350px;
	/* background-color:green; */
}

.instalink {
	text-decoration:none;
	color:blue;
}

.gal-section {
	margin-left:auto;
	margin-right:auto;
	margin-bottom:3em;
	max-width:960px;
	/* background-color:green; */
}

.gal-img-stack {
	text-align: center;
}

.instalink {
	text-decoration:none;
	color:blue;
}

.instalink:hover {
	text-decoration: underline;
	color:red;
}

.text {
	max-width:350px;
	/* background-color:blue; */
}

.buybutton {
	background-color:black;
	color:white;
	padding:0.5em;
	display:block;
	width:40%;
	text-align: center;
	margin-top:0.5em;
	border:1px solid white;
	text-decoration: none;
}

.buybutton:hover {
	background-color:white;
	color:black;
	border:1px solid black;
}

.image {
	max-width: 350px;
	margin-bottom:0.5em;
	/* background-color:green; */
}

.prodimg {
	width:100%;
}

.gal-img {
	max-width:100%;
	max-height:720px;
	margin-bottom:1em;
}

.footer {
	text-align: center;
	padding:3em;
}

.footer a {
	color:blue;
	text-decoration: none;
}

.footer a:hover {
	color:red;
	text-decoration:underline;
}


@media only screen and (max-width: 565px) {
	.header{
		background-size: 250px;
		margin-bottom: 0;
	}
	
	.image {
		width:90%;
		margin-left:auto;
		margin-right:auto;
		display:block;
		text-align: center;
	}
	
	.text{
		/* background-color:grey; */
		width:90%;
		margin-left:auto;
		margin-right:auto;
		display:block;
	}

}
