body {
	background-color: #f1eae4;
	color: #1b1b25;
	font-family: tenso, -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-weight: 400;
	font-size: 1.125rem;
}

a {
	color: #d37059;
}
a:hover,
a:focus,
a:active {
	text-decoration: none;
}
a[href^="tel:"],
a[href^="mailto:"],
p.address {
	display: inline-flex;
	padding-left: 1.75rem;
	background-size: 1.25rem auto;
	background-position: 0 center;
	background-repeat: no-repeat;
}
a[href^="tel:"] {
	background-image: url("/assets/images/icons/phone.svg");
}
a[href^="mailto:"] {
	background-image: url("/assets/images/icons/envelope.svg");
}
p.address {
	display: block;
	background-position: 0 0;
	background-image: url("/assets/images/icons/map-marker.svg");
}

h1,
h2,
h3,
h4 {
	line-height: 1.125;
}


header {
	padding: 2rem 2rem 0;
}
header .wrap {
	display: flex;
	flex-direction: column;
	align-content: center;
	align-items: center;
	justify-content: space-around;
	margin: 0 auto;
	max-width: 1200px;
}
header img {
	margin-bottom: 2rem;
	width: 100%;
	max-width: 32rem;
	height: auto;
}
header .text {
	max-width: 32rem;
}
header .text h1 {
	font-size: 1.5rem;
	text-align: center;
}
header .text .voted {
	display: flex;
	flex-direction: column;
	margin-top: 1.5rem;
	font-size: 1.25rem;
	font-style: italic;
}
header .text .voted .middle {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.125;
	text-align: center;
}
header .text .voted .end {
	margin-left: auto;
}
@media only screen and (min-width: 768px) {
	header .wrap {
		flex-direction: row;
	}
	header img {
		margin-right: 2rem;
		margin-bottom: 0;
	}
	header .text {
		margin-left: 2rem;
	}
}
@media only screen and (min-width: 1024px) {
	header {
		padding-top: 3rem;
		padding-bottom: 1rem;
	}
}


main {
	display: flex;
	flex-direction: column;
	margin: 0 auto;
	padding: 2rem;
	max-width: 1200px;
}
main > div {
	padding: 0 0 2rem;
}
@media only screen and (min-width: 768px) {
	main {
		flex-direction: row;
		flex-wrap: wrap;
	}
	main > div {
		padding: 0 1rem 2rem;
	}
}
@media only screen and (min-width: 1200px) {
	main > div {
		padding: 0 2rem 2rem;
	}
}

.owner {
	width: 100%;
	text-align: center;
}
.owner a {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-left: auto;
	margin-right: auto;
	max-width: 12rem;
	text-decoration: none;
}
.owner a:hover,
.owner a:focus,
.owner a:active {
	text-decoration: underline;
}
.owner a img {
	margin: 0.5rem 0;
}


@media only screen and (min-width: 768px) {
	.lessons {
		width: 65%;
	}
	.necessities {
		width: 35%;
	}
}


footer {
	display: flex;
	flex-direction: column;
	align-content: center;
	align-items: center;
	justify-content: center;
	padding: 3rem 2rem;
	background-color: #d37059;
}
footer a {
	color: #f1eae4;
}
footer .brand {
	display: flex;
	flex-direction: column;
	align-content: center;
	align-items: center;
	margin-bottom: 2rem;
	text-align: center;
}
footer .brand img {
	max-width: 16rem;
}
footer .brand p {
	font-size: 1.5rem;
}
footer .contact {
	width: 100%;
}
@media only screen and (min-width: 768px) {
	footer {
		flex-direction: row;
	}
	footer > * {
		padding: 1rem 2rem;
	}
	footer .brand {
		margin-bottom: 0;
	}
	footer .contact {
		width: auto;
	}
}
@media only screen and (min-width: 1024px) {
	footer > * {
		padding: 1rem 3rem;
	}
}


.flow {
	--flow-space: 1rem;
}
.flow > * + * {
	margin-top: 1rem;
	margin-top: var(--flow-space);
}
