body {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
	background-color: #1A1A1A;
	color: #ccc;
	font-size: 1.2rem;
	font-family: Lato;
}

.body-container {
	min-height: 100vh;
	display: grid;
	grid-template-rows: auto 1fr auto auto;
	max-width: 1583px;
	margin: 0 auto;
}

h1 {
	margin: 0;
	padding: .5rem 0 .5rem 1.5rem;
}

header {
	padding-bottom: .5rem;
	padding: .5rem 0;

	
	display: flex;
	align-items: center;
	background-color: #1a1a1a;
	
	background-color: rgba(26, 26, 26, .9);
	
	position: -webkit-sticky;
		position: -moz-sticky;
		position: -o-sticky;
		position: -ms-sticky;
		position: sticky;
		top: 0;
		z-index: 9;
}

/* ====================================== BRAND LOGO ================================= */

.brand {
	flex-grow: 2;
}

.tng {
	margin: 0;
	letter-spacing: 5px;
	font-size: 2rem;
	font-family: 'Arizonia', cursive;
}

.avphoto {
	display: block;
	font-size: 1rem;
	font-weight: 300;
	letter-spacing: 1.7px;
	margin-left: 7px;
}

/* =============================== MOBILE NAVIGATION ================================== */

.mobile-nav-icon {
	border-radius: 4px;
	margin-right: 1.5rem;
	height: 33px;
	width: 33px;
	padding: 5px;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	transition: all .3s ease;
}

.mobile-nav {
	display: none;

	/* why is this not working to create a slide down effect???? */
	height: 0;
	transition:  1s ease;
}

.mobile-nav a {
	color: white;
	text-decoration: none;
	padding: 10px;
}

/* This class gets added/removed with javascript. This is the mobile menu */
.display-mobile {
	padding: 2rem 0;
	background-color: rgba(43, 43, 43, .9);
	height: 200px;
	width: 100vw;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 25;
}

.btn-close {
	position: absolute;
	font-size: 2.5rem;
	top: 10px;
	right: 10px;
}

.hamburger {
	border-top: 2px solid #ccc;
}

.mobile-nav-icon:hover, .mobile-nav-icon:focus {
	border-radius: 4px;
	background-color: rgba(255, 255, 255, .3);
}

.mobile-nav a:hover, .mobile-nav a:focus {
	color: #9E4C48;
}

/* ==================================== STANDARD NAVIGATION ============================= */

nav {
	flex-grow: 1;
	display: none;
}

ul {
	display: flex;
	justify-content: space-around;
}

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

nav a {
	letter-spacing: .5px;
	font-size: 1.1rem;
	padding: 15px;
	display: block;
	text-decoration: none;
	color: #ccc;
	float: left;
}

nav a:hover, nav a:focus {
	border-bottom: 2px solid #9E4C48;
}

/* ===================================== MAIN SECTION =================================== */

.main {
	background-image: url('../images/black-linen.png');
	background-color: #1a1a1a;
}

.main-content {
	margin: 1rem 1rem 2rem 1rem;
	max-width: 900px;
	margin: 1rem auto 2rem auto;

	display: grid;
}

 p {
	font-weight: 300;
	text-align: center;
	max-width: 500px;
	margin: 0 auto;
	padding: .5rem 1rem;
}

q {
	text-align: center;
	display: block;
	margin: 1.5rem auto;
	
	font-family: arizonia;
	letter-spacing: 1px;
	font-size: 1.4rem;
	
	padding: 0 1.3rem;
	max-width: 500px;
}

p a {
	color: #ccc;
}

p a:hover {
	color: white;
}

h3 {
	font-family arizonia;
	text-align: center;
	letter-spacing: .8px;
}

h4 {
	text-align: center;
	margin-bottom: 1rem;
	letter-spacing: .4px;
}

.main-content div {
	margin-top: 1rem;
	border 1px solid white;
}

.main-content figure {
	max-width: 100%;
}

figure img {
	max-width: 100%;

}

.metallic:before, .purchasing:before, .requests:before {
	content: '';  /* necessary for pseudo element to work */
	display: block; /*  put pseudo element on it's own line */
	margin: 1rem auto 0 auto;  /* for centering and spacing */
	width: 70%;
	height: 2px;
	border: 1px solid;
	
	border-image: linear-gradient(top, rgba(204, 204, 204, .2)0%, rgba(204, 204, 204, 1)50%, rgba(204, 204, 204, .2)100%);

	padding .5rem 0; /* for adding space between element and the border */
}

/* =============================== SOCIAL MEDIA ICONS ================================== */

.social-media {
	margin: 0 auto 1rem auto;
	padding-top: 1.2rem;

}
.social-link {
	padding: .5rem;
}

.social-media a {
	padding: .5rem;
	color: rgba(204, 204, 204, 1);
}

.social-media a:hover {
	color: #9E4C48;
}

/* =========================================== FOOTER ==================================== */

footer {
	margin-bottom: 1rem;
}

.copyright {
	color: rgba(204, 204, 204, .4);
	letter-spacing: 1px;
	padding: 0 1.5rem;
	text-align: center;
	font-size: .8rem;
	margin-top: 0;
}

.copyright a {
	text-decoration: none;
	color: rgba(204, 204, 204, .5);
}

.copyright a:hover {
	color: #9E4C48;
}


/* ========================================= MEDIA QUERIES ============================================ */

@media screen and (min-width: 400px){
	.tng {
		font-size: 2.8rem;
	}

	.avphoto {
		margin-left: 33px;
	}
}

@media screen and (min-width: 700px){
/* ======= switch to full width navbar ======= */

	.mobile-nav {
		display: none;
	}

	.mobile-nav-icon {
		display: none;
	}

	nav {
		display: block;
	}
/* ======= adjust main content styles for larger devices ======= */

	.main-content {
		color: #1a1a1a;
		margin: 3rem auto 3rem auto;
		background-image: url('../images/bright-squares.png');
		background-color: #fff;

		grid-template-columns: 1fr 1fr;
		grid-gap: 1rem;
	}

	.main-content div {
		margin: 0 1rem 2rem 1rem;
	}

	h3 {
		grid-column: 1 / -1;
	}

	h4 {
		margin-bottom: 0;
	}

	p {
		padding: 1rem;
	}

	p a {
		color: #1a1a1a;
	}

	p a:hover {
		color: blue;
	}

	q {
		text-align: left;
		padding: 0;
	}

	.main-content figure {
		border: 2px ridge #1a1a1a;
		padding: .7rem;
	}

	figure img {
		border: 1px solid black;
	}

	.metallic:before, .purchasing:before, .requests:before {
		display: none;
		
	}

	.metallic, .purchasing {
		background-image: url('../images/light-paper-fibers.png');
		background-color:  #fff;
	}

	.testimonial, .requests {
		background-image: url('../images/light-paper-fibers.png');
		background-color:  #fff;
	}

	.metallic {
		border-bottom: 1px solid rgba(158, 76, 72, .5);
		border-right: 1px solid rgba(158, 76, 72, .5);
	}

	.metallic:hover {
		border-top: 1px solid rgba(158, 76, 72, .5);
		border-left: 1px solid rgba(158, 76, 72, .5);
	}

	.purchasing {
		border-bottom: 1px solid rgba(158, 76, 72, .5);
		border-left: 1px solid rgba(158, 76, 72, .5);
	}

	.purchasing:hover {
		border-top: 1px solid rgba(158, 76, 72, .5);
		border-right: 1px solid rgba(158, 76, 72, .5);
	}

	.testimonial {
		border: 1px solid rgba(158, 76, 72, .5);
		grid-column: 1 / -1;

		display: flex; 
		justify-content: space-around;
		align-items: center;
	}

	.requests {
		grid-column: 1 / -1;
	}

}

@media screen and (min-width: 950px){
	.avphoto {
		margin-left: 193px;
	}

}














