/* 
	Flip card  
*/

html {
	height: 100%;
}

.container {
	height: 100%;
}

/* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-card {
	margin: 10px auto;
	background-color: transparent;
	width: 400px;
	height: 250px;
	border: 1px solid #f1f1f1;
	border: 1px solid #999;
	perspective: 1000px; /* Remove this if you don't want the 3D effect */
	box-shadow: 5px 5px 8px rgba(100,100,100,.5);
	position: absolute;
	top: 400px;
	left: 50%; 
	transform: translate(-50%, -50%);
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  
}


/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  padding: 5px;
  display: table;
  font-size: 2em;
  line-height: 1.1em;
}

.flip-card-front p, .flip-card-back p {
	display: table-cell;
	vertical-align: middle;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  background-color: #f9f9f9;
  color: black;
}

/* Style the back side */
.flip-card-back {
  background-color: #f9f9f9;
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
}

.flip-card-front img, .flip-card-back img {
	display: block;
	width: 400px;
	margin: 10px auto;
	border: 1px solid #041E42;
}

.buttons a, .buttons a {
	text-decoration: none;
	color: #FFC72C;
}


.buttons a:hover, .buttons-back a:hover {
	text-decoration: none;
	color: #FFC72C;
}



/* ********************************************** */
/* Flip Card font sizes
/* ********************************************** */

.xs {
	font-size: 1.2rem;
}

.sm {
	font-size: 1.4rem;
}

.md {
	font-size: 1.6rem;
}

.lg {
	font-size: 2.0rem;
}

.xl {
	font-size: 2.8rem;
}

.xxl {
	font-size: 3rem;
}

.align-left {
	text-align: left;
	padding-left: 15px;
}

.css-red {
	color: red;
	font-family: monospace;
}

.css-blue {
	color: blue;
	font-family: monospace;
}

.css-orange {
	color: orange;
	font-family: monospace;
}




/* ********************************************** */
body {
	box-sizing: border-box;
	background: rgba(200,200,200,.2);
	margin: 0;
    font-size: 1rem;
}

.container {
	font-size: 1.2em;
	font-family: 'Raleway', sans-serif;
	margin-bottom: 100px;
	width: 100%;
	height: 100%;
}

header h1, header h2 {
	color: #FFC72C;
	margin-left: 25px;
	width: 50%;
	width: 50%;
}

header h2 {
	padding: 0;
}

header img {
	position: absolute;
	top: 10px;
	right: 25px;
}

footer {
	width: 100%;
	/* margin-left: -15px; */
	bottom: 0;
	color: #FFC72C;
	background: #041E42;
	text-align: center;
	height: 50px;
}

footer a, footer a:hover {
	color: #FFC72C;
	text-decoration: none;
}

button.body {
	display: inline;
	margin: 0 10px;
	width: 130px;
	height: 40px;
	background: #041E42;
	color: #FFC72C;
	border-radius: 40px;
	border-width: 0;
	font-size: 25px;
}

button.body .fa {
    margin: 0;
}

button.body a {
	background: #041E42;
	color: #FFC72C;
	text-decoration: none;
}

button.body:hover {
	opacity: .7;
}

.buttons {
	display: flex;
	justify-content: center;
	position: relative;
	margin: 20px auto;
}

.navbar {
	font-family: 'Ubuntu', sans-serif;
	border-bottom: 1px solid #005;
}

.navbar-collapse {
	font-size: 1em;
}

.navbar-brand a {
	font-size: 1.2em;
}

@keyframes fadeIn {
  from {opacity: 0}
  to {opacity: 1}
}

.fadeInAnimated {
	opacity: 0;
	/* transform: rotateY(180deg); */
	animation: fadeIn 2s forwards;
}




