.wrapper {
	max-width: 1200px;
	margin: auto;
	padding: 0 var(--space);
	text-align: center;
}

@media (max-width: 500px) {
	.wrapper {
		padding: 0 var(--halfeSpace);
	}
}

section {
	position: relative;
}

section.gray {
	background-color: var(--colorBackgroundGray);
	padding: var(--trippleSpace) 0;
}

section.gray::after {
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	width: 7.5rem;
	height: 7.5rem;
	background: #fff;
}

section.gray::before {
	content: '';
	position: absolute;
	left: 0;
	bottom: -7.5rem;
	width: 7.5rem;
	height: 7.5rem;
	background: var(--colorBackgroundGray);
}

@media (max-width: 1000px) {
	section.gray::after, section.gray::before {
		height: 3rem;
		width: 3rem;
	}

	section.gray::before {
		bottom: -3rem;
	}
}

/* HEADER FIXED */
#header-fixed {
	position: fixed;
	left: 0;
	right: 0;
	background-color: #000000;
	z-index: 1000;
	transition: all 0.2s ease-in-out;
	top: -4.5rem;
	display: flex;
	padding: var(--padding);
	justify-content: space-between;
	align-items: center;
	white-space: nowrap;
}

#header-fixed .item {
	flex-basis: 100%;
}

#header-fixed .logo {
	height: 1rem;
	filter: invert(1);
}

#header-fixed .movetop {
	text-align: right;
}

#header-fixed .movetop a:hover {
	background-color: transparent;
}

#header-fixed .movetop a:hover img {
	transform: translateY(-3px);
}

#header-fixed .movetop img {
	filter: invert(1);
	display: inline-block;
	height: 1rem;
	transition: all 0.1s ease-in-out;
}

#header-fixed h2 {
	color: #fff;
	align-self: center;
	font-size: 1rem;
}

body.affix #header-fixed {
	top: 0;
}

/* HEADER */
header {
	text-align: center;
	background-size: cover;
	background-position: bottom center;
	padding: var(--trippleSpace) 0;
	background-image: url("header-background.jpg");
}

header .wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--padding);
}

header img {
	width: 150px;
	position: absolute;
	top: var(--padding);
	left: var(--padding);
}

header h1 {
	line-height: 1em;
	margin: 0;
	text-transform: uppercase;
	font-weight: var(--fontWeightBolder);
	background-color: #000;
	padding: var(--padding) var(--space);
	box-shadow: 0 1.25rem 5rem rgba(0, 0, 0, 0.1);
	color: #fff;
	white-space: nowrap;
}

header h2 {
	background-color: #fff;
	padding: var(--padding);
	box-shadow: 0 1.25rem 5rem rgba(0, 0, 0, 0.1);
}

@media (max-width: 1000px) {
	header h1 {
		padding: var(--padding);
	}
}

/* SECTION INTRO */
#intro {

}

@media (max-width: 1000px) {
	#intro .wrapper .boxes {
		flex-direction: column;
	}
}

section .boxes {
	display: flex;
	gap: var(--space);
}

section .boxes .box {
	flex: 1;
	padding: var(--space);
	box-shadow: 0 1.25rem 5rem rgba(0, 0, 0, 0.05);
	background: #fff;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--padding);
	align-items: center;
	transition: all 1s linear;
}

@media (max-width: 500px) {
	section .boxes .box{
		padding: var(--halfeSpace);
	}
}

section .boxes .box:hover {
	box-shadow: 0 1.25rem 5rem rgba(0, 0, 0, 0.85);
}

section .boxes .box img {
	width: 32px;
}

section .boxes .box .button {

}

@media (max-width: 500px) {
	section .boxes .box .button {
		width: 100%;
		padding: 0;
	}
}

section .boxes .box .content {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	gap: var(--padding);
}


/* WERBUNG */
#ads .wrapper img {
	max-width: 100%;
	margin: auto;
}

#ads .wrapper {
	display: flex;
	flex-direction: column;
	gap: var(--space);
}

#ads .wrapper .boxes .box {
	text-align: left;
	align-items: start;
}

@media (max-width: 800px) {
	#ads .wrapper .boxes {
		flex-direction: column;
	}
}

/* FOOTER */
footer {
	text-align: center;
	font-size: 0.75rem;
}

footer .wrapper {
	display: flex;
	flex-direction: column;
	gap: var(--space);
	align-items: center;
}

footer .footer-top, footer .footer-bottom {
	display: flex;
	flex-direction: column;
	gap: var(--padding);
	align-items: center;
}

footer .footer-text {
	opacity: 0.5;
}

footer .logo {
	background: url(https://www.hostfactory.ch/extensions/skeleton/data/images/hostfactory-logo.png) no-repeat;
	filter: grayscale(1);
	background-size: contain;
	height: 2.188rem;
	width: 10.94rem;
	opacity: 0.5;
}

footer .footer-links ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	gap: var(--space);
	row-gap: var(--padding);
}

footer .footer-links ul a {
	display: block;
	position: relative;
	line-height: 0.75rem;
	color: var(--colorFont);
	white-space: nowrap;
	opacity: 0.3;
	font-weight: bold;
}

footer .footer-links ul a:hover {
	color: var(--colorPrimary);
	opacity: 1;
	background-color: transparent;
}

footer .footer-links ul a::before {
	content: '';
	position: absolute;
	bottom: 0.15rem;
	left: -0.75rem;
	width: 0.25rem;
	height: 0.25rem;
	border-right: 2px solid var(--colorFont);
	border-bottom: 2px solid var(--colorFont);
}

footer .footer-social ul {
	list-style: none;
	display: flex;
	justify-content: center;
	gap: var(--padding);
	padding: 0;
	margin: 0;
}


footer .footer-social ul li a {
	background-color: var(--colorFont);
	opacity: 0.3;
	display: block;
}

footer .footer-social ul li a:hover {
	opacity: 1;
}

footer .footer-social ul li img {
	width: 18px;
	height: 18px;
	filter: invert(100%);
	padding: 3px;
	display: block;
}