* {
	margin:  0px;
	padding:  0px;
	box-sizing: border-box;
}
body {
	font-family: -apple-system, BlinkMacSystemFont, helvetica, arial, sans-serif;
	font-size: 14px;
	line-height: 18px;
	min-height: 100vh;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.card {
	width: 384px;
	height: 240px;
	perspective: 1200px;
	cursor: pointer;
}

.card-inner {
	position: relative;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	transition: transform 600ms ease;
}

.card.is-flipped .card-inner {
	transform: rotateY(180deg);
}

.card-face {
	position: absolute;
	inset: 0;
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: #fff;
	box-shadow: 0 20px 45px rgba(15, 30, 61, 0.25);
	backface-visibility: hidden;
}

.card-front {
	background-color: grey;
	color: #eef3ff;
}

.card-back {
	background: #fff;
	color: #0c2238;
	transform: rotateY(180deg);
}

p {
	margin-bottom: 12px;
}

.card-front h1 {
	font-size: 18px;
	margin-bottom: 24px;
}

.card-back h2 {
	font-size: 18px;
	margin-bottom: 24px;
}

.card-back p + p {
}

@media (max-width: 800px) {
	body {
	}

	.card {
		width: 260px;
		height: 360px;
	}
}