@import url('https://fonts.googleapis.com/css?family=Advent+Pro|Dancing+Script|Varela+Round&display=swap');


/* **************** COLORS **************** */
:root {
  --theme-color1: #aa1c78;
  --theme-color2: #ba5385;
  --theme-color2: #ba5385;
  --theme-color3: #63474a;
  --theme-color4: #7d6262;
  --theme-color44: #B2989A;
  --theme-color444: #98407c;
  --theme-color5: #09a97e;
  --theme-color55: #61F079;
  --theme-color6: #e9d556;
  --theme-color7: #fafce6;
  --theme-color8: #ffffffc6;
  --theme-color88: #ffffff49;
  --theme-color888: #747474;
  --theme-color99: #ffffff;
  --theme-color100:#000000;
}

/* **************** FONTS **************** */

body {
  font-family: 'Comic Neue', sans-serif;
  font-weight: 700;
}

h1 {
  font-family: 'Dancing Script', cursive;
  font-size: 2.8em;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  color: var(--theme-color99);
  text-shadow: 1px 3px 5px rgb(0, 0, 0);
}

@media only screen and (max-width: 600px) {
  h1 {
    font-size: 2em;
  }
}


h2 {
  font-family: 'Dancing Script', cursive;
  font-size: 2.5em;
  font-weight: bold;
  color: var(--theme-color99);
  text-shadow: 1px 3px 18px rgba(0, 0, 0, 0.3);
}

@media only screen and (max-width: 600px) {
  h2 {
    font-size: 2.1em;
  }
}

h3 {
  font-family: 'Dancing Script', cursive;
  font-size: 2em;
  font-weight: bold;
  color: var(--theme-color99);
  text-shadow: 1px 3px 18px rgba(0, 0, 0, 0.3);
}

h4 {
  font-family: 'Comic Neue', sans-serif;
  font-size: 1em;
  font-weight: bold;
  white-space: nowrap;
  color: var(--theme-color99);
  text-shadow: 1px 3px 18px rgba(0, 0, 0, 0.3);
}

h5 {
  font-family: 'Comic Neue', sans-serif;
  font-size: 1em;
  font-weight: bold;
  white-space: nowrap;
  color: var(--theme-color99);
}

strong {
  font-family: 'Advent Pro', sans-serif;
  font-size: 2.5em;
  font-weight: normal;
  text-align: center;
  white-space: nowrap;
  color: var(--theme-color99);
  text-shadow: 1px 3px 18px rgba(0, 0, 0, 0.3);
}









html {
  scroll-behavior: smooth;
}


body {
  font-family: 'Comic Neue', sans-serif;
  font-size: 1em;
  padding: 0;
  margin: 0;
  color: var(--theme-color99);
}

button {
  cursor: pointer;
  width: max-content;
  border: 2px solid #ffffff;
  color: inherit;
  border-radius: 30px;
  background-color: inherit;
}

button:hover {
  background-color: var(--theme-color7);
  border-color: var(--theme-color7);
  color: var(--theme-color888);
  transition: 0.3s ease-in-out;
}
/* ****************************************** NAVBAR ****************************************** */

nav {
  overflow: hidden;
  background-color: var(--theme-color1);
  opacity: 1;
  position: fixed;
  width: 100%;
  height: 70px;
  z-index: 10;  
  display: flex;
  justify-content: space-between;
  box-shadow:  0 4px 8px rgba(0, 0, 0, 0.5);

}



#brand-and-logo {
  margin: auto 0 auto 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

#logo {
  margin: auto 0 auto 10px;
  max-width: 1%;
  height: auto;
}

#logo img {
  margin-top: auto;
  width: auto;
  height: 40px;
}


#brand {
  margin-left: 8px;
  margin-right: 0px;
  margin-top: auto;
  margin-bottom: auto;
  font-family: 'Dancing Script', cursive;
  font-size: 1.4em;
  font-weight: bold;
  white-space: nowrap;
  color: var(--theme-color99);
}

.sound-toggle{
  margin: 1.7em 10px;
  padding: 0 0;
  z-index: 999;
}

.sound-toggle img{
  width: auto;
  height: 20px;
  margin: auto 0;
  padding: 0 0;
}

.sound-toggle:hover{
  cursor: pointer;
}


#nav-links {
  margin: auto 0;
  min-width: 65%;
}

#nav-links ul {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  list-style: none;
}

#nav-links a {
  margin-top: 15px;
  font-family: 'Comic Neue', sans-serif; 
  font-weight: 700;
  /* 'Calibri', sans-serif; */
  white-space: nowrap;
  text-decoration: none;
  text-align: center;
  font-size: 1.2em;
  color: var(--theme-color99)
}

#nav-links li :hover {
  cursor: pointer;
  transform: scale(1.1);
  transition: 0.1s;
  color: var(--theme-color6)
}

.contact-button {
  margin-right: 40px;
  margin-top: auto;
  margin-bottom: auto;
  padding: 10px 20px;
  color: var(--theme-color100);
  background-color: var(--theme-color99);
  font-family: 'Comic Neue', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
}

.contact-button:hover {
  background-color: var(--theme-color6);
  border-color: var(--theme-color6);
  color: #000000;
}



@media only screen and (min-width: 1090px) {
  #nav {
    display: flex;
  }

  #nav-links {
    display: initial;
  }

  #sidebar-button,
  #sidebar {
    display: none;
  }

}


@media only screen and (max-width: 1090px) {
  #nav {
    display: flex;
  }

  #nav-links {
    display: none;
  }

  nav .contact-button {
    display: none;
  }

  #brand-and-logo {
    margin-left: 8px;
  }

  .sound-toggle{
    margin: 1.7em 30px 1.7em auto;
  }

  #sidebar-button {
    margin: 1em 10px auto auto;
    width: fit-content;
    height: fit-content;
    display: flex;
    flex-direction: column;
    padding: 5px;
    margin: 0;
    margin-right: 15px;
    margin-top: 20px;
    border: solid white 3px;
    border-radius: 5px;
    transition: all 500ms ease;
    --spanHeight: 2px;
    --spanGap: 5px;
    --preferredWidth: calc(3*var(--spanHeight) + 4*var(--spanGap));
    --translationAmount: calc(var(--spanHeight) + var(--spanGap));
  }

  #sidebar-button>span {
    transition: all 500ms ease;
    width: var(--preferredWidth);
    /* 28px */
    height: var(--spanHeight);
    background-color: var(--theme-color99);
    display: block;
  }

  #sidebar-button>span:not(:first-child) {
    margin-top: var(--spanGap);
  }

  #sidebar-button.active {
    border: solid rgba(255, 255, 255, 0) 3px;
  }

  #sidebar-button.active>span:nth-child(1) {
    transform: translateY(var(--translationAmount)) rotate(45deg);
  }

  #sidebar-button.active>span:nth-child(2) {
    width: 0;
    opacity: 0;
  }

  #sidebar-button.active>span:nth-child(3) {
    transform: translateY(calc(-1 * var(--translationAmount))) rotate(-45deg);
  }


  #sidebar {
    z-index: 9999;
    transform-style: preserve-3d;
    position: fixed;
    top: 70px;
    right: 0;
    width: 0;
    height: 100%;
    box-sizing: border-box;
    font-size: 1em;
    overflow: hidden;
    background-color: var(--theme-color1);
    transition: all 500ms ease;
    box-shadow: -5px  4px 8px rgba(0, 0, 0, 0.5); /* Shadow */
  }


  #sidebar.active {
    width: 25em;
  }

  #sidebar ul {
    padding: 0;
    margin-top: 0;
    width: 100%;
  }


  #sidebar li:first-child {
    border-top: solid var(--theme-color99) 2px;
    width: 100%;
    margin: 0;
  }

  #sidebar li {
    padding-left: 20px;
    padding-right: 20px;
    height: 3em;
    margin: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--theme-color99);
    white-space: nowrap;
  }

  #sidebar li:hover {
    cursor: pointer;
  }


  #sidebar a {
    color: var(--theme-color99);
    text-decoration: none;
    text-align: center;
    font-size: 1.3em;
    font-weight: bold;
  }


}




#hero .photoviewer {
  text-align: center;
  padding-top: 70px;
  width: 100%;
  height: 70vh;
  overflow: hidden;
  position: relative;
}

.side-button{
  position: absolute;
  width: 8%;
  height: 100%;
  top: 50%;
  transform: translateY(-50%);
  background-color: #00000041;
  opacity:0;

}

.side-button:hover{
  transition: all 500ms ease;
  opacity:0.5;
}

.left-side-button{
  left: 0%;
}

.right-side-button{
  right: 0%;
}


#hero-background {
  background-size: 100% auto;
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  justify-content: space-between;
}

#hero .photoviewer{
  --blurAnimationDuration: 1800ms;
  --autoShiftTime: 8500ms;
  --maxBlur: 8px;
}


#hero .photoviewer-translate-left{
  transition: all ease 1s;
  /* transform: translateX(-100%); */
}

#hero .photoviewer-translate-right{
  transition: all ease 1s;
  /* transform: translateX(100%); */
}





#hero .parallax{
  --parallax-invDist: 0.8;
  --parallax-offset: 0px;
}

#hook {
  font-family: 'Dancing Script', cursive;
  font-style: bold;
  position: absolute; /* absolute positionning from the parent work only if parents are positionned in relative mode */
  top: 50%;
  left: 50%;
  margin: 0;
  transform: translate(-50%);
}


.media-container {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: relative;
}

.media-container * {
  margin-left: 50%;
  transform: translateX(-50%);
  height: 200px;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}



#ribbon-top {
  border-top: var(--theme-color99);
  border-top-width: 20px;
  position:absolute;
  transform: translateY(-75px);
  left: 0%;
  width: 100%; /* Adjust the width as per your image */
  height: 50px; /* Adjust the height as per your image */
  background: url('media/images/backgrounds/grass3.png') repeat-x; /* The PNG image */
  background-size: 300px;
  filter: drop-shadow(8px -8px 10px rgba(0, 0, 0, 0.3)); /* Optional shadow */
}


#ribbon {
  border-top: 3px solid var(--theme-color6);
  border-bottom: 3px solid var(--theme-color6);
  position: relative;
  height: fit-content;
  max-height: 40px;
  padding-top: 25px;
  padding-bottom: 25px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--theme-color99);
  box-shadow: 5px  -4px 8px rgba(0, 0, 0, 0.5); /* Shadow */
  background-color: var(--theme-color1);
  opacity: 1;
}


#ribbon-text {
  display: flex;
  flex-direction: column;
  margin: auto 0;
}

#ribbon h2 {
  font-family: 'Dancing Script';
  font-weight: bold;
  margin: 0;
  font-size: 2.2em;
  color: var(--theme-color55);
}

@media only screen and (max-width: 800px) {
  #ribbon h2 {
    font-family: 'Dancing Script';
    font-weight: bold;
    margin: 0;
    font-size: 1.5em;
  }
}


.extending-button {
  width: 40px;
  height: 40px;
  border-radius: 40px;
  border: 2px solid #ffffff;
  background: inherit;
  overflow: hidden;
  padding: 1px auto;
  transition: all ease-in 1s;
  display: flex;
  align-items: center;
  flex-flow: row nowrap;
  margin: auto 15px;
  transition: all 500ms ease;
  cursor: pointer;
}

.extending-button #arrow {
  width: fit-content;
  height: fit-content;
  display: flex;
  flex-flow: row nowrap;
  margin: auto 15px;
  align-items: center;
  row-gap: 0px;
  transition: all 500ms ease;

}

.extending-button #arrow-body {
  border-width: 1px;
  border-top-color: var(--theme-color99);
  border-right-color: var(--theme-color99);
  border-top-style: solid;
  border-right-style: solid;
  width: 0px;
  height: 1px;
  background-color: var(--theme-color99);
  transition: all 500ms ease;
  transform: translate(7px);
}

.extending-button #arrow-head {
  border-width: 3px;
  border-top-color: var(--theme-color99);
  border-right-color: var(--theme-color99);
  border-top-style: solid;
  border-right-style: solid;
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  transition: all 500ms ease;

}

.extending-button #micro-text {
  color: var(--theme-color99);
  font-size: 1.1em;
  font-weight: bold;
  margin-left: 20px;
  display: inline;
  white-space: nowrap;
}

.extending-button #micro-text::selection {
  color: var(--theme-color99);
  background-color: purple;
}

.extending-button:hover {
  width: 170px;
  transition: all 500ms ease;

}


.extending-button:hover #arrow-head {
  transform: translate(5px) rotate(45deg);
  ;
}

.extending-button:hover #arrow-body {
  width: 12px;
}







/* ************************ Sections (common style) *********************** */

.main-sections {
  padding: 10px 0 10px 0;
  margin: 0;
  height: 30em;
}

.main-sections h2 {
  margin-left: auto;
  margin-right: auto;
}


.section-button-group {
  display: flex;
  flex-wrap: nowrap;
  float: left;
  margin: 0 10em 0em 0em;
}

section button {
  cursor: pointer;
  width: 280px;
  height: 50px;
  border: 2px solid #ffffff;
  color: inherit;
  border-radius: 30px;
  background-color: inherit;
}

section h2 {
  text-align: center;
}


footer h2 {
  text-align: center;
}



/************************* Section Presentation  ***************************/

#presentation-section {
  background: var(--theme-color44) no-repeat;
  background-size: cover;
  color: var(--theme-color99);
  padding: 0px;
  margin: 0;
  height: max-content;
  flex-direction: column;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}


#presentation-section h2 {
  text-align: center;
  padding: 30px 30px;
  margin: 4% 10%;
  background-color: var(--theme-color3);
  border-radius: 50px;
  color: var(--theme-color7);
  text-wrap: wrap;
  font: 1.3rem 'Comic Neue', sans-serif;
  font-weight: bold;
}

#presentation-section p, #presentation-section #presentation-topics li{
  font-size: 1.3rem;
}





.presentation-arrow-body{
  display: flex;
  align-items: center;
  justify-content: center; /* Horizontal alignment */
  margin: 0 auto 4% 0;
  text-align: center;
  position: relative; /* Nécessaire pour que le ::after se positionne par rapport au parent */
  padding: 30px 45px;
  max-height: 15px;
  width: max-content;
  background-color: var(--theme-color99);
  color: var(--theme-color2);
  border-top-right-radius: 50px;
  border-bottom-right-radius: 50px;
  font-size: 1.3rem;
  font-weight: bold;
}


.presentation-bubble{
  padding: 3px;
  margin: 0 10% 100px 10%;
  background-color: var(--theme-color7);
  border-radius: 50px;
  padding: 30px;
}

.presentation-bubble-title{
  font-size: 1.7rem;
  margin: 2%;
  margin-top: 2%;
  margin-bottom: 0.1%;
}

.presentation-bubble p{
  margin-top: 3px;
  margin-left: 1%;
}



#tms-bubble {
  background-color: var(--theme-color4);
}

#kinesio-bubble {
  background-color: var(--theme-color5);
}

#kinesio-bubble .presentation-topics-container {
  margin-bottom: 1px;
  background-color: var(--theme-color5);
}

.presentation-topics-container{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-left: 1%;
  margin-bottom: 50px;
  column-gap: 1px;
}

#presentation-topics{
  margin-bottom: 1px;
}

#presentation-topics li{
  margin-bottom:10px;
}

.presentation-image{
  border: var(--theme-color7) solid 5px;
  width: 18%;
  height: 18%;
  min-height: 100px;
  min-width: 100px;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
  margin-bottom: auto;
}

.cool-feature-1{
  font-style: italic;
}


.cool-feature-group{
  border-radius: 50px;
  background-color: var(--theme-color7);
  margin : 1% 2%;
  padding : 20px 5%;
  text-align:left;
  font-size: 1.2em;
}

.cool-feature-2{
  margin: 1px;
  color: var(--theme-color2);
  font-weight: bold;
}

.highlight {
  font: 1.7rem 'Comic Neue', sans-serif;
  color: inherit;
  text-shadow: 6px  4px 3px rgba(0, 0, 0, 0.3);
}

.more-about-button1, .more-about-button2 {
  width: max-content;
  padding: 5px 50px;
  transform: translateX(-50%);
  margin: 50px auto 15px 50%;
  font-weight: bold;
}



#youtube-video-container {
  border-radius: 10px;
  padding: 20px;
  background-color: var(--theme-color5);
}



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

  #presentation-section h2 {
    font: 1.2rem 'Comic Neue', sans-serif;
    font-weight: 700;
  }

  #presentation-section p, #presentation-section #presentation-topics li{
    font-size: 1.2rem;
  }

  .presentation-arrow-body{
    font-size: 1.2rem;
  }
  .presentation-bubble-title{
    font-size: 1.5rem;
  }

  .presentation-bubble{
    margin: 0 10% 100px 10%;
  }

  .highlight {
    font: 1.3rem 'Comic Neue', sans-serif;
    text-wrap: wrap;
    color: inherit;
    text-shadow: 6px  4px 3px rgba(0, 0, 0, 0.3);
  }

  .presentation-image{
    border: var(--theme-color99) solid 3px;
    /* width: 180px;
    height: 180px; */
    margin-top: 20px;
    margin-bottom: auto;
  }
  


  .cool-feature-group{
    padding : 2% 5%;
  }
  
  .cool-feature-2{
    margin: 5%;
  }

  
}



.video-indication {
  text-align: center;
  margin: 5px auto 30px auto;
  font-size: 1.3em;
}

.iframe-container {
  position: relative;
  width: 100%;
  height: max-content;
}

.iframe-container iframe {
  margin-left: 50%;
  transform: translate(-50%);
  width: 60vw;
  height: 50vh;
  border: solid #fdf4f4;
  border-width: 2px;
  border-radius: 10px;
}


/************************* Section Déroulé d'une séance + Tarifs ***************************/

#deroulement-section {
  background-color: var(--theme-color3);
  color: var(--theme-color99);
  height: fit-content; 
  /* padding: 5px; */
}

#deroulement-section .section-title {
  color: var(--theme-color99);
  margin-bottom: 0;
}


#deroulement-section-content {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 5px;
  margin-bottom: 80px;
  height: 100%;
  position: relative;
}

#deroulement-section-content .photoviewer h3 {
position: absolute;
  text-align: center;
  margin-bottom: 0px;
  right: auto;
  left: auto;
  top: 0;
}


#deroulement-section-content .photoviewer{
  margin: auto auto;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
  --blurAnimationDuration: 1800ms;
  --autoShiftTime: 8500ms;
  --maxBlur: 8px;
}

#deroulement-section-content #image-and-title{
  display: flex;
  flex-direction: column;
  margin-left: auto;
  margin-right: auto;
  margin-top: 120px;
}

#deroulement-section-content #image-and-title img {
  width: 180px;
  height: auto;
  border: solid white;
  border-width: 3px;
  margin-left: 80px;
  margin-right: 80px;
}

/*Here is a way to shift between images automatically according to an interval of time with some blur effect. 

/*.preview-photo img {
  content:url("media/IMG-1.jpg");
  animation: change 3s ease-in-out 0s infinite forwards;
} 

@keyframes change {
  25%{content:url("media/IMG-1.jpg");}
  50%{content:url("media/IMG-2.jpg");}
  75%{content:url("media/IMG-3.jpg");}
}

*/

/* A way to set blur when frame change*/

@keyframes blurAnimation {
  0% {
    filter: blur(0px);
  }

  50% {
    filter: blur(var(--maxBlur));
  }

  100% {
    filter: blur(0px);
  }
}


.photoviewer  img {
  transition: filter 1s linear;
}

.photoviewer-old-image-holder{
  display: none;
}

.photoviewer .image-blur {
  animation: blurAnimation var(--blurAnimationDuration);
}

#deroulement-section-content .photoviewer-titles>p:not(:first-child) {
  display: none;
}

#deroulement-section-content .photoviewer-titles p {
  font-family: 'Dancing Script', cursive;
  text-align: center;
  font-size: 1.3rem;
}


#deroulement-section-content #descriptions-and-controls {
  display: flex;
  flex-direction: row;
  position: relative;
  width: 280px;
  margin: auto auto;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  height: 100%;
}



#deroulement-section-content .photoviewer-descriptions>p:not(:first-child) {
  display: none;
}

#deroulement-section-content #descriptions-and-controls p {
  min-width: 250px;
  margin: auto auto;
  font-size: 1.1em;
  text-align: left;
  word-break: break-word;      /* Coupe les mots trop longs */
  overflow-wrap: break-word;   /* Alternative pour compatibilité */
}


#deroulement-section-content .photoviewer-descriptions button {
  width: 180px;
  margin-top: 20px;
  margin-bottom: 0px;
  margin-left: 50%;
  transform: translateX(-50%);
  background-color: inherit;  
}


#deroulement-section-content .photoviewer-descriptions button:hover {
  background-color: var(--theme-color7);
}


#deroulement-section-content .photoviewer-button {
  padding: 12px 12px;
  margin: auto 30px;
  border-radius: 30px;
  border: 2px solid var(--theme-color99);
  align-items: center;
  display: flex;

  /* background: inherit;
  overflow: hidden;
  flex-flow: row nowrap; */
  cursor: pointer;
}

#deroulement-section-content .photoviewer-button .arrow-head{
  border-top: 2px;
  border-right: 2px;
  border-top-style: solid;
  border-right-style: solid;
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  margin: auto auto;
}

#deroulement-section-content .photoviewer-button.photoviewer-disabled .arrow-head {
   border-top-color: var(--theme-color88);
  border-right-color: var(--theme-color88);
  cursor:auto;
}

#deroulement-section-content .photoviewer-button .arrow-head{
  border-top-color: var(--theme-color99);
  border-right-color: var(--theme-color99);
}

#deroulement-section-content .photoviewer-button:not(.photoviewer-disabled):hover .arrow-head{
  border-top-color: var(--theme-color3);
  border-right-color: var(--theme-color3);
}


#deroulement-section-content .photoviewer-disabled{
  border: 2px solid var(--theme-color88);
  cursor:auto;
}


#deroulement-section-content .photoviewer-button:not(.photoviewer-disabled):hover {
  background: var(--theme-color99);
}



#deroulement-section-content .photoviewer-left-button {
  transform: scaleX(-1);
}



#deroulement-section .line-separator {
  width: 1px;
  height: 380px;
  background-color: var(--theme-color7);
  margin: auto 2px;
  display: inline;
}



#tarification-div {
  display: flex;
  flex-direction: column;
  margin: auto auto;
  align-items: center;
}

#tarification-div ul {
margin: 0;
padding: 0;
list-style-position: inside;
}

#tarification-div li {
  display: flex;
  flex-direction: column;
  justify-content:center;
  margin: 20px auto;
}



#tarification-div h3 {
  text-align: center;
  margin-bottom: 0px;
  margin-left: auto;
  margin-right: auto;
}


#tarification-div h4 {
  text-align: left;
  position: relative;
  padding-left: 1.5em;
}

#tarification-div h4::before {
  content: '•';
  font-size: 2em;
  position: absolute;
  margin-top: -15px;
  margin-left: -28px;
  color: var(--theme-color99); /* Customize the color */
}

#tarification-div p {
  margin: 0px 0;
  padding: 0;
  margin-bottom: 8px;
  text-align:left;
  font-size: 1.1em;
}


#deroulement-section #tarification-div button { 
  width: max-content;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  margin-bottom: auto;
  padding: 15px;
  background-color: var(--theme-color3);
  font-weight: bold;
}

#deroulement-section #tarification-div button:hover {
  background-color: var(--theme-color7);
}


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

  #deroulement-section .section-title {
    margin-bottom: 70px;
  }

  #deroulement-section-content .photoviewer h3 {
    display: none;
  }

  #deroulement-section-content #image-and-title{
    display: flex;
    flex-direction: column;
    margin: auto auto;
  }

  #photoviewer-descriptions {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 20px;
    text-align: center;
    width: 90%;
  }

  #deroulement-section-content .photoviewer-button {
    margin: 15px;
  }

  #deroulement-section .line-separator {
    width: 80%;
    height: 1px;
    background-color: var(--theme-color7);
    margin-top: 50px;
    display: inline;
  }


  #tarification-div {
    margin: 40px 0 0 0;
    width: 90%;
  }


  #tarification-div p {
    margin: 0px 0;
    padding: 0;
    margin-bottom: 8px;
    text-align:center;
  }



}




/* ***************************** Testimonies ********************************* */

#testimonies-section{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto; /* La hauteur de la section sera définie par le contenu de la div */
  padding: 20px; /* Vous pouvez ajuster le padding selon vos besoins */
  overflow: hidden; /* Cache l'excès de l'image en dehors de la section */
}


#testimonies-section-background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%; /* Ajustez cette valeur pour changer la taille de l'image */
  height: 100%; /* L'image est plus grande que la section, ajustez selon vos besoins */
  z-index: -1; /* Place l'image derrière le contenu */
  object-fit: cover; /* Permet de couvrir toute la zone sans déformation */
}

#testimonies-section-background img {
  width: 120%; /* Ajustez cette valeur pour changer la taille de l'image */
  height: auto; /* L'image est plus grande que la section, ajustez selon vos besoins */
  object-fit: contain;
  object-position: center;
}

#testimonies-section .parallax{
  --parallax-invDist: 0.8;
  --parallax-offset: 0px;
}

#testimonies-section h2 {
  position: relative;
  z-index: 1; /* Assure que le texte soit devant l'image */
  border-radius: 25px;
  background-color: var(--theme-color444);
  opacity: 0.9;
  color: var(--theme-color99);
  font-weight: bold;
  padding: 8px 50px;
  margin-bottom: -55px;
  margin-top: 0px;
}

#testimonies-section .photoviewer {
  position: relative;
  padding: 50px;
  margin: 0;
  margin-top: 1em;
  text-align: center;
  --blurAnimationDuration: 1800ms;
  --autoShiftTime: 8500ms;
  --maxBlur: 8px;
}


#testimonies-photoviewer-content{
  padding: 20px 0;
  padding-bottom: 5px;
  border-radius: 8px;
}

#testimonies-section .photoviewer-descriptions
{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
}

#testimonies-section .photoviewer img {
  margin-left: -20px;
  margin-right: auto;
  margin-bottom: -30px;
  width: 10%;
  min-width: 10px;
  max-width: 60px;
  height: auto;
  border: solid var(--theme-color99);
  border-width: 3px;
  z-index: 1;
}

#testimonies-section .photoviewer-descriptions p{

  text-align: left;
  padding: 10px 70px;
  font-size: 1.3rem;
  background-color: var(--theme-color444);
  opacity: 0.88;
  border-radius: 15px;
  color: var(--theme-color99);
}


#testimonies-section .photoviewer-descriptions p:not(:first-of-type) {
  display: none;
}

#testimonies-section .photoviewer-descriptions p::before {
  content: "❝"; /* Guillemets en forme de goutte d'eau */
  font-family: 'Great Vibes', cursive; /* Police spéciale pour les guillemets */
  font-size: 2.5em; /* Taille des guillemets */
  color: inherit;
  position: absolute;
  margin-top: -15px;
  margin-left: -28px;
  z-index: 1;
}

/* Styles pour les guillemets après le texte */
#testimonies-section .photoviewer-descriptions p::after {
  content: "❞";
  font-family: 'Great Vibes', cursive;
  font-size: 2.5em;
  color: inherit;
  position: absolute;
  margin-top: -15px;
  z-index: 1;
}

#testimonies-section .photoviewer-titles{
  margin-left: -30px;
  margin-top: -28px;
}

#testimonies-section .photoviewer-titles p{
  text-align: center;
  font-size: 1.2em;
  padding: 5px;
  width: fit-content;
  background-color: var(--theme-color444);
  opacity: 0.8;
  color: var(--theme-color99);
  border-radius: 5px;
}

#testimonies-section .photoviewer-titles>p:not(:first-child) {
  display: none;
}


@media only screen and (max-width: 600px) {
  #testimonies-section-background img {
    width: 250%;
    height: auto;
    object-fit: contain;
    object-position: center; /* Default position when no parallax */ 
  }

  #testimonies-section .parallax{
    --parallax-offset: 10px;
  }

  #testimonies-section p{
    font-size: 1rem;
  }


  #testimonies-section .photoviewer-descriptions p{
    text-align: center;
    margin-left: 10px;
    padding: 10px 40px;
  }

  #testimonies-section .photoviewer-descriptions p::before {
    font-size: 1.5em; /* Taille des guillemets */
    position: absolute;
    margin-top: -10px;
    margin-left: -20px;
  }
  
  /* Styles pour les guillemets après le texte */
  #testimonies-section .photoviewer-descriptions p::after {
    font-size: 1.5em;
    margin-top: -10px;
    margin-left: 0px;
  }

}


/* ******************************* FOOTER ********************************** */
footer {
  padding: 10px 0 10px 0;
  background-color: var(--theme-color2);
  color: var(--theme-color99);
}

footer h3{
margin-right: 50%;
transform: translateX(-50%);
}

#footer-main-division {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0;
}

#informations {
  padding: 20px;
  margin-top: 10px;
  color: var(--theme-color99);
}

#informations ul {
  padding: 0;
  margin-left: 0;
  list-style: none;
  width: fit-content;
}

#informations li {
  margin: 0px 0 20px 0;
  list-style: none;
}

#informations a {
  text-align: left;
  color: var(--theme-color99);
  text-decoration :none;
}


#informations #instagram-button {
  margin-left: 5px;
}

#informations img {
  float: left;
  margin-right: 10px;
  width: 25px;
  filter: invert(100%);
}

form {
  margin-left: 0px;
  margin-top: 5%;
  max-width: 700px;
  text-align: center;
  /* width: 30%; */
}


input,
textarea,
footer button, select {
  border: none;
  padding: 12px 10px;
  width: 55%;
  margin: 1px 0;
  font-size: 1em;
  font-family: 'Lora', cursive;
  border-radius: 8px;
}


textarea {
  height: 120px;
}

footer button {
  font-size: 1.1em;
  font-weight: bold;
  border: solid var(--theme-color99);
  color: var(--theme-color99);
}

footer button:hover {
  background-color: var(--theme-color99);
  border: solid var(--theme-color99);
  cursor: pointer;
}

#last-line {
  height: 1px;
  width: 75%;
  background-color: var(--theme-color99);
  margin: 60px auto;
}

#copyright-and-icons {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 0 10%;
}

#copyright {
  width: 50%;
  text-align: left;
 color: var(--theme-color99);
}

#icons {
  width: 50%;
  text-align: right;
}

#icons a {
  display: inline-block;
  padding: 0 15px;
  font-size: 1.3em;
 color: var(--theme-color99);
}

#icons a:hover {
  transform: scale(1.3);
  transition: 0.1s;
}

#section-map-division {
  text-align: center;
}

#footer-map-division h3 {
  text-align: center;
}

#map {
  margin-left: 15%;
  height: 350px;
  width: 70%;
}

#about-me {
  padding-top: 4em;
  background-color:var(--theme-color3);
  margin-right: 0;
  width: 100%;
  padding: 50px;
  height: fit-content;
  width: auto;
  margin: 0;
}


#about-me h2 {
  margin-top: 70px;
  margin-bottom: 20px;
  color: var(--theme-color99);
}

.about-me-content {
  display: flex;
  justify-content: space-between;
}

.profile-image-and-paragraph img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  float: left;
  margin-top: 40px;
  margin-right: 40px;
  shape-outside: circle(50%);
  shape-margin: 0px; /* Réduit l'espacement pour qu'il soit proportionnel à la taille de l'image */
}

.profile-description {
  overflow: hidden;
}


.about-me-content p {
  text-align: justify;
  line-height: 1.6;
  font-size: 1.2em;
}


.card-picture{
  width: 35%;
  height: auto;
  max-height: 300px;
  margin: auto 50px;
  border-style: solid;
  border-color: var(--theme-color99);
  border-width: 5px;
  border-radius: 10px;
  min-width: 300px;
}


#about-me .contact-button{
  margin-top: 30px;
  transform: translateX(-50%);
  margin-left: 50%;
  width: 30%;
}


@media only screen and (max-width: 900px) {
  
  .about-me-content {
   flex-direction: column;
  }


  .about-me-content p {
    max-width: 100%;
    margin-top: 10em;
    text-align: left;
  }

  
  .card-picture{
    margin: 50px auto;
  }

  #about-me .contact-button{
    width: 50%;
  }
  
}


#about-service{
  background-color: var(--theme-color444);
  margin-right: 0;
  width: 100%;
  padding: 50px;
  height: fit-content;
  width: auto;
  margin: 0;
}

#about-service p{
  font-size: 1.2em;
}


#about-service h2{
  margin-top: 0;
  margin-bottom: 50px;
  text-wrap: wrap;
  text-align: center;
}

#about-service h3{
  margin-bottom: 5px;
  font-size: 1.8rem;
}

@media only screen and (max-width: 600px) {
  #about-service h3{
    font-size: 1.4rem;
  }
}


#about-service-part1 p{
  margin-bottom: 70px;
}

#about-service-part2 p{
  margin-bottom: 80px;
}


#about-service #avertissement{
  font-style: italic;
  margin-bottom: 1px;
}