#media * {
	color: #000;
}
#media a {
	cursor: pointer;
}
#media a > div {
	text-align: center;
	display: inline-block;
	border-radius: 3px;
	border: 1px solid rgba(128, 128, 128, 0.0625);
	margin: 4px auto;
	height: auto;
	width: 192px;
	background: rgba(255, 255, 255, 0.75);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	vertical-align: middle;
	position: relative;
	padding: 8px 0;
}
#media a > div:hover * {
	opacity: 1;
}
#media .image {
	height: 192px;
	padding: 0;
	background-size: cover;
	background-position: 50% 12.5%;
}
#media .image aside {
	padding: 0;
}
/*#media .image>div{position: relative;}*/
#media .image > div svg {
	padding: 0;
}
#media a > div:hover {
	opacity: 0.75;
}
#media a > div > div {
	background: rgba(255, 255, 255, 0.875);
	vertical-align: middle;
	position: absolute;
	bottom: 0;
	width: 100%;
}
#media a > div > div > * {
	margin: 4px;
}
#media aside {
	color: #000;
	opacity: 1;
	display: inline-block;
	vertical-align: middle;
	list-style: 1;
}
#media div a div * {
	opacity: 0;
	transition: 0.125s opacity ease-in-out;
}
#UI #media h3 {
	font-family: DIN;
	text-align: center;
	margin: 24px auto 0;
	font-size: 12px;
	font-weight: 100;
	letter-spacing: 2px;
	border-top: 1px solid rgba(128, 128, 128, 0.25);
	border-left: 0;
	border-right: 0;
	text-transform: uppercase;
}
#media img {
	float: left;
}
#media svg {
	height: 24px;
	width: 24px;
	fill: #000;
	vertical-align: middle;
}
#media ul li {
	padding: 3px 0;
	display: inline-block;
}
#UI #contact section > * {
	display: block;
	width: 100%;
	font-family: DIN;
	margin: 2px auto;
}
#UI #social svg {
	height: 24px;
	margin: 8px;
	fill: #fff;
	stroke: transparent;
}
#UI #contact svg {
	height: 24px;
	margin: 8px;
	fill: #fff;
	stroke: transparent;
}
#UI #blog svg {
	height: 24px;
	margin: 0px;
	fill: #fff;
	stroke: transparent;
	vertical-align: middle;
}
#UI ul a {
	display: block;
	border: 1px solid transparent;
	border-radius: 3px;
}
#UI ul a:hover {
	background: rgba(128, 255, 255, 0.25);
	opacity: 1;
}
#UI ul {
	list-style: none;
	padding: 0;
}

#UI > div {
	max-width: calc(640px + 96px);

	transform: translateX(100%);
	transition: 0.25s all cubic-bezier(0, 1, 1, 1);
	font-family: DIN;
	display: table;
	color: #000;
	line-height: 1.25;
	/* padding: 12px; */
	height: 100%;
	position: fixed;
	background-repeat: no-repeat;
	background-color: rgba(255, 255, 255, 0.125);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	opacity: 0;
	pointer-events: all;
	right: 0;
	width: 75%;
	top: 0;
	pointer-events: none;
	will-change: opacity, transform;
}

#UI div > div > ul {
	padding: 48px 0;
	/* height: 100%; */
	/* overflow: scroll; */
}

#UI div > div > * {
	text-rendering: optimizeSpeed;
	font-weight: 100;
	/*border:1px solid;*/
	color: #fff;
	border-radius: 3px;
	padding: 48px 0;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	border-right: 0;
	/* box-shadow: inset 0 0 96px; */
}
#UI > div > div {
	vertical-align: middle;
	display: table-cell;
	overflow: hidden;
	height: 100vh;
	/* border: 1px solid; */ /* color: #fff; */ /* fill: #fff; */
	padding: 24px;
}
/* body.Active #cell { */
/* visibility: hidden; */
/* } */
body.media #cell,
body.contact #cell,
body.blog #cell,
body.bio #cell,
body.social #cell {
	visibility: initial;
	background-color: #000;
}

body.bio #UI #bio,
body.media #UI #media {
	transform: translateX(100%);
	opacity: 1;
	pointer-events: all;
	display: inline-table;
	height: 100vh;
	overflow: scroll;
	-webkit-overflow-scrolling: touch;
	display: block;
}
body.media #UI #media,
body.contact #UI #contact,
body.blog #UI #blog,
body.bio #UI #bio,
body.social #UI #social {
	transform: translateX(0%);
	opacity: 1;
	pointer-events: all; /* padding: inherit; */
}
body.media #UI,
body.contact #UI,
body.blog #UI,
body.bio #UI,
body.social #UI {
	pointer-events: all;
}
body.media main#Spreads,
body.contact main#Spreads,
body.blog main#Spreads,
body.bio main#Spreads,
body.social main#Spreads {
	opacity: 0.25;
}
#bio {
	background: linear-gradient(0deg, #00000040, #00000080, #00000080, #00000080, #00000040);
}
#bio p {
	margin: 8px auto;
	max-width: 640px;
	text-align: left;
	text-transform: initial;
}

#bio ul a {
	display: inline;
	border: none;
	border-radius: initial;
	text-decoration: underline;
}

/* #bio ul a:hover { */
/* background: initial; */
/* opacity: 1; */
/* } */


@media (orientation: portrait) {
	#UI > div {
		min-width: calc(100vw - 48px);
	}
}

@media (orientation: landscape) {
	#UI > div > div {
		padding-left: env(safe-area-inset-left);
		padding-right: env(safe-area-inset-right);
	}
}
