/* Reset */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Fin Reset */


html, body { 
margin: 0; 
padding: 0; 
font-family: 'Roboto', sans-serif;
font-size: 1em;
font-weight: 400;
overflow-x: hidden;
}

*{
	box-sizing: border-box;
}

a{
	transition: all .25s ease;
}

/*#preface .wrapper-right a{
	color: lightblue;
	font-weight: 700;
	font-size: 1.1em;
	display: inline-block;
	float: right;
	transition: all .25s ease;
	position: relative;
	top: -30px;
}



#preface .wrapper-right a:hover{
color: mediumturquoise;
}

#preface .wrapper-right a span{
	margin-right: 4px;
vertical-align: middle;
} */


/* Début intro star wars */

.fade {
  position: absolute;
  width: 100%;
  min-height: 40vh;
  top: 0px;
  background-image: linear-gradient(0deg, transparent, black 75%);
  z-index: 1;
}

.star-wars {
  display: flex;
  justify-content: center;
  position: relative;
  height: 100%;
  color: #feda4a;
  font-family: 'Pathway Gothic One', sans-serif;
  font-size: 500%;
  font-weight: 600;
  letter-spacing: 6px;
  line-height: 150%;
  /* perspective: 400px; */
  perspective: 400px;
  text-align: justify;
}


.star-wars h3{
		font-family: 'Star Jedi'; 
		font-weight: normal;
	font-style: normal;
	letter-spacing: 2px;
}

.crawl {
  position: relative;
  width: 90%;
  padding-top: 100vh;
  /* width: 90%; */
  height: 100%;
  top: 99999px;
  transform-origin: 50% 100%;
   animation: crawl 60s linear infinite;
  /*transition: opacity 0.6s ease;
  opacity: 1; */

}

/* .crawl.fade-hidden {
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
} */

.crawl > .title {
  font-size: 90%;
  text-align: center;
}

.crawl > .title h1 {
  margin: 0 0 100px;
  text-transform: uppercase;
}

.crawl p{
	margin-bottom: 100px;
}

/* .hidden-anim {
  visibility: hidden;
}
 */


@keyframes crawl {
	0% {
    top: -100px;
    transform: rotateX(20deg)  translateZ(0);
    opacity: 0;
  }
    1.9% {
    opacity: 1;
  }
    99% {
    opacity: 1;
  }
	100% { 
    top: -6000px;
    transform: rotateX(25deg) translateZ(-2500px);
    opacity: 0;
  }
}

.paused{
	animation-play-state: paused !important;
}

#btn-star-wars{
	position: absolute;
	z-index: 1;
	left: 12px;
	top: 50%;
	width: 35px;
	height: 85px;
	margin-top: -40px;	
}

#btn-star-wars .material-symbols-outlined{

	font-size: 35px;

}

#play-stop{

	display: block;
	width: 35px;
	height: 35px;
	cursor: pointer;
	/* background: blue; */
}

#restart{
	margin-top: 15px;
	display: block;
	width: 35px;
	height: 35px;
	cursor: pointer;
	transition: all .4s ease;

	/* background: red; */
}

#restart:hover{
	transform: rotate(-360deg);
}


/* fin intro star wars */





#wrapper{
width: 100%;
height: 100%;
z-index: 100;
position: absolute;
box-shadow: inset 0 4px 4px -4px rgba(0,0,0,0.3);
}

#shadow-header{
position: fixed;
box-shadow: inset 0 4px 4px -4px rgba(0,0,0,0.5);
width: 100%;
height: 5px;
top: 0;
left: 0;
z-index: 1000;
}

/* header {

} */

#desktop-nav ul {
	position: fixed;
	z-index: 1000;
	bottom: 25px;
	left: 50%;
	transform: translateX(-50%);
	background: none;
	list-style: none;
	padding: 10px 35px;
	border-radius: 40px;
	text-align: center;
	border: 1px solid #fff;
/* 	max-width: 800px;
	min-width: 380px; */
	display: block;
	background-color: rgba(0, 0, 0, .5);
}
#desktop-nav ul li {
	display: inline-block;
	width: auto;
	text-align: center;
	position: relative;
}

#desktop-nav ul li span{
display: block;
visibility: hidden;
opacity: 0;
background-color: #111;
border: 1px solid #feda4a;
color: #feda4a;
font-size: 14px;
line-height: 20px;
width: 215px;
padding: 12px 10px;
/* display: block; */
position: absolute;
/* bottom: calc(100% + 16px); */
bottom: calc(100% + 21px);
left: 12px;
transition: all .25s ease;
border-radius: 12px;
transform: translateX(-50%);
}

#desktop-nav ul li span:after{
	content: "";
	display: block;
  width: 0; 
  height: 0; 
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 14px solid #111;
  position: absolute;
  bottom: -13px;
  left: calc(50% - 9px);
}

#desktop-nav ul li a:hover + span{
/* display: block; */
visibility: visible;
opacity: 1;
transition: all .25s ease;
bottom: calc(100% + 16px);
}

#desktop-nav ul li a {
	color: #fff;
	font-size: .9em;
	text-decoration: none;
	display: inline-block;
	text-align: center;
	line-height: 25px;
	width: 25px;
	height: 25px;
	border: 1px solid #fff;
	border-radius: 50%;
	margin: 0 3px;
	font-weight: 700;
	transition: all .25s ease;
}

#desktop-nav ul li:first-of-type a{
	width: auto;
	padding : 0 7px;
	border-radius: 30px;
}

#desktop-nav ul li a:hover {
	/* color: #cc1817; */
	color: #feda4a;
	border-color: #feda4a;
	background-color: rgba(0, 0, 0, .5);
}
#desktop-nav ul li.active a {
	/* color: #cc1817; */
	/* color: #dc0c15; */
	color: #feda4a;
	border-color: #feda4a;
	transition: all .25s ease;
	background-color: rgba(0, 0, 0, .5);
	/* background: #B6CE8A; */
}

#go-top{
	display: block;
	visibility: hidden;
	opacity: 0;
	z-index: 100;
	width: 40px;
	height: 40px;
	border-radius: 40px;
	border: 1px solid #fff;
	cursor: pointer;
	position: fixed;
	bottom: 25px;
	right: 25px;
	background-color: rgba(0, 0, 0, .5);
	transition: all .25s ease;
	font-size: 10px;
	text-align: center;
	/* border: 1px solid #222; */
}

#go-top span{
	font-size: 28px;
	display: inline-block;
	position: relative;
	top: 6px;
	color: #fff;
	transition: all .25s ease;
}

#go-top:hover{
	background-color: rgba(0, 0, 0, .75);
	border-color:#feda4a;
}

#go-top:hover span{
color:#feda4a;
}

section{
	width: 100%;
	height: 100vh;
	background-color: #B6CE8A;
	position: relative;
}

#intro{
	/* background-color: #e6ffdd; */
	background: url('img/bg-intro.jpg') no-repeat center center fixed;
	background-size: cover;
	z-index: 2;
}

h1 a img#logo-pratice{
	margin: 0;
	width:  135px;
	display: block;
	/* opacity: 0;  */
	z-index: 100;
    position: fixed;
    top: 15px;
    right: 15px;
    transition: all .3s ease;
/*     animation: fadeSlide 1s ease forwards; 
    animation-delay: 1s; */
}


h1 a:hover img#logo-pratice{
	transform: scale(.9);
	opacity: 0.8;
}


.intro-credits{
	position: absolute;
	bottom: 20px;
	left: 20px;
	font-size: 10px;
	color: #CCC;
}

.intro-credits a{
 	text-decoration: underline;
 	color: #CCC;
}

@keyframes fadeSlide {
        0% {
            opacity: 0; /* Start with opacity 0 */
            transform: translateY(-50px); /* Start above its final position */
        }
        100% {
            opacity: 1; /* End with opacity 1 */
            transform: translateY(0); /* Slide down to its final position */
        }
    }

#intro h2{
	color: #fff;
		/* font-family: 'Star Jedi';  */
	font-family: 'Star Jedi'; 
		font-weight: normal;
	font-style: normal;
	letter-spacing: 3px;
	/* font-size: 3em; */
	font-size: 2em;
	line-height: 1.3em;
	margin: 20px auto;
	text-align: center;
	max-width: 780px;
/* 	font-weight: 900;
  letter-spacing: -1px; */
	text-shadow:0 0 3px #222;
	position: relative;
	opacity: 0;
    animation: fadeSlide 1s ease forwards; /* Apply the animation */
    animation-delay: 1s;
}


#intro h2 span{
	display: block;
	margin-bottom: 30px;
/* 	font-family: 'Star Jedi'; 
		font-weight: normal;
	font-style: normal;
	letter-spacing: 2px; */
	font-size: 1.6em;
	color: #feda4a;

}
 
#intro #wrapper-intro{
	position: absolute;
	width: 100%;
	top: 50%;
	top: calc(50% - 25px);
	transform: translateY(-50%);
}

#intro .scroll-down{
	/* color: #dc0c15; */
	color: #feda4a;
	font-size: 50px;
	cursor: pointer;
	text-shadow: 0 0 2px #333;
	position: absolute;
	display: block;
	width: 50px;
	height: 50px;
	left: calc(50% - 25px);
	bottom: 80px;
	animation: bounce .9s infinite;
}

@keyframes bounce {
        0%, 100% {
            transform: translateY(0); /* Start and end position */
        }
        50% {
            transform: translateY(-8px); /* Peak position */
        }
    }



 .section-wrapper{
 	position: relative;
 	max-width: 1200px;
 	margin: 0 auto;
 	display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr; 
     align-items: center;
   justify-items: center;
 }

     /* Alternate column layout */
    .container div:nth-child(odd) {
      grid-column: span 2;
    }

.section-wrapper > div{
	overflow: hidden;
	position: relative;
	height: 100vh;
	width: 100%;
}
.section-wrapper .vertical-center{
	position: absolute;
	padding: 30px;
	width: 100%;
	left: 0;
	top: 50%;
	top: calc(50% - 30px); /* Remonter un peu car barre conseils */
	transform: translateY(-50%);
	/* background: orange; */
}

.section-wrapper > div img{
	max-width: 500px;
	display: block;
	margin: 0 auto;
}


/* .section-wrapper > div.wrapper-left{
	background: blue;
}

.section-wrapper > div.wrapper-right{
	background: green;
}
 */

.section-wrapper h2{
	position: relative;
	font-family: 'Star Jedi'; 
	font-weight: normal;
	font-style: normal;
	letter-spacing: 2px;
	color: #fff;
	max-width: 550px;
  font-optical-sizing: auto;
	padding-left: 15px;
	font-size: 2.1em;
	line-height: 1.1em;
	/* font-weight: 900; */
	/* letter-spacing: -1px; */
	text-shadow:0 0 2px #333;
	margin-bottom: 25px;
}

.section-wrapper h2:before{
	content: "";
	display: block;
	height: 100%;
	width: 3px;
	/* background-color: #dc0c15; */
	background-color: #feda4a;
	position: absolute;
	left: 0;
	top: 0;
}

.section-wrapper h2 span{
position: relative;
display: inline-block;
left: 2px;
top: -2px;
padding: 0 1px 0 3px;
font-size: 0.9em;
}

.section-wrapper h2 span.tag{
	display: none;
	font-size: 11px;
	font-weight: 400;
	text-shadow: none;
	background: rgba(0, 0, 0, .5);
	color: #feda4a;	
	/* color: #222; */
	letter-spacing: 0;
	height: 22px;
	line-height: 22px;
	padding :  0 10px 0 16px;
	width: auto;
	position: absolute;
	top: 0;
	left: 10px;
	border-radius: 15px;
}

.section-wrapper h2 span.tag:before{
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #feda4a;
	position: relative;
	left: -5px;	
	top: -1px;
	line-height: 22px;
}



 .section-wrapper p.text-conseil{
	font-weight: 300;
	max-width: 550px;
	font-size: 1.1em;
	line-height: 1.3em;
	color: #fff;
	margin-bottom: 20px;
}


 .section-wrapper p.text-conseil span.paragraphe-gras{
	font-weight: 700;
	display: block;
	margin-top: 20px;
	/* font-size: 12px; 
	line-height: 1.1em;*/
}


 .section-wrapper p.text-conseil span.paragraphe-gras a{
	color: lightblue;
	transition: all .2s ease;
}

 .section-wrapper p.text-conseil span.paragraphe-gras a:hover{
	color: mediumturquoise;
}


/*  .section-wrapper p.text-conseil span.paragraphe-gras span.material-symbols-outlined{
	font-weight: normal;
	margin-right: 5px;
	position: relative;
	left: -10px;
	font-size: 22px;
} */
 

 .section-conseil div.credits{
	display: block;
	position: absolute;
	width: 100%;
	bottom: 0;
	left: 0;
	margin-bottom: 20px;
	margin-left: 20px;
	font-size: 10px;
	color: #CCC;
	
}


 .section-conseil div.credits a{
	color: #CCC;
	text-decoration: underline;
	
}

.section-conseil button{
	z-index: 1;
	background: transparent;
	position: relative;
	cursor: pointer;
	border: 2px solid #fff;
	padding: 10px 45px 10px 25px;
	color: #fff;
	font-weight: 400;
	border-radius: 30px;
	transition: all .3s ease;
	font-size: 1em;
	display: none;
}

#scroll-continue{
	display: block;
}

.section-conseil button:hover{
	color: #feda4a;
	border-color: #feda4a;
}

.section-conseil button:before{
	content: "";
	display: block;
	position: absolute;
	width: 0;
	height: 100%;
	left: 50%;
	top: 0;
	z-index: -1;
	border-radius: 0;
	background: rgba(0, 0, 0, .5);
	transition: all .3s ease;
}


.section-conseil button:hover:before{
	width: 100%;
	left: 0;
	border-radius: 30px;
}

.section-conseil button span{
	color: #dc0c15;
	font-size: 28px;
	cursor: pointer;
	text-shadow: 0 0 1px #333;
	position: absolute;
	display: inline-block;
	top: calc(50% - 15px);
	right: 12px;

}

.section-conseil button .scroll-down{
	animation: bounce-small .9s infinite;
	font-size: 30px;
	width: 30px;
	height: 30px;
	right: 10px;
	top: calc(50% - 13px);
}

@keyframes bounce-small {
        0%, 100% {
            transform: translateY(0); /* Start and end position */
        }
        50% {
            transform: translateY(-4px); /* Peak position */
        }
    }

.animate-right{
	opacity: 0;
	left: 100px; /* à reporter dans JS */
	transition: all 1s ease;
}

.animate-left{
	opacity: 0;
	left: -100px; /* à reporter dans JS */
	transition: all 1s ease;
}


/* backrgound couleurs et dégradés */

#preface img.section-visu,
#conseil2 img.section-visu,
#conseil4 img.section-visu,
#conseil6 img.section-visu,
#conseil8 img.section-visu,
#conseil10 img.section-visu{
	animation: floatAnimation 3s ease-in-out infinite;
}

#conseil1 img.section-visu, 
#conseil3 img.section-visu,
#conseil5 img.section-visu,
#conseil7 img.section-visu,
#conseil9 img.section-visu,
#conseil11 img.section-visu{
	animation: pulsateAnimation 3s ease-in-out infinite;
}

@keyframes floatAnimation {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px); /* Adjust distance */
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes pulsateAnimation {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.95); /* Adjust distance */
  }
  100% {
    transform: scale(1);
  }
}

#preface{  
/* 	background: #2C3E50;  
	background: -webkit-linear-gradient(to bottom, #4CA1AF, #2C3E50); 
	background: linear-gradient(to bottom, #4CA1AF, #2C3E50);  */
    background: url('img/etoiles.png') #000 no-repeat center center;
    background-size: cover;

}

#conseil1{

  background: -webkit-linear-gradient(to bottom, #0f2027, #203a43, #2c5364); /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to bottom, #0f2027, #203a43, #2c5364); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */



}

#conseil2{

 background: #0f0c29; /* fallback for old browsers */
 
  background: url('img/speed.jpg') no-repeat center center fixed;  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
background-size: cover;    
/* background-repeat: no-repeat;
background-position: center center; */
}


#conseil3{


/* background: url('img/bg-moon.png'), linear-gradient(to bottom, #141e30, #243b55); 
background-size: cover;    
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed; */

	background: #2C3E50;  

	background: url('img/bg-data.png') , linear-gradient(to top, #232526, #414345); 
	background-size: cover;    
background-repeat: no-repeat;
background-position: center center;



}

#conseil4{
	background: #093028; 
background: url('img/ordi.png'), linear-gradient(to top, #0f0c29, #302b63, #24243e); 
background-size: cover;    
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
}

#conseil5{  
	background: linear-gradient(to top, #1e130c, #9a8478);  

/* 	background: url('img/bg-data.png'), linear-gradient(to top, #4CA1AF, #2C3E50);   */
	background-size: cover;    
background-repeat: no-repeat;
background-position: center center;
/* background-attachment: fixed; */

}

#conseil6{
	/* background: linear-gradient(to bottom, #005C97, #363795); */
background-image: url('img/mandalorious.png'),  linear-gradient(to bottom, #000000, #434343);
background-size: cover;    
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
/* background-attachment: fixed; */
}

#conseil7{
	background-image: url('img/bg-fils.png'), linear-gradient(to top, #232526, #414345);
	background-size: cover;    
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
}

#conseil8{
background: url('img/bg-ordi.png'), linear-gradient(to bottom, #141e30, #243b55); 
background-size: cover;    
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
}

#conseil9{  
	background: #2C3E50;  

	background: url('img/team.png'), linear-gradient(to top, #4CA1AF, #2C3E50);  
	background-size: cover;    
background-repeat: no-repeat;
background-position: center center;
/* background-attachment: fixed; */

}


#conseil10{
	background: url('img/trooper.jpg');
	background-size: cover;    
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
}



#conseil10 .wrapper-right a.link-right{
	color: lightblue;
	font-weight: 700;
	font-size: 1.1em;
	display: inline-block;
	float: right;
	transition: all .25s ease;
	position: relative;
	top: -24px;
}



#conseil10 .wrapper-right a.link-right:hover{
color: mediumturquoise;
}

#conseil10 .wrapper-right a.link-right span{
	margin-right: 4px;
vertical-align: middle;
} 

/* Responsive */

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

#intro h2{
	font-size: 2.3em;
    line-height: 1.3em;
}

h1 a img#logo-pratice{
	width: 115px;
}

#desktop-nav{
	display: none;
}

#intro .scroll-down{
	bottom: 15px;
}

#go-top{
	right: 15px;
	bottom: 15px;
}

section{
	height: auto !important;
}

.section-wrapper{
	grid-template-columns: 1fr;
	grid-auto-rows:  auto;
}

.section-wrapper > div {
    overflow: hidden;
    position: relative;
    height: auto;
    width: 100%;
}

.section-wrapper .vertical-center{
	position: static;
	padding: 20px;
transform: none;
}


.section-wrapper > div img{
	max-width: 400px;
	width: 90%;
	margin: 0 auto;
}

img.section-visu{
	animation: none !important;
}

.section-conseil div.credits{
	display: none;
}

section#intro {
	height: 100vh !important;
}

#intro #wrapper-intro{
	padding: 0 15px !important;
}

.intro-credits{
	display: none;
}

.section-wrapper h2 {
    color: #fff;
    font-size: 2.2em;
    line-height: 1.2em;
}


}
/* Fin responsive */

