/********* CSS RESETS **********/

img {
	max-width:100%;
}

h1, h2, h3, p, ul, ol {
	margin: 0;
	padding: 0;
}

nav ul, nav ol {
	list-style-type: none;
}

/********* End CSS Reset *********/

body {
	font-family: 'Open Sans Condensed', sans-serif;
	font-weight:300;
	color:#ebebeb;
}

header {
	padding:0 15px 20px 15px;
}

section{ padding: 30px 15px; }

#new-release { background:#ebebeb; }

#coming-soon { background:#85a0ad; }

.grid {
	padding: 15px 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 30px;
}

/******* Navigation styles *******/

#navigation {
	position: relative;
}

#mobilenav {
	background: #f69331;
	margin-bottom: 20px;
	padding-right: 20px;
}

#mobilenav h2 {
	text-align: right;
	line-height: 50px;
	color: #ebebeb;
	font-size: 36px;
}

#mainnav {
	width: 200px;
	position: absolute;
	top: 50px;
	right: 0;
	border-top: 1px solid #ca6a0c;
}

#mainnav ul {
	background: #f69331;
}

#mainnav ul li a {
	display:block;
	background:#f69331;
	color:#ebebeb;
	font-weight:700;
	font-size:36px;
	line-height:50px;
	text-decoration:none;
	text-transform:uppercase;
	text-align:right;
	padding-right: 20px;
	width:180px;
	border-bottom: 1px solid #ca6a0c;
}

#mainnav ul li a:hover {
	background:#40606f;
}

/******* Top section styles *******/
#top { padding: 0; }

#top { display: flex; }

#top article { padding: 15px; }

#top article:first-of-type { background:#85a0ad; }

#top article:last-of-type { background:#793f04; }

/********** Footer Rules **********/
footer {
	display: flex;
	background:#793f04;
	padding:15px;
}

footer section {
	flex:1;
	padding: 15px 0;
}

footer section:last-of-type{
	padding-left: 5px;
	padding-top: 30px;
}

/********** Typography Rules **********/

h1 {
	text-transform:uppercase;
	font-weight:700;
}

h2 {
	font-size:36px;
	text-transform:uppercase;
	font-weight:700;
}

p { line-height: 1.3em; }

#new-release h2 { color:#303030; }

/************ Logo Styles ***************/
header h1 { 
	font-size: 20vw;
	text-align: center;
	letter-spacing:-4px;
}

header h2 { 
	color: #303030;
}

header div:last-of-type {
	text-align: center;
}

footer h1 { font-size: 10vw; }

footer h2 { font-size: 24px; }

.audio { color:#f69331; }

.space { color:#40606f; }

footer .space { color:#bdd4de; }

/************ Card Flip Styles **************/

.flip-container { perspective: 1000px; }
	
.flip-container.hover .back {
	transform: rotateY(0deg);
}

.flip-container.hover .front {
    transform: rotateY(180deg);
}

.flip-container, .front, .back {
	width: 100%;
}

.flipper {
	transition: 0.6s;
	transform-style: preserve-3d;

	position: relative;
	height: 0;
	padding-top:100%;
}

.front, .back {
	-webkit-backface-visibility: hidden; /*still needed for safari & android*/
	backface-visibility: hidden;
	transition: 0.6s;
	transform-style: preserve-3d;

	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
}

.front { transform: rotateY(0deg); z-index: 2; }

.back {
	transform: rotateY(-180deg);
	background:#f69331;
	padding:10px;
	box-sizing: border-box;
}

.front img {
	display:block;
}

.title {
	text-transform:uppercase;
	font-size:14px;
}

.name {
	margin-bottom:10px;
	font-weight:700;
	color:#40606f;
}

/************ Responsive Media Queries ***************/

@media only screen and (min-width: 600px) {
	
	.grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
	
	header{
		display: flex;
		padding-bottom: 0;
	}

	header div {
		flex: 1;
		padding:15px;
	}
	
	header h1 {
		font-size: 10vw;
	}
	
	header h2 {
		font-size: 3.6vw;
	}
	
	header img {
		width: 100%;
	}
	
	#top p, footer p {
		font-size: 24px;
	}

	#mobilenav {
		display: none;
	}

	#mainnav {
		box-sizing: border-box;
		position: static;
		width: 100%;
		margin-bottom: 20px;
		border-top: none;
		border-left: 1px solid #ca6a0c;
	}

	#mainnav ul {
		display: flex;
	}

	#mainnav ul li {
		flex: 1;
	}

	#mainnav ul li a {
		width: 100%;
		box-sizing: border-box;
		padding: 0;
		text-align: center;
		border-bottom: none;
		border-right: 1px solid #ca6a0c;
	}
	
}

@media only screen and (min-width: 960px) {
	
	#page {
		width:960px;
		margin:auto;
	}
	
	header h1, footer h1 {
		font-size:100px;
	}
	
	header h2 {
		font-size: 36px;
	}
}



