body {
    font-family: NeoSansProMedium;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 35vh;
    flex-direction: column;
	overflow-x: hidden!important;
}

@font-face {
    font-family: 'NeoSansProMedium';
    src: url('../fonts/NeoSansProMedium.OTF');
}

button{  
    font-family: 'NeoSansProMedium';
	position: absolute;
	top: 35%;
	font-size: 10vw;
	border: solid black 1vw; 
	border-radius: 10px;
	background-color: white;
	text-decoration: none!important;
	color: rgb(0, 0, 0)!important;
	margin: auto;
	padding-top: 10px;
}

.index.mtp {
    position:relative;
    top: 3px;
}

button a:link, button a:active{
	text-decoration: none;
	color: rgb(0, 0, 0);

}

button a:hover, button a:visited{
	text-decoration: none;
	color: rgb(255, 255, 255);
	
	
}
button:hover{
	background-color: black!important;
	color: rgb(0, 0, 0)!important;
}
.plan.p1 .text-overlay{
	display: none;
}

.texte-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    text-align: center;
    font-size: 0.2ch;
    width: 150%;
    font-family: NeoSansProMedium;
    color: rgb(0, 0, 0);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    padding: 1px 2%;
    padding-top: 3px ;
    background: white;
    border: 3.5px solid black;
    border-radius: 5px;
    box-shadow: 4px 4px 8px black;
}

.index {
    font-size: 2vw;
    font-family: NeoSansProMedium;
    color: black;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    position: sticky;
    top: 5px;
    padding: 10px 0;
    z-index: 1000;
    border: none;
    outline: none;
}

.index #relaunch-button {
    background-color: transparent;
    font-size: 2.5vw;
    margin-top: 10px;
    margin-left: 10px;
}

.index-item {
	display: flex;
	text-align: center;
	line-height: 3vw;
	font-size: 2.5vw;
    margin: 0 0.5vw;
    padding: 0.3vw 0.2vw;
}

#wrapper {
    width: 900px;
    perspective: 800px;
    margin: 150px auto 0 auto;
}

#wrapper {
    width: 900px;
    perspective: 800px;
    margin: 150px auto 0 auto;
}

@media (max-width: 900px) and (min-width: 600px) {
    #wrapper {
        width: 700px;
        perspective: 700px;
        margin: 100px auto 0 auto;
    }
}


@media (max-width: 600px) {
    #wrapper {
        width: 100%;
        perspective: 900px;
        margin: 0px auto 0 auto;
		margin-top: 40%
    }
}


@media (max-width: 700px) {
    .index.mtp {
	position: relative;
    top: 5px;
    right: 7px;
    }
}

@media (max-width: 700px) {
    .index.mtp {
font-size: 10px;
    }
}

@media (max-width: 700px) {
    .texte-image {
	position: absolute;
    left: 150px;
    }
}

@media (max-width: 700px) {
    .plan.p5 .texte-image {
	position: absolute;
    left: 125px;
    }
}

@media (max-width: 700px) {
    .plan.p6 .texte-image {
	position: absolute;
    left: 125px;
    }
}


@media (max-width: 700px) {
	.texte-image{
		width: 200px!important;
	}
}

@media (max-width: 700px) {
	.plan.p1 {
		padding-left: 25px
	}
}
@media (max-width: 700px) {
	.plan.p2 {
		padding-left: 22px
	}
}
@media (max-width: 700px) {
	.plan.p4 {
		padding-right: 21px!important
	}
}
@media (max-width: 700px) {
	.plan.p5 {
		padding-right: 31px!important
	}
}
@media (max-width: 700px) {
	.plan.p6 {
		padding-right: 28px!important
	}
}
@media (max-width: 700px) {
	.plan.p7 {
		padding-right: 28px!important
	}
}
@media (max-width: 700px) {
	.plan.p8 {
		padding-left: 17px!important
	}
}

@media (max-width: 700px) {
	.index-item {
		font-size: 3.7vw!important
	}
}

@media (max-width: 700px) {
	.index-item {
		line-height: 5vw!important
	}
}

@media (max-width: 700px) {
	.plan.p1 .texte-image,
    .plan.p5 .texte-image,
    .plan.p6 .texte-image {
        opacity: 50%!important
	}
}

.carrousel {
    width: 300px;
    height: 200px;
    margin: 0 auto;
    transform-style: preserve-3d;
}

.plan {
    position: absolute;
    height: 400px;
    width: 250px;
    text-align: center;
    font-size: 8em;
    color: #FFF;
}

.plan img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.plan.p1:hover .texte-image,
.plan.p5:hover .texte-image,
.plan.p6:hover .texte-image {
    opacity: 1;
}

.text-overlay.hidden {
    opacity: 0;
  }
  
  .plan.p1:hover > .text-overlay,
  .plan.p5:hover > .text-overlay,
  .plan.p6:hover > .text-overlay {
    opacity: 0% !important;
  }

  .plan.p5 .text-overlay,
.plan.p6 .text-overlay {
    display: none; 
}

.plan.p5:hover .text-overlay,
.plan.p6:hover .text-overlay {
    display: block; 
}
.index:hover{
	background-color: transparent!important;
	color: black!important
}

@keyframes Caroussel {
    from { transform: rotateY(0); }
    to { transform: rotateY(-360deg); }
}

.mtp{
	margin-top: -9.5px!important;
	font-size: 2.9;
}

.p1 { transform: rotateY(-0.3deg) translateZ(400px); }
.p2 { transform: rotateY(44deg) translateZ(420px); }
.p3 { transform: rotateY(88deg) translateZ(425px); }
.p4 { transform: rotateY(134deg) translateZ(420px); }
.p5 { transform: rotateY(178.9deg) translateZ(400px); }
.p6 { transform: rotateY(224.6deg) translateZ(380px); }
.p7 { transform: rotateY(269.7deg) translateZ(370px); }
.p8 { transform: rotateY(314deg) translateZ(380px); }