:root {
	font-size: 16px;
}

body {
	overflow: hidden;
	user-select: none;
	cursor: grab;
	background: #585858;
font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, "sans-serif";
	--color-text: #AAAAAA;
	--color-link: #AAAAAA;
}

.content {
  touch-action: none;
}

.screen {
	top: 2rem;
}

.fold {
	overflow: hidden;
	width: calc(40vw + 1px);
	height: 56vh;
	will-change: transform;
	background: #666666 ;
}

.wrapper-3d {
	position: relative;
	perspective: 33vw;
	transform-style: preserve-3d;
}

.fold-content {
	display: flex;
	height: 100%;
	flex-direction: row;
	width: min-content;
	align-items: flex-end;
}

.fold-scroller {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
}

.fold-center {
	transform-origin: center center;
}

.wrapper-3d {
	position: absolute;
	right: 0;
}

.fold-after {
	/* background: #dadada; */
	position: absolute;
	transform-origin: top center;
	transform: translate3d(0, 80vh, 0) rotateX(120deg);
	right: 0;
	left: 0;
	top: 0;
	bottom: 0;
}

.fold-size-fix {
	transform-origin: center center;
	width: calc(100% + 1px);
}

.fold-before {
	position: absolute;
	transform-origin: right center;
	transform: translate3d(-100%, 0, 0) rotateY(-10deg);
	left: 0px;
	right: 0;
	top: 0;
	bottom: 0;
}

.fold-before-1 {
	transform: translate3d(-100%, 0, 0) rotateY(-35deg);
}

.fold-before-2 {
	transform: translate3d(-100%, 0, 0) rotateY(-35deg) translate3d(-100%, 0, 0) rotateY(35deg);

	/*transform: translate3d(calc(-100% + 3px), 0, 0) rotateY(-35.1deg) translate3d(-100%, 0, 0) rotateY(35deg);
    width: calc(40vw + 7px);*/
}

.fold-before-3 {
	transform: translate3d(-100%, 0, 0) rotateY(-35deg) translate3d(-100%, 0, 0) rotateY(35deg) translate3d(-100%, 0, 0) rotateY(110deg);
}

.fold-main .fold-scroller {
	transform: translateX(-200%);
}

.fold-before-1 .fold-scroller {
	transform: translateX(-100%);
}

.fold-before-2 .fold-scroller {
	transform: translateX(0%);
}

.fold-before-3 .fold-scroller {
	transform: translateX(100%);
}

.fold-before-4 .fold-scroller {
	transform: translateX(400%);
}

.fold-before-1::after {
	content: '';
	background: rgba(0,0,0,0.08);
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 100;
	pointer-events: none;
}

.content {
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: -moz-none;
	-o-user-select: none;
	user-select: none;
}

.content__img {
	flex: none;
	display: block;
	height: 100%;
	pointer-events: none;
}

.content__title {
	padding: 2rem;
		text-align: center;
	font-weight: 600;
	font-family: "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, "sans-serif";
	margin: 0 18vw 0 0;
	white-space: nowrap;
	color: #BABDBF;
}

.frame__heading-wrap {
	text-align: center;
}

.frame__heading {
	margin: 0;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 400;
	font-size: 4vw;
	white-space: nowrap;
	color: #000;

}
.shadowInset {
   -moz-box-shadow:    inset 0 0 10px #000000;
   -webkit-box-shadow: inset 0 0 10px #000000;
   box-shadow:         inset 0 0 10px #000000;
}
.shadow {
  -webkit-box-shadow: 0px 9px 25px 5px #32323b;  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
  -moz-box-shadow:    0px 9px 25px 5px #32323b;  /* Firefox 3.5 - 3.6 */
  box-shadow:         0px 9px 25px 5px #32323b;  /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
}

@media screen and (min-width: 481px) {
	.frame {
		grid-template-columns: 10% 80% 10%;
		grid-template-rows: auto auto auto;
		grid-template-areas: 'title heading links';
	}
}
@media screen and (max-width: 768px) {
    .screen {
        top: 0;
    }
}
