@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
*,
*::after,
*::before {
	box-sizing: border-box;
}

:root {
	font-size: 18px;
}

body {
	margin: 0;
	--color-text: #000000;
	--color-bg: #000;
	--color-link: #000000;
	--color-link-hover: #000000;
	--color-alt: #000000;
	--color-info: #000000;
	color: var(--color-text);
	font-family: sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow: hidden;
	background-image: url('bg.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	height: -webkit-fill-available;
	height: 100vh;
	height: 100dvh;
	cursor: none;
}
:root {
  /* This variable now holds the combined height of the top and bottom bars */
}

.element {
  /* Example: A box exactly the same height as the Safari bars */
  height: var(--browser-ui-height);
  background: rgba(0,0,0,0.1);
}

/* Background noise effect with will-change optimization */
body::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: transparent
	url("noise-transparent.png") repeat 0 0;
  background-size: 300px 300px;
  animation: noise-animation 0.3s steps(5) infinite;
  opacity: 0.5;
  will-change: transform;
  z-index: 2000;
  pointer-events: none;
}

@keyframes noise-animation {
  0% {
	transform: translate(0, 0);
  }
  10% {
	transform: translate(-2%, -3%);
  }
  20% {
	transform: translate(-4%, 2%);
  }
  30% {
	transform: translate(2%, -4%);
  }
  40% {
	transform: translate(-2%, 5%);
  }
  50% {
	transform: translate(-4%, 2%);
  }
  60% {
	transform: translate(3%, 0);
  }
  70% {
	transform: translate(0, 3%);
  }
  80% {
	transform: translate(-3%, 0);
  }
  90% {
	transform: translate(2%, 2%);
  }
  100% {
	transform: translate(1%, 0);
  }
}

/* Custom cursor */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 1);
  transform: translate(-50%, -50%);
  pointer-events: none;
  mix-blend-mode: difference;
  z-index: 9999;
  transition: width 0.8s cubic-bezier(0.190, 1.000, 0.220, 1.000), height 0.8s cubic-bezier(0.190, 1.000, 0.220, 1.000);
  will-change: transform;
}

.custom-cursor.is-hovering {
  width: 40px;
  height: 40px;
}

canvas{
	position: absolute;
}

#bg{
	mix-blend-mode: color-dodge;
}

/* Fade effect */
.js body {
	opacity: 0;
	transition: opacity 0.3s;
}

.js body.render {
	opacity: 1;
}

/* 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;
	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) rotate3d(0,0,1,180deg);
		border-radius: 50%;
	}
}

/* ROOT FONT STYLES */
* {
  font-family: 'Roboto', Helvetica, sans-serif;
  font-weight: 300;
  line-height: 1.3;
}

p{
	font-size: clamp(0.875rem, 1vw, 1rem);
	margin: 0;
}
b{
	font-weight: 500;
}

h1{
	line-height: 1.1;
	font-weight: 500;
	font-size: clamp(1.25rem, 1.5vw, 1.75rem);
	margin: 0.5rem 0;
}

h2{
	line-height: 1;
	font-size: clamp(1rem, 1.2vw, 1.3rem);
	margin: 0.3rem 0;
}


a {
	text-decoration: none;
	color: var(--color-link);
	outline: none;
	cursor: none;
}

a:hover,
a:focus {
	color: var(--color-link-hover);
	outline: none;
}
.contact_url{
	margin: 0.5em 0 0;
}
.contact_url a,
.contact_url a i{
	color: #e52d03;
	margin: auto 0.2rem;
}

.spacer{
	flex-grow: 4;
}
.small_spacer{
	flex-grow: 1;
}

.hidden {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
	pointer-events: none;
}

.content {
	display: flex;
	flex-direction: column;
	width: 100vw;
	height: calc(100vh - 13rem);
	position: relative;
	justify-content: flex-start;
	align-items: center;
}

/* Logo */
#logo{
	display: block;
	width: 100%;
	height: 100%;
	-webkit-transition: opacity 0.9s ease-in-out;
	-moz-transition: opacity 0.9s ease-in-out;
	-o-transition: opacity 0.9s ease-in-out;
	transition: opacity 0.9s ease-in-out;
	-webkit-transition-delay: .9s;
	-moz-transition-delay: .9s;
	-ms-transition-delay: .9s;
	transition-delay: .9s;
	margin: auto;
	position: absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
	opacity: 0;
}

.render #logo{
	opacity: 1;
}


/* Icons */
.icon {
	display: block;
	width: 3.5em;
	height: 2.5em;
	margin: auto;
	fill: #fff;
	opacity: 0;
	-webkit-transition: opacity 0.9s ease-in-out;
	-moz-transition: opacity 0.9s ease-in-out;
	-o-transition: opacity 0.9s ease-in-out;
	transition: opacity 0.9s ease-in-out;
	-webkit-transition-delay: 2s;
	-moz-transition-delay: 2s;
	-ms-transition-delay: 2s;
	transition-delay: 2s;
}

.render .icon{
	opacity: 1;
}

/* Menu */
.menu {
	position: absolute;
	right: 0;
	top: 0;
	height: 100vh;
	width: 30vw;
	z-index: 1000;
	transform: translate3d(100%,0,0);
}

.menu__inner {
	display: flex;
	flex-direction: column;
	padding: 1rem 2rem 1rem 2rem;
	justify-content: flex-start;
	background: rgba(255,255,255,1);
	text-align: center;
	/* box-shadow: -5px 0px 15px 0px rgba(0,0,0,0.4); */
	/* backdrop-filter: blur(20px); */
	height: 100%;
	opacity: 0;
}

.menu__button-wrap {
	padding: 1rem;
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 80%;
	display: flex;
	align-items: center;
	z-index: 10;
	pointer-events: none;
	transform: translate3d(-100%,0,0);
}

.menu__button {
	border: 0;
	padding: 0;
	margin: 0 0 0 auto;
	background: none;
	color: #000;
	transform: translate3d(0,0,0);
	transition: opacity 0.3s, transform 0.3s cubic-bezier(0.190, 1.000, 0.220, 1.000);
}

.menu__button:focus {
	outline: none;
}
.icon--menu{
	position: relative;
}
.icon--menu::before,
.icon--menu::after{
	content: "";
	height: 100%;
	width: 10%;
	border-radius: 2rem;
	background-color: #fff;
	display: inline-block;
	margin: 0 0.2rem;
}

.menu__item {
	display: block;
	opacity: 0;
	color: #000;
	transform: translate3d(100%,0,0);
	transition: opacity 0.8s, transform 0.8s cubic-bezier(0.190, 1.000, 0.220, 1.000);
}

.is-active .menu__inner .menu__item { opacity: 1; transform: translate3d(0,0,0); }
.is-active .menu__inner .menu__item:nth-child(2) { transition-delay: calc(1 * 0.03s); }
.is-active .menu__inner .menu__item:nth-child(3) { transition-delay: calc(2 * 0.03s); }
.is-active .menu__inner .menu__item:nth-child(4) { transition-delay: calc(3 * 0.03s); }
.is-active .menu__inner .menu__item:nth-child(5) { transition-delay: calc(4 * 0.03s); }
.is-active .menu__inner .menu__item:nth-child(6) { transition-delay: calc(5 * 0.03s); }
.is-active .menu__inner .menu__item:nth-child(7) { transition-delay: calc(6 * 0.03s); }
.is-active .menu__inner .menu__item:nth-child(8) { transition-delay: calc(7 * 0.03s); }
.is-active .menu__inner .menu__item:nth-child(9) { transition-delay: calc(8 * 0.03s); }
.is-active .menu__inner .menu__item:nth-child(10) { transition-delay: calc(9 * 0.03s); }
.is-active .menu__inner .menu__item:nth-child(11) { transition-delay: calc(10 * 0.03s); }
.is-active .menu__inner .menu__item:nth-child(12) { transition-delay: calc(11 * 0.03s); }
.is-active .menu__inner .menu__item:nth-child(13) { transition-delay: calc(12 * 0.03s); }
.is-active .menu__inner .menu__item:nth-child(14) { transition-delay: calc(13 * 0.03s); }
.is-active .menu__inner .menu__item:nth-child(15) { transition-delay: calc(14 * 0.03s); }

.is-active .menu__button {
	transition-timing-function: cubic-bezier(0.250, 0.460, 0.450, 0.940);
	opacity: 0;
	transform: translate3d(200%,0,0);
}

.full_logo{
	width: 60%;
	margin: auto;
}

@media screen and (max-width: 55em) {
	/* .menu {
		display: none;
	} */
}

@media screen and (min-width: 53em) {
	.content {
		height: 100vh;
		justify-content: center;
	}
}

/* iPhone 6+ landscape */
@media screen and (max-width: 736px) and (orientation: landscape) {
	#logo{
		left: initial;
		width: 50%;
	}
}
@media (max-width: 767px) and (orientation: portrait) {
	.menu {
		right: initial;
		top: initial;
		bottom: 0;
		height: 98dvh;
		width: 94%;
		transform: translate3d(0,100%,0);
		left: 3%;
	}
	.menu__button-wrap{
		height: 20%;
		width: 100%;
		transform: translate3d(0,-100%,0);
	}
	.menu__button{
		margin: auto;
	}
	.menu__inner{
		padding: 1rem;
	}
	.icon--menu::before, .icon--menu::after{
		height: 0.2rem;
		width: 100%;
	}
	.menu__item{
		transform: translate3d(0,100%,0);
	}
	.is-active .menu__button{
		transform: translate3d(0,200%,0);
	}
	
}