*,
*::after,
*::before {
	box-sizing: border-box;
}

:root {
	font-size: 16px;
}

body {
	margin: 0;
	--color-text: #fff;
	--color-bg: #111;
	--color-link: rgb(165, 164, 164);
	--color-link-hover: #fff;
	--color-alt: #6d6d6d;
	color: var(--color-text);
	background-color: #000000;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	counter-reset: contentSection;
	font-family: neuzeit-grotesk, sans-serif;
}

/* Page Loader */
.js .loading::before,
.js .loading::after {
	content: '';
	position: fixed;
	z-index: 1000;
}

.js .loading::before {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--color-bg);
}

.js .loading::after {
	top: 50%;
	left: 50%;
	width: 60px;
	height: 60px;
	margin: -30px 0 0 -30px;
	border-radius: 50%;
	opacity: 0.4;
	background: var(--color-link);
	animation: loaderAnim 0.7s linear infinite alternate forwards;

}

@keyframes loaderAnim {
	to {
		opacity: 1;
		transform: scale3d(0.5,0.5,1);
	}
}

a {
	text-decoration: underline;
	color: var(--color-link);
	outline: none;
}

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

main {
	overflow: hidden;
	position: relative;
}

.frame {
	text-align: center;
	position: relative;
	z-index: 900;
}

.frame__author {
	text-decoration: none;
	color: var(--color-alt);
}

.frame__title {
	font-size: 1rem;
	margin: 0 0 1rem;
	font-weight: normal;
}

.frame__links {
	display: inline;
}

.frame__links a:not(:last-child),
.frame__demos a:not(:last-child) {
	margin-right: 1rem;
}

.frame__demos {
	margin: 1rem 0;
}

.frame__demo--current,
.frame__demo--current:hover {
	text-decoration: none;
	color: var(--color-alt);
}

.content {
	padding: 3rem;
	min-height: 90vh;
	display: flex;
	position: relative;
	flex-direction: column;
	align-content: center;
	justify-content: space-between;
}

.content-smaller-padding {
	padding: 2rem;
	min-height: 90vh;
	display: flex;
	position: relative;
	flex-direction: column;
	align-content: center;
	justify-content: space-between;
}

.content-title {
	padding: 3rem;
	min-height: 30vh;
	display: flex;
	position: relative;
	flex-direction: column;
	align-content: center;
	justify-content: space-between;
}

.content-short {
	padding: 3rem;
	min-height: 60vh;
	display: flex;
	position: relative;
	flex-direction: column;
	align-content: center;
	justify-content: space-between;
}


.placeholder {
	padding: 3rem;
	min-height: 6vh;
	top:3rem;
	display: flex;
	position: relative;
	flex-direction: column;
	align-content: center;
	justify-content: space-between;
}

.content-short2 {
	padding: 3rem;
	min-height: 40vh;
	display: flex;
	position: relative;
	flex-direction: column;
	align-content: center;
	justify-content: space-between;
}

.content--auto {
	min-height: 0;
}

.content--feature {
	justify-content: flex-start;
	min-height: 0;
}

.content--fixed {
	position: fixed;
	z-index: 1000;
	width: 100%;
	top: 0;
}

.content__pretitle {
	margin-top: auto;
	font-size: 1.85rem;
	color: var(--color-alt);
}

.content__pretitle::before {
	content: "\2015";
	margin-right: 0.25rem;
}

.content__title {
	font-size: 9vw;
	line-height: 0.8;
	margin: 0 0 3rem 0;
	font-weight: 400;
	max-width: 800px;
	will-change: transform;
}

.content__text {
	font-size: 1.9rem;
	font-size: clamp(1rem, 4vw, 1.9rem);
}

.content__gray {
	color: #6d6d6d;
}


.content__smalltext {
	font-size: 1.5rem;
	font-size: clamp(1rem, 4vw, 1.5rem);
}

.content__sectiontitle {
	font-size: 2.25rem;
	font-size: clamp(1rem, 4vw, 2.25rem);
}

.content__sectiontitle2 {
	font-size: 2.25rem;
	font-size: clamp(1rem, 4vw, 2.25rem);
}

.content__text--right {
	align-self: flex-end;
}

.content__smalltext--right {
	align-self: flex-end;
}

.content__smalltext--rightright {
	align-self: flex-end;
	margin: 100rem 100rem 100rem 40rem;
}

.content__smalltext--rightright {
	margin: 1vw;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 40;
	right: 0;
	padding: 10rem 10rem;
	min-width: 20%;
  }


.content__text--centered {
	margin: auto;
}

.content__text--centered2 {
	margin:2px;
}

.content__breakout {
	margin: 0 -3rem;
	white-space: nowrap;
	text-transform: uppercase;
	font-family: span, serif;
	font-weight: 200;
	font-style: italic;
	color: #211f1b;
}

.content__breakout--big {
	font-size: 13vw;
	font-weight: 200;
}

.content__breakout--medium {
	font-size: 5vw;
}

.tiles {
	--tiles-height: 60vw;
	height: var(--tiles-height);
	position: relative;
	overflow: hidden;
}

.tiles2 {
	--tiles-height: 60vw;
	height: var(--tiles-height);
	position: relative;
	overflow: hidden;
}

.tiles--columns-rotated {
	--tiles-height: 180vmax;
}

.tiles--columns {
	--tiles-height: 140vh;
}

.tiles--oneline {
	--tiles-height: 50vh;
	min-height: 400px;
	margin: 10vh 0;
}

.tiles--small {
	--tiles-height: 100px;
	margin: 10vh 0 0;
}

.tiles--fixed {
	--tiles-height: 65vw;
	margin-top: 25vh;
}

.tiles--perspective {
	overflow: visible;
	perspective: 1000px;
	--tiles-height: 500px;
}

.tiles__wrap {
	width: 150%;
	--tileswrap-height: var(--tiles-height);
	height: var(--tileswrap-height);
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate3d(-50%,-50%, 0);
}

.tiles--rotated .tiles__wrap {
	--tileswrap-height: calc(var(--tiles-height) * 1.8);
	transform: translate3d(-50%,-50%, 0) rotate(22.5deg);
}

.tiles--columns-rotated .tiles__wrap {
	width: 150%;
	display: flex;
	transform: translate3d(-50%,-50%,0) rotate(-22.5deg);
	left: 50%;
	top: 50%;
	align-items: center;
	justify-content: center;
}

.tiles--columns .tiles__wrap {
	width: 100%;
	display: flex;
	--tileswrap-height: calc(var(--tiles-height) * 1.4);
	transform: translate3d(0,-50%,0);
	left: 0;
	top: 50%;
}

.tiles--perspective .tiles__wrap {
	width: 200%;
    transform: translate3d(-50%,-50%,0) translateX(-25%) translateZ(-1200px) rotateX(75.5deg) rotateZ(12deg);
}

.tiles--fixed .tiles__wrap {
	width: 100%;
}

.tiles__line {
	display: flex;
}

.tiles--columns .tiles__line {
	width: 25%;
	padding: 0 1rem;
	display: block;
}

.tiles--columns-rotated .tiles__line {
	width: 320px;
	flex: none;
	padding: 0 1.5vw;
	display: block;
}

.tiles--columns-rotated .tiles__line:nth-child(even) {
	margin-top: -160px;
}

.tiles--oneline .tiles__line {
	height: 100%;
}

.tiles--small .tiles__line {
	height: 100%;
}

/* concrete first photo grid */
.tiles__line-img {
	--tile-margin: 2vw;
	flex: none;
	width: calc(16.6666% - var(--tile-margin) * 2);
	height: calc( var(--tileswrap-height) / 3 - (3 * var(--tile-margin) / 2));
	margin: var(--tile-margin);
	background-size: cover;
	background-position: 50% 50%;
}

.tiles__line-img2 {
	--tile-margin: 1.2vw;
	--tileswrap-height: 48vw;
	flex: none;
	width: calc(20% - var(--tile-margin) * 2);
	height: calc((var(--tileswrap-height) / 2 - (3 * var(--tile-margin) / 2 )) * 0.8);
	/* height: calc(var(--width) / 1.3333) */
	margin: var(--tile-margin);
	background-size: cover;
	background-position: 50% 50%;
}

/* TESTING HERE */
.tiles__line-img3 {
	--tile-margin: 1.2vw;
	--tileswrap-height: 48vw;
	/* flex: none; */
	width: calc(20% - var(--tile-margin) * 2);
	/* height: auto; */
	/* height: calc(var(--tileswrap-height) / 2 - (3 * var(--tile-margin) / 2)); */
	height: calc((var(--tileswrap-height) / 2 - (3 * var(--tile-margin) / 2)) * 0.8);
	margin: var(--tile-margin);
	background-size: cover;
	background-position: 50% 50%;
}

.tiles--perspective .tiles__line-img {
	backface-visibility: hidden;
	outline: 1px solid transparent;
	--tile-margin: 1vw;
	width: calc(16.6666% - var(--tile-margin) * 2);
	height: calc(16.666vw * 1.3);
}

.tiles--oneline .tiles__line-img {
	--tile-margin: 1vw;
	margin: 0 var(--tile-margin);
	width: calc(25% - var(--tile-margin) * 2);
	height: 100%;
}

.tiles--small .tiles__line-img {
	--tile-margin: 5px;
	margin: 0 var(--tile-margin);
	width: calc(12.5% - var(--tile-margin) * 2);
	height: 100%;
}

.tiles--rotated .tiles__line-img {
	--tile-margin: 1vw;
	width: calc(16.6666% - var(--tile-margin) * 2);
	height: calc( var(--tileswrap-height) / 5 - (4 * var(--tile-margin) / 2));
}

.tiles--columns-rotated .tiles__line-img {
	--tile-margin: 3vw 0;
	width: 100%;
	height: 400px;
}

.tiles--columns .tiles__line-img {
	--tile-margin: 2rem 0;
	width: 100%;
	height: calc(25vw * 1.3);
}

.tiles--fixed .tiles__line-img {
	--tile-margin: 10px;
	-webkit-filter: brightness(0.8);
	width: calc(16.6666% - var(--tile-margin) * 2);
	height: calc( var(--tileswrap-height) / 3 - (3 * var(--tile-margin) / 2));
}

.tiles--darker .tiles__line-img {
	opacity: 0.7;
}

.tiles__title {
	position: absolute;
	height: 100vh;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 10vw;
	padding: 3rem;
	margin: 0;
	line-height: 0.8;
	font-family: span, serif;
	font-weight: 700;
	font-style: normal;
}

.tiles__title--alt {
	font-size: 9vw;
	font-size: clamp(2rem, 9vw, 7.25rem);
}

.tiles__title--intro {
	padding-top: 10vh;
	align-items: flex-start;
	justify-content: flex-start;
}

.tiles__title--right {
	justify-content: flex-end;
}

.tiles__title--left {
	justify-content: flex-start;
}

.tiles__title--full {
	height: 100%;
}

.backtop {
	align-self: center;
	margin: auto 0;
	font-size: 4vw;
	cursor: pointer;
	text-decoration: none;
}

.backtop::after {
	content: "\2934";
	font-size: 3vw;
	vertical-align: top;
	margin-left: 1rem;
}

/*! locomotive-scroll v3.5.4 | MIT License | https://github.com/locomotivemtl/locomotive-scroll */
html.has-scroll-smooth {
	overflow: hidden; 
}
  
html.has-scroll-dragging {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none; 
}
  
.has-scroll-smooth body {
	overflow: hidden; 
}
  
.has-scroll-smooth [data-scroll-container] {
	min-height: 100vh; 
}
  
.c-scrollbar {
	position: absolute;
	right: 0;
	top: 0;
	width: 11px;
	height: 100vh;
	transform-origin: center right;
	transition: transform 0.3s, opacity 0.3s;
	opacity: 40%; 
}
.c-scrollbar:hover {
	transform: scaleX(1.45); 
}
.c-scrollbar:hover, .has-scroll-scrolling .c-scrollbar, .has-scroll-dragging .c-scrollbar {
	opacity: 1; 
}
  
.c-scrollbar_thumb {
	position: absolute;
	top: 0;
	right: 0;
	background-color: rgb(104, 104, 104);
	opacity: 0.5;
	width: 7px;
	border-radius: 10px;
	margin: 2px;
	cursor: -webkit-grab;
	cursor: grab; 
}
.has-scroll-dragging .c-scrollbar_thumb {
	cursor: -webkit-grabbing;
	cursor: grabbing; 
}

@media screen and (min-width: 53em) {
	.frame {
		display: grid;
		align-content: space-between;
		width: 100%;
		grid-gap: 5vw;
		grid-template-columns: auto auto auto 1fr;
		grid-template-areas: 'title title links demos';
	}
	.frame__title {
		margin: 0;
		grid-area: title;
	}
	.frame__demos {
		margin: 0;
		grid-area: demos;
		justify-self: end;
	}
	.frame__links {
		grid-area: links;
		padding: 0;
		justify-self: end;
	}
	.tiles--columns-rotated .tiles__line {
		width: 33vmax;
	}
	.tiles--columns-rotated .tiles__line:nth-child(even) {
		margin-top: -20vmax;
	}
	.tiles--columns-rotated .tiles__line-img {
		height: 40vmax;
	}
	.content--numbered::after {
		counter-increment: contentSection;                   
		content: counter(contentSection,decimal-leading-zero);
		position: absolute;
		top: 20%;
		right: 3rem;
		border: 1px solid;
		color: var(--color-alt);
		width: 4rem;
		height: 4rem;
		margin-top: -2rem;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 50%;
	}

	.content--numbered-left::after {
		counter-increment: contentSection;                   
		content: counter(contentSection,decimal-leading-zero);
		position: absolute;
		top: 20%;
		left: 3rem;
		border: 1px solid;
		color: var(--color-alt);
		width: 4rem;
		height: 4rem;
		margin-top: -2rem;
		display: flex;
		align-items: center;
		justify-content: center;
		border-radius: 50%;
	}


	.content__text {
		max-width: 800px;
		width: 50vw;
		min-width: calc(300px - 6rem);
	}
	.content__text--wide {
		max-width: 1000px;
		width: 65vw;
	}
	.tiles--small {
		--tiles-height: 240px;
	}
	.responsive{
		max-width:40%;
		max-height:50%;
	}
	  
	.center{
		position: absolute;
		top: 50%;
		left: 50%; 
		transform: translate(-50%, -50%);
	}
	  
	parent{
		position: relative;
	}

	.small_img {
        max-height: 50%;
        max-width: 80%;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
      }


	.small_img2 {
        max-height: 50%;
        max-width: 40%;
        position: absolute;
        top: -0.3;
        bottom: 0;
        left: 2;
        right: 0;
        margin:3rem;
      }

	.small_img3 {
        max-height: 35%;
        max-width: 40%;
        position: absolute;
        top: -2;
        bottom: 0;
        left: 2;
        right: 0;
        margin:-1rem 3rem;
      } 

	.wide_img {
        max-height: 80%;
		margin: 1.25vw;
        max-width: 80%;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
      }

	.wide_img_left {
        max-height: 105%;
		margin: 1vw;
        /* max-width: 80%; */
        position: absolute;
        top: 0;
        bottom: 0;
        left: -20;
        right: 10;
        margin: auto;
		padding: 0rem 0rem;
      }

	.wide_img_right {
        max-height: 110%;
		margin: 1vw;
        /* max-width: 80%; */
        position: absolute;
        top: 0;
        bottom: 0;
        left: -20;
        right: 0;
        margin: auto;
		padding: 0rem 3rem;
      }
	
	  .wide_img_less_padding {
		padding: 0rem 0rem;
      }

	.wide_img_more_padding {
		padding: 3rem 3rem;
		max-height: 120%;
      }
	

	.wide_img_bringtofront {
		z-index: 1000;
      }


	/* BUTTON */
	*,
	*::after,
	*::before {
		box-sizing: border-box;
	}
	
	/* Page Loader */
	.js .loading::before,
	.js .loading::after {
		content: '';
		position: fixed;
		z-index: 1000;
	}
	
	.js .loading::before {
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: var(--color-bg);
	}
	
	.js .loading::after {
		top: 50%;
		left: 50%;
		width: 60px;
		height: 60px;
		margin: -30px 0 0 -30px;
		border-radius: 50%;
		opacity: 0.4;
		background: var(--color-link);
		animation: loaderAnim 0.7s linear infinite alternate forwards;
	}
	
	@keyframes loaderAnim {
		to {
			opacity: 1;
			transform: scale3d(0.5, 0.5, 1);
		}
	}
	
	.content__item {
		width: 100%;
		height: 100%;
		margin: 0;
		padding: 0;
		/* counter-increment: itemcounter; */
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		position: relative;
		z-index: 1;
		pointer-events: none;
	}
	
	.content__item::before {
		color: var(--color-number);
		position: absolute;
		top: 0;
		left: 0;
		/* content: counters(itemcounter, ".", decimal-leading-zero); */
	}
	
	.button {
		pointer-events: auto;
		cursor: pointer;
		background: #e7e7e700;
		border: none;
		/* padding: 1.5rem 3rem 1.5rem 3rem; */
		margin: 0;
		font-family: inherit;
		font-size: inherit;
		position: relative;
		display: inline-block;
	}
	
	.button::before,
	.button::after {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}
	
	.button--dione {
		/* height: 600px;
		width:20%; */
		background: none;
		font-family: obvia, sans-serif;
		font-weight: 500;
		font-style: italic;
		/* padding: 1.5rem -3rem 1.5rem -3rem; */
	}
	
	.button--dione span {
		display: inline-block;
		position: relative;
		color: rgb(0, 0, 0);
	}
	
	.button--dione::before {
		content: '';
		/* background: rgba(255, 255, 255, 0.747); */
		z-index: 2;
		transition: transform 0.3s cubic-bezier(0.2,1,0.7,1);
	}
	
	.button--dione:hover::before {
		/* transform: scale3d(0.9, 0.8, 1); */
		transform: scale3d(1, 1, 1);
	}
	
	.button--dione::after {
		content: '';
		width:89.4%;
		margin-left: 5.30%;
		border: 1px solid rgb(255, 255, 255);
		z-index: 1;
		transition: transform 0.3s cubic-bezier(0.2,1,0.7,1);
		border-radius: 0px;
		/* transform: scale3d(0.85, 0.65, 1); */
		transform: scale3d(1,0.98,1);
	}
	
	.button--dione:hover::after {
		transform: scale3d(1.03,1.03,1);
		/* transform: scale3d(1,1,1); */
	}

	.button--fenrir {
		background: none;
		padding: 1rem;
		-webkit-clip-path: circle(50% at 50% 50%);
		clip-path: circle(50% at 50% 50%);
		width: 110px;
		height: 110px;
		font-family: aktiv-grotesk-extended, sans-serif;
		color: #6d6d6d;
		font-weight: 700;
		text-transform: uppercase;
		font-size: 0.85rem;
		align-self: flex-end;
	}
	
	.progress {
		position: absolute;
		width: 70px;
		height: 70px;
		top: calc(50% - 35px);
		left: calc(50% - 35px);
		transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
	}
	
	.button--fenrir:hover .progress {
		transform: scale3d(1.1, 1.1, 1);
	}
	
	.progress__circle,
	.progress__path {
		fill: none;
		stroke: #7c7c7c;
		stroke-width: 1px;
	}
	
	.button--fenrir:focus-visible .progress__circle {
		fill: rgba(252,196,63,0.4);
	}
	
	.progress__path {
		stroke: #ffffff;
		stroke-dasharray: 0.5;
		stroke-dashoffset: 0.5;
		transition: stroke-dashoffset 0.4s cubic-bezier(0.7, 0, 0.3, 1);
	}
	
	.button--fenrir:hover .progress__path {
		stroke-dashoffset: 0;
	}

	
}
