@font-face {
    font-family: 'Nexa';
    src: url('fonts/nexa/Nexa-ExtraLight.ttf');
}

@font-face {
    font-family: 'Nexa Heavy';
    src: url('fonts/nexa/Nexa-Heavy.ttf');
}

* {
	box-sizing: border-box;
}

strong {
	font-family: 'Nexa Heavy';
}

h1, h2, p {
	margin: 0px;
}

.html {
	font-family: 'Nexa';
}

.header {
	align-items: center;
	background: #ebe7ec;
	border-bottom: 10px solid #688bff;
	display: flex;
	justify-content: space-between;
	padding: 15px;
	text-transform: uppercase;
}

.body {
	display: flex;
	flex-wrap: wrap;
	padding: 20px 0px;
}

.body > div {
	padding: 0px 40px;
	width: 50%;
}

.body h2 {
	border-bottom: 1px solid #688bff;
	color: #688bff;
	font-family: 'Nexa Heavy';
	margin-bottom: 20px;
	padding-bottom: 10px;
}

.form-row {
	margin-bottom: 15px;
}

.form-row:last-child {
	margin-bottom: 0px;
}

.form-row > div {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	font-size: 24px;
	justify-content: space-between;
}

.form-row label {
	font-family: 'Nexa Heavy';
	width: 50%;
}

.form-row > div > div {
	text-align: right;
	width: 50%;
}

.form-row input {
	background: rgba(104, 139, 255, 0.5);
	border: 0px;
	font-family: 'Nexa Heavy';
	padding: 10px;
	text-align: right;
	width: calc(100% - 25px);
}

.form-row .percentage {
	text-align: center;
	width: 160px;
}

.form-row p {
	font-size: 20px;
	margin-top: 10px;
}

.calculate-container {
	text-align: center;
}

.calculate {
	background: #7ae305;
	border: 10px solid #daffb0;
	border-radius: 100px;
	color: #ffffff;
	cursor: pointer;
	font-family: 'Nexa Heavy';
	font-size: 25px;
	padding: 15px 50px;
	position: relative;
	text-transform: uppercase;
	top: 65px;
}

.summary {
	background: #b4abfd;
	display: none;
	font-size: 24px;
	padding: 15px 40px;
}

.summary p {
	color: #ffffff;
	font-family: 'Nexa Heavy';
	font-size: 26px;
	margin-bottom: 15px;
}

.summary label {
	display: inline-block;
	font-family: 'Nexa Heavy';
}

.summary > div > div:first-child label {
	max-width: 200px;
	width: 100%;
}

.summary > div > div:last-child label {
	max-width: 400px;
	width: 100%;
}

.summary > div {
	display: flex;
	flex-wrap: wrap;
}

.summary > div > div {
	width: 50%;
}

.summary > div > div > div {
	margin-bottom: 10px;
}

@media screen and (max-width: 1024px) {
	.header {
		display: block;
		text-align: center;
	}

	.header img {
		margin-bottom: 20px;
	}

	.body > div {
		margin-bottom: 40px;
		width: 100%;
	}

	.summary > div > div {
		width: 100%;
	}

	.calculate {
		top: 30px;
	}
}

@media screen and (max-width: 640px) {
	.calculate {
		font-size: 25px;
		padding: 15px 50px;
	}
}

@media screen and (max-width: 480px) {
	.form-row label {
		margin-bottom: 10px;
		width: 100%;
	}

	.form-row > div > div {
		width: 100%;
	}

	.summary label {
		display: block;
	}
}