* {
	margin: 0;
	padding: 0;
}

html {
	background-color: #fdfbf7;
	font-size: 24px;
	color: rgba(80, 80, 80);
}

:root {
	--desktop-size-lg: 1.5rem;
	--desktop-size-md: 1rem;
	--desktop-size-sm: .8rem;
	--desktop-size-tiny: .5rem;

	--phone-size-sm: .8rem;
	--phone-size-small: .6rem;

	--gallery-cell-height: 60vh;
}

body {
	width: 100%;
	height: 100%;

	display: flex;
	flex-flow: column;
	align-items: center;
	padding: 2rem;
	padding-top: 0;

	border: .5rem #faf1e1 solid;
	box-sizing: border-box;

	position: relative;

	font-size: var(--desktop-size-lg);
}

iframe {
	width: 100%;
	height: var(--gallery-cell-height);
	border: none;
}

code {
	background-color: grey;
}

#intro {
	width: 60%;

	display: flex;
	flex-flow: column;
	align-items: center;
	gap: 7rem;
	text-align: center;

	padding-top: 4rem;
	padding-bottom: 10rem;
	box-sizing: border-box;

	transition: filter 1s, opacity 1s;
}

#intro h1 {
	font-size: var(--desktop-size-sm);
	font-weight: normal;
	letter-spacing: 0.05rem;
	font-style: italic;

	opacity: 0;

	transition: opacity 4s;
}

#intro .text {
	width: 100%;
	display: flex;
	justify-content: center;
}

#intro .split {
	width: 1px;
	height: 8rem;
	background-color: rgba(200, 200, 200, 1.0);
}

/* Gallery ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||*/

#gallery {
	width: 100%;

	display: flex;
	flex-flow: column;
	gap: 2rem;
}

#gallery .cell {
	width: 100%;
	height: var(--gallery-cell-height);

	position: relative;

	overflow: hidden;

	filter: blur(.2rem);

	transition: filter .5s;
}

#gallery .cell .frame {
	width: 100%;
	height: 100%;

	display: flex;
	justify-content: center;
	align-items: center;

	position: absolute;
	transition: top 1s, opacity .5s;

	overflow: hidden;
}

#gallery .cell img {
	width: 100%;
	/*			height: auto;*/
	/*			height: 100%;*/
}

#gallery .cell .loader {
	width: 100%;
	height: 100%;
	background-color: white;

	display: flex;
	justify-content: center;
	align-items: center;

	position: absolute;
	top: 0;
	z-index: 100;

	transition: top 2s, opacity 2s;
	transition-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
}

#gallery .cell .loader:before {
	content: '';
	width: 2vw;
	height: 2vw;
	background-color: #ffd54b;

	position: absolute;
	z-index: 1;

	border-radius: 100%;

	animation-name: Loading;
	animation-duration: .75s;
	animation-iteration-count: infinite;
}

@keyframes Loading {
	0% {
		width: 2.2vw;
		height: 1.4vw;
		transform: translateY(.5vw);
		animation-timing-function: cubic-bezier(0.5, 1, 0.89, 1);
	}

	25% {
		width: 1.8vw;
		height: 2.2vw;
	}

	50% {
		width: 2vw;
		height: 2vw;
		transform: translateY(-3vw);
		animation-timing-function: cubic-bezier(0.11, 0, 0.5, 0);
	}

	75% {
		width: 1.8vw;
		height: 2.2vw;
	}

	100% {
		width: 2.2vw;
		height: 1.4vw;
		transform: translateY(.5vw);
		animation-timing-function: cubic-bezier(0.5, 1, 0.89, 1);
	}
}

#gallery .cell .loader:after {
	content: '';
	aspect-ratio: 1/.25;
	background-color: black;

	position: absolute;

	border-radius: 100%;

	transform: translateY(1vw);

	animation-name: Loading-Shadow;
	animation-duration: .75s;
	animation-iteration-count: infinite;
}

@keyframes Loading-Shadow {
	0% {
		filter: blur(.05rem);
		width: .5vw;
		opacity: 1;
		animation-timing-function: cubic-bezier(0.5, 1, 0.89, 1);
	}

	50% {
		filter: blur(.2rem);
		width: 1vw;
		opacity: .6;
		animation-timing-function: cubic-bezier(0.11, 0, 0.5, 0);
	}

	100% {
		filter: blur(.05rem);
		width: .5vw;
		opacity: 1;
		animation-timing-function: cubic-bezier(0.5, 1, 0.89, 1);
	}
}

footer {
	width: 100%;
	height: fit-content;
	padding-top: 6rem;
	padding-bottom: 4rem;

	display: flex;
	flex-flow: column;
	gap: 6rem;
}

footer>* {
	display: flex;
	flex-flow: column;

	text-align: center;
}

.small {
	font-size: var(--desktop-size-sm);
	line-height: 1rem;
	letter-spacing: .01rem;
}

.tiny {
	font-size: var(--desktop-size-tiny);
	line-height: .75rem;
	letter-spacing: .05rem;
	text-transform: uppercase;
}

/* Phone ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||*/

@media only screen and (max-width: 1024px) {

	body {
		padding: 1rem;
		font-size: var(--desktop-size-lg);
	}

	#intro {
		width: 100%;
		/*				flex-flow: column;*/
		gap: 5rem;
		padding-top: 1rem;
		padding-bottom: 7rem;
		/*		text-align: center;*/
	}

	#intro .split {
		display: none;
	}

	#intro h1 {
		font-weight: normal;
		letter-spacing: .1rem;
		font-size: var(--phone-size-small);
		/*				text-transform: none;*/
	}

	#intro p {
		width: 80%;
	}

	#gallery {
		gap: 1rem;
	}

	#gallery .cell img {
		width: auto;
		height: 100%;
	}

	#copyright {
		gap: .8rem;
	}

	.small {
		font-size: var(--phone-size-small);
		line-height: .7rem;
	}

	footer {
		width: 80%;
		padding-top: 5rem;
		padding-bottom: 3rem;
	}
}

/* Tools ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||*/

.fill-parent-width {
	width: 100% !important;
	height: auto !important;
}

.hide {
	display: none !important;
}

.no-filter {
	filter: none !important;
}

.fade-in-on-hover {
	opacity: .5;
	transition: opacity .5s !important;
}

.fade-in-on-hover:hover {
	opacity: 1;
}
