* {
    box-sizing: border-box;
}

@font-face {
	font-family: 'Urbanist';
	src: url(/assets/fonts/Urbanist-VariableFont_wght.ttf);
	font-display: swap;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
}

body {
	font-family: 'Urbanist', Helvetica, Arial, sans-serif;
	background-color: #fff;
	color: #333;
}

.container {
	max-width: 120rem; /* 1920px */
	margin: 0 auto;
	padding: 2rem;
}

h1 {
	font-size: 3rem;
	font-weight: 300;
	text-transform: uppercase;
}

h1 span {
	display: inline-block;
}

h2 {
	font-size: 2rem;
	font-weight: 300;
	text-transform: uppercase;
}

img {
	width: 100%;
}

.masonry {
	column-count: 4;
	column-gap: 2rem;
}

.masonry .mItem {
	display: inline-block;
	margin-bottom: 2rem;
	width: 100%;
	opacity: 0;
	transition: all 1s ease;
}

.show {
	opacity: 1 !important;
	transition: all 1s ease;
}

.note {
	display: flex;
	align-items: center;
	margin-bottom: 2rem;
}

.note span {
	padding-left: .8rem;
	font-size: 2rem;
	font-weight: 300;
	text-transform: uppercase;
}

img-comparison-slider {
	margin-bottom: 2rem;
}

img-comparison-slider img {
	max-height: 620px;
}

/*1440px*/
@media (max-width: 90rem) {
	.masonry {
		column-count: 3;
	}
}

/*1024px*/
@media (max-width: 64rem) {
	h1 {
		font-size: 1rem;
	}

	h2 {
		font-size: 1rem;
	}

	.note span {
		font-size: 1rem;
	}

	.circleWip {
		width: .8rem;
		height: .8rem;
	}

	.masonry {
		column-count: 2;
	}
}

/*720px*/
@media (max-width: 45rem) {
	.masonry {
		column-count: 1;
	}
}

/* Preloader Overlay */
#preloader {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	z-index: 9999;
	transition: opacity 400ms ease, visibility 400ms;
	opacity: 1;
	visibility: visible;
	will-change: opacity, visibility;
}

/* Versteckt nach dem Laden */
#preloader.hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

#preloader--spinner {
	font-family: monospace;
	font-size: 3rem;
	font-weight: 300;
}

.lds--spinner {
	color: official;
	display: inline-block;
	position: relative;
	width: 80px;
	height: 80px;
}
.lds--spinner div {
	transform-origin: 40px 40px;
	animation: lds--spinner 1.2s linear infinite;
}
.lds--spinner div:after {
	content: " ";
	display: block;
	position: absolute;
	top: 3px;
	left: 37px;
	width: 6px;
	height: 18px;
	border-radius: 20%;
	background: #333;
}
.lds--spinner div:nth-child(1) {
	transform: rotate(0deg);
	animation-delay: -1.1s;
}
.lds--spinner div:nth-child(2) {
	transform: rotate(30deg);
	animation-delay: -1s;
}
.lds--spinner div:nth-child(3) {
	transform: rotate(60deg);
	animation-delay: -0.9s;
}
.lds--spinner div:nth-child(4) {
	transform: rotate(90deg);
	animation-delay: -0.8s;
}
.lds--spinner div:nth-child(5) {
	transform: rotate(120deg);
	animation-delay: -0.7s;
}
.lds--spinner div:nth-child(6) {
	transform: rotate(150deg);
	animation-delay: -0.6s;
}
.lds--spinner div:nth-child(7) {
	transform: rotate(180deg);
	animation-delay: -0.5s;
}
.lds--spinner div:nth-child(8) {
	transform: rotate(210deg);
	animation-delay: -0.4s;
}
.lds--spinner div:nth-child(9) {
	transform: rotate(240deg);
	animation-delay: -0.3s;
}
.lds--spinner div:nth-child(10) {
	transform: rotate(270deg);
	animation-delay: -0.2s;
}
.lds--spinner div:nth-child(11) {
	transform: rotate(300deg);
	animation-delay: -0.1s;
}
.lds--spinner div:nth-child(12) {
	transform: rotate(330deg);
	animation-delay: 0s;
}
@keyframes lds--spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/* Inhalt der Seite initially hidden für Screenreader und FOUC-Vermeidung */
main[aria-hidden="true"] {
	visibility: hidden;
	user-select: none;
	pointer-events: none;
}

/* Nach dem Laden sichtbarer Inhalt */
main[aria-hidden="false"] {
	visibility: visible;
}
