@font-face {
	font-family: "font_main_regular";
	src: url("/FontRegular.ttf") format("truetype");
}

@font-face {
	font-family: "font_main_bold";
	src: url("/FontBold.ttf") format("truetype");
}

a {
	text-decoration: none;
	color: #4A90E2;
	cursor: pointer;
}

.appframe {
	width: 85%;
	max-width: 600px;
	height: 500px;
	margin-bottom: 64px;
	border: 2px solid #333333;
}

.background {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	opacity: 0.75;
	background-image: url(/images/bk5.jpg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.blur {
	filter: blur(10px);
	pointer-events: none;
}

body {
	font-family: font_main_regular;
	font-size: min(6vw, 32px);
	padding: 0;
	margin: 0;
	overflow-y: auto;
	color: #FFFFFF;
	background-color: #0F22D2;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

button {
	display: block;
	text-align: center;
	font-variant: small-caps;
	font-size: 18px;
	color: #FFFFFF;
	background-color: #4A90E2;
	border: 1px solid #4A90E2;
	border-radius: 32px;
	box-shadow: rgba(255, 255, 255, 0.3) 0px 1px 0px 0px inset, rgba(255, 255, 255, 0.2) 0px 16px 0px 0px inset, rgba(255, 255, 255, 0.25) 0px 10px 20px 0px inset, rgba(0, 0, 0, 0.3) 0px -15px 30px 0px inset;
	padding: 8px 16px;
	min-width: 100px;
	margin: 0;
	cursor: pointer;
	-webkit-touch-callout: none; /* iOS Safari */
	-webkit-user-select: none; /* Safari */
	-khtml-user-select: none; /* Konqueror HTML */
	-moz-user-select: none; /* Old versions of Firefox */
	-ms-user-select: none; /* Internet Explorer/Edge */
	user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

	button.big {
		font-size: 24px;
		padding: 8px 32px;
	}



.card {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 1fr;
	width: 100%;
	max-width: 500px;
	transition: transform 0.5s;
	transform-style: preserve-3d;
	cursor: pointer;
}

	.card > * {
		grid-area: 1 / 1;
	}

	.card.flipped {
		transform: rotateY(180deg);
	}

.card_face {
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	width: 100%;
	color: white;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

	.card_face.back {
		transform: rotateY(180deg);
		font-size: 1rem;
	}

.card_flipper {
	display: inline-block;
	position: relative;
	top: 6px;
	width: min(6vw, 32px);
	height: auto;
	cursor: pointer;
}

.card_scene {
	display: flex;
	justify-content: center;
	width: 100%;
	perspective: 800px;
	margin-top: 16px;
}



.carousel {
	width: 100%;
	height: 100%;
	position: absolute;
	transform: translateZ(-688px);
	transform-style: preserve-3d;
	transition: transform 1s;
}

.carousel_cell {
	position: absolute;
	width: 300px;
	height: 200px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 25%;
	border: 1px solid #333333;
	font-size: 80px;
	font-weight: bold;
	color: white;
	transition: transform 1s;
	background-color: #666666;
}

.carousel_scene {
	margin: 160px 0;
	position: relative;
	width: 300px;
	height: 220px;
	perspective: 1000px;
}



.click_text {
	color: #D2BF0F;
}

.close_icon {
	width: 24px;
	cursor: pointer;
}

.closer {
	display: flex;
	justify-content: flex-end;
	width: 100%;
	margin-bottom: 16px;
}

.flex {
	display: flex;
	justify-content: center;
	align-items: center;
	grid-gap: 32px 32px;
	width: 100%;
}

	.flex.wrap {
		flex-wrap: wrap;
	}

html {
	padding: 0;
	margin: 0;
}

.logo {
	width: 150px;
	height: 150px;
	border-radius: 25%;
	background-color: #D2BF0F;
	background-image: url(/images/logo2.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 50%;
	box-shadow: inset -10px -10px 15px rgba(0, 0, 0, 0.35), inset 10px 10px 20px rgba(255, 255, 255, 0.65), -6px -6px 12px rgba(255, 255, 255, 0.12), 0px 0px 24px rgba(0, 0, 0, 0.55);
}

.logo_name {
	font-size: 2rem;
	margin-top: 16px;
	margin-bottom: 16px;
}

.main {
	display: flex;
	position: relative;
	flex-direction: column;
	align-items: center;
	padding: 32px 16px;
}

.popup {
	position: fixed;
	display: none;
	opacity: 0;
	left: 50%;
	top: 52%;
	transform: translate(-50%, -50%);
	width: 90%;
	max-width: 300px;
	max-height: 80%;
	padding: 16px;
	border: none;
	box-shadow: 0px 25px 34px -9px rgba(50,50,93,0.25), 0px 44px 60px -32px rgba(0,0,0,0.3), 0px -2px 7px 0px rgba(50,50,50,1) inset;
	border-radius: 24px;
	background-color: #FFFFFF;
	color: #333333;
	text-align: center;
	overflow-y: auto;
	pointer-events: all;
	-ms-overflow-style: none; /* IE and Edge */
	scrollbar-width: none; /* Firefox */
	z-index: 4;
}

.privacy {
	font-size: min(6vw, 24px);
}

.subtext {
	font-size: min(5vw, 20px);
}

.terms {
	font-size: min(6vw, 24px);
}

.theme_color_primary {
	color: var(--theme-color-primary);
}

.theme_color_secondary {
	color: var(--theme-color-secondary);
}

.tinytext {
	font-size: min(4vw, 16px);
}

.top {
	display: flex;
	position: sticky;
	top: 0;
	background-color: #FFFFFF;
	justify-content: space-between;
	padding: 8px;
	background-color: #F3F3F3;
	box-shadow: 0 2px 8px -2px #888888;
	z-index: 3;
}

video {
	width: 100%;
	max-width: 700px;
	border-radius: 24px;
	border: 1px solid #333333;
}