﻿@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: 15px;
	line-height: 20px;
	color: #242021;
	font-weight: 400;
}

#wrapper {
	max-width: 536px;
	margin: 1rem auto;
	border: solid thin #242021;
	overflow: hidden;
	position: relative;
}

strong {
	font-weight: 700;
}

@keyframes slidy {
	0% {
		opacity: 0;
	}

	6.6% {
		opacity: 1;
	}

	33.3% {
		opacity: 1;
	}

	39.9% {
		opacity: 0;
	}

	100% {
		opacity: 0;
	}

}

.slide img {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	max-width: 100%;
	animation: slidy 15s linear 0s infinite normal forwards;
	vertical-align: bottom;
}

.slide {
	position: relative;
}

.slide img:nth-of-type(1) {
	position: relative;
}

.slide img:nth-child(2) {
	animation-delay: 5s;
}

.slide img:nth-child(3) {
	animation-delay: 10s;
}

figure {
	padding: 30px;
}

article {
	padding: 0 30px 10px;
}

footer {
	padding: 0 30px 30px;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

footer div {
	background: #E3E3E3;
	border: #242021 1px solid;
	border-radius: 100%;
	text-align: center;
	padding: 10px 0;
	margin-bottom: 20px;
}

h1 {
	font-size: 20px;
	margin: 16px 0;
	line-height: 26px;
	font-weight: 700;
}

h1 span {
	font-weight: 400;
	display: block;
}

h2 {
	font-size: 15px;
	margin: 16px 0 0;
	line-height: 20px;
	font-weight: 700;
}

img {
	max-width: 100%;
	vertical-align: middle;
}

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 {
	margin: 0 0 16px;
	list-style: none;
}

ul li {
	padding-left: 15px;
}

li:before {
	text-indent: -15px;
	content: "\2022";
	color: #242021;
	float: left;
	font-size: 25px;
	font-family: Arial, sans-serif;
}

@media screen and (max-width:534px) {
	#wrapper {
		border: none;
		margin: 0;
	}

	:is(p, ul) {
		hyphens: auto;
		text-wrap: pretty;
	}

	figure, article {
		padding: 16px;
	}

	footer {
		padding: 0 16px 16px;
		flex-direction: column;
		align-items: center;
		gap: 16px;
	}

	footer p {
		text-align: center;
	}

}