@font-face {
	font-family: 'title';
	src: url('../fonts/title.woff2') format('woff2'), url('../fonts/title.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'text';
	src: url('../fonts/text.woff2') format('woff2'), url('../fonts/text.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'button';
	src: url('../fonts/button.woff2') format('woff2'), url('../fonts/button.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}
html {
	-webkit-text-size-adjust: 100%;
	height: 100%;
	padding: 0;
}

html, body {
	margin: 0;
	line-height: 1.2em;
}

body {
	min-height: 100%;
	box-sizing: border-box;
	position: relative;
	font-family: "text", Helvetica, arial, sans-serif;
	font-size: 20px;
	background-color: #EFE4DA;
	color: #502525;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}

a {
	color: #502525;
	text-decoration: none;
	display: block;
	margin: 5px auto;
	font-size: 18px;
	text-align: center;
	transition: all .25s ease;
}
a.btn {
	border: 2px solid #502525;
	padding: 11px 15px 9px 15px;
}

a:hover, a:focus {
	text-decoration: underline;
}

h1, h2 {
	font-family: "title", Helvetica, arial, sans-serif;
	font-size: 35px;
	line-height: 37px;
	margin: 0;
	color: #BA8A72;
}

main {
	width: 100%;
	min-height: 450px;
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

main section {
	width: 48%;
	height: 100%;
	box-sizing: border-box;
	display: block;
	float: left;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 5% auto;
	position: relative;
}

.logo-wrapper {
	max-height: 450px;
	max-width: 356px;
	overflow: hidden;
	box-sizing: border-box;
}

.logo-wrapper .logo {
	height: 100%;
	max-width: 100%;
}

.text-wrapper {
	background-color: white;
	box-shadow: 2px 3px 7px rgba(0,0,0,.2);
	padding: 25px 25px 10px 25px;
	margin-top: 50px;
}

.copyright {
	font-size:  13px;
}
.copyright a.sas:before {
	content: url(../img/sas-communication.svg);
	display: inline-block;
	width: 115px;
	height: 20px;
}

@media screen and (max-width: 979px) {
	body {
		font-size: 18px;
	}
	main section {
		width: 96%;
	}
}
