html {
	background-color: #dadada;
	/* background: -webkit-linear-gradient(90deg, #e7e8e314 -80%,#08121f47,#e8e8e42e); */
}

body {
	margin: 2rem 0 0 0;
	font-family: 'Glegoo', -apple-system, BlinkMacSystemFont, 'Roboto', Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
	font-size: 1rem;
	background-image: url(/assets/_images/bottleparty-soft.png);
	background-repeat: no-repeat;
}

.introduction {
	background-size: 40em;
	background-position-x: 100%;
	background-position-y: 98%;
}

@media(min-width: 40em) {
	.introduction {
		background-size: 55em;
		background-position-y: 96%;
	}
}

@media(min-width: 48em) {
	.introduction {
		background-size: 70em;
		background-position-y: 98%;
	}
}

@media(min-width: 75em) {
	.introduction {
		background-size: 80em;
		background-position-y: 98%;
	}
}

main {
	display: flex;
	flex-direction: column;
}

@media(min-width: 30em) {
	main {
		padding-right: 1rem;
		padding-left: 1rem;
	}
}

@media(min-width: 42em) {
	main {
		padding: 0;
	}
}

.wrapper {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 10rem auto;
	margin-bottom: 14rem;
	padding: 0 1rem;
	text-align: center;
	opacity: 0;
	animation-duration: 1000ms;
	animation-name: fadein;
	animation-fill-mode: forwards;
	animation-timing-function: ease-out;
	animation-delay: 1250ms;
}

@media(min-width: 48em) {
	.wrapper {
		margin-bottom: 18rem;
	}
}

@keyframes fadein {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes slidein {
	from {
		top: -10rem;
	}

	to {
		top: 2rem;
	}
}

.founding-badge {
	position: absolute;
	top: -10rem;
	width: 100%;
	margin: 0 auto;
	animation-duration: 350ms;
	animation-name: slidein;
	animation-fill-mode: forwards;
	animation-timing-function: ease-out;
	animation-delay: 500ms;
	text-align: center;
}

.established {
	display: block;
	margin-bottom: -1.5em;
	font-size: 0.9rem;
	text-transform: uppercase;
	font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Droid Sans,Helvetica Neue,sans-serif;
}

.year {
	display: block;
	font-family: 'Assistant', sans-serif;
	font-weight: 800;
	font-size: 5.5rem;
	letter-spacing: -0.03em;
	color: #ca1235;
	filter: drop-shadow(-0.01em 0.015em 0px white);
}

@media(min-width: 20em) {
	.year {
		font-size: 7em;
	}
}

.location {
	display: block;
	margin-top: -0.75em;
	font-size: 0.75em;
}

.location::before {
	content: '';
	display: inline-block;
	width: 0.5rem;
	height: 1px;
	margin-right: 0.25em;
	margin-bottom: 0.25em;
	background-color: #444;
}

.location::after {
	content: '';
	display: inline-block;
	width: 0.5rem;
	height: 1px;
	margin-left: 0.25em;
	margin-bottom: 0.25em;
	background-color: #444;
}

.dirty {
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	background-size: cover;
}

.dirty--color {
	background-image: url(/assets/css/images/intro-dirty-color--tiny.png);
}

.dirty--black {
	background-image: url(/assets/css/images/intro-dirty-black--tiny.jpg);
}

h1 {
	margin: 0;
	font-size: 2.6em;
	font-weight: bold;
	letter-spacing: 0.075em;
	text-transform: uppercase;
	filter: drop-shadow(-0.04em -0.04em 0 white);
}

@media(min-width: 30em) {
	h1 {
		font-size: 2.8em;
		filter: drop-shadow(-0.005em -0.02em 0 white);
	}
}

@media(min-width: 32.5em) {
	h1 {
		font-size: 3.5em;
	}
}

@media(min-width: 46.875em) {
	h1 {
		font-size: 5.7em;
	}
}

@media(min-width: 54.375em) {
	h1 {
		font-size: 7em;
	}
}

h2 {
	margin: 0;
	font-size: 0.75em;
	font-weight: 400;
	font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Droid Sans,Helvetica Neue,sans-serif;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	letter-spacing: 1px;
}

@media(min-width: 30em) {
	h2 {
		font-size: 1.2em;
	}
}

@media(min-width: 40em) {
	h2 {
		font-size: 1.4em;
	}
}

@media(min-width: 50em) {
	h2 {
		font-size: 1.6em;
	}
}

h2::before {
	content: '';
	display: inline-block;
	width: 2em;
	height: 1px;
	margin-right: 0.5em;
	margin-bottom: 0.35em;
	background-color: black;
}

h2::after {
	content: '';
	display: inline-block;
	width: 2em;
	height: 1px;
	margin-left: 0.5em;
	margin-bottom: 0.35em;
	background-color: black;
}

figure img {
	max-width: 100%;
}

p + figure {
	max-width: 35em;
	margin-top: 1.5em;
	margin-right: auto;
	margin-bottom: 2em;
	margin-left: auto;
}

main p {
	max-width: 35em;
	margin: 0 auto 1.75em auto;
	font-family: 'Merriweather', serif;
	font-size: 1.25em;
	font-weight: 300;
	line-height: 1.5;
	text-align: left;
	text-align: justify;
	hyphens: auto;
}

@media(min-width: 30em) {
	main p {
		hyphens: none;
	}
}

main p:first-of-type {
	max-width: 30em;
	margin-top: 6rem;
	margin-bottom: 3rem;
	text-align: center;
	hyphens: none;
	order: -1;
}

main p:nth-of-type(2) {
	margin-top: 3em;
	text-align: justify;
}

@media(min-width: 30em) {
	main p:nth-of-type(2) {
		columns: 2;
		column-gap: 3em;
	}
}

@media(min-width: 35em) {
	main p:nth-of-type(2) {
		column-gap: 4em;
	}
}

@media(min-width: 37.5em) {
	main p:nth-of-type(2) {
		column-gap: 2em;
	}
}

@media(min-width: 30em) {
	main p:nth-of-type(3) {
		hyphens: auto;
	}
}

@media(min-width: 33.75em) {
	main p:nth-of-type(3) {
		hyphens: none;
	}
}

a {
	color: #ca1235;
	text-decoration: none;
	border-bottom: 0.08rem dashed transparent;
	background-color: transparent;
	transition: background-color 500ms, padding 500ms;
}

@media(min-width: 66.5625em) {
	a {
		border-bottom: 0.08rem dashed #ca1235;
	}
}

a:hover {
	padding-right: 0.5em;
	padding-left: 0.5em;
	color: white;
	text-decoration: none;
	border-top-right-radius: 0.2rem;
	border-top-left-radius: 0.2rem;
	background-color: #ca1235;
	transition: background-color 500ms, color 500ms, padding 500ms;
}

.reversecap {
	display: inline-block;
	transform: rotateY(180deg);
}

.footer {
	margin-top: 5em;
	font-size: 0.75em;
	line-height: 1.5;
	text-align: center;
	background-color: #d23351;
}

.footer a {
	color: white;
	border-bottom: 0.08rem dashed white;
}

.footer a:hover {
	color: #ca1235;
	background-color: white;
}

.footer p {
	padding: 0.5em;
}

@media(min-width: 78em) {
	.footer p {
		text-align: center;
	}
}

::selection {
	color: white;
	background-color: #d23351e6;
}
