:root {
	font-size: 16px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/open-sans-v34-latin-regular.eot');
	src: local(''), url('../fonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-regular.woff') format('woff'), url('../fonts/open-sans-v34-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/open-sans-v34-latin-700.eot');
	src: local(''), url('../fonts/open-sans-v34-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v34-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-700.woff') format('woff'), url('../fonts/open-sans-v34-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v34-latin-700.svg#OpenSans') format('svg');
}

html {
	min-height: 100%;
}

body {
	color: #fff;
	font-family: 'Open Sans', Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 20px;
	font-weight: 400;
}

#wrapper {
	max-width: 902px;
	margin: 16px auto;
	border: 1px solid #777;
	background: #6d6663 url('../images/background.png') 0 0 repeat;
	overflow: hidden;
}

footer {
	padding: 30px 15px;
	background: #32476e url('../images/background.png') 0 0 repeat;
}

p {
	margin: 0 0 15px;
}

strong {
	font-weight: 700;
}

h1 {
	margin: 16px 0;
	font-weight: 700;
	font-size: 24px;
	text-align: center;
	line-height: 1.25;
}

h2 {
	font-size: 35px;
	line-height: 40px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	-webkit-transform: translateX(-50%) translateY(-50%);
	text-shadow: 1px 1px 1px rgba(0, 0, 0, .7);
	text-align: center;
	background: rgba(44, 74, 156, 0.7);
	padding: 15px;
	width: 65%;
}

:is(a:link, a:visited, a:hover, a:active) {
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
}

img {
	max-width: 100%;
	vertical-align: middle;
}

.center {
	text-align: center;
}


.slide {
	margin: 0;
	padding: 0;
	border: 0;
	position: relative;
}

.slide img {
	vertical-align: bottom;
}

@keyframes slidy {
	0% {
		opacity: 0;
	}

	5% {
		opacity: 1;
	}

	25% {
		opacity: 1;
	}

	30% {
		opacity: 0;
	}

	100% {
		opacity: 0;
	}
}

.slide img:nth-of-type(1) {
	position: relative;
}

.slide img {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	max-width: 100%;
	animation: slidy 20s linear 0s infinite normal forwards;
}

.slide img:nth-child(2) {
	animation-delay: 5s;
}

.slide img:nth-child(3) {
	animation-delay: 10s;
}

.slide img:nth-child(4) {
	animation-delay: 15s;
}


.banner {
	position: relative;
}

.left {
	width: 48.25%;
}

.flex {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	background: rgba(255, 255, 255, 0.5);
	margin-left: 30px;
	align-items: center;
}

.right {
	width: 51.75%;
}

.content {
	padding: 15px;
}

.content :is(h3, ul, p) {
	color: #000;
	line-height: 22px;
}

footer p {
	text-align: center;
}

.logo {
	background: #fff;
	padding: 30px;
}

.box {
	padding: 30px;
}

@media all and (max-width:901px) {
	#wrapper {
		margin: 0;
		border: none;
	}

	p {
		hyphens: auto;
	}

	:is(.logo, .box) {
		padding: 16px;
	}

	h2 {
		font-size: 4.25vw;
		line-height: 1.3;
	}

	.flex {
		margin: 16px;
	}

	:is(.left, .right) {
		width: 50%;
	}

	.none {
		display: none;
	}
}

@media all and (max-width:580px) {
	:is(.left, .right) {
		width: 100%;
	}

	.right {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
}