/* #region @prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-delay: 0s !important;
		animation-duration: 0s !important;
		scroll-behavior: auto !important;
		transition-delay: 0s !important;
		transition-duration: 0s !important;
	}
}

/* #endregion */
/* #region Elements */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	--logo-width: 100px;
	display: grid;
	font-family: var(--font-sans);
	grid-template-rows: auto 1fr;
	letter-spacing: var(--px01);
	margin: 0;
	min-height: 100vh;
	padding: var(--px16);
	text-align: right;
	text-transform: uppercase;
}

h1 {
	font-size: var(--fz60);
	font-weight: 500;
	line-height: 1;
	margin: 0;
	text-wrap: balance;
}

img {
	display: block;
	max-width: 100%;
}

/* #endregion */
/* #region Global */
.carousel-content {
	display: grid;
	grid-auto-flow: row;
	transition: transform .5s ease;

	img {
		width: var(--logo-width);
	}
}

.footer {
	align-self: end;
	color: dimgrey;
	font-size: var(--fz12);

	p {
		margin-top: var(--px06);
	}
}

.header {
	color: black;

	p {
		font-size: var(--fz14);
		font-weight: 400;
		margin-left: auto;
		max-width: 40ch;
		text-transform: none;
	}
}

.logo {
	margin: 0 0 var(--px16) auto;
	width: 300px;
}

.logo-carousel-container {
	height: calc(var(--logo-width) * 3);
	margin-left: auto;
	overflow: hidden;
	position: relative;
	width: var(--logo-width);
}

.logo-carousel-fade {
	background: linear-gradient(white, transparent);
	height: calc(var(--logo-width) * 3);
	left: 0;
	position: absolute;
	top: 0;
	width: var(--logo-width);
}

/* Animates smoother with this code at the end of the CSS file rather than in alphbetical order */
.attribution-carousel-container {
	height: var(--px16);
	overflow: hidden;

	p {
		font-family: "Architects Daughter", sans-serif;
		font-size: var(--fz12);
		height: var(--px16);
		letter-spacing: var(--px01);
		line-height: 1;
		margin: 0;
		text-transform: uppercase;
	}
}

/* #endregion */