body {

	width:100%;
	font-family: helvetica;
	margin:0 auto;
	text-align:justify;
	background-repeat: repeat;
    background-size:cover;
}

 #background_opacity {
	position: fixed;
	z-index: -10;
	top: 0; left: 0; right: 0; bottom: 0;
	background-color: rgba(255, 255, 255, 0.5); /* L'opacite se regle ici */
}

.accueil {

	padding-top:3%;
	padding-left: 3%
}

h1
{
	color:tomato;
	font-size:13vw;
	word-wrap:break-word;
	margin:0;
	float:left;
	min-height:5vw;
	max-width:80vw;
	min-width:5vw;
}

h2 {

	font-size:8vw;
	color:tomato;
	transform: rotate(-90deg);
	position:absolute;
	/*color:#ffd5ce;*/
	opacity:0.7;
	font-family: 'Futura';
	margin-left:10vw;
  min-height:5vw;
  max-width:80vw;
  min-width:5vw;



}
img {

	width:20%;
	height:20%;
}

h3 {

	font-variant: small-caps;
	font-size:4.5em;
	margin:0;
	padding-top:10%;
	text-align:left;
}

.text {

	margin-left:20%;
	margin-top:2%;

}

p {

	width:90%;
	
}

#change:hover {

	opacity:0;
	/*-webkit-transition-duration: 0.3s;*/
}

/*.OpBackground {
	opacity:0.1;

}*/

/*---------MENU ACCUEIL-----------*/

.menu {

	float:left;
	margin-top:16%;
	margin-left:5%;
	text-align: left;
	width:20%;
}

.menu ul {

	padding:0;
}

.menu ul li {
	list-style-type: none;
	background-color:tomato;
	margin:2%;
	text-transform: uppercase;
}

.menu ul a {

	text-decoration: none;
	color:white;
}

.menu ul li:hover {
	background-color:#00ff01;
}

.menu ul a:hover {

		color:tomato;
}

/*---------MENU PAGES-----------*/

.menu2 {
	width:70%;
	margin:0 auto;
}

.menu2 ul {

	padding:0;
}

.menu2 ul li {
	list-style-type: none;
	background-color:tomato;
	margin:0.5%;
	text-transform: uppercase;
	padding:0.1%;
}

#suivant {
	text-align:right;
	text-decoration: underline overline;
	background-color:#00ff01;
}

.menu2 ul a {

		text-decoration: none;
		color:white;
		width:100;
}

.menu2 ul li:hover {
	background-color:white;
}

.menu2 ul a:hover {

		color:tomato;
}

/*---------TITRE SITE-----------*/

.titre:root {
  --f-size: 15;
  --f-unit: 1vmin;
  --f: calc(var(--f-size) * var(--f-unit));
 --bg: #181717;
}

.titre*, *::after, *::before {
  box-sizing: border-box;
}

 .titre{
  display: flex;
  margin: 0;
  overflow: hidden;
  width:50%;
  float:left;
}

h1 {
  flex: 1;
  line-height: .75;
  margin: auto;
  color: tomato;
  text-align: left;
  transform: scaleX(var(--scale, 1));
  animation: glitch-p 11s infinite alternate;
}
h1::before, p::after {
  --top: 0;
  --left: 0;
  --v-height: 30%;
  --n-tenth: calc(var(--f-size) * .1 * var(--top));
  --t-cut: calc(var(--n-tenth) / var(--f-size) * 100%);
  --b-cut: calc(var(--t-cut) + var(--v-height));
  content: attr(data-text);
  position: absolute;
  width: 100%;
  left: 0;
  text-align: left;
  transform: translateX(calc(var(--left) * 100%));
  filter: drop-shadow(0 0 transparent);
  text-shadow: calc(var(--left) * -3em) 0 0.02em lime, calc(var(--left) * -6em) 0 0.02em #ff00e1;
  background-color: var(--bg);
  clip-path: polygon(0% var(--t-cut), 100% var(--t-cut), 100% var(--b-cut), 0% var(--b-cut));
}
h1::before {
  animation: glitch-b 1.7s infinite alternate-reverse;
}
h1::after {
  animation: glitch-a 3.1s infinite alternate;
}

@keyframes glitch-p {
  17% {
    --scale: .87;
  }
  31% {
    --scale: 1.1;
  }
  37% {
    --scale: 1.3;
  }
  47% {
    --scale: .91;
  }
  87% {
    --scale: 1;
  }
}
@keyframes glitch-a {
  10%,30%,50%,70%,90% {
    --top: 0;
    --left: 0;
  }
  0% {
    --v-height: 15%;
  }
  20% {
    --left: .005;
  }
  40% {
    --left: .01;
    --v-height: 20%;
    --top: 3;
  }
  60% {
    --left: .03;
    --v-height: 25%;
    --top: 6;
  }
  80% {
    --left: .07;
    --v-height: 5%;
    --top: 8;
  }
  100% {
    --left: .083;
    --v-height: 30%;
    --top: 1;
  }
}
@keyframes glitch-b {
  10%,30%,50%,70%,90% {
    --top: 0;
    --left: 0;
  }
  0% {
    --v-height: 15%;
    --top: 10;
  }
  20% {
    --left: -.005;
  }
  40% {
    --left: -.01;
    --v-height: 17%;
    --top: 3;
  }
  60% {
    --left: -.03;
    --v-height: 35%;
    --top: 6;
  }
  80% {
    --left: -.07;
    --v-height: 5%;
    --top: 8;
  }
  100% {
    --left: -.083;
    --v-height: 30%;
    --top: 1;
  }
}


