﻿@font-face {
	font-display: swap;
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/open-sans-v36-latin-regular.eot');
	src: url('../fonts/open-sans-v36-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v36-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v36-latin-regular.woff') format('woff'), url('../fonts/open-sans-v36-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v36-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
	font-display: swap;
	font-family: 'Open Sans';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/open-sans-v36-latin-700.eot');
	src: url('../fonts/open-sans-v36-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v36-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v36-latin-700.woff') format('woff'), url('../fonts/open-sans-v36-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v36-latin-700.svg#OpenSans') format('svg');
}

:root {
	font-size: 16px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	min-height: 100%;
}

body {
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #242021;
	font-weight: 400;
}

#wrapper {
	max-width: 800px;
	margin: 1rem auto;
	border: solid thin #242021;
	overflow: hidden;
	position: relative;
}

strong {
	font-weight: 700;
}

header {
	padding: 20px 30px;
	box-shadow: 0 4px 30px #0000001a;
}

article {
	padding: 0 30px;
}

@-webkit-keyframes slidy {
	0% {
		left: 0%;
	}

	28% {
		left: 0%;
	}

	33% {
		left: -100%;
	}

	62% {
		left: -100%;
	}

	67% {
		left: -200%;
	}

	95% {
		left: -200%;
	}

	100% {
		left: -300%;
	}

}

@keyframes slidy {
	0% {
		left: 0%;
	}

	28% {
		left: 0%;
	}

	33% {
		left: -100%;
	}

	62% {
		left: -100%;
	}

	67% {
		left: -200%;
	}

	95% {
		left: -200%;
	}

	100% {
		left: -300%;
	}

}

article section {
	overflow: hidden;
	margin-bottom: 20px;
}

article section figure img {
	width: 25%;
	float: left;
	border-radius: 25px;
}

article section figure {
	position: relative;
	width: 400%;
	-webkit-animation-duration: 13s;
	-webkit-animation-name: slidy;
	-webkit-animation-delay: 1s;
	-webkit-animation-iteration-count: infinite;
	animation: 13s slidy infinite;
	border-radius: 25px;
}

footer {
	padding: 0 16px 30px 30px;
}

footer section {
	padding: 0 0 0 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.button {
	width: 164px;
	height: 60px;
	border-radius: 30px;
	display: block;
	line-height: 60px;
	text-align: center;
	color: #fff !important;
	background: #00b8c5;
	font-weight: 700;
	margin-top: 30px;
}

h1 {
	font-size: 54px;
	margin: 16px 0;
	line-height: 1;
	font-weight: 700;
}

h1 + p span {
	background: #E6F8F9;
	display: inline-block;
	margin-right: 10px;
	color: #00b8c5;
	line-height: 35px;
	line-height: 35px;
	font-weight: bold;
	padding: 3px 20px;
	border-radius: 18px;
}

h2 {
	font-size: 44px;
	margin: 16px 0;
	line-height: 1.1;
	font-weight: 700;
}

img {
	max-width: 100%;
}

p:not(:last-child) {
	margin-bottom: 16px;
}

:is(a:link, a:visited, a:hover, a:active) {
	color: #242021;
	text-decoration: none;
	white-space: nowrap;
}

ul {
	list-style: none;
}

ul li {
	padding-left: 20px;
}

li:before {
	text-indent: -20px;
	content: "\2022";
	color: #242021;
	float: left;
	margin: -5px 0 0;
	font-size: 25px;
	font-family: Arial, sans-serifl
}

@media screen and (max-width:798px) {
	#wrapper {
		border: none;
		margin: 0;
	}

	:is(p, ul) {
		hyphens: auto;
		text-wrap: pretty;
	}

	article {
		padding: 0 16px;
	}

	header {
		padding: 16px;
	}

	footer {
		padding: 16px;
	}

	footer section {
		padding-left: 0;
	}

	h1 {
		font-size: 30px;
		line-height: 36px;
	}

	h2 {
		font-size: 27px;
	}
}

@media screen and (max-width:470px) {
	footer section {
		flex-direction: column;
		align-items: center;
	}

	footer p {
		text-align: center;
	}

	.button {
		margin: 20px auto;
	}
}