@media (prefers-color-scheme: dark) {

@font-face {
  font-family: "font";
  src: url('font-regular.woff2') format('woff2');
  font-weight: normal;
}

@font-face {
  font-family: "font";
  src: url('font-bold.woff2') format('woff2');
  font-weight: bold;
}

body {
	background: black;
	text-align: center;
	margin: 0;
	padding: 0;
	border: none;
	color: white;
    font-family: "font", arial, sans-serif;
    font-size: 0;
}

a {
	text-decoration: none;
}

/* Preload*/

	#preload {
		display: block;
		width: 1px;
		height: 1px;
		position: fixed;
		opacity: .01;
		background: url("head-menu-h-dark.png"), url("menu-close-h-dark.png");
	}



/* Header */

	#header {
		width: 100%;
		height: 108px;
		background: black;
		box-sizing: border-box;
		text-align: center;
		padding: 0 60px;
		position: fixed;
		z-index: 2;
	}

	#header-inner {
		display: inline-block;
		width: 100%;
		max-width: 1046px;
		height: 108px;
		padding: 28px 0;
		box-sizing: border-box;
		text-align: left;
	}
	
	#header-left {
		display: inline-block;
		width: calc(100% - 28px);
		max-width: calc(1046px - 28px);
	}

		#header-logo {
			display: inline-block;
			width: 52px;
			height: 52px;
			background: url("head-logo-agence-tract-dark.png") no-repeat;
    		background-size: 52px;
			vertical-align: middle;
			margin-right: 20px;
		}

		#header-inner h1 {
			display: inline;
			vertical-align: middle;
			color: white;
			font-size: 19px;
		}
		
		#head-sep {
			display: inline;
			display: inline-block;
			width: 30px;
			height: 26px;
			background: url("head-sep-dark.png") no-repeat;
    		background-size: 30px 26px;
			vertical-align: middle;
		}
		
		#head-plus {
			display: inline;
			display: inline-block;
			width: 40px;
			height: 26px;
			background: url("head-plus-dark.png") no-repeat;
    		background-size: 40px 26px;
			vertical-align: middle;
		}
		
	#header-right {
		display: inline-block;
		width: 28px;
		vertical-align: middle;
	}

		/* Menu button */
	
			#menu-button {
			right: 0px;
				width: 28px;
				height: 28px;
				background: url("head-menu-dark.png") no-repeat;
	    		background-size: 28px;
				transition: all .15s ease-in-out;
			vertical-align: middle;
			}
	
				#menu-button:hover {
					display: block;
					width: 28px;
					height: 28px;
					background: url("head-menu-h-dark.png") no-repeat;
		    		background-size: 28px;
				}

/* Main */

	#main {
		padding: 108px 60px 0 60px;
	}

/* iOS-friendly fixed background */

	#bg {
		position: fixed;
		top: 108px;
		width: 100vw;
		height: calc(100vh - 108px);
		background: url("bg-dark.png") no-repeat center top;
	    background-size: cover;
	}

/* H1 */

	#h1 {
		max-width: 900px;
		display: inline-block;
		margin: 60px 25px;
	}

		@keyframes h1 {
		  from {background-position: 0 50px; transform: rotate(5deg);}
		  to {background-position: 0 0;transform: rotate(0);}
		}

		.h1-anim {
  			animation-timing-function: cubic-bezier(0,.97,0,1.01);
  			margin-bottom: 10px;
			height: 50px;
		}

		#h1-1 {
		    /* ENGINEERING */
			display: inline-block;
			width: 238px;
			background: url("h1-1.png") no-repeat;
    		background-size: 238px 50px;
			animation-name: h1;
  			animation-duration: .5s;
  			animation-fill-mode: forwards;
  			animation-delay: 0s;
  			margin-right: 12px;
			background-position: 0 50px;
		}

		#h1-2 {
		    /* THE */
			display: inline-block;
			width: 62px;
			background: url("h1-2.png") no-repeat;
    		background-size: 62px 50px;
			animation-name: h1;
  			animation-duration: .5s;
  			animation-fill-mode: forwards;
  			animation-delay: .1s;
  			margin-right: 12px;
			background-position: 0 50px;
		}

		#h1-3 {
		    /* BEST */
			display: inline-block;
			width: 258px;
			background: url("h1-3-dark.png") no-repeat;
    		background-size: 258px 50px;
			animation-name: h1;
  			animation-duration: .5s;
  			animation-fill-mode: forwards;
  			animation-delay: .2s;
  			margin-right: 12px;
			background-position: 0 50px;
		}

		#h1-4 {
		    /* EXPERIENCES */
			display: inline-block;
			width: 258px;
			background: url("h1-4.png") no-repeat;
    		background-size: 258px 50px;
			animation-name: h1;
  			animation-duration: .5s;
  			animation-fill-mode: forwards;
  			animation-delay: .3s;
			background-position: 0 50px;
		}

		#h1-5 {
		    /* FOR */
			display: inline-block;
			width: 65px;
			background: url("h1-5.png") no-repeat;
    		background-size: 65px 50px;
			animation-name: h1;
  			animation-duration: .5s;
  			animation-fill-mode: forwards;
  			animation-delay: .6s;
  			margin-right: 12px;
			background-position: 0 50px;
		}

		#h1-6 {
		    /* OUR */
			display: inline-block;
			width: 66px;
			background: url("h1-6.png") no-repeat;
    		background-size: 66px 50px;
			animation-name: h1;
  			animation-duration: .5s;
  			animation-fill-mode: forwards;
  			animation-delay: .65s;
  			margin-right: 12px;
			background-position: 0 50px;
		}

		#h1-7 {
		    /* WIDE */
			display: inline-block;
			width: 278px;
			background: url("h1-7-dark.png") no-repeat;
    		background-size: 278px 50px;
			animation-name: h1;
  			animation-duration: .5s;
  			animation-fill-mode: forwards;
  			animation-delay: .7s;
  			margin-right: 12px;
			background-position: 0 50px;
		}

		#h1-8 {
		    /* RANGE */
			display: inline-block;
			width: 110px;
			background: url("h1-8.png") no-repeat;
    		background-size: 110px 50px;
			animation-name: h1;
  			animation-duration: .5s;
  			animation-fill-mode: forwards;
  			animation-delay: .75s;
  			margin-right: 12px;
			background-position: 0 50px;
		}

		#h1-9 {
		    /* OF */
			display: inline-block;
			width: 39px;
			background: url("h1-9.png") no-repeat;
    		background-size: 39px 50px;
			animation-name: h1;
  			animation-duration: .5s;
  			animation-fill-mode: forwards;
  			animation-delay: .8s;
  			margin-right: 12px;
			background-position: 0 50px;
		}

		#h1-10 {
		    /* CLIENTS */
			display: inline-block;
			width: 145px;
			background: url("h1-10.png") no-repeat;
    		background-size: 145px 50px;
			animation-name: h1;
  			animation-duration: .5s;
  			animation-fill-mode: forwards;
  			animation-delay: .85s;
			background-position: 0 50px;
		}
		
/* Logos */

	#logos {
		display: inline-block;
		width: 100%;
		max-width: 1046px;
		height: 62px;
	}
	
		@keyframes logos {
		  from {background-position: 0 50px; transform: rotate(5deg);}
		  to {background-position: 0 0;transform: rotate(0);}
		}

		.logo {
  			animation-timing-function: cubic-bezier(0,.97,0,1.01);
			height: 62px;
		}
		
		#logo-1 {
		    /* MAISON STANDARDS */
			display: inline-block;
			width: 214px;
			background: url("logo-1-dark.png") no-repeat;
    		background-size: 214px 62px;
			animation-name: logos;
  			animation-duration: .5s;
  			animation-fill-mode: forwards;
  			animation-delay: 1.2s;
  			margin-right: 38px;
			background-position: 0 62px;
		}
		
		#logo-2 {
		    /* AIA */
			display: inline-block;
			width: 75px;
			background: url("logo-2-dark.png") no-repeat;
    		background-size: 75px 62px;
			animation-name: logos;
  			animation-duration: .5s;
  			animation-fill-mode: forwards;
  			animation-delay: 1.25s;
  			margin-right: 38px;
			background-position: 0 62px;
		}
		
		#logo-3 {
		    /* SEA */
			display: inline-block;
			width: 85px;
			background: url("logo-3-dark.png") no-repeat;
    		background-size: 85px 62px;
			animation-name: logos;
  			animation-duration: .5s;
  			animation-fill-mode: forwards;
  			animation-delay: 1.3s;
  			margin-right: 38px;
			background-position: 0 62px;
		}
		
		#logo-4 {
		    /* RENAULT */
			display: inline-block;
			width: 47px;
			background: url("logo-4-dark.png") no-repeat;
    		background-size: 47px 62px;
			animation-name: logos;
  			animation-duration: .5s;
  			animation-fill-mode: forwards;
  			animation-delay: 1.35s;
  			margin-right: 38px;
			background-position: 0 62px;
		}
		
		#logo-5 {
		    /* CHANEL */
			display: inline-block;
			width: 86px;
			background: url("logo-5-dark.png") no-repeat;
    		background-size: 86px 62px;
			animation-name: logos;
  			animation-duration: .5s;
  			animation-fill-mode: forwards;
  			animation-delay: 1.4s;
  			margin-right: 38px;
			background-position: 0 62px;
		}
		
		#logo-6 {
		    /* CHALLENGES */
			display: inline-block;
			width: 136px;
			background: url("logo-6-dark.png") no-repeat;
    		background-size: 136px 62px;
			animation-name: logos;
  			animation-duration: .5s;
  			animation-fill-mode: forwards;
  			animation-delay: 1.45s;
  			margin-right: 38px;
			background-position: 0 62px;
		}
		
		#logo-7 {
		    /* L'ORÉAL */
			display: inline-block;
			width: 150px;
			background: url("logo-7-dark.png") no-repeat;
    		background-size: 150px 62px;
			animation-name: logos;
  			animation-duration: .5s;
  			animation-fill-mode: forwards;
  			animation-delay: 1.5s;
			background-position: 0 62px;
		}

/* Footer */

	@keyframes footer {
	  from {opacity: 0;}
	  to {opacity: 1;}
	}

	#footer {
		display: inline-block;
		width: 100%;
		max-width: 1046px;
		vertical-align: middle;
		margin-top: 85px;
			animation-name: footer;
  			animation-duration: 2s;
  			animation-fill-mode: forwards;
  			animation-delay: 1.5s;
  			opacity: 0;
	}
	
		#intro {
			display: inline-block;
			width: calc(100% - 184px - 86px);
			max-width: 776px;
			text-align: left;
			font-size: 22px;
			font-weight: bold;
			filter: drop-shadow(0 0 10px #2D2B4F)
					drop-shadow(0 0 10px #2D2B4F);
		}
	
			#intro-logo {
				display: inline-block;
				width: 84px;
				height 18px;
				background: url("intro-logo-dark.png") no-repeat;
    			background-size: 84px 18px;
    			color: transparent;
    			transform: translateY(3px);
    			margin-right: 2px;
				text-shadow: none;
			}
	
			.intro-highlight {
				color: #5D71FD;
			}
		
		#cta-container {
			display: inline-block;
			margin-left: 82px;
			width: 100%;
			max-width: 184px;
			vertical-align: top;
			position: relative;
		}

		#cta {
			height: 46px;
			background-color: #5D71FD;
			font-weight: bold;
			font-size: 19px;
			vertical-align: middle;
			color: white;
			transition: all .15s ease-in-out;
			transform: translateY(15px);
		}

			#cta-label {
				display: inline-block;
				vertical-align: middle;
				transform: translateY(11px);
			}

			#cta:hover {
				background-color: #273FEA;
			}

/* Responsive */

    	#h1-break-1 {
    		display: none;
    	}

		.logo-mobile {
  			animation-timing-function: cubic-bezier(0,.97,0,1.01);
			height: 58px;
			display: inline-block;
		}

	    	#logo-mobile-break-1 {
	    		display: none;
	    	}
	
			#logo-mobile-1 {
			    /* AIA */
				display: none;
				width: 88px;
				background: url("logo-mobile-1-dark.png") no-repeat;
	    		background-size: 88px 58px;
				animation-name: logos;
	  			animation-duration: .5s;
	  			animation-fill-mode: forwards;
	  			animation-delay: 1.2s;
				background-position: 0 62px;
			}
			
			#logo-mobile-2 {
			    /* L'ORÉAL */
				display: none;
				width: 167px;
				background: url("logo-mobile-2-dark.png") no-repeat;
	    		background-size: 167px 58px;
				animation-name: logos;
	  			animation-duration: .5s;
	  			animation-fill-mode: forwards;
	  			animation-delay: 1.25s;
				background-position: 0 62px;
			}
			
			#logo-mobile-3 {
			    /* RENAULT */
				display: none;
				width: 82px;
				background: url("logo-mobile-3-dark.png") no-repeat;
	    		background-size: 82px 58px;
				animation-name: logos;
	  			animation-duration: .5s;
	  			animation-fill-mode: forwards;
	  			animation-delay: 1.3s;
				background-position: 0 62px;
			}
			
			#logo-mobile-4 {
			    /* SEA */
				display: none;
				width: 88px;
				background: url("logo-mobile-4-dark.png") no-repeat;
	    		background-size: 88px 58px;
				animation-name: logos;
	  			animation-duration: .5s;
	  			animation-fill-mode: forwards;
	  			animation-delay: 1.35s;
				background-position: 0 62px;
			}
			
			#logo-mobile-5 {
			    /* CHALLENGES */
				display: none;
				width: 167px;
				background: url("logo-mobile-5-dark.png") no-repeat;
	    		background-size: 167px 58px;
				animation-name: logos;
	  			animation-duration: .5s;
	  			animation-fill-mode: forwards;
	  			animation-delay: 1.4s;
				background-position: 0 62px;
			}
			
			#logo-mobile-6 {
			    /* CHANEL */
				display: none;
				width: 82px;
				background: url("logo-mobile-6-dark.png") no-repeat;
	    		background-size: 82px 58px;
				animation-name: logos;
	  			animation-duration: .5s;
	  			animation-fill-mode: forwards;
	  			animation-delay: 1.45s;
				background-position: 0 62px;
			}


		@media (max-width: 1140px) and (min-width: 1020px) {
		
			.logo {
				scale: .75;
			}
			
				#logo-1, #logo-2, #logo-3, #logo-4, #logo-5, #logo-6, #logo-7, #logo-8, #logo-9 {
					margin-right: 15px;
				}
				
			.modal-close {
			  display: block;
			  position: fixed;
			  left: unset !important;
			  right: 60px;
			}
			
		}

		@media (max-width: 1020px) and (min-width: 830px) {

	    	#h1-break-1 {
	    		display: block;
	    	}

			#logos {
				display: none;
			}

			#logo-mobile-1, #logo-mobile-2, #logo-mobile-3, #logo-mobile-4, #logo-mobile-5, #logo-mobile-6 {
				display: inline-block;
			}
			
			#logo-mobile-3 {
				margin-right: 32px;
			}
				
			.modal-close {
			  display: block;
			  position: fixed;
			  left: unset !important;
			  right: 60px;
			}

		}

		@media (max-width: 830px) and (min-width: 601px) {

			#bg {
				position: fixed;
				top: 108px;
				width: 100vw;
				height: calc(100vh - 108px);
				background: url("bg-tablet-dark.png") no-repeat center top;
			    background-size: cover;
			}

			.no-xs {
				display: none !important
			}

	    	#h1-break-1 {
	    		display: block;
	    	}
				
			#logos {
				display: none;
			}

				#logos-mobile {
					transform: scale(1.3) translateY(25px);
				}

				#logo-mobile-1, #logo-mobile-2, #logo-mobile-3, #logo-mobile-4, #logo-mobile-5, #logo-mobile-6 {
					display: inline-block;
					margin-top: 10px
				} 

		    	#logo-mobile-break-1 {
		    		display: block;
		    	}

			#intro, #cta-container {
				display: block;
				margin-left: auto;
				margin-right: auto;
				margin-top: 60px;
				text-align: center;
			}
			
				#cta-container {
					margin-bottom: 100px
				}
				
				#intro {
					width: 100%
				}

			#menu-panel-container {
				width: 75% !important;
				height: 10vh;
				margin: 0;
				position: fixed;
		    }
				
			.modal-close {
			  display: block;
			  position: fixed;
			  left: unset !important;
			  right: 60px;
			}

		}
		
		@media (max-width: 600px) and (min-width: 400px) {

			#bg {
				position: fixed;
				top: 108px;
				width: 100vw;
				height: calc(100vh - 108px);
				background: url("bg-mobile-dark.png") no-repeat center top;
			    background-size: cover;
			}

			.no-xs {
				display: none !important
			}

			#header {
				padding: 0 30px;
			}
			
			#main {
				padding: 108px 30px 0 30px;
			}	
						
				#h1 {
					max-width: 900px;
					display: inline-block;
					margin: 60px 0;
				}
		
			    	#h1-break-1 {
			    		display: block;
			    	}
					
				#logos {
					display: none;
				}
	
					#logo-mobile-1, #logo-mobile-2, #logo-mobile-3, #logo-mobile-4, #logo-mobile-5, #logo-mobile-6 {
						display: inline-block;
						margin-top: 10px
					} 
	
			    	#logo-mobile-break-1 {
			    		display: block;
			    	}
	
				#intro, #cta-container {
					display: block;
					margin-left: auto;
					margin-right: auto;
					margin-top: 0px;
					text-align: center;
				}
	
					#cta-container {
						margin-top: 60px;
						margin-bottom: 100px;
					}
					
					#intro {
						width: 100%
					}

			#menu-panel-container {
				width: 90% !important;
				height: 10vh;
				margin: 0;
				position: fixed;
		    }
				
			.modal-close {
			  display: block;
			  position: fixed;
			  left: unset !important;
			  right: 30px;
			}

		}

		@media (max-width: 400px) {

				#bg {
					position: fixed;
					top: 108px;
					width: 100vw;
					height: calc(100vh - 108px);
					background: url("bg-mobile-dark.png") no-repeat center top;
				    background-size: cover;
				}

			.no-xs {
				display: none !important
			}

			#header {
				padding: 0 20px;
			}
			
			#main {
				padding: 108px 20px 0 20px;
			}

				#h1 {
					max-width: 900px;
					display: inline-block;
					margin: 60px 0;
				}
		
			    	#h1-break-1 {
			    		display: block;
			    	}
					
				#logos {
					display: none;
						scale: .75;
				}
			
					.logo {
						scale: .8;
						margin: -10px;
					}
	
					#logo-mobile-1, #logo-mobile-2, #logo-mobile-3, #logo-mobile-4, #logo-mobile-5, #logo-mobile-6 {
						display: inline-block;
						margin-top: 10px
					} 
	
			    	#logo-mobile-break-1 {
			    		display: block;
			    	}
	
				#intro, #cta-container {
					display: block;
					margin-left: auto;
					margin-right: auto;
					margin-top: 0px;
					text-align: center;
				}
	
					#cta-container {
						margin-top: 60px;
						margin-bottom: 100px;
					}
					
					#intro {
						width: 100%
					}

			#menu-panel-container {
				width: 90% !important;
				height: 10vh;
				margin: 0;
				position: fixed;
		    }
				
			.modal-close {
			  display: block;
			  position: fixed;
			  left: unset !important;
			  right: 20px;
			}

		}


/* Menu */

	#menu-panel-container {
		width: 50%;
		height: 100vh;
		margin: 0;
		position: fixed;
	    -webkit-backdrop-filter: saturate(280%) blur(40px);
	    backdrop-filter: saturate(180%) blur(30px);
	    background-color:rgba(0, 0, 0, 0.6);
	    background-image: linear-gradient(180deg, black 0%, rgba(0,0,0,0.00) 8%);
    }

		#shadow {
			display: block;
			width: 816px;
			height: 100vh;
			background-color: red;
			position: absolute;
			left: -816px;
			background: url("shadow.png");
				background-size: 816px 110vh;
				background-repeat: no-repeat;
				background-position: right;
			opacity: 0;
			transition: all .3s ease-in-out;
		}

			.modal-window:target #shadow {
				opacity: 0;
				transition: none;
			}

		#shine {
			display: block;
			width: 1px;
			height: 200px;
			position: absolute;
			top: 0px;
			left: 0px;
			background-image: url("shine.png");
				background-size: 1px 200px;
				background-repeat: no-repeat;
		}

	#menu-panel-container:before {
		display: block;
		position: absolute;
		right: -100px;
		height: 100vh;
		width: 100px;
		content: " ";
	    -webkit-backdrop-filter: saturate(180%) blur(30px);
	    backdrop-filter: saturate(180%) blur(30px);
	    background-color:rgba(0, 0, 0, 0.3);
	}
	
		#menu-iframe {
			width: 100%;
			border: none;
			height: 100vh;
		}
	
	.modal-window {
		z-index: 999;
		opacity: 1;
		pointer-events: none;
		transition: all .15s cubic-bezier(1,-0.01,1,.07);
		top: 0px;
		right: calc(-100%);
	}
	
		.modal-window:target {
			opacity: 1;
			pointer-events: auto;
			transition: all .3s cubic-bezier(0, 1, 0, 1.02);
			right: 0px;
		}
		
			.modal-window:target::after {
				display: block;
				position: absolute;
				content: "";
				background: transparent;
				pointer-events: none;
				opacity: 1;
				height: 100vh;
				width: 100%;
				right: 0;
				box-shadow: -88px 99px 100px 0 rgba(0,0,0,.25);
			}

			.modal-window:target::after {	
			}

		.modal-close {
		  display: block;
		  position: absolute;
		  left: 495px;
		  top: 40px;
		  width: 28px;
		  height: 28px;
		  background: url("menu-close-dark.png");
			  background-size: 28px;
			  background-repeat: no-repeat;
		  transition: all .15s ease-in-out;
		}
	
	.modal-close:hover {
		  background: url("menu-close-h-dark.png");
			  background-size: 28px;
			  background-repeat: no-repeat;
	}
	
}