@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@600&family=Paytone+One&family=Unbounded:wght@200;300;400;500;600;700;800;900&display=swap');



body {
	background: black;
	color:white;
	font-family: 'Unbounded', sans-serif;
	font-weight: 400;
	overflow-x:hidden;
	width: 100%;
	/* transition: all 0.3s ease; */
}

body.scroll {
	background: white;
}

header,
nav {
	width: 100%;
	height: 80px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	z-index: 500;
	mix-blend-mode: difference;
}

header { 
	pointer-events: none;
}


header h1 {
	font-size: 1.5em;
	font-weight: 400;
	/* animation: breath 3s ease-in-out infinite; */
}

header h1 span {
	/* animation: breathInverted 3s ease-in-out infinite; */
}

nav {
	justify-content: end;
	z-index: 1000;
}

nav .menu-btn {
	margin-right: 40px;
}

@keyframes breath {
  0% {
	font-variation-settings: "wght" 100, "wdth" 50, "slnt" 0 ;
  }
  50% {
	font-variation-settings: "wght" 900, "wdth" 50, "slnt" 0 ;
  }
  100% {
	font-variation-settings: "wght" 100, "wdth" 50, "slnt" 0 ;
  }
}

@keyframes breathInverted {
  0% {
	font-variation-settings: "wght" 900, "wdth" 50, "slnt" 0 ;
  }
  50% {
	font-variation-settings: "wght" 100, "wdth" 50, "slnt" 0 ;
  }
  100% {
	font-variation-settings: "wght" 900, "wdth" 50, "slnt" 0 ;
  }
}

.menu {
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	top:0;right:0;left:0;
	height: 100%;
	bottom:0;
	background: white;
	color: black;
	z-index: 400;
	opacity: 1;
	visibility: hidden;
	
}

.menu-content {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-flow: column;
	gap:80px;
	position: relative;
	height: 100%;
}

.menu-links {
	font-size: 4em;
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	gap:40px;
}


.menu a {
	color: black;
	text-decoration: none;
}

.menu a:hover {
	background: linear-gradient(45deg, #d800ff 0%, #00ffda 50%, #d800ff 100%);
	background-size: 300%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	-webkit-animation: textGradient 1s cubic-bezier(0.445, 0.05, 0.55, 0.95) infinite alternate-reverse;
}

.content {
	transition: opacity 0.3s ease;
	overflow-x: hidden;
	width: 100%;
}

.content.menu-opened {
	pointer-events: none;
	opacity: 0.5;
	/* overflow: hidden;
	height: 100vh; */
}


.modal {
	position: fixed;
	top:0;left:0;
	height: 100%;
	width: 100%;
	z-index: 400;
	visibility: hidden;
	justify-content: center;
	align-items: center;
	opacity: 1;
	animation: modalIn 1s ease both;
	overflow: hidden;
	background: black;
}

.modal .close-btn {
	position: absolute;
	top:0;right:0;
	width: 50px;
	height: 50px;
	background: white;
	z-index: 9999;
}

.modal-container {
	height: 100%;
	width: 100%;
	padding:80px;
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	flex-flow: column;
	gap:5px;
}

.modal-container .modal-video {
	position: relative;
	max-width: 100%;
	max-height: 90%;
	aspect-ratio:16 / 9;
}

.modal-container video {
	width: 100%;
	z-index: 99999;
	position: relative;
}

.modal-container .video-overlay {
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	color:white;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: black;
	transition: opacity 0.5s ease; /* Adjust duration as needed */
	opacity: 1;
}

.modal-container .video-overlay.fade-out {
	opacity: 0;
}

.modal h1,
.modal h2 {
	width: 100%;
	font-weight: 200;
}

.modal h1 {
	margin-top: 30px;
	font-size: 1.5em;
	font-weight: 300;
}


#reel {
	width: 100%;
	height: 100vh;
	box-sizing: border-box;
	border:0px solid black;
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	position: relative;
	/* transition: all 0.3s ease; */
}

#reel .layer {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
}

#reel .box {
	position: absolute;
	aspect-ratio: 16/9 ;
	width: 300px;
	overflow: hidden;
	border-radius: 30px;
}

#reel .box video {
	width: 100%;
}

/* .screen .box:hover {
	border:2px solid yellow;	
} */

.fade-text {
  text-align: center;
  /* transition: opacity 0s; */
  position: absolute;
  color: #666 ;
}

.fade-text p {
	font-size: 2em;
}

.fade-text:nth-child(1) p {
	color: white;
}

.fade-text:nth-child(2) p {
	color: white;
}

.fade-text:nth-child(3) p {
	color: white;
}


#work {
	padding:80px;
	padding-top: 0px;
	margin: 0 auto;
	margin-top: 880px;
	display: flex;
	flex-flow: column;
	gap:450px;
	max-width: 1400px;
}

#work .project {
	width: 100%;
	height: 550px;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	/* overflow: hidden; */
}

#work .project-video {
	width: 100%;
	height: 100%;
	position: absolute;
	overflow: hidden;
	border-radius: 25px;
	display: flex;
	justify-content: center;
	align-content: center;
	transition: all 0.35s ease;
	//pointer-events: none;
}

#work .project-video video {
	min-width: 100%;
	min-height: 100%;
	transition: all 0.35s ease;
	object-fit: cover;
	pointer-events: none;
	opacity: 1;
	transform: scale(1.05)
}

#work .project-video:hover {
	cursor: pointer;
	outline: 3px solid rgb(255, 255, 255);
}

#work .project-video:hover video {
	opacity: 1;
}


#work .project-info {
	display: flex;
	flex-flow: column;
	gap:10px;
	color: white;
	position: absolute;
	z-index: 100;
	pointer-events: none;
	margin-bottom: -10%;
	text-shadow: 0px 2px 10px rgba(0,0,0,0.5), 0px 1px 5px rgba(0,0,0,0.5), 0px 1px 2px rgba(0,0,0,0.5);
}

#work .gradient-overlay {
	position: absolute;
	top: -10px;
	bottom: -10px;
	right: -10px;
	left: -10px;
	width: 110%;
	height: 110%;
	background: linear-gradient(46deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
	pointer-events: none;
	z-index: 50
}

.xs {
	position: absolute;
	bottom:-100px;
	right:50px;
	width: 300px;
	height: 200px;
	overflow: hidden;
	border-radius: 25px;
	background: black;
	transition: all 0.3s ease;
}

.xs:hover {
	background: white;
}

.xs .xs-video {
	/* width: 100%;
	height: 100%; */
	background: black;
	position: absolute;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-content: center;
	border-radius: 25px;
	top:0px;bottom:0px;left:0px;right:0px;
	transition: all 0.3s ease;
	pointer-events: none;
}

.xs:hover .xs-video {
	top:3px;bottom:3px;left:3px;right:3px;
}

.xs .xs-video video {
	min-width: 100%;
	min-height: 100%;
	transition: all 0.35s ease;
	object-fit: cover;
}

.xs .xs-video:hover video {
	opacity: 0.4;
}

.xs .xs-info {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	gap:10px;
	color: white;
	position: absolute;
	z-index: 100;
	width: 100%;
	height: 100%;
	pointer-events: none;
	margin-bottom: -10%;
	font-size: 1em;
	text-align: center;
	font-weight: 300;
	background:rgba(0,0,0,0.3);
}



/* Project 1 - Big and Centered */

#work .project-style-1 .project-video {
	width: 100%;
	margin-left: 0%;
	position: absolute;
}

#work .project-style-1 .project-info {
	justify-content: center;
	align-items: center;
	max-width: 80%;
	text-align: center
}

#work .project-style-1 .project-info h1 {
	text-align: center
}

#work .project-style-1 .gradient-overlay {
	background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

/* Project 2 - Small and Centered */

#work .project-style-2 .project-video {
	width: 70%;
	margin-left: -10%;
	position: absolute; */
}

#work .project-style-2 .project-info {
	justify-content: center;
	align-items: start;
	position: absolute;
	left:50%; right:5%;
}

#work .project-style-2 .gradient-overlay {
	background: linear-gradient(315deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

/* Project 3 - Right Aligned */

#work .project-style-3 .project-video {
	width: 65%;
	right:5%;
	position: absolute;
}

#work .project-style-3 .project-info {
	justify-content: center;
	align-items: start;
	position: absolute;
	left: 10%;
	max-width: 50%;
}

#work .project-style-3 .gradient-overlay {
	background: linear-gradient(45deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}



#work .project-style-4 .project-video {
	width: 100%;
	right:0%;
	position: absolute;
}


#work .project-info h1 {
	font-size: 5em;
	line-height: 1.1em;
	margin-left: -30px;
	text-transform: uppercase;
	/* background: linear-gradient(45deg, #d800ff 0%, #00ffda 50%, #d800ff 100%);
	background-size: 300%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	-webkit-animation: textGradient 1s cubic-bezier(0.445, 0.05, 0.55, 0.95) infinite alternate-reverse; */
	transition: all 0.3s ease;
	font-variation-settings: "wght" 300, "wdth" 50, "slnt" 0 ;
	pointer-events: none;
}

#work .project:hover h1 {
	/* font-variation-settings: "wght" 500, "wdth" 50, "slnt" 0 ; */
}
	
@keyframes textGradient {
  from {
	background-position: 100%;
  }
  to {
	background-position: 0;
  }
}

#work .project-video:hover .project-info h1 {
	margin-left: -50px;
}

#work .project-info h2 {
	font-size: 3em;
	font-weight: 200;
	line-height: 1.2em;
}

#work .project-video:hover .project-info h2 {
	margin-right: -20px;
}






@keyframes mikaelTitle {
  0% {
	font-variation-settings: "wght" 100, "wdth" 50, "slnt" 0 ;
	transform: scale(0.8);
	opacity: 0;
  }
  50% {
	font-variation-settings: "wght" 900, "wdth" 50, "slnt" 0 ;
	transform: scale(1);
	opacity: 1;
  }
  100% {
	  font-variation-settings: "wght" 100, "wdth" 50, "slnt" 0 ;
	  transform: scale(0.9);
	  opacity: 0;
	}
}

#reel .title {
	position: absolute;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items:center;
	font-size: 4em;
}

@keyframes reelEntry {
	0% { transform: scale(0.4); }
	100% { transform: scale(1); }
}

#reel .video video {
	min-width: 110%;
	object-fit: cover;
	min-height: 100%;
}

#latest {
	padding:0 80px;
	/* gap:10px; */
}



#about {
	display: flex;
	flex-flow: row;
	justify-content: start;
	align-content: start;
	margin-top: 30px;
	font-size: 1em;
	font-weight: 200;
	line-height: 1.7em;
	padding:100px;
}

/* #about p {
	width: 80%;
} */

.about-images {
	width: 40%;
	position: relative;
	/* background: green; */
}

.about-images-layer1,
.about-images-layer2,
.about-images-layer3 {
	position: absolute;
	height: 100%;
	width: 100%;
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	margin-top:200px;
}

.about-images-layer1 {
	transform: scale(1);
	z-index: 200;
}
.about-images-layer2 {
	transform: scale(0.85);
	z-index: 190;
}
.about-images-layer3 {
	transform: scale(0.7);
	z-index: 180;
}

.about-images img {
	width:50%;
	max-width: 80%;
	border-radius: 25px;
	z-index: 100;
	box-shadow: 0px 10px 30px rgba(0,0,0,0.5);
}

.about-images-layer1 img:nth-child(1) {
	position: absolute;
	top:0%;
	left:-5%;
}

.about-images-layer1 img:nth-child(2) {
	position: absolute;
	top:65%;
	left:30%;
}

.about-images-layer2 img:nth-child(1) {
	position: absolute;
	top:20%;
	left:50%;
}

.about-images-layer2 img:nth-child(2) {
	position: absolute;
	top:80%;
	left:-5%;
}

.about-images-layer3 img:nth-child(1) {
	position: absolute;
	top:-10%;
	left:3%;
}

.about-images-layer3 img:nth-child(2) {
	position: absolute;
	top:80%;
	left:60%;
}


.about-copy {
	width: 60%;
	display: flex;
	flex-flow: column;
	gap:20px;
}

.about-intro,
.about-p1,
.about-p2 {
	display: flex;
	flex-flow: column;
	gap:20px;
}

.about-intro {
	position: relative;
	font-size: 2.7em;
	line-height: 1.2em;
	font-weight: 400;
	width: 80%;
	/* transform: translateX(-20px); */
	overflow: hidden;
}

.text-fade{
	opacity: 1;
}

.about-p1 {
	font-size: 1.5em;
	line-height: 1.5em;
	width: 80%;
	font-weight: 300;
	/* transform: translateX(60px); */
}

.about-p2 {

}



.menu-contact,
#contact {
	padding:10px;
	padding-top:100px;
	padding-bottom:100px;
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-items: center;
	gap:15px;
	text-align: center;
}

.menu-contact {
	position: absolute;
	bottom:0px;
	padding-bottom: 50px;
}

.menu-contact span,
#contact span {
	display: inline-flex;
}

.menu-contact label,
#contact label {
	color:#999;
	margin-right: 5px;
}

#contact a {
	color: white;
	text-decoration: none;
}



#contact span:nth-child(2) {
	margin-left: 20px;
}



.scroll-downs {
  position: absolute;
  right: 0;
  bottom: 40px;
  left: 0;
  margin: auto;
  
  width :34px;
  height: 55px;
  pointer-events: none;
}
.mousey {
  width: 3px;
  padding: 10px 15px;
  height: 35px;
  border: 2px solid #fff;
  border-radius: 25px;
  opacity: 0.75;
  box-sizing: content-box;
}
.scroller {
  width: 3px;
  height: 10px;
  border-radius: 25%;
  background-color: #fff;
  animation-name: scrolldown;
  animation-duration: 1s;
  animation-timing-function: cubic-bezier(.15,.41,.69,.94);
  animation-iteration-count: infinite;
}

@keyframes scrolldown {
  0% { opacity: 0; }
  10% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(15px); opacity: 0;}
}





/* LOADER */
.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
	transform: rotate(0deg);
  }
  100% {
	transform: rotate(360deg);
  }
}



/* HAMBURGER BTN */
.wrapper-menu {
  width: 27px;
  height: 27px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 330ms ease-out;
}

.wrapper-menu.open {
  transform: rotate(-45deg);  
}

.line-menu {
  background-color: #fff;
  border-radius: 5px;
  width: 100%;
  height: 3px;
}

.line-menu.half {
  width: 50%;
}

.line-menu.start {
  transition: transform 330ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
  transform-origin: right;
}

.open .line-menu.start {
  transform: rotate(-90deg) translateX(3px);
}

.line-menu.end {
  align-self: flex-end;
  transition: transform 330ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
  transform-origin: left;
}

.open .line-menu.end {
  transform: rotate(-90deg) translateX(-3px);
}




#clients {
	margin-top: 330px;
}

#logo-ticker {
	overflow: hidden;
	white-space: nowrap;
}

.logo-container {
	display: flex;
	flex-flow: row;
	align-content: center;
	animation: scroll 20s linear infinite;
}

.logo-container img {
	flex: 0 0 auto;
	align-self: center;
	max-height: 100px;
	max-width: 250px;
	margin-right: 60px; /* Adjust based on your design */
}

@keyframes scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-2456px);
	}
}





@media only screen and (max-width: 1024px) {

	body {
		background: black;
	}

	#reel {
		width: 150%;
		margin-left:-25%;
	}
	
	#reel .box {
		transform: scale(0.8);
	}
	
	.fade-text {
		 font-size: 0.5em;
	}

	#work {
		padding:20px;
		padding-top: 0px;
		gap:280px;
	}
	
	#work .project {
		height: 550px;
	}
	
	#work .project-style-1 .project-video,
	#work .project-style-2 .project-video,
	#work .project-style-3 .project-video,
	#work .project-style-4 .project-video
	 {
		width: 100%;
		margin: auto;
		position:inherit;
		left:0;right:0;
	}

	#work .project-style-1 .project-info,
	#work .project-style-2 .project-info,
	#work .project-style-3 .project-info,
	#work .project-style-4 .project-info
	{
		max-width: 100%;
		padding:30px;
		position: absolute;
		left:0px;right:0px;
		bottom: 20px;
		margin-bottom: 0;
		justify-content: start;
		align-items: center;
		text-align: center;
		/* word-break: break-all; */
		/* -webkit-hyphens: auto;
		  -moz-hyphens: auto;
		  -ms-hyphens: auto;
		  hyphens: auto; */
	}
	
	#work .project:hover h1 {
		/* font-variation-settings: "wght" 300, "wdth" 50, "slnt" 0 ; */
	}
	
	#work .project-info h1 {
		font-size: 2.5em;
		margin-left: 0;
	}
	
	#work .project-info h2 {
		font-size: 1.5em;
		font-weight: 200;
	}
	
	#about {
		padding:20px;
		padding-top:80px;
		font-size: 0.8em;
	}
	
	.about-images {
		display: none;
	}
	
	.about-copy {
		width: 100%;
	}
	
	
	.about-intro,
	.about-p1 {
		width: 100%;
	}


	.modal-container {
		padding: 40px;
	}
	
	
	.menu-links {
		font-size: 2.5em;
	}
	
	nav .menu-btn {
		margin-right: 17px;
	}
	
	.menu-contact,
	#contact {
		font-size: 0.8em;
	}
	
	.menu-contact {
		padding-bottom: 30px;
	}


	.xs {
		display: none;
	}
	
	.scroll-downs {
	  bottom: 100px;
	}
	
	.box1,
	.box2,
	.box3,
	.box4,
	.box5,
	.box6,
	.box7,
	.box8,
	.box9 {
		transform: scale(0.5) !important;
	}
	
	.box1 {
		top: 16% !important;
		left: -2% !important;
		transform: scale(0.6) !important;
	}
	
	.box2 {
		top: 40% !important;
		left: -3% !important;
		transform: scale(0.4) !important;
	}
	
	.box3 {
		top: 45% !important;
		left: 50% !important;
		transform: scale(0.3) !important;
	}
	
	.box4 {
		top: 6% !important;
		left: 36% !important;
		transform: scale(0.8) !important;
	}
	
	.box5 {
		top: 58% !important;
		left: 33% !important;
		transform: scale(0.6) !important;
	}
	
	.box6 {
		bottom: 17% !important;
		left: 6% !important;
		transform: scale(0.4) !important;
	}
	
	.box7 {
		top: 0% !important;
		left: 12% !important;
	}
	
	.box8 {
		top: 29% !important;
		left: 45% !important;
		transform: scale(0.3) !important;
	}
	
	.box9 {
		bottom: 14% !important;
		left: 39% !important;
		transform: scale(0.3) !important;
	}
}