@font-face {
    font-family: 'silmastin';
    src: url('../font/silmastin-aljjd-webfont.eot');
    src: url('../font/silmastin-aljjd-webfont.eot?#iefix') format('embedded-opentype'),
         url('../font/silmastin-aljjd-webfont.woff2') format('woff2'),
         url('../font/silmastin-aljjd-webfont.woff') format('woff'),
         url('../font/silmastin-aljjd-webfont.ttf') format('truetype'),
         url('../font/silmastin-aljjd-webfont.svg#silmastinregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
	--color-text: #fff;
	--cursor-stroke: none;
	--cursor-fill: #ffffff;
	--cursor-stroke-width: 1px;
	background: rgb(2,0,36);
	background: radial-gradient(circle, rgba(2,0,36,1) 0%, rgba(19,15,42,1) 0%, rgba(4,4,8,1) 100%);
}

p, span{
	white-space:normal;
}

.frame__title{
	margin:0px !important;
}

.frame{
	position: absolute;
    display: block;
    padding: 0;
    left:0px;
    right:0px;
    top: 30px;
    margin: auto;
    text-align:center;
 }

.iframe{
	position:relative;
	width:40vw;
	height:100vh;
	margin-left:10vw;
}

.iframe:after{
    content: '';
    display: block;
    width: 60px;
    height: 60px;
    background:#0a0917;
    position: absolute;
    bottom: 0;
    right: 0;
    border-radius:60px;
}

.gallery__item:nth-of-type(1){
	margin-left:20vw;
}

iframe{
	width:100%;
	height:100%;
}

#iframe1 .spline-watermark{
	display:none !important;
}

#Calque_2{
	width: 400px;
    height: 300px;
    position: absolute;
    top: 0;
    left: 0;

}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
}

.marketing-lab {
  cursor: pointer;
  fill: #d83e00;
  position: absolute;
  left: 0;
  top: 0;
}

.marketing-lab .mask {
  fill: none;
  stroke: #fff;
  stroke-miterlimit: 10;
}

@keyframes strokeOffset {
  to {
    stroke-dashoffset: 0;
  }
}
.button {
  padding: 8px 16px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
}


.txtcourant{
	font-size:5vw;
	font-family: proxima-nova, sans-serif;
	font-weight: 800;
	font-style: normal;
}

.txtmanuscrit{
	font-family: 'silmastin';
	font-size:6vw;
}

.gallery__text span.txtmanuscrit.custom{
	padding-left:2.65vw;
	margin-top:0;
	padding-top:4vw;
}

.gallery__text{
	position:relative;
	width:100vw;
    height: 100vh;
    margin: 0;
    align-content:center;
    align-items:center;
}

.gallery__text.desc span{
	margin-top:2.25vw;
}

.gallery__text.desc div span:first-child{
	margin-top:0;
}

.gallery {
	display: flex;
}

.gallery__item {
	margin: 0 3vw;
	display: grid;
	grid-template-areas: '... ...' 
						 '... gallery-image'
						 '... ...' ;
	grid-template-columns: 8rem 21vmax;
	grid-template-rows: 8rem 28vmax 3rem;
	will-change: transform;
}

.gallery__item:nth-child(even) {
	padding-top: 10vh;
}

.gallery__item-img {
	grid-area: gallery-image;
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: relative;
	will-change: transform;
}

.gallery__item-imginner {
	background-size: cover;
    background-position: 50% 0;
    width: 100%;
    height: calc(100% + 14vh);
	margin-top: -7vh;
	will-change: transform;
	  -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
  	filter: grayscale(100%);
}

.gallery__item-caption {
	position:relative;
	grid-area: 1 / 1 / 4 / 3;
	display: grid;
	grid-template-areas: 'gallery-number gallery-title' 
						 'gallery-link ...'
						 'gallery-link gallery-tags' ;
	grid-template-columns: 8rem auto;
	grid-template-rows: 8rem auto 3rem;

}

.gallery__item-number {
	grid-area: gallery-number;
	font-size: 6rem;
	font-size: clamp(2.5rem,9vw,6.5rem);
	justify-self: end;
	padding-right: 2rem;
	color: var(--color-gallery-number);
}

.gallery__item-title {
	grid-area: gallery-title;
	margin: 0;
	font-size: 4rem;
	font-size: clamp(2rem,5vw,4rem);
	color:#ffffff;
	margin-top:25%;
	opacity:0;
}

.gallery__item-number,
.gallery__item-title,
.gallery__text {
	font-family: 'silmastin';
	align-self: center;
}

.gallery__item-link {
	grid-area: gallery-link;
	align-self: end;
	font-size:3vw;
	text-decoration: underline;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	text-decoration:none;
}

.gallery__item-tags {
	font-family: proxima-nova, sans-serif;
	font-weight:400;
	grid-area: gallery-tags;
	justify-self: end;
	font-size: 1.5rem;
	display: grid;
	grid-auto-flow: column;
	grid-gap: 1rem;
	cursor: pointer;
}

.gallery__text {
	position:relative;
	flex: 0 0 auto;
	line-height: 0.8;
}


.gallery__text span{
	display:block;
}

.gallery__text{
	display:flex;
	align-items:center;
	justify-content:center;
}

.gallery__text-inner {
	display: block;
}

.pouce{
position: absolute;
    right: -10%;
    top: 0;
    bottom: 0;
    width: 35%;
    margin: auto;
}

.prenom{
	font-family: proxima-nova, sans-serif;
	font-weight: 700;
	font-style: normal;
	position:absolute;
	bottom:40px;
	right:40px;
	font-size:40px;
}

.emoji{
	position: absolute;
    left: 70px;
    bottom: -12%;
    width: auto;
    height: auto;
    font-size: 4vw;
    transform: rotate(15deg);
}


.gallery__item-img{
	position:relative;
	border-radius:20px;
}

.gallery__item-img:after{
	content:"";
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:#130F2A;
	opacity:0.25;
	border-radius: 20px;
}

.personne:hover .gallery__item-imginner, .personne .gallery__item-imginner{
	transition:background-image 0.5s ease-in-out;
}

.personne:hover .gallery__item-title{
	opacity:1;
	transition:all 0.8s ease-in-out;
}

.personneUne:hover .gallery__item-imginner{
  background-image:url('../img/pierre-yves02.jpg') !important;
}

.personneDeux:hover .gallery__item-imginner{
	background-image:url('../img/benjamin02.jpg') !important;
}

.personneTrois:hover .gallery__item-imginner{
  background-image:url('../img/nicolas02.jpg') !important;
}

.personneQuatre:hover .gallery__item-imginner{
	background-image:url('../img/marius02.jpg') !important;
}

.personneCinq:hover .gallery__item-imginner{
  background-image:url('../img/denis02.jpg') !important;
}

.personneSix:hover .gallery__item-imginner{
  background-image:url('../img/jordan02.jpg') !important;
}

.personneSept:hover .gallery__item-imginner{
	background-image:url('../img/julie02.jpg') !important;
}

.personneHuit:hover .gallery__item-imginner{
  background-image:url('../img/adele02.jpg') !important;
}

.personneNeuf:hover .gallery__item-imginner{
  background-image:url('../img/laurent02.jpg') !important;
}

.personneDix:hover .gallery__item-imginner{
  background-image:url('../img/amandine02.jpg') !important;
}


.spline-watermark{
	display:none !important;
}

.logo{
	width:80px;
}

.scroll-down {
  border: 2px solid #fff;
  border-radius: 20px;
  bottom: 60px;
  height: 50px;
  left: 0;
  margin: 0 auto;
  position: absolute;
  right: 0;
  width: 30px;
}
.scroll-down::before {
  animation: scrollDownAnimation 2s infinite;
  background-color: #fff;
  border-radius: 100%;
  content: '';
  height: 6px;
  left: 0;
  margin: 0 auto;
  position: absolute;
  right: 0;
  top: 10px;
  width: 6px;
}
@-moz-keyframes scrollDownAnimation {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: translate(0, 20px);
  }
  100% {
    opacity: 0;
  }
}
@-webkit-keyframes scrollDownAnimation {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: translate(0, 20px);
  }
  100% {
    opacity: 0;
  }
}
@-o-keyframes scrollDownAnimation {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: translate(0, 20px);
  }
  100% {
    opacity: 0;
  }
}
@keyframes scrollDownAnimation {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: translate(0, 20px);
  }
  100% {
    opacity: 0;
  }
}

.wave {
    display: inline-block;
  -webkit-animation: wave 1s infinite ease-in-out;
          animation: wave 1s infinite ease-in-out;
  font-size: 5vw;
  -webkit-transform-origin: bottom right;
          transform-origin: bottom right;
}

.hello{
	  -webkit-animation: hello 1s infinite ease-in-out;
          animation: hello 1s infinite ease-in-out;
  -webkit-transform-origin: bottom right;
          transform-origin: bottom right;
}

@-webkit-keyframes hello {
  50% {
    -webkit-transform: rotate(6deg);
            transform: rotate(6deg);
  }
}

@keyframes hello {
  50% {
    -webkit-transform: rotate(6deg);
            transform: rotate(6deg);
  }
}


@-webkit-keyframes wave {
  50% {
    -webkit-transform: rotate(30deg);
            transform: rotate(30deg);
  }
}

@keyframes wave {
  50% {
    -webkit-transform: rotate(30deg);
            transform: rotate(30deg);
  }
}


.ecranTrois{
	position:relative;
}


.box {
position: absolute;
    margin-left: -100px;
    margin-top: -15px;
    left: 50%;
    bottom: 30px;
    width: 40px;
    height: 50px;
}
.box .inner {
  border: 5px solid #ffffff;
  border-radius: 50%;
  margin-top: 5px;
  height: 30px;
  width: 30px;
  animation: circles 1.25s ease-out infinite, swipe 1.25s ease-out infinite;
}

@keyframes swipe {
  0% {
    transform: translateX(160px);
  }
  20% {
    transform: translateX(160px);
  }
  100% {
    transform: translateX(0px);
  }
}
@keyframes circles {
  0% {
    opacity: 0;
  }
  33% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}




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

	.mobile{
		display:none;
	}

}

@media screen and (max-width:1169px) {
	.iframe{
		display:none;
	}

	.gallery__item:nth-of-type(1){
		margin-left:0px;
	}

	.scroll-down{
		transform: rotate(-90deg);
	}

}

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

	body{
		height: 100vh;
    	overflow-y: hidden;
	}

	.frame{
		position: fixed;
	    display: block;
	    padding: 0;
	    top: 0;
	    left: 0;
	    right: 0;
	    top: 30px;
	    margin:0 auto;
	    height: 100px;
	    width: 100px;
	}

	.wave, .desktop{
		display:none;
	}

	.content{
		width:100vw;
	}

	.gallery{
		width:100%;
	}

	.gallery__text{
		width:100%;
		flex:0 0 auto;
	}

	.contentTxt{
		width:100%;
	}

	.main{
    position: absolute;
    bottom: -25%;
    left: 0;
    right: 0;
    margin: auto;
    width:50%;
	}

	.pouceUp{
    position: absolute;
    bottom: 10%;
    right: -8%;
    width: 88%;
	}

	.contentTxt{
		margin-top:-20%;
	}

	.txtmanuscrit, .txtcourant{
		text-align:center;
	}

	.txtcourant{
		font-size:9.5vw;
	}

	.txtmanuscrit{
		font-size:10.5vw;
	}

	.gallery__item{
		margin:17vh 3vw;
	}

	main{
	height: 100%;
    overflow-y: hidden;
	}

	.ecranTrois{
		margin-left:4vw;
	}

  .gallery__item-imginner{
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
  }

}

@media screen and (min-width: 480px) and (max-width: 769px){

	.main {
    position: absolute;
    bottom: -22%;
    left: 0;
    right: 0;
    margin: auto;
    width: 40%;
}

.pouceUp {
	position: absolute;
    bottom: 8%;
    right: 0px;
    width: 60%;
}

.txtcourant {
    font-size: 8vw;
}

.txtmanuscrit {
    font-size: 9vw;
}

.emoji{
	font-size:6vw;
}

}

@media screen and (max-width:414px){
	.main{
    	width:64%;
	}

	.scroll-down{
		bottom:35px;
	}

	.emoji{
		left: 85px;
    	bottom: -10px;
    	font-size: 9vw;
	}
}

