*,
*::after,
*::before {
	box-sizing: border-box;
}

:root {
	font-size: 16px;
	--color-text: #fff;
	--color-bg: #000;
	--color-bg-alt: rgba(41, 71, 142, 0.2);
	--color-link: rgba(255,255,255,0.5);
	--color-link-hover: #fff;
	--color-title:rgb(255, 53, 60);
}

body {
	margin: 0;
	color: var(--color-text);
	background-color: var(--color-bg);
	font-family: "tenon", sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	margin-bottom: 100vh;
	overflow-x: hidden;
}

.intro {
	height: 100dvh;
    text-align: center;
    place-items: center;
    display: grid;
    margin-bottom: 10vh;
    background: linear-gradient(0deg, transparent, var(--color-bg-alt));
}

.intro__title {
    place-items: center;
    margin: 0;
    line-height: .9;
    display: grid;
    margin-top: 15vh;
    font-weight: 400;
}

.intro__title-pre {
	font-family: "stinger-variable", sans-serif;
	font-variation-settings: "wdth" 140, "wght" 300;
	font-weight: 300;
    font-size: clamp(2rem,10vw,5rem);
    color: var(--color-title);
}

.intro__title-sub {
    font-size: 1.5rem;
    margin: 1rem 0;
}

.intro__logo {
	margin-bottom: 1rem;
}

.intro__info {
	max-width: 15ch;
    opacity: .6;
    margin-bottom: 4rem;
    padding-bottom: 1rem;
    line-height: 1.2;
    position: relative;
    align-self: end;
}

.intro__info::after {
	content: "";
	width: 1px;
	height: 2rem;
	background: #fff;
	position: absolute;
	top: 100%;
	left: 50%;
}

.content__title {
	margin-top: 40vh;
}

.credits {
	font-size: 1.5rem;
	text-align: center;
	margin: 50vh auto 0;
}

.content-wrap {
	display: grid;
	place-items: center;
	grid-template-areas: 'main';
	margin-bottom: 10vmax;

	/* Debug */
	/* background: green; */
	/* border-bottom: 1px solid #fff; */
}

.content {
	grid-area: main;
	display: grid;	
	place-items: center;
	line-height: 1.2;
	grid-template-areas: 'content';
}

.content-wrap .content:first-child {
	min-height: 60vh;
}

.content--layout {
	grid-template-areas:  'title-up title-down' 
						  'img img'
						  'text text';
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.content__img {
	grid-area: img;
	width: 100%;
	height: auto;
	/* max-height: 600px; */
}

/* .content__img--1 {
	aspect-ratio: 896/1344;
}

.content__img--2 {
	aspect-ratio: 1000/450;
}

.content__img--3 {
	aspect-ratio: 1000/560;
}

.content__img--4 {
	aspect-ratio: 1400/560;
}

.content__img--5 {
	aspect-ratio: 680/920;
}

.content__img--6 {
	aspect-ratio: 1;
}

.content__img--7 {
	aspect-ratio: 1400/560;
} */

.title-wrap {
	display: flex;
	gap: 1em;
	align-items: center;
    justify-content: center;
}

.title {
	padding-top: 0.3em;
	line-height: 0.525;
	font-size: 2rem;
	font-family: "stinger-variable", sans-serif;
	font-variation-settings: "wdth" 140, "wght" 150;
	font-weight: 300;
	position: relative;
	z-index: 100;
	text-indent: -0.1em;
	will-change: transform, font-size;
	word-break: normal;
	word-wrap: normal;
	text-shadow: 5px 5px 0px black;
}

.title--up {
	grid-area: title-up;
	font-style: italic;
	
}

.title--down {
	grid-area: title-down;
	font-variation-settings: "wdth" 140, "wght" 350;
}

.content__text {
	grid-area: text;
	text-transform: uppercase;
	margin: 0;
	opacity: 0.7;
	width: 100%;
	padding: 1rem;
	text-wrap: balance;
	color: white !important;
	line-height: 1.1 !important;
	
}

@media screen and (min-width: 40em) {
	.title {
		font-size: 3rem;
	}
}

@media screen and (min-width: 70em) {
	
	.intro {
		margin-bottom: 10vh;
	}

	.title {
		font-size: clamp(2rem,12vw,7rem);
	}

	.content-wrap:not(:last-child) {
		margin-bottom: 10vmax;
	}

	.content__img {
		max-width: 100%;
		width: 100%;
		max-height: 100%;
	}

	.content__img--1 {
		height: auto;
		width: 100%;
		max-width: 100%;
		max-height: 100vh;
	}

	.content__img--2 {
		width: 80vw;
	}

	.content__img--3 {
		width: 90vw;
		align-self: center;
	}

	.content__img--4 {
		width: 100%;
		align-self: center;
	}

	.content__img--5 {
		height: auto;
		width: 100%;
		max-width: 100%;
		max-height: 100vh;
	}

	.content__img--6 {
		max-width: 100%;
	}

	.content__img--7 {
		width: 100%;
		align-self: center;
	}

	.content--layout-1 {
		grid-template-areas:  'title-up img ...' 
							  'text img title-down';
		grid-template-columns: 30% auto 30%;
		grid-template-rows: 1fr 1fr;
		column-gap: 0;
	}

	.content--layout-2 {
		grid-template-areas:  'title-up ...' 
							  'img img'
							  'text title-down';
		grid-template-columns: auto auto;
		justify-content: center;
		row-gap: 3vh;
	}

	.content--layout-3 {
		grid-template-areas:  'title-up img title-down' 
							  'text text text';
		grid-template-columns: 20vw auto 20vw;
		grid-template-rows: auto auto;
		row-gap: 10vh;
		column-gap: 0;
		justify-content: center;
		align-content: center;
	}

	.content--layout-4 {
		width: 100%;
		grid-template-areas:  'title-up'
							   'img'
							   'title-down'
							  'text';
		grid-template-columns: 1fr;
		justify-content: center;
		row-gap: 4vh;
	}

	.content--layout-5 {
		grid-template-areas:  'title-up img ...' 
							  'text img title-down';
		grid-template-columns: 30% auto 30%;
		grid-template-rows: 1fr 1fr;
		column-gap: 0;
	}

	.content--layout-6 {
		grid-template-areas:  'title-up img' 
							  'title-down img'
							  'text img';
		grid-template-columns: 1fr 50%;
		grid-template-rows: auto auto 1fr;
		column-gap: 3vw;
		row-gap: 0;
	}

	.content--layout-7 {
		width: 100%;
		grid-template-areas:  'img img img img'
							   '... text title-up ...'
							   '... text title-down ...';
		grid-template-columns: 10vw 1fr 1fr 10vw;
		justify-content: center;
		row-gap: 4vh;
	}

	.title--up {
		justify-self: end;
		align-self: start;
	}

	.content--layout-1 .title--up {
		justify-self: start;
	}

	.content--layout-2 .title--up {
		justify-self: start;
	}

	.content--layout-3 .title--up {
		justify-self: start;
		align-self: center;
	}

	.content--layout-4 .title--up {
		justify-self: center;
	}

	.content--layout-5 .title--up {
		justify-self: start;
	}

	.content--layout-6 .title--up {
		justify-self: end;
		align-self: start;
	}

	.content--layout-7 .title--up {
		justify-self: start;
	}

	.title--down {
		justify-self: start;
		align-self: end;
	}

	.content--layout-1 .title--down {
		justify-self: end;
	}

	.content--layout-2 .title--down {
		justify-self: end;
	    align-self: start;
		margin-top: -0.1em;
	}

	.content--layout-3 .title--down {
		align-self: end;
		justify-self: end;
	}

	.content--layout-4 .title--down {
		justify-self: center;
	}

	.content--layout-5 .title--down {
		justify-self: end;
	}

	.content--layout-6 .title--down {
		justify-self: end;
		align-self: start;
	}

	.content__text {
		font-size: 1.4rem !important;
		padding: 0.5rem;
	}

	.content--layout-2 .content__text {
		align-self: start;
		justify-self: start;
		max-width: 400px;
	}

	.content--layout-1 .content__text {
		max-width: 250px;
		text-align: right;
		justify-self: end;
		align-self: end;
	}

	.content--layout-3 .content__text {
		/* column-count: 2; */
		column-gap: 4vw;
		max-width: 590px;
		 text-align: center; 
	}

	.content--layout-4 .content__text {
		text-align: center;
		max-width: 400px;
		margin-top: 3rem;
	}

	.content--layout-5 .content__text {
		max-width: 250px;
		text-align: right;
		justify-self: end;
		align-self: end;
	}

	.content--layout-6 .content__text {
		max-width: 250px;
		justify-self: end;
		align-self: end;
		text-align: right;
	}

	.content--layout-7 .content__text {
		max-width: 250px;
		justify-self: start;
		align-self: start;
		text-align: right;
	}

	.card-wrap {
		grid-template-columns: repeat(3,250px);
	}

	body #cdawrap {
	    justify-self: end;
	}

}
