*,
::before,
::after {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: static;
  margin: 0;
  padding: 0;
}


body {
  min-height: 100vh;
  margin: 0;
  background-color: lightgray;
  display: grid;
  font-size: 0.9em;
  position: relative;
  font-family: Montserrat, Helvetica, sans-serif;
}

#sec1-img1 img {
  margin: 20px;
  width: 250px;
  height: auto;
}

#sec1-title3 {
  margin: 20px auto 0 auto;
  text-align: center;
  font-weight: 900;
  font-size: 2em;
  /*   animation: slideDown 1s; */
  transition: 0.5 ease-in-out;
}

.sec1-titleco {
  margin: 20px auto 0 auto;
  text-align: center;
  animation: slideDown 0.8s;
  transition: 0.5 ease-in-out;
}

.sec1m2-p2 {
  text-align: center;
  max-width: 50%;
  font-size: 1.2em;
  font-weight: 500;
  color: #333;
  margin: auto;
  margin-top: 5vh;
  margin-bottom: 2vh;
  /*     animation: slideDown 1s;
    transition: 0.5 ease-in-out; */
}

#sec1-title5 {
  font-size: 1.5em;
  font-weight: 800;
  padding: 5px;
  background-color: #333;
  color: white;
}

#sec1 {
  position: relative;
  max-width: 1000px;
  margin: 15vh auto 0 auto;
  overflow: hidden;
  background-color: lightgray;
}

hr {
  border: none;
  border-top: 3px double #333;
  color: #333;
  overflow: visible;
  text-align: center;
  height: 5px;
  width: 100px;
  margin: 15px auto;
}

hr:after {
  background: lightgray;
  padding: 0 4px;
  position: relative;
  top: -13px;
}

#sec1-img1 {
  margin-top: 5vh;
  margin-left: 10vh;
  float: right;
  align-items: center;
  text-align: center;
  font-size: 2.5em;
  padding: 10px;
  /*   animation: slideDown 1s; */
  transition: 0.5 ease-in-out;
}

#sec1-p1 {
  margin-top: 10vh;
  line-height: 27px;
  text-align: justify-all;
  max-width: 40%;
  font-size: 1.2em;
  font-weight: 500;
  float: left;
  color: #333;
  /*   animation: slideDown 1s; */
  transition: 0.5 ease-in-out;
  position: relative;
}

#sec1-strong {
  margin-top: 25px;
  font-size: 1.2em;
  color: #333;
}

@keyframes slideDown {
  from {
    transform: translateY(100px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width:635px) {

  #sec1 {
    align-items: center;
    justify-content: center;
  }

  #sec1-img1 {
    margin: auto;
    float: none;
  }

  #sec1spe {
    margin-top: none;
  }

  #sec1-p1 {
    margin: 25px 0;
    margin-top: 1vh;
    display: inline-flex;
    float: none;
    padding: none;
    text-align: justify-all;
    max-width: 70%;
  }
  .sec1m2-p2 {
    margin-top: none;
    min-width: 90%;
  }
  .sec1-write {
    margin: none;
    width: 100%;
    text-align: center;
  }
}

@media (max-width:525px) {
  #sec1-p1 {
    max-width: 100%;
  }
}

@media (max-width:310px) {
  #sec1-img1 img {
    width: 200px;
  }
}

.sec2-imgs {
  /*   float: left;
  margin-left: 20vh;
  display: flex;
  flex-direction: column; */
  display: grid;
  float: left;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  /*   grid-auto-rows: 350px; */
  /*   gap: 5px; */
  height: 60vh;
  padding-right: 10px;
  /*   grid-auto-flow: dense; */
}

.sec2-li-img:hover {
  transform: scale(1.15);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.sec2-li-img {
  margin-top: none;
  margin: 10px;
  width: 250px;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s ease;
}

#popup-bg {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 998;
  justify-content: center;
  align-items: center;
}

.btnGauche,
.btnDroit{
  display: none;
  position: fixed;
  top: 50%;
  right: 5%;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background-color: white;
  justify-content: center;
  cursor: pointer;
  align-items: center;
  font-size: 40px;
  z-index: 999;
}

.btnGauche{
  left: 5%;
}

.btnGauche.active,
.btnDroit.active,
#popup-bg.active{
  display: flex;
}

.btnDroit:hover #btn-icon {
  animation: enfuirDroite 0.6s;
}

@keyframes enfuirDroite {
  0% {
      transform: translateX(0);
  }

  25% {
      transform: translateX(5px)
  }

  50% {
      transform: translateX(0);
  }

  75% {
      transform: translateX(5px);
  }

  100% {
      transform: translateX(0)
  }
}

.btnGauche:hover #btn-icon {
  animation: enfuirGauche 0.6s;
}

@keyframes enfuirGauche {
  0% {
      transform: translateX(0);
  }

  25% {
      transform: translateX(-5px)
  }

  50% {
      transform: translateX(0);
  }

  75% {
      transform: translateX(-5px);
  }

  100% {
      transform: translateX(0)
  }
}

#popup-content {
  max-width: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: 0;
  z-index: 9999;
}

#popup-img {
  width: 100%;
  height: auto;
}

#popup-close {
  position: absolute;
  top: 2px;
  right: 2px;
  transform: translate(50%, -50%);
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 40px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#popup-close:hover {
  background-color: orange;
}

.sec2-vid {
  float: right;
  margin-right: 10vh;
  margin-top: 25px;
}

@media (max-width:1600px) {
  .sec2-vid {
    margin-right: 10vh;
  }

  .sec2-imgs {
    margin-left: 10vh;
  }
}

@media (max-width:705px){

  #popup-content{
    max-width: 70%;
  }

  .btnGauche{
    top: 82%;
    left: 35%;
  }

  .btnDroit{
    top: 82%;
    right: 35%;
  }
}

@media (max-width:1400px) {

  .sec2-vid {
    float: none;
    margin: auto;
    display: block;

  }

  video {
    display: block;
    margin: auto;
    width: 100%;
  }

  .sec2-imgs {
    float: none;
    display: flex;
    flex-direction: column;
    margin: auto;
    margin-top: 50px;
    height: auto;
    text-align: center;
  }

  .sec2-li-img {
    width: 40%;
    height: auto;
  }

}
.button-reserver {
  background-color: #ff4081;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.button-reserver:hover {
  background-color: #d81b60;
}

.button-reserver:active {
  background-color: #b0003a;
}


.critiques {
  margin-top: 5vh;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  line-height: 25px;
  font-size: 1.1em;
}

.critiques-h3 {
  margin-bottom: 15px;
  color: #800080;
  font-size: 1.3em;
}

.critiques-p {
  margin-bottom: 10px;
}

.critiques-p strong {
  margin-left: 10px;
}

.btn-epic {
  position: relative;
  margin: auto;
  width: 100%;
  max-width: 260px;
  height: 52px;
  background: #fff;
  transform: translate3d(0px, 0%, 0px);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .05em;
  border-radius: 20px;
  transition-delay: .6s;
  overflow: hidden;
  }
  .btn-epic:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #3ad2d0;
  border-radius: 50% 50% 0 0;
  transform: translateY(100%) scaleY(.5);
  transition: all .6s ease;
  }
  .btn-epic:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 0;
  transform: translateY(0) scaleY(1);
  transition: all .6s ease;
  }
  .btn-epic div {
  position: relative;
  top: 16px;
  width: 100%;
  height: 26px;
  text-transform: uppercase;
  overflow: hidden;
  }
  .btn-epic span {
  position: absolute;
  z-index: 1;
  top: 0;
  width: 100%;
  text-align: center;
  transition: transform .5s ease;
  }
  .btn-epic span:first-child {
  color: white;
  transform: translateY(24px);
  }
  .btn-epic span:last-child {
  color: #1E0F21;
  transform: translateY(0);
  }
  .btn-epic:hover {
  background: #3ad2d0;
  transition: all .2s linear;
  transition-delay: .6s;
  }

  #rsvd::after{
    content: '';
    display: block;
    margin: auto;
    width: 0;
    height: 2.5px;
    background: #dccdcd;
    transition: width .3s;
  }
  
  #rsvd:hover::after{
    width: 50%;
  }

  .btn-epic:hover:after {
  border-radius: 0 0 50% 50%;
  transform: translateY(-100%) scaleY(.5);
  transition-delay: 0;
  }
  .btn-epic:hover:before {
  border-radius: 0;
  transform: translateY(0) scaleY(1);
  transition-delay: 0;
  }
  .btn-epic:hover span:first-child {
  transform: translateY(0);
  }
  .btn-epic:hover span:last-child {
  transform: translateY(-24px);
  }



#hr-spe {
  color: #333;
  overflow: visible;
  text-align: center;
  border: none;
  margin-top: 50px;
  margin-left: 25px;
  margin-right: 25px;
  border-left: 3px double #333;
  height: 100px;
  width: 1px;
}

.critdossier {
  display: flex;
  flex-direction: row;
}
.starContainer{
  cursor: pointer;
  margin: none;
  padding: none;
}
.star {
  font-size: 1.5rem;
  transition: transform 0.2s ease-in-out;
}

.star:hover{
  transform: scale(1.2);
}

.hover {
  color: rgb(255, 196, 0);
}

.popupC {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  border-radius: 10px;
  flex-direction: column;
}

.popupC form{
  display: flex;
  flex-direction: column;
}

.btnCritique {
  padding: 10px;
  background-color: #216e24;
  color: #fff;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

.popupC button {
  padding: 10px;
  background-color: #216e24;
  color: #fff;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  margin: auto;
  margin-top: 20px;
}
.popupC input, .popupC textarea {
  padding: 8px;
  margin-bottom: 10px;
}

.critiques-container {
  margin: 20px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Espacement entre les critiques */
  justify-content: center;
}
.critique {
  border: 2px solid #ddd;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 15px 5px #ddd;
}

.stars {
  margin-bottom: 10px;
}

.critique-content {
  font-size: 16px;
}

.critique-text {
  margin-bottom: 10px;
}

.critique-meta {
  font-style: italic;
  font-size: 13px;
}

@media (max-width:1260px) {
  .critdossier {
    flex-direction: column;
    align-items: center;
  }

  .pesp {
    margin: 20px auto;
  }

  .critiques {
    margin: 30px auto 0 auto;
  }

  .critiques-p {
    text-align: center;
    margin: 10px auto;
    font-size: 1.2em;
  }

  .critiques-h3 {
    text-align: center;
    margin: auto;
    font-size: 1.3em;
  }
}