/*colors*/
/*gray: rgba(89, 81, 83, 1);*/
/*brown: rgba(166, 138, 123, 1);*/
/*tan: rgba(217, 185, 167, 1);*/
/*red: rgba(242, 31, 12, 1);*/
/*salmon: rgba(242, 69, 53);*/


/*index*/
*
{
	box-sizing: border-box;
}

html
{
	font-size: 62.5%;
}

body
{
	padding: 0;
	margin: 0;
	font-family: 'Josefin Sans', sans-serif;
}

#container
{
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto;
	grid-template-areas:
		'content'
		'footer';
	margin-top: 5rem;
}

#content
{
  grid-area: content;
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto;
	grid-template-areas:
		'title'
		'box';
	padding: 10rem;
	height: auto;
	max-height: auto;
	background: rgba(166, 138, 123, 1);
}

#content h1
{
	grid-area: title;
	font-size: 4.8rem;
	color: white;
	text-shadow: 0.4rem 0.4rem rgba(242, 69, 53);
}

#content-box
{
	grid-area: box;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: auto;
	grid-template-areas:
		'img p';
	background: white;
	border: 1.5rem solid white;
	box-shadow: 1.4rem 1.4rem rgba(242, 69, 53);
}

#content-box img
{
	grid-area: img;
	place-self: center;
	height: auto;
	max-height: 40vh;
	width: auto;
	margin: 0;
}

#content-box p
{
	grid-area: p;
	place-self: center;
	max-height: auto;
	font-size: 2.2rem;
	padding: 4rem;
	margin: 0;
}

#footer
{
	grid-area: footer;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto;
	grid-template-areas:
		'hours nav info'
		'hours copy info';
	min-height: 17vh;
	background: rgba(89, 81, 83, 1);
	box-shadow: 0px 2px 10px rgba(58, 61, 63, 1);
}

.footer-panel
{
	place-self: center;
	font-size: 1.6rem;
	color: black;
}

#footer-navigation
{
	grid-area: nav;
	text-align: center;
}

#footer-hours
{
	grid-area: hours;
}

#footer-info
{
	grid-area: info;
	text-align: right;
}

#copyright
{
	grid-area: copy;
	text-align: center;
	font-size: 1.4rem;
}

.footer-panel a
{
	text-decoration: none;
}

.footer-panel a:link, a:visited
{
	color: black;
	transition:
			color 270ms cubic-bezier(0.2, 0.1, 0.2, 1);
}

.footer-panel a:hover, a:active
{
	color: rgba(166, 138, 123, 1);
	transition:
			color 270ms cubic-bezier(0.2, 0.1, 0.2, 1);
}

.footer-panel ul
{
	list-style-type: none;
}

@media only screen and (max-width: 1050px)
{
	html
	{
		font-size: 58%;
	}

	#container
	{
		margin-top: 8rem;
	}

	#content
	{
		padding: 5rem;
	  height: auto;
	}

	#content h1
	{
		text-align: center;
	}

	#content-box
	{
		grid-template-columns: 1fr;
		grid-template-areas:
			'img'
			'p';
	}

	#content-box img
	{
		max-height: 45vw;
	}

	#content-box p
	{
		height: auto;
		max-height: none;
		padding: 2rem;
	}

	#footer
	{
		grid-template-columns: 1fr;
		grid-template-areas:
			'copy';
		min-height: 0;
		height: 10vh;
	}

	#footer-navigation
	{
		display: none;
	}

	#footer-hours
	{
		display: none;
	}

	#footer-info
	{
		display: none;
	}

	#copyright
	{
		justify-self: center;
	}
}
