/* ------------------------------------------------------- Commun ------------------------------------------------------- */

@import url(fonts/fonts.css);
@import url(animation.css);

:root {
  /* On place ici toutes les variables qui sont utiles dans le site (on utilise la syntaxe qui suit)
  Exemple : --color-main: rgb(125, 151, 184);
  On peut mettre n'importe quel type de variable : couleur, code rgb, valeur, etc... */

  --color-main: rgb(158, 0, 93);
  --color-main2: rgb(250, 235, 215);
  --color-dark-gray: rgb(61, 0, 40);
  --color-light-gray: rgba(115, 115, 115, 0.952);
  --color-body-bg: rgb(255, 255, 255);
  --color-bg-alternate : rgb(249, 127, 127);

  --plyr-color-main: linear-gradient(90deg, rgb(249, 127, 127) 0%, rgb(158, 0, 93) 100%);


  --padding-body: 64px 80px;

  --transition: .3s;

  --text-font: 'Poppins';
  --title-font-black: 'PoppinsBlack';
  --title-font-bold: 'PoppinsSemiBold';

}

* {
  box-sizing: border-box;
  margin: 0;
}

/* On définit ici le style lors du survol de texte dans le site */
*::selection {
  color: white;
  background-color: var(--color-main);
}

html, body {
  padding: 0;
  margin: 0;
  letter-spacing: .05em;
  line-height: 1.5rem;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-body-bg);
  font-family: var(--text-font);
  font-weight: normal;
  font-style: normal;
  font-size: 1em;
}

::-webkit-scrollbar {
  display: none;
}

em, .italic {
  /* Penser à mettre le style de caractère pour les italiques 
  (em est la balise utilisée pour le texte en italique depuis le panel en markdown) */
  font-style: italic;
  background: linear-gradient(90deg, rgb(64, 224, 208) 0%, rgb(255, 20, 147) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

strong {
  /* Penser à mettre le style de caractère pour le texte en gras 
  (strong est la balise utilisée pour le texte en gras depuis le panel en markdown) */
  font-weight: bold;
}

/* À modifier si besoin pour la mise en page des listes */
ul, li {
  list-style: none;
  padding: 0;
}

hr {
  opacity: 0;
  margin: 50px 0;
}

a {
  color: currentColor;
  text-decoration: none;
}


h1 {
  font-size: 72px;
  font-family: var(--title-font-black);
  text-transform: uppercase;
}

h2 {
  margin: 100px 0 25px 0;
  font-size: 54px;
  font-family: var(--title-font-black);
  text-transform: uppercase;
}

p {
  max-width: 75ch;
}

button {
  display: inline-block;
  border: none;
  background-color: transparent;
  padding: 0;
  margin: 0;  
}

button:hover {
  cursor: pointer;
}

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

.ToReveal.reveal {
  opacity: 1;
  top: 0;
}

.background-load {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--color-body-bg);
  z-index: 999;
}

.lg-actions .lg-next:before, .lg-actions .lg-prev:after {
  position: absolute;
  height: 48px;
  width: 48px;
}
.lg-actions .lg-next:before {
  content: url('../css/img/arrow_Arrow_LeftToRight.svg');
  right: 0;
}

.lg-actions .lg-prev:after {
  content: url('../css/img/arrow_Arrow_RightToLeft.svg');
  left: 0;
}

.lg-actions .lg-next {
  right: 20px;
}

.lg-actions .lg-prev {
  left: 20px;
}

.lg-actions .lg-next, .lg-actions .lg-prev {
  --height: 33%;
  width: 10%;
  height: var(--height);
  top: calc(50% - calc(var(--height)/2));
}

.lg-toolbar .lg-icon {
  padding: 0;
}

.lg-toolbar .lg-close::after {
  content: url('../css/img/icon_Cross_close.svg');
  position: relative;
  width: 32px;
  height: 32px;
  margin: auto;
}

.lg-toolbar .lg-download::after {
  content: url('../css/img/icon_download_building\ copy.svg');
  position: relative;
  width: 32px;
  height: 32px;
  margin: auto;
}

.page {
  padding: var(--padding-body);
}

/* ------------------------------------------------------ Header ------------------------------------------------------  */
/* On peut coder ici tout le css relatif au header du site */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: var(--padding-body);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  z-index: 9;
}

.responsive_logo {
  display: none;
}

.homepage {
  color: var(--color-main);
  font-size: 2rem;
}

.homepage, .menu button {
  font-family: var(--title-font-black);
  text-transform: uppercase;
}

.homepage:hover {
  transform: scale(1.1);
  transition: var(--transition);
}

#logo-favicon {
  position: fixed;
  content: url("../css/img/favicons/favicon_64px.svg");
  --width-logo: 48px;
  width: var(--width-logo);
  left: calc(50% - calc(var(--width-logo)/2));
  transition: var(--transition);
}

#logo-favicon:hover {
  transform: scale(1.2);
}

.menu {
  display: flex;
  font-family: var(--title-font-bold);
  font-size: .875em;
}

.language-selection {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--color-light-gray);
  z-index: 9;
}

.language-selection a {
  padding: 1rem 0;
  -webkit-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
  transition: var(--transition);
}

.menu button {
  display: block;
  padding: 0 1rem;
  transition: var(--transition);
}

.menu button:first-child {
  padding-left: 0;
}

.menu button:last-child {
  padding-right: 0;
}

.menu button:hover, .language-selection a:hover {
  opacity: .5;
}

.menu .navBtn.active, .langue_active {
  color: var(--color-bg-alternate);
}

.separator_language:last-child {
  display: none;
}

.menu .navBtn.active::before {
  position: relative;
  top: 2px;
  content: url("../css/img/hand_icon.svg");
  right: 6px;
}

body[data-page-id="home"] .navBtn.alternate {
  display: none;
}

body[data-page-id="home"] .navBtn.alternate {
  display: none;
}

body[data-template="project"] .navBtn.ancrage,
body[data-template="colorisation"] .navBtn.ancrage,
body[data-template="error"] .navBtn.ancrage,
body[data-page-id="mentions-legales"] .navBtn.ancrage
 {
  display: none;
}

body[data-template="home"] .bottom-block-project {
  top: 50px;
  margin: 0;
}

#scroll-to-top {
  position: fixed;
  bottom: 32px;
  right: 80px;
  height: 48px;
  width: 48px;
  border: 2px solid black;
  background-color: var(--color-body-bg);
  opacity: 0;
  transition: var(--transition);
  z-index: 6;
}

#scroll-to-top.translate-bottom {
  opacity: 1;
  transition: var(--transition);
}

#scroll-to-top span {
  content: url('../css/img/arrow_Arrow_BotToTop.svg');
  position: relative;
  top: -1px;
  transition: var(--transition);
}

#scroll-to-top:hover span {
  top: -5px;
}

/* ------------------------------------------------------- Main -------------------------------------------------------  */
/* On peut coder ici tout le css relatif au contenu du site */

main {
  height: 100%;
  margin-top: 50px;
}

.banner {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  box-sizing: border-box;
  height: 80vh;
  margin-bottom: 100px;
}

.banner h1 {
  position: absolute;
  line-height: 1em;
  bottom: 55px;
  background: rgba(255, 255, 255, 0.705);
  padding: 32px;
}

.banner .hompagejob {
  font-size: 34px;
}

.container {
  height: 100%;
}

.introductionblochomepage {
  margin-bottom: 0;
}

.introduction-bloc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 80%;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

h2.titre-intro {
  margin-top: 0;
  color: var(--color-main);
  hyphens: auto;
  line-height: 1;
}

.intro-image {
  flex: 1;
}

.intro-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: .5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.intropresentation {
  flex: 1;
  font-size: 1rem;
  line-height: 1.6;

}

.BG-img-top {
  content: url('../css/img/fresque_illustration.png');
  position: relative;
  width: 100%;
  max-width: 750px;
  margin: auto;
}

.container h2:not(.verticaltitle h2) {
  line-height: 1.3em;
}

.container h2:not(.verticaltitle h2)::before {
  content: "";
  position: absolute;
  height: 4px;
  background: #121212;
  width: 20%;
  top: -20px;
}

section {
  margin-bottom: 150px;
}

.projectdesign, 
.projectIllustration {
  opacity: 1;
  transition: var(--transition);
} 

.projectdesign {
  padding-top: 150px;
}

.projectIllustration,
.projectcolor {
  margin-top: 150px;
  padding-top: 150px;
}

.verticaltitle {
  position: absolute;
  left: 90px;
  font-family: var(--title-font-black);
  color: var(--color-bg-alternate);
  z-index: 3;

  -webkit-transform-origin: left top;
  -ms-transform-origin: left top;
  transform-origin: left top;
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);

}

.verticaltitle h2 {
  margin: 0;
  font-size: 5.5rem;
}

#DesignSectionTitle, 
#IllustrationSectionTitle, 
#ColorSectionTitle, 
#ProjectSectionTitle, 
#ContactSectionTitle, 
#AboutSectionTitle,
#ErrorSectionTitle,
#MentionsLegalesSectionTitle
 {
  white-space: nowrap;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

#ContactSectionTitle, 
#AboutSectionTitle {
  color: var(--color-main2);
}

.grid {
  column-count: 4;
  column-gap: 10px;
  width: 80%;
  margin: auto;
  animation: fadein 2s;
}

.grid-item {
  position: relative;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-main);
  opacity: 0;
  transition: var(--transition);
}

.color-element {
  display: flex;
  height: 60vh;
}

.color-element .image-conteneur {
  position: relative;
}

.color-info {
  position: absolute;
  z-index: 2;
  right: 0;
  color: white;
  font-size: 4rem;
  background: rgba(43, 43, 43, 0.384);
  width: 50%;
  height: 100%;
  padding: 70px;
}

.color-info img.logo-color {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 65%;
  min-width: 260px;
  margin: auto;
  margin-bottom: 25px;
}

.slogan-color {
  font-size: 1.1rem;
  line-height: 0.2rem;
}

.image-conteneur {
  overflow: hidden;
}

.project-info {
  position: absolute;
  bottom: 12px;
  left: -12px;
  width: 100%;
  opacity: 0;
  font-family: var(--title-font-black);

  display: flex;
  flex-direction: column;

  text-align: right;
  align-items: flex-end;

  padding: 6px;
  
  opacity: 0;
  transition: var(--transition);
  z-index: 3;
}

.title-project {
  font-size: 2em;
  font-style: normal;
  font-weight: 100;
  line-height: 1em;
  color: var(--color-bg-alternate);
}

.line {
  height: 2px;
  width: 40px;
  background-color: var(--color-main2);
  margin: 10px 0;
}

.date-project {
  font-size: 2em;
  color: transparent;
  white-space: nowrap;
  -webkit-text-stroke-color: var(--color-main2);
  -webkit-text-stroke-width: 1px;
}

.image-conteneur img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

img.BG_color_img {
  height: 100%;
}

.image-conteneur:hover img {
  transform: scale(1.07);
}

.image-conteneur:hover .project-info {
  opacity: 1;
}

.projectdesign .grid-item a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.projectIllustration a.grid-item:hover::before, .container-gallery a.grid-item:hover::before {
  /* opacité 1 au survol (:hover) */
  opacity: 1;
}

.separator-perso {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
  animation: fadein 2s;
  margin: 250px 0;
}

.logo-site {
  content: url("../css/img/favicons/favicon_64px.svg");
  height: 6vw;
  margin-top: 4vw;
  background-color: var(--color-body-bg);
}

.background-separator {
  position: absolute;
  width: 70%;
  height:2vw;
  margin-top: 5%;
  background-color: var(--color-bg-alternate);
  opacity: 0;
  z-index: -1;
}

.background-separator.reveal {
  top: unset;
  animation: HeightReveal .5s;
}

.perso-design, .perso-colo, .perso-illu {
  cursor: pointer;
  transition: var(--transition);
}

.perso-design:hover, .perso-colo:hover, .perso-illu:hover {
  transform: scale(1.1);
}

/* ------------------------------------------------------- About & Contact -------------------------------------------------------  */

.about-page, .contact-page {
  position: fixed;
  display: flex;
  width: 100%;
  top: 0;
  bottom: 0;
  right: -101vw;
  z-index: 9;
  transition: .6s;
}

.about-page.expand, .contact-page.expand {
  right: 0vw;
}

.about-info, .contact-info {
  position: relative;
  width: 100%;
  margin-left: 150px;
  padding: var(--padding-body);
  background-color: var(--color-body-bg);
  overflow-y: scroll;
}

.about-page section, .contact-page section {
  margin: 70px 10%;
}

.about-info h2, .contact-info h2 {
  margin-bottom: 42px;
}

.background-page-About, .background-page-Contact {
  position: fixed;
  top: 0px;
  left: 101vw;
  bottom: 0;
  right: 0;
  background-color: var(--color-bg-alternate);
  z-index: -1;
  transition: var(--transition);
}

.background-page-About.expand, 
.background-page-Contact.expand {
  left: 0;
}

.background-page-About .verticaltitle, 
.background-page-Contact .verticaltitle {
  top: 6.5%;
}

.description a,
.information-technique a,
.credit a,
.contact-page a,
.about-page a {
  font-family: var(--title-font-bold);
  color: var(--color-main);
  transition: var(--transition);
}

.description a:hover,
.information-technique a:hover,
.credit a:hover,
.about-page a:hover {
  color: var(--color-bg-alternate);
  transition: var(--transition);
}

.description a::after,
.information-technique a::after,
.credit a::after,
.about-page a::after,
.contact-rs-footer a::after {
  display: inline-block;
  position: relative;
  top: 1px;
  content: url("../css/img/arrow_link.svg");
  width: 12px;
  margin-left: 5px;
}

.formation {
  margin-bottom: 50px;
}

.CV-date, .CV-domaine {
  font-weight: bold;
}

.CV-lieu, .CV-intervenant {
  font-style: italic;
  color: rgb(148, 148, 148);
}

.experiences-pro {
  margin-bottom: 25px;
}

button[class^="closeBtn"] {
  position: absolute;
  top: 80px;
  right: 80px;
  height: 48px;
  width: 48px;
  border: 2px solid var(--color-dark-gray);
  background-image: url('../css/img/icon_Cross_close.svg');
  background-repeat: no-repeat;
  background-size: 40px 40px;
  background-position: center;
}

.map {
  height: 200px;
  width: 100%;
}

.reseaux-sociaux {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: end;
  flex-wrap: wrap;
}

.buttonRect {
  width: 100px;
  transition: var(--transition);
}

.buttonRect img {
  transition: var(--transition);
}

.buttonRect:hover img {
  transform: rotate(-15deg)
}

.footer .buttonRect {
  width: unset;
}

.perso-pixel {
  display: flex;
  justify-content: center;
  height: 300px;
  margin-top: 50px;
  margin-bottom: 100px;
}

.perso-design, .perso-colo, .perso-illu {
  position: relative;
  width: 15vw;
  opacity: 1;
  object-fit: contain;
}

.perso-design {
  content: url("../css/img/character-designer.png");
  left: 0;
}

.perso-colo {
  display: block;
  content: url("../css/img/character-coloriste.png");
  margin-top: 30px;
  max-width: 250px;
}

.perso-illu {
  content: url("../css/img/character-illustration.png");
  right: 0;
}

.perso-design.reveal {
  animation: LeftToRight .8s;
}

.perso-illu.reveal {
  animation: RightToLeft .8s;
}

/* ------------------------------------------------------- Project -------------------------------------------------------  */
/* On peut coder ici tout le css relatif aux projets du site */

body[data-template="project"] .verticaltitle,
body[data-template="colorisation"] .verticaltitle {
  margin-top: 35px;
}

.main-info-project {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 50vh;
}

.main-info-project-pres {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
  text-align: right;
  margin-right: 12px;
  z-index: 4;
  color: white;
}

h1.title-project-main {
  font-family: var(--title-font-black);
  font-size: 4.2rem;
  line-height: 1.15em;
  margin-bottom: 15px;
}

.date {
  font-size: 3em;
  color: transparent;
  font-family: var(--title-font-bold);
  white-space: nowrap;
  -webkit-text-stroke-color: white;
  -webkit-text-stroke-width: 2px;
}

.cover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 55vh;
}

.image-cover-conteneur {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

.category-box {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-left: 10%;
  z-index: 4;
}

.tag-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.tag-element {
  display: flex;
  justify-content: center;
  height: 24px;
  padding: 0 6px;
  margin: 6px;
  font-size: .875em;
  line-height: 20px;
  font-family: var(--title-font-bold);
  background-color: var(--color-bg-alternate);
  border: 2px solid var(--color-bg-alternate);
  color: var(--color-main2);
  border-radius: 50px;
  cursor: default;
  transition: var(--transition);
}

.tag-element:hover {
  color: var(--color-bg-alternate);
  background-color: transparent;
  border: 2px solid var(--color-bg-alternate);
}

.type-top {
  position: absolute;
  margin-left: 200px;
  opacity: 0;
  transform: translateY(-100px);
  transition: var(--transition);
}

.type-top.is-scrolled {
  transform: translateY(0);
  animation: entrance 400ms 800ms linear backwards 1;
  opacity: 1;
  transition: var(--transition);
}

.container-gallery {
  margin-top: 150px;
  margin-bottom: 150px;
}

.gallery {  
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 12px;
}

.description-bloc, .technical-info-bloc, .designer-bloc {
  display: flex;
  flex-direction: column;
  margin: 50px 10%;
  position: relative;
  z-index: 3;
  opacity: 0;
  transition: var(--transition);
}

.description-bloc p, .technical-info-bloc p, .designer-bloc p {
  margin: 35px 0;
}

.category-title-type {
  font-family: var(--title-font-black);
}

.category-title h2 {
  position: relative;
  font-family: var(--title-font-black);
  color: var(--color-main);
  hyphens: auto;
  line-height: 1;
}

.bloc-info-ornicar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  column-gap: 4rem;
  row-gap: 2rem;
  margin: 50px 10%;
}

.bloc01, .bloc02, .bloc03 {
  display: flex;
  flex-direction: column;
}

.info-ornicar-title-category {
  color: var(--color-main);
  font-family: var(--title-font-bold);
  text-transform: uppercase;
}

.read-more {
  margin-top: 100px;
}

.button-focus {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--color-main);
  font-family: var(--title-font-black);
  font-weight: normal;
  cursor: pointer;
  transition: var(--transition);
}

.button-focus:hover {
  opacity: .6;
}

/* arrow common style */
.arrow {
  display: inline-block;
  width: 13px;
  height: 13px;
  border-top: 5px solid var(--color-main);
  border-right: 5px solid var(--color-main);
}

.arrow-right {
  transform: rotate(45deg);
  transition: all 0.5s;
}

.rotate {
  transform-origin: 50% 50%;
  transform: rotate(135deg);
  -webkit-transform:rotate(135deg);
  -moz-transform:rotate(135deg);
}

.more-content {
  display: none;
  --left-content: -80px;
  margin-left: var(--left-content);
  margin-right: var(--left-content);
  padding: 50px calc(calc(var(--left-content) * -1) + 15%);
  background-color: var(--color-bg-alternate);
  color: black;
}

.focus-content {
  display: flex;
  flex-direction: column;
  margin-top: 100px;
  font-family: var(--title-font-bold);
  color: antiquewhite;
}

.focus-content p:first-of-type {
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 3.2em;
  line-height: 1.3;
}

.focus-content p {
  margin: 50px 0;
}

.focus-content figure {
  margin: 25px auto;
  width: 70%;
}

.video-block-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 150px;
}

.video-container {
  width: calc(50% - 12px);
  height: 27vw;
  margin: auto auto 12px auto;
  opacity: 0;
  transition: var(--transition);
}

.plyr--video {
  object-fit: cover;
  width: 100%;
  height: 100%!important;
}

.lg-outer .lg-video {
  position: unset;
}

.lg-sub-html {
  display: none;
}

/* ------------------- Contact + Changement de projets ------------------- */

.PrevNextProjetBloc {
  display: flex;
  position: relative;
  top: 100px;
}

#previous, #next {
  width: 48px;
  height: 48px;
  border: 2px solid black;
  background-color: var(--color-body-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  cursor: pointer;
}

.previous, .next {
  display: flex;
}

a#next::after {
  content: url('../css/img/arrow_Arrow_LeftToRight.svg');
  position: relative;
  right: -1px;
  width: 100%;
  height: 100%;
  transition: var(--transition);
}

a#previous::before {
  content: url('../css/img/arrow_Arrow_RightToLeft.svg');
  position: relative;
  left: -1px;
  width: 100%;
  height: 100%;
  transition: var(--transition);
}

a#previous:hover::before {
  left: -5px;  
}

a#next:hover::after {
  right: -5px;  
}

/* Texte défilant */
.bottom-block-project {
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  border-bottom: 2px solid var(--color-bg-alternate);
  font-family: var(--title-font-black);
  

  color: var(--color-bg-alternate);
  -webkit-text-stroke-width: 0px;

  letter-spacing: 0;
  transition: color .4s linear,-webkit-text-stroke-color .4s linear;
  
  height: 48px;
  width: 100%;
  margin: 0 2%;
  transform: rotate(-2deg);
  transition: var(--transition);
}

.bottom-block-project:hover {
  color: transparent;
  white-space: nowrap;
  -webkit-text-stroke-color: var(--color-bg-alternate);
  -webkit-text-stroke-width: 1px;
}

.bottom-block-project div {
  position: absolute;
  min-width: 100%; /* au minimum la largeur du conteneur */
  margin-top: 30px;
}
 
.bottom-block-project div span, 
.bottom-block-project div:after {
  position: relative;
  display: inline-block;
  height: 100%;
  white-space: nowrap;
  top:0;
  font-size: 4.5em;
}
 
.bottom-block-project div span {
  margin: 0 45px;
  animation: defilement 20s infinite linear;
}
 
.bottom-block-project div:after {
  position: absolute;
  top:0; 
  left:0;
  content:attr(data-text);
  animation: defilement2 20s infinite linear;
}

#previous-project-title, #next-project-title {
  opacity: 0;
  color: var(--color-bg-alternate);
  -webkit-text-stroke-width: 0px;
  transition: var(--transition);
}

.previous:hover ~ .bottom-block-project #previous-project-title {
  opacity: 1;
}

.next:hover ~ .bottom-block-project #next-project-title {
  opacity: 1;
}

.previous:hover ~ .bottom-block-project #basic-text,
.previous:hover ~ .bottom-block-project #next-project-title {
  display: none;
}

.next:hover ~ .bottom-block-project #basic-text,
.next:hover ~ .bottom-block-project #previous-project-title {
  display: none;
}

.previous {
  order: 0;
}

.bottom-block-project {
  order: 1;
}

.next {
  order: 2;
}

/* ------------------------------------------------------- Footer -------------------------------------------------------  */
/* On peut coder ici tout le css relatif au footer du site */

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  margin-top: 200px;
  font-size: .875rem;
  z-index: 7;
}

.separator {
  width: 100%;
  height: 2px;
  background-color: rgb(223, 223, 223);
  margin-bottom: 25px;
  border-radius: 3px;
  transition: var(--transition);
}

.separator:hover {
  width: 120px;
}

.contact-rs-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 25px 0;
}

.contact-rs-footer a {
  margin: 0 10px;
  transition:var(--transition);
}

.contact-rs-footer a:hover {
  opacity: .5;
}

a.MentionsBtn {
  font-family: var(--title-font-bold);
  color: var(--color-main);
  transition: var(--transition);
}

a.MentionsBtn:hover {
  color: transparent;
  white-space: nowrap;
  -webkit-text-stroke-color: var(--color-main);
  -webkit-text-stroke-width: 1px;

  transition: var(--transition);
  opacity: .5;
}


/* ---------------------------------------------------- Mentions ----------------------------------------------------- */

.MentionsLegales .verticaltitle {
  z-index: -1;
}

.MentionsLegales {
  margin: 0 15%;
}

.MentionsLegales h2 {
  hyphens: auto;
}

.mentions ol {
  padding: 0;
  width: 80%;
  margin: 25px auto 25px auto;
}

.mentions ol li {
  margin: 10px 0;
}

.mentions ol li::before {
  content: "↳";
  margin-right: 5px;
}

/* ---------------------------------------------------- Responsive ----------------------------------------------------- */
/* Début du responsive pour différents appareils : tablette et Smartphone */


@media screen and (max-width: 1500px) {
  .grid {
    column-count: 3;
  }
}



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

.header {
  background: var(--color-dark-gray);
  color: white;
  height: 100vh;
  width: 100vw;
  bottom: 0;
  left: 100vw;
  flex-direction: column;
  justify-content: unset;
  transition: var(--transition);
  z-index: 98;
}

.header.expand {
  left: 0;
}

.header h1 {
  position: absolute;
  top: 90px;
  width: 100%;
  font-size: .875rem;
  text-align: center;
}

.menu {
  flex-direction: column;
  align-items: center;
  margin: auto;
}

.menu button {
  font-size: 2rem;
  padding: 1rem 0;
  color: white;
}

.menu span {
  height: 2px;
  width: 80px;
  background-color: var(--color-main);
}

.language-selection {
  position: absolute;
}

.responsive_logo {
  display: block;
  position: fixed;
  font-family: var(--title-font-black);
  text-transform: uppercase;
  top: 40px;
  left: 32px;
  font-size: 1.5em;
  font-weight: bold;
  color: white;
  mix-blend-mode: difference;
  z-index: 9;
}

button.burger_menu {
  position: fixed;
  top: 32px;
  right: 32px;
  height: 48px;
  width: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-body-bg);
  border: 2px solid black;
  z-index: 99;
  transition: var(--transition);
}

button.burger_menu span {
  content: url('../css/img/icon_burger_menu.svg');
  position: relative;
  width: 32px;
  height: 32px;
}

button.close.burger_menu span {
  content: url('../css/img/icon_Cross_close.svg');
}

button[class^="closeBtn"] {
  top: 86px;
  right: 32px;
}

}



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

  .grid {
    column-count: 2;
  }
}

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

  
  .grid-item:nth-child(4) {
    margin-top: 0px;
  }

  .type-top {
    display: none;
  }

  .cover {
    margin-bottom: 50px;
  }

  .date {
    margin-top: 15px;
  }

  .category-box {
    margin-top: 50px;
    margin-left: 0;
  }

  .color-info {
    width: 100%;
  }

}

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

  :root {
    --padding-body: 32px 32px;
  
  }

 

  #scroll-to-top {
    right: 32px;
  }

  .verticaltitle {
    left: 50px;
  background: none;

  }
  
  .verticaltitle h2 {
    font-size: 5em;
  }

#ContactSectionTitleBis, #AboutSectionTitleBis {
    top: -20px;
  }

  .about-page, .contact-page, .background-page-About, .background-page-Contact {
    top: 0;
  }  

  .about-info, .contact-info {
    margin: 0;
  }
  
  .grid {
    column-count: 1;
  }

  .logo-site {
    height: 10vw;
    margin-top: 4vw;
  }
  
  .perso-design, .perso-colo, .perso-illu {
    width: 30vw;
  }

  body[data-template="project"] main {
    margin-top: 0;
  }

  body[data-template="project"] .verticaltitle {
    margin-top: 100px;
  }

  .cover {
    position: unset;
    left: unset;
    right: unset;
    height: 55vh;
  }

  .main-info-project {
    flex-direction: column;
    align-items: unset;
    height: 100%;
  }
  
  .main-info-project-pres {
    width: 100%;
    margin-bottom: 35px;
    text-align: unset;
    color: var(--color-dark-gray);
  }

  .date {
    -webkit-text-stroke-color: var(--color-dark-gray);
  }

  body[data-template="project"] main .verticaltitle,
  body[data-template="colorisation"] main .verticaltitle
   {
    transform: none;
    left: 16px;
    right: 16px;
    top: 250px;
    font-size: 115%;
    opacity: .4;
  }

  body[data-template="project"]  main #ProjectSectionTitle,
  body[data-template="colorisation"] main #ProjectSectionTitle {
    line-height: 1.1em;
    hyphens: auto;
    white-space: normal;
    transform: none;
  }

  h1.title-project-main {
    font-size: 300%;
  }
  
  .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: black;
    opacity: 0.5;
  }

  .cover {
    top: 0;
    order: -1;
    height: 100vh;
    width: 100%;
  }

  .cover img {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
  }

  .more-content {
    --left-content: -32px;
  }

  .description-bloc p, .technical-info-bloc p, .designer-bloc p {
    margin: 35px 0;
  }

  .description-bloc p:first-child, .technical-info-bloc p:first-child, .designer-bloc p:first-child {
    margin: 15px 0;
  }

}

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

  .introduction-bloc {
    max-width: 100%;
    flex-direction: column;
    padding: unset;
  }

  .intro-image,
  .intro-text {
    width: 100%;
  }

  .language-selection {
    right: 22px;
  }

  .banner h1 {
    font-size: 48px;
    line-height: 1.2em;
    bottom: 55px;
    padding: 32px;
  }

  .banner .hompagejob {
    font-size: 22px;
    line-height: .875em;
  }

  .category-title h2 {
    position: relative;
    left: 0;
  }

  .category-box {
    margin-left: 0;
  }

  .description-bloc, .technical-info-bloc, .designer-bloc, .about-info section, .contact-info section {
    display: flex;
    flex-direction: column;
    margin: 50px 0;
  }

  .about-info section, .contact-info section {
    margin: 70px 0;
  }

  .MentionsLegales {
    margin: 0;
  }

  .category-title {
    margin-bottom: 25px;
  }
  
  .category-title, .description, .information-technique, .credit {
    width: 100%;
  }

  .more-content {
  padding: 50px calc(var(--left-content) * -1);
  }

  .more-content .verticaltitle {
    display: none;
  }

  .video-container {
    width: 100%;
    height: 55vw;
  }

}

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

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

  .verticaltitle h2 {
    font-size: 3.8em;
  }

  #ContactSectionTitleBis,
  #AboutSectionTitleBis {
    top: -13px;
    left: 15px;
  }

  .lg-actions .lg-next, .lg-actions .lg-prev {
    font-size: 2em;
  }

  .lg-actions .lg-next {
    right: 10px;
  }
  .lg-actions .lg-prev {
    left: 10px;
  }
}



@media screen and (max-width: 630px) {
  :root {
    --padding-body: 32px 32px;
  
  }

  .perso-pixel {
    height: 200px;
  }

}

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


  .color-element {
    height: 70vh;
  }

  .color-info {
    padding: auto;
  }

  .color-info img.logo-color {
    min-width: 150px;
  }
  
  .grid-item:nth-child(2) {
    margin-top: 0px;
  }

  .MentionsLegales {
    margin: 0;
  }

}


@media screen and (max-width: 420px) {
  :root {
    --padding-body: 16px 16px;
  
  }

  #logo-favicon {
    display: none;
  }

  #logo-favicon.displayed {
    display: block;
  }

  .responsive_logo {
    top: 40px;
    left: 16px;
  }

  button.burger_menu {
    right: 16px;
  }

  button[class^="closeBtn"] {
    right: 16px;
  }

  #scroll-to-top {
    right: 16px;
  }

  .perso-pixel {
    height: 150px;
  }

  .separator-perso {
    height: 150px;
  }

  .more-content {
    --left-content: -16px;
  }

  .grid {
    column-count: 1;
  }
}

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