.logo-SP,
body {
  margin: 0
}

#tete,
.logo-SP {
  text-align: center
}

.svg-base,
.svg-logo {
  width: auto;
  height: 50px
}

.svg-base,
.svg-hover {
  transition: opacity 1s ease-in-out
}

#main,
#menu,
.logo-SP {
  padding: 1px
}

#sommaire a,
.active,
.les-liens a,
.percent {
  font-weight: 700
}

.close-button,
.close-button-alert {
  text-decoration: none;
  cursor: pointer
}

html {
  scroll-behavior: smooth
}

#tete {
  flex: 0 0 250px;
  margin: 10px;
  padding: 20px
}

.logo-SP,
.svg-base {
  display: flex;
  align-items: center
}

.logo-SP {
  z-index: 5
}

.svg-logo {
  z-index: 10
}

.svg-base {
  text-align: center
}

#menu,
.les-liens {
  align-items: center;
  display: flex;
  text-align: center
}

#menu {
  margin: 1%;
  position: relative
}

.svg-hover {
  position: absolute;
  opacity: 0
}

#menu:hover .svg-base {
  opacity: 0
}

#menu:hover .svg-hover {
  opacity: 1
}

#navbar {
  justify-content: space-between;
  display: flex;
  overflow: hidden;
  z-index: 5;
  transition: top .3s ease-in-out, box-shadow .3s ease-in-out
}

.les-liens a {
  float: left;
  display: block;
  color: #000;
  text-align: center;
  font-size: 20px;
  padding: 10px;
  margin: 5px;
  text-decoration: none;
  transition: border-bottom .2s ease-in-out
}

.les-liens a:hover {
  border-bottom: 5px solid #002a21;
  color: #000;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  transition: border-bottom .5s ease-in-out
}

.les-liens a.active {
  background-color: #04aa6d;
  color: #fff
}

.navbar-left {
  display: flex;
  margin-top: .5%;
  margin-bottom: .5%
}

.infos {
  display: flex;
  padding-left: 1%;
  padding-right: 1%;
  width: auto;
  max-width: 55%;
  align-items: center;
  margin: .5%;
  justify-content: space-between;
  border-radius: 10px;
  font-style: italic
  
}
.infos p {
  margin-right: 2%;
  margin-top: 1%;
  margin-left: 1%;
  margin-bottom: 1%;
}

.close-button-alert {
  font-size: 20px;
  background-color: transparent;
  color: rgb(0 42 33);
  text-align: center;
  border-radius: 10px
}

.content {
  padding: 16px
}

.sticky+.content {
  padding-top: 60px
}

.sticky {
  position: sticky;
  top: 0;
  width: 100%;
  box-shadow: 0 8px 16px 0 #000;
  background: rgba(239, 238, 238, .7);
  backdrop-filter: blur(5px);
  transition: .3s ease-in-out
}



.sidenav {
  padding-top: 35px;
  height: auto;
  width: 250px;
  position: fixed;
  z-index: 4;
  top: 20px;
  left: -250px;
  /*background-color: #111;*/
  overflow-x: hidden;
  border-radius: 10px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 1);
  background: linear-gradient(to right, rgba(0, 8, 1, 0.8), rgba(0, 1, 8, 0.8));
  color: rgb(219 219 219);
  backdrop-filter: blur(2px);
  z-index: 5;
  font-weight: bolder;
  font-style: italic;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
}

.closebtn {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #f1f1f1;
  display: block;
  transition: .3s;
  cursor : pointer;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #f1f1f1;
  display: block;
  transition: .3s
}

.sidenav a:hover {
  color: #818181;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px
}

#main {
  transition: margin-left .5s
}

@media screen and (max-height:450px) {
  .sidenav {
    padding-top: 15px
  }

  .sidenav a {
    font-size: 18px
  }
}

.division-etape {
  padding-top: 20px;
  margin: 30px
}

.card,
.card-appel,
.card-introduction,
.contact_card {
  margin: 20px;
  transition: top .3s ease-in-out, box-shadow .3s ease-in-out
}

h1 {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px
}

.card {
  flex: 0 0 360px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  color: #000
}

.card-appel:hover,
.card-avec-image:hover,
.card-avec-logo:hover,
.card-introduction:hover,
.card:hover,
.contact_card:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, .2)
}

.card img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  display: block
}

.card-defilement {
  display: flex;
  justify-content: center
}

.scrolling {
  width: 100%;
  display: flex;
  overflow-x: auto;
  align: center
}

.card-appel,
.card-introduction {
  display: flex;
  flex: 0 0 50%;
  padding: 1%;
  border: 1px solid #ccc;
  border-radius: 10px;
  align: center
}

.contact_card {
  display: flex;
  flex: 0 0 50%;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  flex-direction: column
}

#message {
  margin-top: 2%;
  margin-right: 10%;
  margin-bottom: 2%;
  width: 150%;
  height: 60%;
  line-height: 1.5em
}

.left-section {
  width: 40%;
  margin: 10%
}

.input-space {
  margin: 2%
}

.center-vertical {
  display: grid;
  align-items: center
}

.right-section {
  width: 40%
}

#contact_form {
  width: 100%;
  height: 100%
}

.card_container {
  padding: 1%;
  text-align: center
}

#btn_envoyer {
  padding: 5px;
  border-radius: 5px
}

textarea {
  width: 100%;
  height: auto;
  min-height: 100px;
  resize: vertical;
  overflow: auto
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px
}

scrollbar {
  width: 8px;
  height: 8px
}

::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 10px
}

scrollbar-thumb {
  background-color: #ccc;
  border-radius: 10px
}

.carte-nombres-vues {
  display: flex;
  flex-direction: row;
  margin: 20px;
  padding: 1%;
  border: 1px solid #ccc;
  border-radius: 10px
}

.carte-section {
  flex: 1;
  text-align: center
}

.card-avec-image {
  margin: 20px;
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 10px;
  transition: top .3s ease-in-out, box-shadow .3s ease-in-out
}

.image,
.texte {
  flex: 1;
  padding: 10px;
  width: 400px;
  margin: 2px
}

.image {
  text-align: center;
  position: relative
}

.swiper {
  width: 400px;
  height: 300px
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%
}

:root {
  --swiper-theme-color: #8cafd1
}

.swiper-slide img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 10px
}

.autoplay-progress {
  position: absolute;
  bottom: 10px;
  right: 10px;
  height: 45px;
  width: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--swiper-theme-color);
  z-index: 1
}

.autoplay-progress svg {
  --progress: 0;
  width: 100%;
  height: 100%;
  stroke-width: 4px;
  stroke: var(--swiper-theme-color);
  fill: none;
  stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
  stroke-dasharray: 125.6;
  transform: rotate(-90deg)
}

.autoplay-progress span {
  position: absolute;
  font-size: x-large
}

.photo {
  position: absolute;
  top: 50px;
  left: 100px;
  width: 200px;
  height: 150px
}

.logo {
  max-width: 30%;
  height: auto
}

.itext,
.logo img {
  max-width: 100%;
  height: auto;
  margin: 0 auto
}

.card-avec-logo {
  margin: 20px;
  display: flex;
  align-items: center;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  transition: top .3s ease-in-out, box-shadow .3s ease-in-out
}

.logo,
.logoTexte {
  flex: 1;
  padding: 10px;
  width: 160px;
  margin: 10px
}

.progress-bar {
  margin: 10px;
  display: flex;
  height: 20px;
  background-color: #dcdada;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  z-index: 0
}

.percent,
.progress-bar-fill {
  position: absolute;
  top: 0;
  left: 0
}

.progress-bar-fill {
  height: 100%;
  background-image: linear-gradient(to right, #621507, #ec3212);
  width: 0%;
  border-radius: 10px
}

.percent {
  transform: translateY(0);
  color: rgb(0 42 33)
}

footer {
  padding: 3%
}

.box-footer {
  padding: 2%;
  background-color: #333;
  color: #fff;
  border-radius: 10px
}

.cadre-lien-footer {
  margin-top: 5px;
  margin-bottom: 5px;
  color: #d1d5db
}

.lien-footer {
  color: #d1d5db;
  text-decoration: none;
  list-style: none
}

.box-colonne {
  display: flex;
  justify-content: space-between
}

.col {
  margin-left: 3px;
  margin-right: 3px;
  flex: 1
}

.messages,
ul {
  list-style: none;
  padding: 0;
  margin:1%;
}

.copyrights {
  padding: 2px;
  align-items: center;
  text-align: center;
  color: #d1d5db
}

.copyrights a {
  color: #d1d5db;
  text-decoration: none
}

.background-color {
  background-image: linear-gradient(to right, #e0e5e4, #c0cac8)
}

.container {
  display: flex;
  height: 40%;
  width: auto
}

.mentions-legales {
  flex: 1;
  overflow-y: scroll;
  padding: 1%;
  margin: 1%;
  border: 1px solid;
  border-radius: 10px
}

.sommaire {
  width: 25%;
  padding: 1%;
  position: sticky;
  top: 14%;
  height: 100%;
  margin: 1%;
  border-radius: 10px
}

#sommaire li {
  margin-top: 4%
}

#sommaire a {
  color: #000;
  text-decoration: none
}

.active {
  color: #00f
}

.messages .success {
  background-color: rgb(207 235 207);
  color: rgb(0 42 33);
  padding: 10px;
  border-radius: 10px;
  text-align: center
}

.flip-card {
  background-color: transparent;
  perspective: 1000px
}

.flip-card-back,
.flip-card-front {
  background-color: #bbb
}

.flip-card-inner {
  position: relative;
  transition: transform .8s;
  transform-style: preserve-3d
}

.flip-card-back,
.flipped {
  transform: rotateY(180deg)
}

.flip-card-back,
.flip-card-front {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  z-index: 5
}

.flip-card-front {
  color: #000
}

.close-button {
  font-size: 36px;
  background-color: transparent;
  color: #fff;
  text-align: center;
  border-radius: 10px
}

.t-credits {
  text-align: center
}

.credits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-gap: 2px
}

/*flottant*/
.fottant-SN {
  display: flex;
  flex-direction: column;
}
#close-SN {
  display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    right: 20px;
    bottom: 250px;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 1);
    background:linear-gradient(to right, rgba(84, 3, 0, 0.2), rgba(0, 42, 32, 0.2));
    color: rgb(0 42 33);
    backdrop-filter: blur(5px);
    z-index: 5;
    font-weight: bolder;
    font-style: italic;
    cursor: pointer;
    transition: all 0.5s ease-in-out; /* Transition douce */

}
.closed {
  display: none;
}

.widget-flottant {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  width: 200px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 1);  
  /*background: rgba(0, 42, 33, 0.2);*/
  background: linear-gradient(to right, rgba(84, 3, 0, 0.2), rgba(0, 42, 32, 0.2));
  backdrop-filter: blur(5px);
  z-index: 5;
  transition: all 0.5s ease-in-out; /* Transition douce */
}
.widget-flottant img{
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.4);
}
.widget-flottant a{
  text-decoration: none;
}


@media (max-width:768px) {
  .division-etape {
    padding-top: 1%;
    margin: 1%
  }

  #navbar,
  .card-avec-image,
  .card-avec-logo,
  .contact-box {
    flex-direction: column
  }

  #navbar a {
    padding: 10px
  }

  .infos {
    width: auto;
    max-width: 100%;
    margin-right: 1%;
    margin-left: 1%
  }

  .card-introduction,
  .contact_card {
    margin: 1%
  }

  .card {
    flex: 0 0 280px
  }

  .logo,
  .logoTexte {
    margin: 1%;
    padding: 2%
  }

  .logo {
    align-content: center;
    max-width: 60%
  }

  .image,
  .texte {
    width: 300px;
    margin: 1%
  }

  .swiper {
    width: 100%;
    height: 100%
  }

  .input-space {
    display: flex
  }

  .petit-box {
    flex-wrap: wrap
  }

  .petit-col {
    flex-basis: 40%
  }

  .container {
    flex-direction: column-reverse
  }

  .sommaire {
    width: auto;
    position: unset;
    height: auto;
  }

  .mentions-legales {
    max-height: 400px
  }

  #close-SN {
    bottom: 20px;
    
  }

  .widget-flottant {
    bottom: -210px;
  }

}

