/* entire container, keeps perspective */
.flip-container {
	perspective: 1000px;
	float: right;
	margin: 10px;
	width: 210px;
}
	/* flip the pane when hovered */
.flip-container:hover .flipper, .flip-container.hover .flipper {
		transform: rotateY(180deg);
	}

.flip-container, .front, .back {
	width: 210px;

}

/* flip speed goes here */
.flipper {
	transition: 0.6s;
	transform-style: preserve-3d;

	position: relative;
}

/* hide back of pane during swap */
.front, .back {
	backface-visibility: hidden;

	position: absolute;
	top: 0;
	left: 0;
}

/* front pane, placed above back */
.front {
	z-index: 2;
	/* for firefox 31 */
	transform: rotateY(0deg);
}

/* back, initially hidden pane */
.back {
	transform: rotateY(180deg);
}


.card {
	border-radius: 17px;
	box-shadow: 3px 3px 3px rgba(0,0,0,0.5);
}


	@font-face{
    	font-family: "Algerian-Regular";
    	src: url('ALGER.ttf');
}


h1 {
	margin: 0;
	font-family: "Algerian-Regular";
	font-weight: 700;
	color: #FFA500;
	
	font-size: 36px; 
	font-size: 3.6rem;
	line-height: 46px; 
	line-height: 4.6rem;
	text-align: center;
	text-shadow: 5px 5px 5px rgba(0,0,0,0.5);
}


h1 span {
	display: block;
	color: #444;
	font-size: 20px;
	line-height: 28px;
	line-height: 2.8rem;
	font-weight: 300;
	text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
}

body {
	font-family: 'Lato', Calibri, Arial, sans-serif;
	background: #fff url(../images/bg.jpg);
	font-weight: 300;
	font-size: 14px; 
	font-size: 1.4rem;
	color: #333;
	-webkit-font-smoothing: antialiased;
	overflow-y: scroll;
	overflow-x: hidden;
	background-repeat: repeat;
	background-position: center top;
}

video {
	border-radius: 25px;
	box-shadow: 3px 3px 3px rgba(0,0,0,0.5);
}

abbr {
	border-bottom: 1px dotted black;
}
