body {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	height: 100vh;
	width: 100vw;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	overflow-x: hidden;
}

.topnav {
	background: linear-gradient(to bottom, #4e69a2 0%, #3b5998 50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.logo {
	padding: 1rem;
	cursor: pointer;
}

main {
	background-color: #ebedf0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	width: 100%;
	height: 100%;
	padding: 2rem;
}

*[class^='step'] {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 37vw;
}

*[class^='step'].active {
	display: flex;
}

*[class^='step'] h3 {
	text-align: center;
	font-size: 1.6rem;
	font-weight: normal;
	margin: 0.5rem 0 1rem;
}

*[class^='step'] h3.flashy {
	color: #4e69a2;
	width: 100%;
	min-height: 20px;
	font-size: 2.4rem;
	font-weight: bold;
	padding: 0.3rem 0;
	text-align: center;
	margin: 0;
}

*[class^='step'] h4 {
	font-size: 1.3rem;
	margin: 0.7rem 0;
}

*[class^='step'] p {
	font-size: 1.3rem;
	line-height: 1.8rem;
	margin: 0;
}

*[class^='step'] p.choose {
	color: #8f919b;
	font-size: 1.2rem;
	font-style: italic;
	margin: 0 0 0.5rem;
}

.checkbox_wrap {
	margin: 0 auto;
	width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	max-width: 600px;
}

.option {
	position: relative;
	font-size: 1.1rem;
	text-align: center;
	width: 28%;
	margin: 0.5rem 2%;
	-webkit-transition: -webkit-transform 0.25s ease-out;
	-moz-transition: -moz-transform 0.25s ease-out;
	-ms-transition: -ms-transform 0.25s ease-out;
	-o-transition: -o-transform 0.25s ease-out;
	transition: transform 0.25s ease-out;
	cursor: pointer;
}

.option img {
	display: block;
	width: 100%;
	border: 0.2rem solid #333;
	border-radius: 8px;
}

.option:hover {
	transform: scale(1.15);
	transition: transform 0.25s ease-out;
}

.option.selected {
	color: #3b5998;
	font-weight: 550;
}

.option.selected img {
	border-color: #3b5998;
}

.actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	width: 100%;
	padding: 1rem 0;
}

form {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding-top: 1rem;
}

form img {
	content: '';
	background: url(../assets/t40-btnpart.png) no-repeat;
	display: block;
	width: 22px;
	height: 31px;
	position: absolute;
	left: 38%;
	margin: auto;
	top: 1rem;
	bottom: 0;
	animation: next 1.2s infinite normal ease-out;
}

.btn {
	position: relative;
	background: linear-gradient(to bottom, #79bc64 0%, #578843 100%);
	font-size: 1.8rem;
	color: #fff;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
	cursor: pointer;
	width: 40%;
	min-width: 16rem;
	padding: 0.55rem 1rem;
	border: 0.1rem solid gray;
	border-radius: 0.4rem;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn::before {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	display: block;
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: rgba(255, 255, 255, 0.2);
	transform: scale3d(0.9, 0.1, 1);
	-webkit-transition: -webkit-transform 0.4s, opacity .4s;
	-webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
	transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
	opacity: 0;
	z-index: -1;
	transition: transform 0.4s, opacity .4s;
}

.btn:hover::before {
	opacity: 1;
	transform: scale3d(1, 1, 1);
	z-index: 2;
}

.btn::after {
	content: '';
	background: url(../assets/t40-btnpart.png) no-repeat;
	display: block;
	width: 22px;
	height: 31px;
	position: absolute;
	right: 40px;
	margin: auto;
	top: 0;
	bottom: 0;
	animation: next 1.2s infinite normal ease-out;
}

.bold {
	font-weight: bold;
}

.underline {
	text-decoration: underline;
}

@keyframes next {
	0% {
		opacity: 0;
		right: 40px;
	}
	15% {
		opacity: 1;
		right: 30px;
	}
	100% {
		opacity: 0;
		right: 10px;
	}
}

@media (orientation: portrait) {
	main {
		padding: 0;
	}

	*[class^='step'] {
		width: 90vw;
		padding-top: 1rem;
	}

	*[class^='step'] h3 {
		font-size: 1.4rem;
	}

	*[class^='step'] h3.flashy {
		font-size: 2rem;
	}

	*[class^='step'] h4 {
		font-size: 1.2rem;
		text-align: center;
	}

	*[class^='step'] p {
		font-size: 1.2rem;
		padding-bottom: 2rem;
	}

	.option-title {
		font-size: 0.9rem;
	}

	.actions {
		padding: 0.5rem;
	}

	form img {
		left: 65%;
	}
}
