/* FONT FACE */
@font-face {
	font-family: "PatrickHand";
	font-style: normal;
	font-weight: 400;
	src: url(../../css/PatrickHand-Regular.ttf) format('truetype');
}

body{
	margin: 0;
	font-family: "PatrickHand", Helvetica, Arial;
	color: #000;
}

/* Container */
#container{
	/*background: #eee;*/
	width: 600px;
	height: 400px;
	overflow: hidden;
	position: relative;
}

/* Cards */
#cards{
	position: absolute;
	left: 100px;
    top: 35px;
    /* so tl centers the 400x240 cards in 600x400 container */
}
.card{
	position: absolute;
	width: 396px; /* 5 x 3 */
	height: 236px;
	border-radius: 20px;
	overflow: hidden;
	font-size: 40px;
	background: #fff;
	border: 2px inset rgba(0,0,0,0.15);
	text-align: center;
}
#card_bg{
	background: #888;
	border-color: rgba(0,0,0,0);
}
#card_bg_smiley{
    width: 150px;
    height: 150px;
    margin: 40px auto;
    background: url(multi_smiley.png);
    background-size: auto 100%;
	display: none;
}
#next_card{
	display: none;
}
#current_card{
	position: absolute;
	top:0;
	left:0;
	width: 400px;
	height: 240px;

	transition: left 0.3s ease-in-out;
	position: relative;
	left:0;
}
.scale_on_hover{
	width: 100%;
	height: 100%;
	transition: 0.15s;
	transform-origin: 200px 120px;
	cursor: pointer;
}
.scale_on_hover:hover{
	transform: scale(1.03);
}

/*************************/
/***** CURRENT CARD ******/
/*************************/

#flip-container {
	width: 100%;
	height: 100%;
	perspective: 1200px;
}
#flip-container .flipper {
	width: 100%;
	height: 100%;
	transition: 0.5s;
	transform-style: preserve-3d;
	transform-origin: 200px 120px;
	position: absolute;
}
#flip-container[flip=yes] .flipper{
	transform: rotateY(180deg);
}
#ccard_front, #ccard_back {
	
	-webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;

	position: absolute;
	top: 0;
	left: 0;
}
#ccard_front {
	z-index: 2;
	transform: rotateY(0deg);
	background: #fff;
}
#ccard_back {
	transform: rotateY(180deg);
	background: #fff;
}

/* Q & A */
#info{
	position: absolute;
	width: 100%;
	top: 290px;
	font-size: 25px;
	text-align: center;
	line-height: 1.2em;
}
#question{
	margin-top: 10px;
}
#question span{
	color: #777;
}
#a_label{
	margin-bottom: 0.25em;
} 
#a_no, #a_yes{
	display: inline-block;
    width: 140px;
    height: 40px;
    border-radius: 10px;
    color: rgba(0,0,0,0.7);
    font-size: 20px;
    line-height: 40px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: 0.1s;
    position: relative;
    top:0;
}
#a_no:hover, #a_yes:hover{
	top:-2px;
}
#a_no{
	background: #ff4040;
}
#a_yes{
	background: #40ff40;
}

/* LABELS */ 
#default_labels{
	display:none;
}