/****************************************
  ==== RESETS
****************************************/
* { margin: 0; padding: 0; }
::-moz-selection { color: #333; text-shadow: none; }
::selection {  color: #333; text-shadow: none; }
.clear:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.clear { display: inline-table; clear: both; }
/* Hides from IE-mac \*/ * html .clear { height: 1%; } .clear { display: block; } /* End hide from IE-mac */

/****************************************
  ==== LAYOUT
****************************************/
body {
	background: #ED1C24;
	color: #fff;
	width: 100%;
	height: 100vh; 
	font-family: Abrade-medium, Arial, sans-serif;
	font-size: min(max(12px, 2vw), 16px);
	max-width: 1300px;
	margin: auto;
	overflow-x: hidden;
  	}
.trail {
	position: absolute;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #ff69b4; /* Adjust color as needed */
	pointer-events: none;
	transition: transform 0.1s ease-out, opacity 0.4s;
	opacity: 0;
	}
/*
canvas {
	width: 100%;
	height: 100%;
	position: absolute;
	}
*/

/****************************************
  ==== GENERAL
****************************************/
p{
	font-size: 1em;
	/*font-size: clamp(1em, 2vw, 1.25rem);*/
	line-height: 1.6;
	padding-bottom: 2em;
	}
a{
	color: #fff;
	text-decoration: none;
	}
a:hover{
	text-decoration: underline;
	}
ul{
	display: block;
	margin-inline-start: 0px;
	margin-inline-end: 0px;	
	unicode-bidi: isolate;
	}
li{
	line-height: 1.8;
	/*list-style-type: circle;*/
	list-style-type: disclosure-closed;
	position: relative;
	}
li p{
	font-size: 1.0rem;
	opacity: 0.8;
	}
h2 {
	font-family: Abrade-extrablack, Arial, sans-serif;
	font-size: min(max(1em, 3vw), 2em);
	text-align: left;
	margin: 0 0 1em 0;
	color: #FAC6C8;	
	font-weight: bold;
	}
video {
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1s ease;
	}
video.show {
	opacity: 1;
	}
#showVideoLink {
	margin-bottom: 20px;
	cursor: pointer;
	}
.loadedVideo {
	opacity: 1;
	left: 0;
	object-fit: cover;
	margin: -4em 0 0 0;
	border-radius: 2em 0;
	}

/****************************************
  ==== LOADING
****************************************/
/*div#loadingBox {
	width: 100%;
	height: 20px;
	position: absolute;
	top: 50%;
	margin-top: -10px;
	text-align: center;
}
div#bgBar {
	position: absolute;
	width: 200px;
	margin-left: -100px;
	left: 50%;
	height: 20px;
	display: block;
	background-color: #333;
}
div#progressBar {
	left: 50%;
	position: absolute;
	margin-left: -100px;
	width: 0px;
	height: 20px;
	background-color: #ad1010;
	border-radius: 2px;
}
div#bgBar {
	border-radius: 2px;
}
p#loadingInfo {
	color: #fff;
	letter-spacing: 1px;
	position: absolute;
	width: 100%;
	text-align: center;
	font-size: 12px;
	margin-top: 30px;
}*/

/****************************************
  ==== HEADER
****************************************/
.header{
	margin: 7.5% 1vw;
	opacity: 1;
	transition: opacity 1s ease;
	}
.header.hide{
	opacity: 0.15;
	}
.header img{
	width:40%;
	min-width: 200px;
	margin: 0 auto;
	}
.header ul{
	float: right;
	}
.header li{
	list-style-type: none;
	}
.page-navi {
	line-height: 24px;
	font-size: 11px;
	position: relative;
	margin: 0 0 20px 0;
	}
.page-navi a {
	padding: 0px 10px;
	letter-spacing: 1px;
	color: #333;
	text-shadow: 0 -1px 0 #fff;
	display: inline-block;
	text-decoration:none;
	font: 400 12px/32px "Open Sans", sans-serif;
	color: #fff;
	}
.page-navi a:hover {
	background: rgba(255,255,255,0.8);
	color: #545454;
	}
.page-navi span.right {
	float: right;
	}
.page-navi span.right a {
	float: left;
	display: block;
	}

/****************************************
==== VIDEO LINKS
****************************************/
.videoLinks {
	position: relative;
	width: 100%;
	transition: opacity 0.5s ease;
	opacity: 1;
	flex: 1;
	margin-bottom: 5%;
	}
.videoLinks.hide{
	opacity: 0.15;
	}
.videoLinks li{
	position: absolute;
	justify-content: center;
	align-items: center;
	transition: top 0 ease, left 1s ease;
	font-variant-caps: petite-caps;
	font-size: 1.5em;
	}
.video.hover{
	cursor: wait;
	}
.content-wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	}

/****************************************
	==== TRIANGLE ANIMATION
****************************************/
.triangle {
	position: absolute;
	width: 0;
	height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	transition: transform 0.3s ease, opacity 2s ease;
	animation: fadeOut 2s forwards;
	z-index: -1;
	}
@keyframes fadeOut {
	0% { opacity: 1; }
	100% { opacity: 0; transform: scale(0.5); }
	}

.snowflake {
	position: absolute;
	pointer-events: none;
	background-image: url("../images/site/snowflake.png");
	background-size: contain;
	background-repeat: no-repeat;
  	background-position: center;
	opacity: 0.8;
	/*animation: fadeOut 2s linear forwards;*/
	/*animation: rotateCW 5s linear infinite, rotateACW 5s linear infinite, fadeOut 2s linear forwards;*/
	}

	@keyframes rotate {
		from {
		  transform: rotate(0deg);
		}
		to {
		  transform: rotate(360deg);
		}
	}
	@keyframes rotateCW {
		from {
			transform: rotate(0deg);
		}
		to {
			transform: rotate(360deg);
		}
	}	
	@keyframes rotateACW {
		from {
			transform: rotate(0deg);
		}
		to {
			transform: rotate(-360deg);
		}
	}
	@keyframes fadeOut {
		0% {
			opacity: 0.8;
		}
		100% {
			opacity: 0;
		}
	}

/****************************************
	==== WORK LAYOUT
****************************************/
.work_first_video{
	aspect-ratio: 1600/700;
	/*aspect-ratio: 1600/400;*/
	margin: 0 1vw;
	}
.work_content{	
	position: relative;
    width: auto;
    overflow: hidden;
	margin: 12% 1vw;
	display: flex;
  	align-items: stretch;
	}
.work_content .caption{	
    align-content: center;
	margin: 0px auto;
	width: 30%;
	font-variant-caps: petite-caps;
	line-height: 1.25em;
	border-top: 1px solid #FFFFFF66;
	border-bottom: 1px solid #FFFFFF66;
	padding: 1em;
	}
.work_content img{
	width: 50vw;
	max-width: 640px;
	height: auto;
	background-color: #FAC6C833;
	border-radius: 2em 0;
	}
.work_left iframe, .work_left img{
	float: left;
	}
.work_right iframe, .work_right img{
	float: right;
	}
.work_right{
	flex-direction: row-reverse;
	}
.caption {
	font-family: Abrade-extrablack, Arial, sans-serif;
	font-size: clamp(1em, 2vw, 1.5rem);
	text-align: left;
	margin: 0 0 1em 0;
	line-height: 1;
    padding-bottom: 0;
	}
.video_iframe {
	width: 50vw; /* 50% of viewport width */
	height: 28.125vw; /* Matches a 16:9 aspect ratio */
	border-radius: 2em 0;
	max-width: 640px;
	max-height: 360px;
	background-color: #FAC6C833;
	}
/* Responsive behavior */
@media (max-width: 420px) {
	.work_content {
	  	flex-direction: column;
	  	align-items: stretch;
		}
	.video_iframe, .work_content img {
		width: 100vw;/*vw;*/
		height: 56.25vw;/*vw;*/
		flex: none;
		}
	.work_content .caption {
		width: 75vw;
		margin: 10% auto;
		flex: none;
		}
	}

/****************************************
	==== COMPANY
****************************************/
.content {
	/*background-color: #e74c3c;*/
	width: 70%;
	height: 100%;
	}
.section{
	width:auto;
	margin: 8em 1vw;
	display: flex;
	}
.heading{
	width: 30%;
	height: 100%;
	min-width: 100px;
	/*background-color: #3498db;*/
	}
.number {
	color: #F68D91;
	}
.underlined{
	text-decoration: underline;
	}
#services li{
	font-size: 1.25em;
	margin-left: 22px;
	}
.background-video {
	position: absolute;
	top: 0;
	left: 0;
	object-fit: cover;
	z-index: -1; /* Place video behind content */
	}

.contact{
	border-top: 1px solid white;
	padding: 4em 0 0 0;
	text-align: center;
	margin: 0 1em;
	}
.contact h2{
	text-align: center;
	}
.shorter{
	height: 500px;
	}

/****************************************
	==== CLIENTS
****************************************/
#clients li{
	text-decoration: none;
	display: inline-flex;
	/*padding: 0 0 1em 0;*/
	}
#clients img{
	width: 10em;
	padding: 0 20px;
	}
.logos{
	overflow: hidden;
	white-space: nowrap;
	}
.logos:hover .logos-slide{
	animation-play-state: paused;
	}
.logos-slide{
	display: inline-block;
	animation: 45s slide linear infinite;
	}
.logos:before, .logos:after{
	position:absolute;
	width: 50px;
	height: 150px;
	content: "";
	z-index: 2;
	}
.logos:before{
	background: linear-gradient(to left, rgba(255,255,255,0), #ED1C24);
	}
/*.logos:after{
	right: 150px;
	background: linear-gradient(to right, rgba(255,255,255,0), #ED1C24);
	}*/
@keyframes slide {
		from{
			transform: translateX(0)
		}
		to{
			transform: translateX(-100%)
		}
	}

/****************************************
  ==== CONTACT FORM
****************************************/
form{
	margin: 4em 0;
	}
input, textarea {
	background: #ED1C24;
    color: #fff;
    cursor: pointer;
	font-family: Abrade-medium, Arial, sans-serif;
    margin: 0 0 1em 0;
    padding: 1em;
    position: relative;
    display: inline-block;
    border: 2px solid #fff;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
	width: 65%;
	/*float: right;*/
	}
::placeholder { 
	color: #F68D91;
	font-size: 1.5em;
	}
.buttons{
	background: #fff;
	padding: 0.5em 1em;
	width: auto;
	color: #ED1C24;
	font-weight: bold;
	}
.buttons a:hover{
	color: #ED1C24;
	font-weight: bold;
	}

/****************************************
  ==== FOOTER
****************************************/
.footer a img{
	height:2em;
	width:2em;
	}
.footer{	
	padding-top: 3em;
    width: auto;	
    color: #fff;
    cursor: pointer;
	text-align: right;
	border-top: 1px solid white;
	margin: 3em 1vw;
	/*margin: 7.5% 1vw;*/
	}
.footer .links{
	text-align: left;
	float: left;
	}
.footer li{	
	list-style-type: none;
	}
.footer a{
	text-decoration: none;
	color: #fff;
	}
.footer p{
	padding-bottom: 0;
	margin-right: 1em;
	}
.footer .social {
	float: right;	
	}
.footer .social li{	
	float: right;
	margin: 0 0 0 0.5em;
	}
.footer .social a{
	display: block;
	}
.footer .social p{
	padding-top: 0.8em;
	}
data-sidedock{
	display: none;
	}
footer{
	margin-top: 4em;
	}