
body{
	background: #000;
	box-sizing: border-box;
}
nav{
	height: 100vh !important;
}

a {
	text-decoration: none;
	color: #6d6d6d;
	color: var(--link-text);
	outline: none;
}

a:hover,
a:focus {
	outline: none;
	color: #ba4e8e;
	color: var(--link-text-hover);
}

.hidden {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
	pointer-events: none;
}

.pieces {
	display: flex;
	flex-wrap: wrap;
}

.demo-grid {
	--body-text: #ba4e8e;
	--body-text-alt: #ba4e8e;
	--body-bg: #010101;
	--link-text: #fff;
	--link-text-hover: #ba4e8e;
	--content-font: "Cormorant Garamond", sans-serif;
}

.content {
	--pieces-height: 80vh;
	height: 100vh;
	overflow: hidden;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.page-nav {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	opacity: 0;
	font-family: var(--content-font);
}

.page-nav__item {
	font-size: 10vh;
}

.page-nav__item--close {
	font-size: 1.85em;
	margin: 1em 0 0 0;
	color: var(--body-text-alt);
	position: relative;
}

.page-nav__item--close:hover,
.page-nav__item--close:focus {
	color: var(--body-text-alt);
	text-decoration: line-through;
}

.content__title {
	width: 80%;
	position: relative;
	top: 8vh;
	left: 3vh;
  padding: 44vh 33vh 60vh 12vh;
}
.title{font-size: 10vh;
	cursor: pointer;
	margin: 0;
	font-weight: normal;
	font-family: var(--content-font);
	color: var(--body-text-alt);
}
.subtitle{
	margin:0;
}

.page-nav--open ~ .content__title {
	pointer-events: none;
}

.content .pieces {
	height: var(--pieces-height);
	width: calc(var(--pieces-height) * calc(888/1000));
	position: absolute;
	left: 50%;
	top: 40%;
	margin-left: calc(-1 * var(--pieces-height) * calc(888/1000) / 3);
	margin-top: calc(-1 * var(--pieces-height) / 4);
	pointer-events: none;
}
@media screen and (max-width: 60em) {

	.content__title {
		width: 80%;
		left: 27vw;
		top: 4vh;
		color: white;
		padding: 40vh 88vh 56vh 10vh;
		}
		.title{

			font-size: 6vw;
		}
		.subtitle{
			width: 50%;
			font-size: 2vw;
		}
		.page-nav__item{
			font-size: 10vw;
		}
}

@media screen and (max-width: 40em) {
	.content {
		--pieces-height: 100vh;
		height: var(--pieces-height);

	}
	.content__title {
		width: 70%;
		    left: -24vw;
		    top: -1vh;

		    padding: 31vh 41vh 50vh 63vh;
		}
		.title{
			font-size: 8vw;
			color: white;
		}
		.subtitle{
			width: 60%;
			font-size: 3vw;
		}
		.page-nav__item{
			font-size: 10vw;
		}

	}
