.card-img {
    width: 550px;
    height: 679px;
    background-image: url(http://kristoferjones.com/cards/back.jpg);
    border-radius: 20px;
    background-size: 100%;
}

.card-back {
    width: 550px;
    height: 679px;
    background-image: url(http://kristoferjones.com/cards/back.jpg);
    border-radius: 20px;
    background-size: 100%;
}

.flipper-container {
    perspective: 1000px;
}

/* flip the pane when hovered */
	.flipper-container.activated .flipper{
		transform: rotateY(180deg);
	}

.flipper-container, .card-img, .card-back {
	width: 320px;
	height: 440px;
	margin: auto;
}

/* flip speed goes here */
.flipper {
	transition: 0.6s;
	transform-style: preserve-3d;

	position: relative;
}

/* hide back of pane during swap */
.card-img, .card-back {
	backface-visibility: hidden;
	position: absolute;
	top: 0;
	left: 0;
}

/* front pane, placed above back */
.card-img {
	z-index: 2;
	/* for firefox 31 */
	transform: rotateY(0deg);
}

/* back, initially hidden pane */
.card-back {
	transform: rotateY(180deg);
}

.random-container {
    display: flex;
    flex-direction: column;
}

input.level {
    width: 100px;
    height: 20px;
    text-align: center;
}

select.card-type {
    width: 100px;
    height: 20px;
    margin-left: 20px;
}

.option-container {
    margin: auto;
    margin-top: 50px;
    margin-bottom: 20px;
}

body {
    height: 100vh;
    margin: 0;
    background: url(http://kristoferjones.com/img/bg.jpg);
    background-size: cover;
}

.enhanced {
    display: flex;
    align-self: center;
    margin: 20px;
    color: white;
}
