* {
	margin:0;
	padding:0;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

html,
body {
	position: fixed;
	overflow: hidden;
}

html {
	font-size: 62.5%;
	padding:0;
	margin:0;
	width: 100%;
	height: 100%;
}

body {
	font: normal normal normal 1.3rem/2.2rem 'Caveat', cursive;
	color: #000;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	background-color: #FFF1C2;
	-webkit-text-size-adjust: 100%;
}

:focus { 
	outline: 0px;
}

a {
	color: #000;
	text-decoration: none;
}

img {
	border: 0 none;
}

figure img {
	display: block;
	max-width: 100%;
}

*[data-src] {
	opacity: 0;
		
	transition: opacity 0.45s;
	-webkit-transition: opacity 0.45s;
	-ms-transition: opacity 0.45s;
}

*[data-src].loaded {	
	opacity: 1;
}

input, textarea {
	-webkit-appearance: none;
	border-radius: 0;
}

h1, h2, h3, h4, h5, h6 {
	
}

p {
	
}

p a {
	text-decoration: underline;
}

div,
header,
section,
article,
hgroup,
footer,
aside {
	position: relative;
}

#wrapper {
	position:relative;
	z-index: 103;
}

#content {
	
}

.center {
	max-width: 1140px;
	padding: 0 55px;
	margin: 0 auto;
}

.box-h {
	padding: 0 5px;
	box-sizing: border-box;
}

.box-v {
	padding: 5px 0;
	box-sizing: border-box;
}

.box {
	padding: 5px;
	box-sizing: border-box;
}

.clear:after,
.clear:before,
.masonry:after,
.masonry:before {
	content: "";
	display: table;
	clear: both;
}

.clear-fix {
	clear: both;
}

.text-center {
	text-align: center;
}

.text-right {
	text-align: right;
}

.float-left {
	float: left;
}

.float-right {
	float: right;
}

.preload, 
.hide {
	display:none;
}

@media screen and (max-width: 1024px) {
	
	.center {
		padding: 0 35px;
	}
	
}

@media screen and (max-width: 767px) {
	
	.center {
		padding: 0 15px;
	}
	
}#splashscreen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #FFC2C2;
	z-index: 100;
	opacity: 1;
	transition: opacity 0.33s;
}

body.playing #splashscreen {
	opacity: 0;
	pointer-events: none;
}

#app {
	display: flex;
	flex-direction: column;
	justify-content: space-around;	
}

#cards-container {
	display: flex;
	display: -webkit-flex;
	padding: 0 40px;
	box-sizing: border-box;
}

#cards-container .card {
	width: 33.33%;
	padding: 20px;
	box-sizing: border-box;
	transform: rotate(0.25deg);
	pointer-events: none;
}

.card-clickable #cards-container .card {
	pointer-events: auto;
}

#cards-container .card:first-child .polaroid {
	transform: rotate(-0.5deg);
}

#cards-container .card:last-child .polaroid {
	transform: rotate(0.75deg);
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-0.5px, 0, 0) rotate(0);
  }
  
  20%, 80% {
    transform: translate3d(1px, 0, 0) rotate(0);
  }

  30%, 50%, 70% {
    transform: translate3d(-2px, 0, 0) rotate(0);
  }

  40%, 60% {
    transform: translate3d(2px, 0, 0) rotate(0);
  }
}

@keyframes zoombounce {
  10%, 90% {
    transform: scale(0.97) rotate(0);
  }
  
  20%, 80% {
    transform: scale(1.03) rotate(0);
  }

  30%, 50%, 70% {
    transform: scale(0.95) rotate(0);
  }

  40%, 60% {
    transform: scale(1.05) rotate(0);
  }
}

#cards-container .card .polaroid {
	width: 100%;
	box-sizing: border-box;
	background: #FFFFFF;
	border: 3px solid #000000;
	box-shadow: 0 0 0 6px rgba(0,0,0,0.05);
	border-radius: 6px;
	padding: 20px 20px 80px;
}

#cards-container .card figure {
	position: relative;
	padding-bottom: 100%;
	border-radius: 2px;
	overflow: hidden;
}

#cards-container .card figure img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body #cards-container .card::after {
	position: absolute;
	bottom: 43px;
	left: 50%;
	margin-left: -20.5px;
	content: '';
	width: 41px;
	height: 40px;
	background-image: url('/img/cross.svg');
	opacity: 0;
	transition: opacity 0.15s;
	-webkit-transition: opacity 0.15s;
	-ms-transition: opacity 0.15s;
}

body.wrong #cards-container .card.wrong::after {
	opacity: 1;
}

body.wrong #cards-container .card.wrong {
	/*animation: shake 0.66s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0) rotate(0);
  backface-visibility: hidden;
  perspective: 1000px;
  */
}

#cards-container .card.right {
	animation: zoombounce 1s cubic-bezier(.36,.07,.19,.97) both;
  transform: scale(1) rotate(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

#active-card {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: 10;
	padding: 60px;
	box-sizing: border-box;
	background-color: #C2FFC9;
}

.show-active-card #active-card {
	display: block;	
}
/*
body.wrong {
	background-color: #FF0000;
}
*/
#videoplayer {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#button-play {
	position: absolute;
	width: 90px;
	height: 90px;
	margin-top: -45px;
	margin-left: -45px;
	top: 50%;
	left: 50%;
	display: block;
	background: 0;
	border: 0 none;
	transform: scale(1);
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.320, 1.275);
	-webkit-transition: -webkit-transform 0.2s cubic-bezier(0.175, 0.885, 0.320, 1.275);
	-ms-transition: -ms-transform 0.2s cubic-bezier(0.175, 0.885, 0.320, 1.275);
}

#button-next {
	position: absolute;
	bottom: 60px;
	right: 70px;
	width: 90px;
	height: 90px;
	display: block;
	background: 0;
	border: 0 none;
	transform: scale(1);
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.320, 1.275);
	-webkit-transition: -webkit-transform 0.2s cubic-bezier(0.175, 0.885, 0.320, 1.275);
	-ms-transition: -ms-transform 0.2s cubic-bezier(0.175, 0.885, 0.320, 1.275);
}

#footer {
	padding-bottom: 60px;
}

#button-speak {
	position: relative;
	left: 50%;
	width: 90px;
	height: 90px;
	display: block;
	margin-left: -45px;
	background: 0;
	border: 0 none;
	transform: scale(1);
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.320, 1.275);
	-webkit-transition: -webkit-transform 0.2s cubic-bezier(0.175, 0.885, 0.320, 1.275);
	-ms-transition: -ms-transform 0.2s cubic-bezier(0.175, 0.885, 0.320, 1.275);
}

#button-next.hover,
#button-speak.hover,
#button-play.hover {
	transform: scale(1.05);
	-webkit-transform: scale(1.05);
	-ms-transform: scale(1.05);
}

#button-next img,
#button-speak img,
#button-play img {
	display: block;
}

#wrapper, #app {
	height: 100%;
}

.video-card {
	height: 100%;
	width: 568px;
	margin: 0 auto;
}

.video-container {
	background-color: #FFF;
	border: 3px solid;
	border-radius: 12px;
	padding: 40px 40px 120px 40px;
	height: 100%;
	box-sizing: border-box;
}

#video-title {
	position: absolute;
	bottom: 0;
	height: 120px;
	line-height: 120px;
	text-align: center;
	width: 100%;
	left: 0;
	font-size: 64px;
}.col-1-1 {
	width: 100%;
}

.col-1-2 {
	width: 50%;
}

.col-1-3 {
	width: 33.33%;
}

.col-1-4 {
	width: 25%;
}

.col-1-5 {
	width: 20%;
}

.col-1-6 {
	width: 16.66%;
}

.col-1-12 {
	width: 8.33%;
}

.col-2-3 {
	width: 66.66%;
}

.col-2-5 {
	width: 40%;
}

.col-3-4 {
	width: 75%;
}

.col-3-5 {
	width: 60%;
}

.col-4-5 {
	width: 80%;
}

@media screen and (max-width: 414px) {
	
	[class*='col-'] {
		width: 100%;
	}
	
}