@import url('https://fonts.googleapis.com/css?family=Montserrat:200,300,400,600|Bahiana|Dorsa|Orbitron|The+Girl+Next+Door');
*{
	margin: 0;
	padding: 0;
}

body{
	padding: 0;
	margin: 0;
	width: 100%;
	height: 100%;
	background-color: #170821;
	background-image: url(imgIndex/bgIndex.png);
	background-size: 100% 100%;
	background-position: 100% 100%;
	background-repeat: no-repeat;
	font-family: "Montserrat";
}
.clear{
	clear: both;
}
h1{
	padding: 0;
 	margin: 0;
    position: relative;
    color: #FFF;
    font-weight: 100;
    font-size: 4.5vw;
    line-height: 1;
    text-shadow: 0 0 10px #ff006c, 0 0 20px #ff006c, 0 0 30px #ff006c, 0 0 40px #ff417d, 0 0 50px #ff417d, 0 0 80px #ff417d, 0 0 20px #ff417d, 0 0 10px #ff417d;
    text-decoration: none;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}
h1:hover{
  color: #ffffff;
  -webkit-animation: neon2 3s ease-in-out infinite alternate;
  -moz-animation: neon2 3s ease-in-out infinite alternate;
  animation: neon2 3s ease-in-out infinite alternate;
}

h3{
	padding: 0;
  	margin: 0;
    font-weight: 200;
    font-size: 1vw;
    line-height: 1;
    color: #FFFFFF;
    letter-spacing: 2px;
}

p:nth-child(2) a {
  font-size: 1.5em;
  color: #228DFF;
  font-family: Iceland;
}
p{
    line-height:1.6rem;
}


a{
  color: #FF6018;
  text-decoration: none;
  cursor: pointer;
}
a:hover{
  color:#3BED8B;
}

@-webkit-keyframes neon2 {
  0% {text-shadow: 0 0 15px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #034FA2, 0 0 40px #034FA2, 0 0 70px #228DFF, 0 0 100px #228DFF, 0 0 150px #0A3E76}
  20% {text-shadow: 0 0 7px #fff, 0 0 15px #fff, 0 0 20px #fff, 0 0 30px #034FA2, 0 0 50px #034FA2, 0 0 50px #228DFF, 0 0 80px #228DFF, 0 0 75px #0A3E76;}
  25% {text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 40px #034FA2, 0 0 40px #034FA2, 0 0 40px #228DFF, 0 0 50px #228DFF, 0 0 75px #0A3E76;}
  26% {text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #034FA2, 0 0 35px #034FA2, 0 0 40px #228DFF, 0 0 50px #228DFF, 0 0 75px #0A3E76;}
  27% {text-shadow: 0 0 7px #fff, 0 0 15px #fff, 0 0 20px #fff, 0 0 30px #034FA2, 0 0 50px #034FA2, 0 0 50px #228DFF, 0 0 80px #228DFF, 0 0 75px #0A3E76;}
  28% {text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #034FA2, 0 0 35px #034FA2, 0 0 40px #228DFF, 0 0 50px #228DFF, 0 0 75px #0A3E76;}
  100% {text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #034FA2, 0 0 40px #034FA2, 0 0 40px #228DFF, 0 0 50px #228DFF, 0 0 80px #0A3E76;}
}
@-moz-keyframes neon2 {
 0% {text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #034FA2, 0 0 40px #034FA2, 0 0 40px #228DFF, 0 0 50px #228DFF, 0 0 80px #0A3E76;}
  20% {text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 40px #034FA2, 0 0 40px #034FA2, 0 0 40px #228DFF, 0 0 50px #228DFF, 0 0 75px #0A3E76;}
  25% {text-shadow: 0 0 7px #fff, 0 0 15px #fff, 0 0 20px #fff, 0 0 30px #034FA2, 0 0 50px #034FA2, 0 0 50px #228DFF, 0 0 80px #228DFF, 0 0 75px #0A3E76;}
  26% {text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #034FA2, 0 0 35px #034FA2, 0 0 40px #228DFF, 0 0 50px #228DFF, 0 0 75px #0A3E76;}
  27% {text-shadow: 0 0 7px #fff, 0 0 15px #fff, 0 0 20px #fff, 0 0 30px #034FA2, 0 0 50px #034FA2, 0 0 50px #228DFF, 0 0 80px #228DFF, 0 0 75px #0A3E76;}
  28% {text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #034FA2, 0 0 35px #034FA2, 0 0 40px #228DFF, 0 0 50px #228DFF, 0 0 75px #0A3E76;}
  100% {text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #034FA2, 0 0 40px #034FA2, 0 0 40px #228DFF, 0 0 50px #228DFF, 0 0 80px #0A3E76;}
}
@keyframes neon2 {
  0% {text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #034FA2, 0 0 40px #034FA2, 0 0 40px #228DFF, 0 0 50px #228DFF, 0 0 80px #0A3E76;}
  20% {text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 40px #034FA2, 0 0 40px #034FA2, 0 0 40px #228DFF, 0 0 50px #228DFF, 0 0 75px #0A3E76;}
  25% {text-shadow: 0 0 7px #fff, 0 0 15px #fff, 0 0 20px #fff, 0 0 30px #034FA2, 0 0 50px #034FA2, 0 0 50px #228DFF, 0 0 80px #228DFF, 0 0 75px #0A3E76;}
  26% {text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #034FA2, 0 0 35px #034FA2, 0 0 40px #228DFF, 0 0 50px #228DFF, 0 0 75px #0A3E76;}
  27% {text-shadow: 0 0 7px #fff, 0 0 15px #fff, 0 0 20px #fff, 0 0 30px #034FA2, 0 0 50px #034FA2, 0 0 50px #228DFF, 0 0 80px #228DFF, 0 0 75px #0A3E76;}
  28% {text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #034FA2, 0 0 35px #034FA2, 0 0 40px #228DFF, 0 0 50px #228DFF, 0 0 75px #0A3E76;}
  100% {text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #034FA2, 0 0 40px #034FA2, 0 0 40px #228DFF, 0 0 50px #228DFF, 0 0 80px #0A3E76;}
}



/*.mainContent{
	width: 80%;
	margin: 0 auto;
	position: relative;
}*/
.rang1{
	z-index: 10;
	position: absolute;
	left: 50%;
	top: 22%;
	transform: translateX(-50%) translateY(-50%);
	font-family: "Montserrat";
	text-align: center;
	width: 60%;
	/*height: 25%*/
}

.rang2{
	z-index: 9;
	position: absolute;
	left: 50%;
	top: 51%;
	transform: translateX(-50%) translateY(-50%);
	font-family: "Montserrat";
	text-align: center;
	width: 60%;
}

.rang3{
	z-index: 10;
	position: absolute;
	left: 50%;
	top: 77%;
	transform: translateX(-50%) translateY(-50%);
	font-family: "Montserrat";
	text-align: center;
	width: 60%;
	/*height: 25%*/
}

.cardGlobal{
	float: left;
	position: relative;
	padding: 0% 3%;
	min-height: 1px;
	width: 25%;
}
.cardPreview{
	padding-bottom: 20%;
	backface-visibility: hidden;
	transform: translateZ(0);
	background: #0B050F;
	border-radius: 4px;
	box-shadow: 0 2px 4px 0 rgba(0,0,0,.3);
	position: relative;
	text-align: left;
	overflow: hidden;
	margin-top: 24px;
	transition: box-shadow .2s linear 0s,-webkit-box-shadow .2s linear 0s;
}
.cardInner{
	display: block;
	position: relative;
	padding-bottom: 100%;
}
.cardLink{
	color: inherit;
	display: block;

}
.cardImage{
	background-repeat: no-repeat;
	background-size: 180%;
	background-position: 15%;
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	display: block;
	transition: 0.3s ease-out;
}
.cardLogo{
	padding-bottom: 45%;
	width: 50%;
	background-position: 0 0;
	background-repeat: no-repeat;
	background-size: contain;
	position: relative;
	display: block;
	margin-top: 9%;
	margin-left: 9%;
	float: left;
	text-indent: -999em;
	direction: ltr;
}
.cardContent{
	padding: 3% 0% 4%;
	float: none;
	width: auto;
	background-color: #0B050F;
	transform: translateZ(0);
	backface-visibility: hidden;
	transition: transform .2s ease-out,-webkit-transform .2s ease-out;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	bottom: auto;
}

.cardTitle{
	color: #ed6a1f;
	font-size: 1vw;
	padding: 5px 20px;
	margin-bottom: 20px;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	/*font-weight: 400;*/
}
.cardCharacter{
	padding-bottom: 100%;
	left: 55%;
	line-height: 23px;
	position: absolute;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: bottom;
}
.cardText{
	display: block;
	padding: 0 24px;
	color: #8af8d8;
	background-color: #0B050F;
	opacity: 0;
	margin-top: -11px;
	font-size: 0.8vw;
	line-height: 1.4;
	font-weight: 200;
	margin-bottom: 0.5em;
	transition: 0.3s ease-out;
	transition-delay: 0.3s;
}
.cardGlobal:hover .cardContent{
	transform : translate3d(0,calc(-100% + 75px),0);
}
.cardGlobal:hover .cardText{
	opacity: 1;
}
.cardGlobal:hover .cardImage{
	-webkit-filter: blur(3px);
	-moz-filter: blur(3px);
	-ms-filter: blur(3px);
	-o-filter: blur(3px);
	filter: blur(3px);
}


.cardStudio .cardImage{
	background-image: url(imgIndex/maison.jpg);
	background-size: 250%;
	background-position: 50% 20%;
}
.cardStudio .cardLogo{
	background-image: url(imgIndex/titreStudio5.png);
}
.cardStudio .cardCharacter{
	background-image: url(imgIndex/btnPlay.jpg);
	bottom: 94%;
	left: 68%;
	width: 25%;
}


.cardBook .cardImage{
	background-image: url(imgIndex/bookImg.jpg);
	background-size: 211%;
	background-position: 14% 49%;
}
.cardBook .cardLogo{
	background-image: url(imgIndex/titreBook.png);
}
.cardBook .cardCharacter{
	background-image: url(imgIndex/bookIcon.png);
	bottom: 83%;
	width: 38%;
}


.cardContact .cardImage{
	background-image: url(imgIndex/imgContact.png);
	background-size: 130%;
	background-position: 25% 50%;
}
.cardContact .cardLogo{
	background-image: url(imgIndex/titreContact2.png);
}
.cardContact .cardCharacter{
	background-image: url(imgIndex/logoContact.png);
	bottom: 78%;
	left:60%;
	width: 35%;
}


.cardHypogeum .cardImage{
	background-image: url(imgIndex/menuPrinc.jpg);
	background-size: 240%;
	background-position: 36% 50%;	
}
.cardHypogeum .cardLogo{
	background-image: url(imgIndex/titreHypogeum8.png);
}
.cardHypogeum .cardCharacter{
	background-image: url(imgIndex/Cristalfull.png);
	bottom: 74%;
	width: 45%;
}


.cardAbout .cardImage{
	background-image: url(imgIndex/moe.jpg);
	background-size: 170%;
	background-position: 10% 40%;
}
.cardAbout .cardLogo{
	background-image: url(imgIndex/titreAbout4.png);
}
.cardAbout .cardCharacter{
	background-image: url(imgIntro/eldinnPlanete2.png);
	bottom: 70%;
	width: 39%;
	left: 57%;
}




.cardGlobalSocial{
	float: left;
	position: relative;
	padding: 0% 3%;
	min-height: 1px;
	width: 25%;
}
.logoSocial{
	position: absolute;
	width: 100%;
	padding: 2% 2%;
}
.logoSocial img{
	width: 25%;
	-webkit-transition:all .5s cubic-bezier(.6,2,.4,1);
    -moz-transition:all .5s cubic-bezier(.6,2,.4,1);
     -ms-transition:all .5s cubic-bezier(.6,2,.4,1);
      -o-transition:all .5s cubic-bezier(.6,2,.4,1);
         transition:all .5s cubic-bezier(.6,2,.4,1);
}
.logoSocial img, .logoSocial p{
	display: inline-block;
}
#facebook:hover > img, #deviant:hover > img{
	-webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
     -ms-transform: scale(1.1);
      -o-transform: scale(1.1);
         transform: scale(1.1);
}

#deviant{
	margin-top: 30%;
}
#vero{
	margin-top: 60%;
}



.bold{
	font-weight: bold;
}




.navBas{
  /*position: absolute;*/
  text-align: center;
  padding: 1%;
  bottom: 0;
  right: 0;
}
.navBas ul{
  list-style: none;
}
.navBas li a{
    text-decoration: none;
    color: #FF6018;
}
.navBas li{
    display: inline-block;
    bottom: 0;
    padding: 3px 5px;
     margin: 5px 5px;
}
.navBas li:hover a{
  color: #3BED8B;
}


/*BOUTON MENU*/

.containerButonBottom{
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 16%;
}

.containerOneButton{
  width: 15%;
  height: 95%;
  display: inline-flex;
}
.containerOneButton:nth-child(2){
  width: 21%;
}

.containerElement {
position:relative; 
width: 100%;
cursor:pointer;
display: inline-block;
}
.containerElement img {
position:absolute; 
width: 100%;
height: 100%;
top:0; 
left:0; 
-webkit-transition: opacity 0s ease; 
transition: opacity 0s ease;
}


/*----------------------------------*/

#btnRepli{
  cursor:pointer;
}
#btnRepli p{
  width: 100%;
}

#btnretour{
  cursor:pointer;
}
 #rpP{
  position: absolute;
  padding: 2%;
  width: 12%;
  height: 40%;
  z-index: 1;
 }
.containerButonBottom a{
  position: absolute;
  font-family: 'Bahiana', cursive;
  font-weight: normal;
  font-size: 1.5vw;
  bottom: 5%;
  left: 1%;
  padding: 2.5% 5%;
  text-decoration: none;
  color: #a3b7e3;
  text-align: center;
  z-index: 1;
} 


#rpP:hover ~ #btnRepli #rpImg {
opacity:0;
}
.containerButonBottom a:hover ~ #btnretour #rtImg {
opacity:0;
}

#rpP:hover{
  color: #ffbfe3;
  cursor: pointer;
}
.containerButonBottom a:hover{
  color: #ffbfe3;
}

main{
	text-align: center;
	padding: 2%;
}




/*DESKTOP HD*/
@media (max-width: 2200px){
	.cardEldinn .cardCharacter{
		bottom: 77%;
	}
	.cardEncyclo .cardCharacter{
		bottom: 72%;
	}
	.cardBook .cardCharacter{
		bottom: 79%;
	}
	.cardComic .cardCharacter{
		bottom: 88%;
	}
	.cardShop .cardCharacter{
		bottom: 72%;
	}
	.cardContent{
		padding-bottom: 15%;
	}
}


@media all and (max-width: 1450px){
    .rang1, .rang3{
		width: 100%;
		position: relative;
		transform: translateX(0%) translateY(0%);
		left: 0%;
		top: 0%;
	}
	.rang1{
	    margin-top: 14%;
	}
	.rang2{
	    top: 17%;
	}
    h1{
        font-size: 3.5vw;
    }
    .cardGlobal{
        width: 27%;
    }
    .cardTitle{
        font-size: 1.1vw;
    }
    .cardText{
        font-size: 0.9vw;
    }
    .cardEldinn .cardCharacter{
		bottom: 65%;
	}
    .cardEncyclo .cardCharacter{
		bottom: 48%;
	}
	.cardBook .cardCharacter{
		bottom: 60%;
	}
	.cardShop .cardCharacter{
		bottom: 60%;
	}
}

/*DESKTOP PETIT*/
@media all and (max-width: 1250px){

	h1{
		font-size: 4.5vw;
		padding-top: 2%;
	}
	.cardTitle{
		font-size: 1.5vw;
	}
	.cardText{
		font-size: 1.2vw;
	}
	
}


/*DESKTOP*/
@media (max-width: 1000px){

}



/*TABLETTE*/
@media screen and (max-width: 750px){
.cardGlobal, .cardGlobalSocial{
	float: none;
	width: 100%;
}
.rang1, .rang3{
	width: 100%;
}
.rang1{
	margin-top: 40%;
}


.rang2{
	width: 80%;
	top: 13%;
}
h1{
	font-size: 12.5vw;
}
h3{
	font-size: 3vw;
}

.cardContent{
	transform : translate3d(0,calc(-100% + 75px),0);
	padding-bottom: 0%;
}
.cardText, .logoSocial{
	opacity: 1;
	font-size: 3.2vw;
}
.cardTitle{
	font-size: 5.5vw;
}
}




/*PHABLET*/
@media all and (max-width: 550px){}



/*MOBILE*/
@media all and (max-width: 400px){

}



/*
@media all and (max-width : 500px) and (max-width : 1000px){


}


@media only screen and (max-device-width: 500px){

}*/