@font-face{
	font-family:"qualy";
	src:url("../fonts/Qualy Bold.ttf") format("truetype");
}

/* Animations bordures */
.computer span{
  position: absolute;
/*   top: 0;
  left: 0; */
  width: 100%;
  height: 100%;
  display: block;
  box-sizing: border-box;
  
}

.computer span:nth-child(1)
{
  transform:rotate(0deg);
}

/* .computer span:nth-child(2)
{
  transform:rotate(90deg);
  height:156%;
} */

.computer span:nth-child(2)
{
  transform:rotate(180deg);
}

/* .computer span:nth-child(4)
{
  transform:rotate(270deg);
  height:156%;
} */

.computer span:before
{
  content: '';
  position: absolute;
  width:100%;
  height: 3px;
  background:white;
  transition:background .5s;
  animation: animate 4s linear infinite;
}

.computer .white:before{
	background: white;
}

.computer .orange:before{
	background: orange;
}

.computer .blue:before{
	background: #00d4ff;
}

#ecranSelection:before{
  content: '';
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background: rgba(255,255,255,0.1);
  transition:0.5s;
  pointer-events: none;
 /*  display:none; */
}

#ecranSelection:hover:before{
	/* display:block; */
  left:-50%;
  transform: skewX(-5deg);
}

@keyframes animate {
  0% {
  transform:scaleX(0);
  transform-origin: left;
  }
  25%{
	  /* background: yellow; */
  }
  50%
  {
    transform:scaleX(1);
  transform-origin: left;
/*   background: orange; */
  }
  50.1%
  {
    transform:scaleX(1);
  transform-origin: right;
    
  }
  75%{
	  /* background:blue; */
  }
  
  100%
  {
    transform:scaleX(0);
  transform-origin: right;
    
  }  
} 
/* Fin animation bordures */

	#fondImageContainer{
		background-image: url(../../img/Fond.webp);
		height: calc(var(--vh, 1vh) * 100);
		width: 100%;
		background-size: cover;
		background-position: center center;
		position: fixed;
		display:none;
		z-index:-1;
		left:100%;
		transition:left 2s;
		filter: blur(1px);
	}

#prestations{
	display:none;
	height:100%;
	height: calc(var(--vh, 1vh) * 100);
	width:100%;
/* 	background-image:url("../../img/Prestations/Fond.webp");
	background-size:cover;
	background-repeat: no-repeat; */
	position:absolute;
	left:100%;
	top:0;
	right:0;
	bottom:0;
	transition:left 2s, top 2s, right 2s, bottom 2s;
}

#prestations h2{
	font-size:3em;
	color:white;
	text-align: center;
    width: 80%;
	z-index:1;
}

.mobile{
	display:none;
}

#ecranSelection{
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	width:1100px;
	position:absolute;
	left:1072px;
	height:550px;
	top:300px;
	box-shadow:0 0 5px black;
	background-color:rgba(0,0,0,.8);
	padding:30px;
	overflow: hidden;
	color:white;
}

#ecranSelection div{
	display:flex;
	flex-direction:column;
	align-items:center;
	justify-content:center;
	/* font-size:.8em; */
}

#ecranSelection input{
	height: 50px;
    border: 1px solid black;
    border-radius: 10px;
    width: 250px;
    text-transform: uppercase;
    font-family: 'qualy';
    font-size: 1.2em;
    margin-top: 25px;
    box-shadow: 0px 0 5px black;
	z-index:1;
	cursor: url(../../img/Icones/clicker.webp), auto;
	transition:background-color .5s;
}

#ecranSelection input:hover {
    background-color: orange;
}

#ecranSelection p{
	width:45%;
	text-align:center;
	/* font-family:arial; */
	margin-top:50px;
	z-index:1;
	line-height: 1.5em;
    font-weight: bold;
}

#ecranSelection > div:last-child img{
	position: absolute;
    width: 100%;
    bottom: 0;
    opacity: .3;	
}

#prestations .computer #web img, #prestations .computer #troisD img{
	width: 100%;
    height: auto;
    margin: auto;
    position: absolute;
    opacity: .3;
    min-height: 520px;
	z-index:-1;
}

#prestations .computer #troisD img{
	opacity:.05;
}

#prestations .computer #troisD{
	background-image:url("../../img/Prestations/diorama.webp");
	background-size:contain;
	background-repeat:no-repeat;
	background-position-x: 250px;
	width:100%;
	height:100%;
}

@media screen and (min-width:2030px){
	#prestations .computer #troisD{
		background-position-x: 350px;
	}
}

@media screen and (max-width:1540px){
	#prestations .computer #troisD{
		background-position-x: 200px;
	}
}

@media screen and (max-width:1240px){
	#prestations .computer #troisD{
		background-position-x: 167px;
	}
}

#prestations .computer #troisD h2{
	text-align:left;
}

#prestations .computer #troisD p{
	text-align:left;
}

.computer #selectionPresta{
	font-size:2em;
}

#mainScreen{
	width:100%;
	position:absolute;
	z-index:0;
}

#ecranSelection div:not(:first-child){
	display:none;
}

#ecranSelection img:not(:last-child){
	width:200px;
	z-index:1;
}

#ordi{
	position:absolute;
	width:1000px;
	top:110px;
	left:220px;
	transition: left .5s, right .5s, top .5s, width .5s;
}

#ecran1, #ecran2, #ecran3{
	position: absolute;
	opacity:.5;
	transition: left .5s, right .5s, top .5s, width .5s;
}

#ecran1{
	top: 530px;
    left: 233px;
    width: 532px;
	cursor: url(../../img/Icones/website.webp), auto;
}

#ecran2{
	top: 265px;
    left: 236px;
    width: 273px;
	cursor: url(../../img/Icones/pencil.webp), auto;
}

#ecran3{
	top: 384px;
    left: 515px;
    width: 242px;
	cursor: url(../../img/Icones/cube.webp), auto;
}

#ecran1:hover, #ecran2:hover, #ecran3:hover{
	opacity:1;
}

@media screen and (max-width:2200px){
	#ecranSelection{
		width:50%;
		left:900px;
		min-width:950px;
	}
	
	#ordi{
		width:900px;
		left:200px;
	}
	
	#ecran1{
		top: 495px;
		left: 214px;
		width: 475px;
	}

	#ecran2{
		top: 253px;
		left: 214px;
		width: 246px;
	}

	#ecran3{
		top: 361px;
		left: 468px;
		width: 216px;
	}	
}

/* VERSION MOBILE */
@media screen and (max-width:1930px), screen and (max-height:1070px){
	#ecranSelection{
		left:700px;
		top:250px;
	}
	
	#ordi{
		left:170px;
	}
	
	#ecran1{
		left: 187px;
	}

	#ecran2{
		left: 185px;
	}

	#ecran3{
		left: 438px;
	}		
}

@media screen and (min-width:2201px) and (max-height:1070px){
	#ecran3{
		left: 465px;
	}		
}

@media screen and (max-width:1720px){
	#ecranSelection{
		min-width:550px;
		height:450px;
		top:200px;
	}
	
	#ecranSelection img:not(:last-child){
		margin: 10px 0;
	}
	
	#prestations h2{
		font-size:2em;
	}
	
	#ecranSelection p{
		margin-top:10px;
		font-size:.8em;
	}
	
	#ecranSelection input{
		height:30px;
		width:150px;
		font-size:1em;
		margin-top:10px;
	}
	
	#ordi{
		width:800px;
		left:77px;
	}
	
	#ecran1{
		top: 449px;
		left: 92px;
		width: 419px;
	}

	#ecran2{
		top: 234px;
		left: 89px;
		width: 219px;
	}

	#ecran3{
		top: 329px;
		left: 313px;
		width: 194px;
	}		
}

@media screen and (max-width:1450px), screen and (max-height:940px){
	#ecranSelection{
		left:500px;
		top:180px;
	}	
	
	#ordi{
		width:600px;
		left:4px;
		top:146px;
	}
	
	#ecran1{
		top: 401px;
		left: 15px;
		width: 315px;
	}

	#ecran2{
		top: 240px;
		left: 15px;
		width: 163px;
	}

	#ecran3{
		top: 312px;
		left: 184px;
		width: 144px;
	}		
}

@media screen and (max-width:1180px){
	#ecranSelection{
		left:300px;
		height:400px;
	}
}

@media screen and (max-width:1000px), screen and (max-height:725px){	
	#fondImage{
		display:none;
	}
	
	.computer{
		display:none;
	}
	.mobile{
		display:block;
	}
	
	#mainScreen{
		height:350px;
		width:70%;
		z-index:0;
	}
	
	.mobile div p{
		margin: 20px auto;
		width: 80%;
		font-size: .8em;
		font-family: arial;
		color:white;
	}
	
	.mobile div div img{
		width:50%;
	}
	
	#prestations .mobile h2{
		width:100%;
		font-size:1.5em;
	}
	
	#ecranSelectionMobile1 div, #ecranSelectionMobile2 div, #ecranSelectionMobile3 div{
		z-index:1;
		width:100%;
	}
	
	#ecranSelectionMobile1, #ecranSelectionMobile2, #ecranSelectionMobile3{
		display: flex;
		width: 70%;
		margin: 0 auto 50px;
		justify-content: center;
		align-items: center;
		text-align: center;
		background-color:rgba(0,0,0,.8);
		border-radius: 0 0 10px 10px;
	}
	
	#ecranSelectionMobile1{
		margin-top:60px;
	}
	
	.mobile{
		display: flex;
		flex-direction: column;
	}
	
	.mobile input{
		height: 60px;
		border: 1px solid black;
		border-radius: 0 0 10px 10px;
		width: 100%;
		margin:0!important;
		text-transform: uppercase;
		font-family: 'qualy';
		font-size: .9em;
		box-shadow: 0px 0 5px black;
		z-index:1;
		margin-left:3px;
		cursor:pointer;
	}		
}

@media screen and (max-height:725px) and (min-width:1001px){
	#ecranSelectionMobile1, #ecranSelectionMobile2, #ecranSelectionMobile3{
		width:40%;
	}
}

/* #ecran2:hover{
	border:2px solid #00d4ff;
}

#ecran3:hover{
	border:2px solid #b28d00;
} */