/**** CSS Reset ****/

h1, h2, h3, p, ul, li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-weight: normal;
}

img {
	max-width: 100%;
}

/*** END CSS Rest ***/

body {
	background-image: url("background-2048x2048.png");
	background-repeat: repeat;
	background-size: 750px auto;
	background-color: gainsboro;
	background-attachment: fixed;
}

#page {
	background-color: #ffffff;
	margin: 50px auto 50px auto;
	font-family: 'Dosis', sans-serif;
	padding: 25px;
}

#page section {
	padding-bottom: 25px;
}

#page h1 {
	font-family: 'Delicious Handrawn', serif;
	padding-bottom: 25px;
	font-size: 4em;
	color: #7dbcc8;
}

#page h2 {
	padding-bottom: 10px;
	font-size: 2em;
}

#major h2 {
	color: #fff;
}

#other h2 {
	padding-top: 25px;
	color: #7dbcc8;
}

.grid {
	padding: 15px 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 30px;
}

#major {
	background-color: #7dbcc8;
	padding: 10px 10px 0px 10px;
}

footer {
	background-color: #7dbcc8;
	padding: 10px;
	color: #fff;
}

footer p {
	padding-bottom: 5px;
}

a:link, a:visited {
	color: #BF7AAD;
	text-decoration: none;
}

a:hover, a:active {
	color: #7dbcc8;
	text-decoration: none;
}

footer a:link, footer a:visited {
	color: darkblue;
	text-decoration: none;
}

footer a:hover, footer a:active {
	color: #fff;
	text-decoration: underline;
}

/******** 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 {
	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: #F0F0F0;
	padding: 10px;
	box-sizing: border-box;
	border-radius: 150px;
}

.back p {
	text-align: center;
}

.front img {
	display: block;
}

.title {
	font-size: 25px;
	padding-top: 75px;
}

.desc {
	font-style: italic;
	padding-top: 5px;
}

@media only screen and (min-width: 600px) {
	
	.grid { grid-template-columns: 1fr 1fr 1fr 1fr; }
	
	
} /** end 600px **/

@media only screen and (min-width: 960px) {
	
	#page {
		width: 960px;
	}
	
	
} /** end 960px **/