@charset "utf-8";

@font-face {
	font-display: swap;
	font-family: 'Marcellus';
	font-style: normal;
	font-weight: 400;
	src: url('../fonts/marcellus-v13-latin-regular.eot');
	src: url('../fonts/marcellus-v13-latin-regular.eot?#iefix') format('embedded-opentype'),
		url('../fonts/marcellus-v13-latin-regular.woff2') format('woff2'),
		url('../fonts/marcellus-v13-latin-regular.woff') format('woff'),
		url('../fonts/marcellus-v13-latin-regular.ttf') format('truetype'),
		url('../fonts/marcellus-v13-latin-regular.svg#Marcellus') format('svg');
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	font-size: 16px;
}

body {
	color: #7a7a7a;
	font-family: 'Arial', sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

#wrapper {
	position: relative;
	max-width: 50rem;
	margin: 1rem auto;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 0 0.625rem rgb(0 0 0 / 40%);
}

:is(a:link, a:visited, a:hover, a:active) {
	color: inherit;
	text-decoration: none;
	white-space: nowrap;
}

img {
	max-width: 100%;
	height: auto;
}

p {
	margin: 1rem 0;
}

h1 {
	font-family: 'Marcellus';
	color: #14203b;
	line-height: 1.2;
	font-size: 1.8rem;
	margin: 1.25rem 0;
}

h1 span {
	font-size: 1rem;
	color: #b29063;
	text-transform: uppercase;
}

h2 {
	font-size: 1.1rem;
	font-family: 'Marcellus';
	color: #b29063;
	margin: 1rem 0;
}

h2:before {
	content: '' url('../images/sundeck-consulting-icon.png');
	float: left;
	margin: 0 0.625rem 0 0;
}

h2:first-of-type:before {
	content: '';
}

h3 {
	font-size: 1.1rem;
	font-family: 'Marcellus';
	color: #b7b8be;
	margin: 0 0 1rem;
}

header {
	padding: 2rem;
}

.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;
	}
}

article {
	padding: 0.5rem 2rem 0;
}

ul {
	margin: .5rem 0 1.5rem 3rem;
}

footer {
	position: relative;
	background: url('../images/boot.jpg') bottom center no-repeat;
	background-size: 100% 100%;
	padding: 1rem 2rem;
}

footer p {
	color: #b7b8be;
	margin-bottom: 0;
}

.img {
	position: absolute;
	bottom: 1.5rem;
	right: 2rem;
}


@media only screen and (max-width: 49.938rem) {
	#wrapper {
		border: none;
		margin: 0 auto;
	}

	p,
	ul {
		-moz-hyphens: auto;
		-webkit-hyphens: auto;
		-ms-hyphens: auto;
		hyphens: auto;
	}

	footer {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.img {
		position: relative;
		bottom: 0;
		right: 0;
		margin-top: 1.5rem;
	}

	footer section p:last-of-type br {
		display: none;
	}
}

@media only screen and (max-width: 30rem) {
	header {
		display: flex;
		justify-content: center;
	}

	h1 {
		text-align: center;
	}

	article {
		padding: 1rem 1rem 0;
	}

	ul {
		margin: .5rem 0 1.5rem 1.4rem;
	}

	footer {
		padding: 1rem;
	}
}