@charset "utf-8";

@font-face {
	font-display: swap;
	font-family: 'Raleway';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/raleway-v34-latin-regular.eot');
	src: url('../fonts/raleway-v34-latin-regular.eot?#iefix') format('embedded-opentype'),
		url('../fonts/raleway-v34-latin-regular.woff2') format('woff2'),
		url('../fonts/raleway-v34-latin-regular.woff') format('woff'),
		url('../fonts/raleway-v34-latin-regular.ttf') format('truetype'),
		url('../fonts/raleway-v34-latin-regular.svg#Raleway') format('svg');
}

@font-face {
	font-display: swap;
	font-family: 'Raleway';
	font-style: normal;
	font-weight: 500;
	src: url('../fonts/raleway-v34-latin-500.eot');
	src: url('../fonts/raleway-v34-latin-500.eot?#iefix') format('embedded-opentype'),
		url('../fonts/raleway-v34-latin-500.woff2') format('woff2'),
		url('../fonts/raleway-v34-latin-500.woff') format('woff'),
		url('../fonts/raleway-v34-latin-500.ttf') format('truetype'),
		url('../fonts/raleway-v34-latin-500.svg#Raleway') format('svg');
}

@font-face {
	font-display: swap;
	font-family: 'Raleway';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/raleway-v34-latin-700.eot');
	src: url('../fonts/raleway-v34-latin-700.eot?#iefix') format('embedded-opentype'),
		url('../fonts/raleway-v34-latin-700.woff2') format('woff2'),
		url('../fonts/raleway-v34-latin-700.woff') format('woff'),
		url('../fonts/raleway-v34-latin-700.ttf') format('truetype'),
		url('../fonts/raleway-v34-latin-700.svg#Raleway') format('svg');
}

:root {
	font-size: 16px;
}


* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	color: #5f6e73;
	font-family: "Raleway", "Arial", sans-serif;
	font-size: 1.125rem;
	line-height: 1.4;
	background: url(../images/bg.jpg) no-repeat top left;
}

img {
	max-width: 100%;
	height: auto;
}

#wrapper {
	position: relative;
	max-width: 50rem;
	margin: 1rem auto;
	overflow: hidden;
	background: #fff;
	border: .062rem solid #aaadae;
	box-shadow: 0 0 .625rem .312rem rgba(0, 0, 0, 0.2);
}

:is(a:link, a:visited, a:hover, a:active) {
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
}

p {
	margin: 0 0 1.25rem;
}

.margin {
	margin: 2.5rem 0 1.25rem;
}

h1 {
	font-size: 1.625rem;
	font-weight: 700;
	text-align: center;
	position: relative;
	margin-bottom: 0;
	padding-bottom: .937rem;
	letter-spacing: .125rem;
	text-transform: uppercase;
}

h1:after {
	content: '\00a0';
	width: 3.75rem;
	height: .25rem;
	position: absolute;
	left: 50%;
	bottom: 0;
	margin-left: -1.875rem;
	background-color: #db901b;
}

h2 {
	font-weight: 700;
	font-size: 1.25rem;
	padding: 0 0 .625rem 0;
	color: #dc911b;
}

ul {
	list-style: none;
	margin: 0 0 1.25rem .75rem;
	padding: 0;
}

ul li {
	padding: 0 0 .312rem .625rem;
	position: relative;
}

ul li:before {
	content: '\00a0';
	position: absolute;
	width: .5rem;
	height: .125rem;
	left: -.625rem;
	top: .687rem;
	background-color: #dc911b;
	border-radius: 0 .187rem 0 .187rem;
}

header {
	padding: 1.875rem 3.125rem;
}

.slider {
	position: relative;
}

.slider > img {
	display: block;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	animation: imageAnimation 18s linear infinite 0s;
}

.slider > img:nth-of-type(1) {
	position: static;
	opacity: 1;
}

.slider > img:nth-of-type(2) {
	animation-delay: 6s;
}

.slider > img:nth-of-type(3) {
	animation-delay: 12s;
}

@keyframes imageAnimation {
	4% {
		opacity: 1;
	}

	33% {
		opacity: 1;
	}

	38% {
		opacity: 0;
	}
}

.section {
	background: #f7f9f9;
	padding: 2.5rem 3.125rem;
}

.box {
	padding: 2.5rem 3.125rem;
}

.iframe-wrapper {
	width: 100%;
	position: relative;
	padding-bottom: 56%;
	padding-top: 0;
	height: 0;
	overflow: hidden;
}

.iframe-wrapper iframe,
.iframe-wrapper object,
.iframe-wrapper embed {
	border: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
}

footer {
	padding: 1.875rem 3.125rem;
	background: #dc911b;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

footer p {
	color: #fff;
	margin: 0;
}

a.link {
	color: #fff;
}

a.link:hover {
	opacity: 0.62;
}

a.apply {
	text-align: center;
	padding: 1.875rem 0 1.562rem 0;
	color: #ffffff;
	background: #dc911b;
	padding: .625rem 1.875rem .625rem 1.875rem;
	text-decoration: none;
	font-weight: 700;
	letter-spacing: .187rem;
	text-align: center;
	display: block;
	width: 15rem;
	margin: 1.875rem auto 1.562rem;
	border: 1px solid transparent;
	line-height: 1.2;
	font-size: 1rem;
}

a.apply:hover {
	background: #fff;
	color: #dc911b;
	border: .062rem solid #dc911b;
	text-decoration: none;
}

@media only screen and (max-width: 49.937rem) {
	#wrapper {
		border: none;
		margin: 0 auto;
		padding: 0 1rem;
	}

	p,
	ul {
		-moz-hyphens: auto;
		-webkit-hyphens: auto;
		-ms-hyphens: auto;
		hyphens: auto;
	}
}

@media only screen and (max-width: 48rem) {

	header,
	.section,
	.box,
	footer {
		padding: 1.25rem;
	}

	.margin {
		margin: 1.25rem 0 1.25rem;
	}

}

@media only screen and (max-width: 30rem) {
	header {
		display: flex;
		justify-content: center;
		align-items: center;
	}

	footer {
		justify-content: center;
		align-items: center;
		flex-direction: column;
	}

	footer p {
		text-align: center;
	}
}


@media only screen and (max-width: 30rem) {
	h1 {
		font-size: 1.375rem;
	}
}