@font-face {
 font-family: "Neue Haas Unica";
 src: url("fonts/Neue Haas Unica Pro Medium.ttf") format("truetype"),
      url("fonts/Neue Haas Unica Pro Medium.ttf") format("truetype");
}

:root{
	--header: 50px;
	--type: Neue Haas Unica, Helvetica, sans-serif;
	--grisc: #E8E8E8;
	--gris: #BDBDBD;
	--grisf: #404040;
	--container: 1324px;
	--violet: #9B51E0;	
	--vert: #66c38a;
}


html{
    width: 100vw;
    left: 0;
    right: 0;
    position: relative;	
}
body {
/*	margin: 0;
	padding: 0;
	font-family: var(--type);
	color: var(--grisf);
	background-color: white; 
	overflow-x: hidden;*/

	margin: 0;
    padding: 0;
    font-family: var(--type);
    color: var(--grisf);
    background-color: white;
    overflow-x: hidden;
    width: 100vw;
    position: relative;
    overflow-y: scroll;
}

img{
	image-rendering: -webkit-optimize-contrast;
}

#header-wrapper{
	width:100%;
	background-color: white;
	position: fixed;
	top:0;
	z-index: 300;
}
#header{
	background-color: white;
	width:100%;
	max-width: 1324px;
	margin:auto;
	height:50px;
	position: sticky;
	z-index: 300;
	top:0px;
}

#nav-bar{
	text-align: right;
}

#site-title{
	color: var(--vert);
}

#site-title:hover{
	color: var(--grisf);
}

#header a{
	line-height: var(--header);
	text-decoration: none;
}

#nav-bar a:hover{
	color: var(--grisf);
}

.nav-button{
	display: inline-block;
	width: auto;
	padding-left:20px;
}

.nav-button a{
	color: var(--gris)!important;
}

.nav-button a:hover{
	color: var(--grisf)!important;
}

#active a{
	color: var(--grisf)!important;
}

#phrase_accueil a{
	text-decoration: none;
}

#grid-container{
	width:100%;
	min-height: 800px;
	height: -webkit-calc(100vh - 50px);
	height: -moz-calc(100vh - 50px);
	height: -o-calc(100vh - 50px);
	height: -ms-calc(100vh - 50px);
	height: calc(100vh - 50px);
	background-color: #F2F2F2;
	overflow: hidden;
	margin-top:50px;
	position: relative;
}

#wrapped-grid{
	width: 100%;
    height: 100%;
    margin: auto;
    position: relative;
    overflow: hidden;
}

#wrapped-grid img{
    margin: auto;
    max-height: 200vh;
    width: 2383px;
    object-fit: cover;
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#video-container{
    position: absolute;
    top: 0px;
    width: 1324px;
    height: inherit;
    /*min-height: 850px;*/
    height:100%;
}

#video-container video{
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 50;
}

#phrase_accueil{
	text-align: center;
	padding-top: 100px;
	margin:auto;
}

#phrase_accueil span{
	color:var(--vert);
}


#mosaic-wrapper{
	width:100%;
	max-width: 1346px;
	/*padding: 10px 0px;*/
	margin: auto;
	box-sizing: border-box;
}

.mosaic-elt{
	/*margin-bottom: 10px;*/
    padding-right: calc(var(--bs-gutter-x) * 0.25);
    padding-left: calc(var(--bs-gutter-x) * .25);
    margin-bottom: calc(var(--bs-gutter-x) * 0.5);
}

.mosaic-elt video{
	height: 100%;
	width: 100%;
	object-fit: cover;
	box-sizing: border-box;
}

.mosaic-elt img{
	height: 100%;
	width: 100%;
	object-fit: cover;
	box-sizing: border-box;
}

.site-wrapper{
	max-width: 1324px;
	margin:auto;
}


footer{
	box-sizing: border-box;
	font-weight: lighter;
	color: var(--grisf);
	height: 300px;
	padding:40px 0px;
	box-sizing: border-box;
}

footer span{
	color: var(--violet);
}
 
 footer p{
 	margin:0px;
 }

 footer a:hover{
 	color: var(--violet);
 }

.footer-part{
	display:inline-block;
	width:49%;
	box-sizing: border-box;
	vertical-align: top;
}

#social-media{
	text-align: end;
    	float: right;
}

#social-media img{
	height: 30px;
	padding-left: 10px;
	box-sizing: border-box;
	float:right;
}

#social-media a{
	display: inline-block!important;
	vertical-align: middle;
	text-align: right;
}

footer p{
	margin: 0px;
}

footer a{
	color: var(--grisf);
	text-decoration: none;
	/*display:block;*/
}

#gris-clair{
	background-color: var(--grisc);
}

.top-window-work{
	padding:50px 0px;
	overflow: hidden;
}

.carousel-wrapper{
	/*max-height:70vh;*/
}


  .swiper-container {
    width: 100%;
    height: 100%;
  }

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    width:1324px;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

.swiper-slide video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .swiper-description p{
  	text-align: center;
  	padding-top: 20px;
  	margin:0;
  }

.playbutton{
	  position: absolute!important;
	  width:100%!important;
	  height:100%!important;
	  max-width: 100px!important;
	  max-height: 100px!important;
	  object-fit: contain!important;
	  transform: translate(-50%, -50%);
	  top:50%;
	  left:50%;
	  cursor: pointer;
	  transition:0.2s ease;
}

@media screen and (max-width: 1323px){
	#header{
		padding:0px 28px;
	}

	footer{
		padding:20px;
	}

	#mosaic-wrapper{
		padding:0px 14px;
	}

	#grid-container{
		min-height: auto;
		/*height:50vh;*/
		position: relative;
	}

	#video-container{
		padding:0px 28px 0px 28px;	
		min-height:auto;
/*		background-color: Lavender;
		opacity: 0.6;*/
	}

	#wrapped-grid img{
		width: -webkit-calc(180vw - 100px);
		width: -moz-calc(180vw - 100px);
		width: -o-calc(180vw - 100px);
		width: -ms-calc(180vw - 100px);
		width: calc(180vw - 100px);
	}

	.swiper-slide{
		width:80vw;
	}

}

@media screen and (max-width: 900px){
	.playbutton {
	    max-width: 50px!important;
	    max-height: 50px!important;
	}

	.swiper-container {
		width: 100%;
				/*height:auto;*/
		height: -webkit-fit-content;
		height: fit-content;

	}

	.swiper-slide video, .swiper-slide img{
		height:auto;
	}

	.top-window-work{
		height:auto;
	}

	  .swiper-slide video, .swiper-slide img{
	  	height:auto;
	  }

}

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

	.swiper-slide{
		width:80vw;
	}

	.swiper-description p{
  		text-align: left;
  		padding-left:10vw;
  		padding-right: 10vw;
	}

	#grid-container{
		height:50vh;
	}
}


