@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

@font-face {
	font-family: 'coluna';
	src: url('../fonts/Coluna.otf');
	src:
		local('coluna'),
		local('coluna'),
		url('../fonts/Coluna.otf') format('opentype');
}

@font-face {
	font-family: 'pristine';
	src: url('../fonts/PRISTINA.TTF');
}

*,
*::after,
*::before {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: inherit;
}

:root {
	font-size: 16px;
}

body {
	--color-text: #413f3d;
	--color-titles: #000;
	--color-bg: #f9f9f9;
	--color-faded: #fff;
	--color-link: #334bf7;
	--color-link-hover: #000;
	color: #000;
	color: var(--color-text);
	background-color: #f4efea;
	background-color: var(--color-bg);
	font-family: 'Montserrat', sans-serif;
	font-size: 1rem;
	line-height: 1;
	-webkit-font-smoothing: subpixel-antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img {
	max-width: 100%;
}

.block--about {
	background-color: white;
}

video {
	border: none;
	transform: translateX(25%);
}

@media screen and (max-width:50em) {
	video {
		width: 80%;
		height: 100%;
		transform: translateX(0);
	}
}


a {
	text-decoration: none;
	color: var(--color-link);
	outline: none;
}

a:hover,
a:focus {
	color: var(--color-link-hover);
	outline: none;
}

h1,
h2 {
	font-family: 'coluna', arial;
	color: var(--color-titles);
	letter-spacing: 0.5rem;
}


p {
	line-height: 1.6;
}

[data-scroll] {
	will-change: transform;
}

section {
	transition: opacity 0.3s;
	cursor: default;
}

.black {
	background-image: url('../img/herobanner.jpg');
	background-repeat: no-repeat;
	background-size: contain;
	background-color: #010102;
}

.color-white {
	color: white;
	/* width: 100%; */
	margin: 0 auto;
	/* text-align: justify; */
}

.color-white p {
	width: 100%;
}

.color-white h2 {
	text-align: center;
	font-size: 2rem;
}

.loading {
	overflow: hidden;
}

.loading section {
	opacity: 0;
}

.logo {
	width: 4rem;
	padding: 0.3rem;
	border: 1px solid black;
}

.block {
	display: grid;
	position: relative;
	max-width: calc(1030px + 6.5rem);
	margin: 0 auto;
	padding: 20vh 3.25rem;
}

.block--screen {
	align-items: center;
}

.block--centered {
	align-content: center;
}

.block--party {
	display: flex;
	justify-content: center;
	width: 100% !important;
	min-height: 400px;
	align-items: center;
	margin: 0;
	padding: 0;
}

.block--party h2 {
	justify-self: end;
	position: absolute;
	color: white;
	/* width: 100%;
	text-align: center; */
}

.block--prime {
	grid-gap: 2rem;
	max-width: none;
	padding: 1.85rem 3.25rem;
	pointer-events: none;
	background-image: url('../img/heroImage.png');
	background-position: center top;
	background-size: cover;
	background-repeat: no-repeat;
}

.bgletter {
	z-index: -1;
	position: absolute;
	/* overflow: hidden; */
	width: 100vw;
	top: 0;
	font-size: 67vw;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	white-space: nowrap;
	font-family: 'pristine', serif;
	color: var(--color-faded);
}

.main-frame {
	position: absolute;
	width: 100%;
	height: 100vh;
	top: 0;
	left: 0;
	z-index: -1;
	scroll-behavior: none;
}

.loader {
	top: 4rem;
	height: 100vh;
	font-size: 67vw;
}

.loader__letter {
	opacity: 0;
	display: inline-block;
	white-space: nowrap;
}

.btn--float {
	position: fixed;
	cursor: pointer;
	top: 50px;
	right: 50px;
	z-index: 99999999;
}

.block--two {
	grid-template-columns: auto;
	grid-gap: 3rem;
}

.block--two img {
	/* border: 1px black solid; */
	padding: 20px;
	/* margin-top: 50px; */
}

.scroll__ui {
	position: absolute;
	height: 80%;
	padding: 0 !important;
	margin-top: 50px;
	max-width: none;
	box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.block--story {
	justify-content: center;
	margin: 0 auto;
	grid-column-gap: 230px;
	grid-template-columns: minmax(auto, 400px);
}

.block--sep::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 3.25rem;
	width: 5rem;
	height: 1px;
	background: currentColor;
}

.block__item {
	max-width: 100vw;
	justify-self: center;
	margin-bottom: 5rem;
}

.block__item:last-child {
	margin-bottom: 0;
}

.block__item-imgwrap {
	width: 100%;
	max-width: 400px;
	position: relative;
	overflow: hidden;
}

.block__item-img {
	width: 100%;
	display: block;
}

.block__item-title {
	font-size: 1.25rem;
	line-height: 1.3;
	font-weight: 400;
	margin: 2rem 0;
	max-width: 320px;
}

.block__item-desc {
	margin: 1rem 0 2rem;
	max-width: 380px;
	/* text-align: justify; */
}

.block__item-link {
	display: inline-block;
	color: var(--color-text);
	text-decoration: underline;
}

.block__item-link:hover {
	text-decoration: none;
}

.block__item-link+.block__item-link {
	margin-left: 1rem;
}

.block__title {
	position: relative;
	font-size: 1.75rem;
	line-height: 1.1;
}

.block__title--single {
	font-size: 1.5rem;
	white-space: pre-wrap;
}

.block__title--small {
	text-transform: uppercase;
	font-family: inherit;
	font-weight: bold;
	font-size: 1rem;
	margin: 0 0 0.5rem 0;
}

.block__titlewrap {
	margin-top: 3rem;
}

.block__listtitle {
	font-weight: 400;
	font-size: 1.15rem;
	margin: 2rem 0;
	line-height: 1.25;
}

.block__listtitle a {
	color: var(--color-text);
}

.block__listtitle a:hover,
.block__listtitle a:focus {
	text-decoration: underline;
}

.block__text {
	max-width: 300px;
	margin: 1.5rem 0;
	/* text-align: justify; */
}

.block__text--subline {
	margin: 2.5rem auto;
}

.block__text--em {
	font-style: italic;
}

.block__link {
	color: var(--color-text);
	text-decoration: underline;
}

.block__link:hover,
.block__link:focus {
	text-decoration: none;
}

.row {
	display: flex;
	justify-content: space-between;
}

.row--header {
	align-self: start;
}

.row--footer {
	align-self: end;
	margin: 2rem 0 0 0;
}

.linkgroup {
	display: inline-block;
}

.linkgroup__text {
	display: inline-block;
}

.linkgroup__item {
	margin-left: 1.25rem;
}

.row--footer .linkgroup__item {
	margin: 0 0.25rem;
}

.cta--btn {
	border: 1px black solid;
	padding: 20px 30px;
	color: white;
	background-size: 0 0;
	background-color: black;
	cursor: pointer;
	transition: background-color 0.3s ease-out, border-radius 0.3s ease-out;
	pointer-events: visible;
}

.cta--btn:hover {
	background-color: transparent;
	color: #000;
	border-radius: 25px;
	background-size: 10px 0;
}

.blue {
	border: #2c4870 1px solid;
	background-color: #2c4870;
}

.title {
	text-align: center;
	margin: 6rem 0 2rem;
}

.title__main {
	line-height: 0.5;
	font-size: 8.25vw;
	margin: 0 0 6rem 0;
}

.title__sub {
	font-size: 1rem;
	font-family: 'Montserrat';
	font-weight: 400;
	color: var(--color-text);
	letter-spacing: normal;
}

.intro {
	align-self: baseline;
	height: 100%;
	/* padding-top: 5rem; */
}

.intro p {
	width: 250px;
	margin-top: 20px;
	padding: 20px;
}

.intro__block {
	max-width: 30ch;
	margin: 0 auto 1rem;
}

.authors {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	text-align: center;
	grid-column-gap: 10vw;
}

.authors__item {
	display: block;
	white-space: nowrap;
}

.authors__item:hover,
.authors__item:focus {
	text-decoration: underline;
}

.authors__item:not(.authors__item--em) {
	color: var(--color-text);
}

.nobreak {
	white-space: nowrap;
}

.star {
	display: inline-block;
	background: url(../img/badge.svg) no-repeat 50% 50%;
	background-size: 100%;
	color: #fff;
	padding: 4.5rem 2.5rem;
	margin: 0 1rem;
	transform: rotate(-12deg);
}

.breakout {
	left: 50%;
	right: 50%;
	margin: 0 -50vw;
}

.image-grid {
	pointer-events: none;
	position: relative;
	grid-area: 1 / 1 / 2 / 2;
	z-index: -1;
	width: 100vw;
	min-height: 90vh;
	display: grid;
	justify-content: space-between;
	align-content: space-between;
	grid-template-columns: repeat(4, 230px);
	grid-template-rows: repeat(3, 126px);
	grid-auto-flow: column;
	overflow: hidden;
}

.image-grid img {
	opacity: 0.4;
	justify-self: center;
}

.image-grid img:first-child {
	margin-top: 6vh;
}

.image-grid img:nth-child(4) {
	grid-column: 2;
	grid-row: 1 / 3;
	align-self: center;
}

.image-grid img:nth-child(5) {
	grid-column: 2;
	grid-row: 2 / 4;
	align-self: center;
	width: 200px;
	margin-top: 10vh;
}

.image-grid img:nth-child(7) {
	margin-top: 4vh;
	width: 210px;
}

.image-grid img:nth-child(9) {
	margin-top: 6vh;
}

.image-grid img:nth-child(11) {
	margin-top: -4vh;
}

.block--websites .block__cell {
	grid-area: 1 / 1 / 2 / 2;
	align-self: center;
}

.block__cell--grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: 50vh;
	align-items: center;
	direction: rtl;
	padding-left: 45px;
}

.block__cell-img {
	width: calc(100% + 45px);
}

.block__cell-img:first-child {
	align-self: start;
}

.block__cell-img:last-child {
	align-self: end;
}

.column-wrap {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 1.5rem;
	grid-auto-flow: column;
	justify-content: space-between;
}

.column:nth-child(even) {
	margin-top: 3rem;
}

.column img {
	margin: 1.5rem 0;
	max-width: 100%;
}

#mc_embed_signup form {
	text-align: left;
	padding: 0;
	position: relative;
	display: inline-flex;
	width: 75%;
	min-width: 220px;
	max-width: 700px;
}

#mc_embed_signup input.email {
	width: 100%;
	padding: 1rem;
	font-size: 1rem;
	border-radius: 0;
	font-weight: 400;
	font-family: inherit;
	color: inherit;
	border: 1px solid #aca89f;
	border-right: 0;
	background: none;
}

input.email::placeholder {
	color: #e1ddd7;
}

#mc_embed_signup input.email:focus {
	border-color: #000;
	box-shadow: none;
	outline: none;
}

#mc_embed_signup .arrow {
	height: 100%;
	position: relative;
}

#mc_embed_signup .button {
	border: 0;
	-moz-appearance: none;
	-webkit-appearance: none;
	position: absolute;
	top: 0;
	left: 0;
	border-radius: 0;
	transition: none;
	width: 100%;
	height: 100%;
	line-height: inherit;
	background: transparent;
	cursor: pointer;
}

#mc_embed_signup .button:focus {
	outline: none;
}

#mc_embed_signup .arrow__inner {
	background: #aca89f;
	height: 100%;
	position: relative;
	pointer-events: none;
}

#mc_embed_signup .button:focus+.arrow__inner {
	background: #f3af86;
}

#mc_embed_signup .arrow svg {
	padding: 1rem;
	width: 52px;
	height: 52px;
	margin: 0 auto;
	display: block;
	fill: #413f3d;
}

.footer {
	text-align: center;
	padding: 3rem;
}

.footer a {
	color: inherit;
}

@media screen and (max-width: 53em) {
	.row--footer {
		flex-wrap: wrap;
		justify-content: center;
		text-align: center;
	}

	.linkgroup--wrap {
		margin: 2rem 0 0 0;
		width: 100%;
	}

	.block--party h2 {
		text-align: center;
		margin: 0 auto;
	}

	.star {
		width: 7rem;
		height: 7rem;
		display: flex;
		align-items: center;
		justify-content: center;
		margin: 1rem auto;
	}

	.scroll__ui {
		position: relative;
		width: 100%;
	}
	.color-white{
		padding: 20vh 0;
	}
}

@media screen and (min-width: 53em) {
	.title {
		text-align: left;
		grid-row-start: 2;
		margin: 0;
	}

	.block--screen {
		min-height: 100vh;
	}

	.block--prime {
		grid-template-columns: auto 300px;
		padding: 1.85rem 6.25rem;
	}

	.block--party {
		min-height: 130vh;
	}

	.block--story {
		grid-template-columns: auto auto;
	}

	.block__item {
		max-width: 400px;
	}

	.block__item:nth-child(2) {
		padding: 75% 0 0;
	}

	/* .block__item:nth-child(3) {
			padding: 50% 0 0;
		} */

	.block__item-title {
		font-size: 1.75rem;
	}

	.row {
		grid-column: 1 / 3;
	}

	.row--footer {
		margin: 0;
	}

	.authors {
		margin-top: 12vh;
		grid-column: 2 / 3;
		grid-row: 2 / 4;
		text-align: right;
		column-gap: 3rem;
	}

	.intro {
		padding: 0;
	}

	.linkgroup__text {
		display: none;
	}

	.intro__block {
		position: absolute;
		max-width: 35em;
		margin: 0 0 1rem 0;
		transform: translateX(-15rem);
		z-index: 999;
	}

	.block__title {
		font-size: 4.65vw;
	}

	.block__title--small {
		font-size: 1.5rem;
	}

	.block__title--single {
		white-space: nowrap;
		font-size: 2.75rem;
	}

	.block--two {
		grid-template-columns: minmax(100px, 360px) 1fr;
	}

	.column-wrap {
		grid-template-columns: repeat(3, 200px);
	}

	#mc_embed_signup input.email {
		padding: 1rem;
		font-size: 1rem;
	}

	#mc_embed_signup .arrow svg {
		padding: 2rem;
		width: 102px;
		height: 102px;
	}
}

@media (orientation: landscape) {
	.loader {
		top: 0;
		align-items: center;
		font-size: 120vh;
	}
}