:root {
  --border-color: #ffecd3;
  --btn-active: #b24a3b;
}

h1 {
  text-align: center;
  font-size: 4rem;
  margin-bottom: 1.5em;
  text-transform: uppercase;
  padding: 1em;
}

h4 {
  font-family: var(--font-h1);
  color: var(--primary-color);
  margin-top: 0.6rem;
}

.a-venir, .passes {
  position: relative;
  /* border: solid red 1px; */
}

.soirees, .animations{
  padding-top: 6em;
}

.card-image,
.card-texte {
  transition: transform 0.5s ease-in-out;
}

.card-hidden {
  display: none;
  transition: 0.5s ease-in-out;
  animation: slideOut 0.5s cubic-bezier(0.42, 0, 0.07, 1) forwards;
}

.card-active {
  display: block;
  transition: 0.5s ease-in-out;
}

.flex-btn {
  display: flex;
  justify-content: space-around;
  border-bottom: solid 3px var(--border-color);
}

.btn {
  font-family: var(--font-h1);
  color: var(--text-color);
  background-color: #ffffff00;
  line-height: 1;
  font-size: 1.5rem;
  /* padding: 1.2rem 5rem; */
  border: solid 3px;
  border-color: var(--border-color);
  border-radius: 10px 10px 0 0;
  transform: translateY(3px);
  height: 62px;

  &.active{
    background-color: var(--btn-active);
    font-weight: 900;
    border-bottom: 0;
    text-shadow: 1px 1px 2px black;
  }
}

.spectacles-container {
  position: relative;
  z-index: 1;
  padding: 1px 20px 11px 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  clip-path: polygon(0 0, 100% 0%, 100% 90%, 0% 100%);
  background-color: #bd6d4b;
}

.animations {
  background-color: #bd6d4b;
}

.flex-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 10px;
  z-index: 4;
}

.bandeau-up {
  margin-left: 4.85vw;
  width: 12.5vw;
  height: 18.5vh;
  background: linear-gradient(
    0deg,
    rgba(178, 74, 59, 1) 0%,
    rgba(235, 199, 190, 0.2) 100%,
    rgba(255, 246, 247, 0) 90%
  );
  border-left: 3px solid;
  border-right: 3px solid;
  border-image-slice: 1;
  border-width: 3px;
  border-image-source: linear-gradient(
    0deg,
    rgba(255, 236, 211, 1) 20%,
    rgba(255, 246, 247, 0) 90%
  );
}

.bandeau-down {
  margin-left: 4.85vw;
  width: 12.5vw;
  height: 32.3vh;
  background: linear-gradient(
    180deg,
    rgba(178, 74, 59, 1) 0%,
    rgba(235, 199, 190, 0.2) 100%,
    rgba(255, 246, 247, 0) 90%
  );
  border-left: 3px solid;
  border-right: 3px solid;
  border-image-slice: 1;
  border-width: 3px;
  border-image-source: linear-gradient(
    180deg,
    rgba(255, 236, 211, 1) 20%,
    rgba(255, 246, 247, 0) 90%
  );
  transition: height 0.5s ease-in-out;
}

.long {
  height: 200px;
}

.card-image {
  background-color: #b24a3b;
  outline: 3px solid;
  border-color: var(--border-color);
  border-radius: 18px;
  min-width: 28vw;
  height: 600px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.card-image {
  & > p {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    padding: 0 16px;
  }

  .no-event-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
    text-align: center;

    .card-title-box-dl {
      height: auto;
    }
  }

}

.image-carousel {
  border-radius: 18px;
  width: 100%;
  max-height: 100%;
}

.card-texte {
  display: flex;
  background-color: #c07c5fad;
  border: solid 3px;
  border-color: var(--border-color);
  border-radius: 18px;
  width: 50vw;
  color: #fff;
  align-items: center;
}

.fond-gris {
  background-color: #a1897f;
}

.card-texte > .date {
  width: auto;
  flex: 1;
  margin: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
}

.date > p {
  margin-bottom: 0;
  font-family: "Actor-Regular.ttf";
  font-weight: 250;
  font-size: 24px;
}

.date > p::first-letter {
  text-transform: uppercase;
}

.date > .grand-chiffre {
  font-family: "Actor-Regular.ttf";
  font-weight: 700;
  font-size: 80px;
  line-height: 1em;
}

.card-texte > .texte {
  padding: 16px;
  width: 100%;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.card-texte > .texte::-webkit-scrollbar {
  display: none;
}

.texte > p {
  font-family: "Actor-Regular.ttf";
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5rem;
}

.texte > .titre {
  text-align: center;
  font-weight: bold;
  font-size: 30px;
  margin-bottom: 1.5rem;
}

.btn-carousel {
  text-align: center;
  margin: 30px;
}

.btn-carousel > img {
  transition: 0.4s;
  cursor: pointer;
}

.btn-carousel > img:hover {
  transform: scale(1.2);
}

.soirees-container {
  background-color: #bd6d4b;
}

.fond {
  position: relative;
  background-color: var(--background-color);
  z-index: 1;
  padding: 0 20px 0px 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 90%);
}

.animations-container {
  background-color: #bd6d4b;
}

#spectacles-list {
  background-color: #ad7560;
  clip-path: polygon(0 0, 100% 0%, 100% 90%, 0% 100%) !important;
}

/* #soirees-list, */
#animations-list {
  background-color: #ad7560;
}

.list {
  padding: 4em 10em 12em;
}

.ligne {
  display: flex;
  /* height: 32vh; */
  margin-bottom: 1.5em;
}

.info {
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  margin-left: 1.5em;
  outline: 3px solid;
  border-color: var(--border-color);
  border-radius: 18px;
  padding: 1rem;
  transition: all 0.5s ease-out;
  width: 100%;
  row-gap: 14%;
  column-gap: 5%;
  overflow-y: scroll;
}

.soirees-container .info {
  margin-left: 0;
  margin-right: 1.5em;
}

.img-list {
  outline: 3px solid;
  border-color: var(--border-color);
  border-radius: 18px;
  width: 33%;
}

.img-list > img {
  filter: contrast(50%);
  width: 100%;
  height: 100%;
  border-radius: 18px;
  transition: all 0.5s ease-out;
}

.spectacles-container .img-list {
  width: 33%;
}

.date-passes {
  background-color: #fbf0d838;
  outline: 3px solid;
  border-color: var(--border-color);
  border-radius: 18px;
  text-align: center;
  padding: 5px 20px;
  margin-bottom: 1rem;
  min-width: fit-content;

  & > p {
    margin-bottom: 16px;
  }
}

.date-passes > p::first-letter {
  text-transform: uppercase;
}

.date-passes > .grand-chiffre {
  line-height: 10px;
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 16px;
}

.date-passes > .mois {
  margin-bottom: 0;
  font-weight: bold;
  letter-spacing: 2px;
}

.info-texte > p {
  font-family: var(--font-h1);
  font-size: 15px;
  margin-bottom: 16px;
}

.info-titre {
  font-family: var(--font-h1);
  font-size: 24px;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 15px;
}

.spectacles-container .ligne:hover > .info {
  background-color: #fbf0d838;
  transition: all 0.5s ease-out;
}

.spectacles-container .ligne:hover > .img-list > img,
.soirees-container .ligne:hover > .img-list > img,
.animations-container .ligne:hover > .img-list > img {
  filter: none;
  transition: all 0.5s ease-out;
}

.soirees-container .ligne:hover > .info {
  background: linear-gradient(
    135deg,
    rgba(165, 119, 99, 1) 19%,
    rgba(251, 240, 216, 0.4206932773109243) 100%
  );
  transition: all 0.5s ease-out;
}

.animations-container .ligne:hover > .info {
  background: linear-gradient(
    150deg,
    rgba(178, 74, 59, 1) 19%,
    rgba(251, 240, 216, 0.4206932773109243) 100%
  );
  transition: all 0.5s ease-out;
}

.rien-afficher {
  display: flex;
  flex-direction: column;
}

.btn-reserver-spectacles,
.btn-reserver-soirees,
.btn-reserver-animations {
  display: flex;
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  bottom: -4em;
}

.list > .card-title-box-dl {
  display: flex;
  position: relative;
  justify-content: center;
  bottom: -4vw;
}

.card-title-box-dl {
  background-color: var(--text-color);
  color: #ad7560;
  width: 140px;
  height: 40px;
  border-radius: 10px;
  transform: scale(0.95);
  transition: 0.5s;
  margin: 0 auto;
  text-align: center;
}

.card-title-box-dl:hover {
  box-shadow: #30303085 10px 10px 15px;
  transform: scale(1.05);
  transition: 0.5s;
}

@media screen and (max-width: 1024px) {
  .spectacles, .soirees {
    margin-bottom: 4em;
  }
  .spectacles-container {
    clip-path: none;
    padding: unset;
  }
  .flex-container {
    flex-wrap: wrap;
    padding: 3em 0 5em 0;
  }
  .bandeau-up,
  .bandeau-down {
    display: none;
  }
  .card-image {
    width: 60vw;
    height: auto;
  }
  .card-texte {
    flex-wrap: wrap;
    width: 60vw;
    height: unset;
  }
  .card-texte > .date {
    margin: 16px 0;
  }
  .card-texte > .texte > p {
    font-weight: unset;
    font-size: unset;
    line-height: unset;

    &.titre {
      font-size: 30px;
    }
  }
  .animations {
  background: none;
}
  #spectacles-list {
    clip-path: none !important;
  }
  .list {
    padding: 3em 1.5em;
  }
  .fond {
    clip-path: none;
  }
  .ligne {
    height: unset;
    margin-bottom: 3em;
  }
  .img-list {
    display: none;
  }
  .info {
    flex-direction: column;
    overflow-y: unset;
    margin-left: unset;
  }
  .info-titre {
    line-height: unset;
  }
}

@media screen and (max-width: 694px) {
  h1 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 1.5em;
    text-transform: uppercase;
    padding: 20px;
  }
  .flex-btn {
    /* flex-wrap: wrap; */
    gap: 10px;
    padding: 0 10%;
  }
  .flex-btn > button {
    width: 100%;
    padding: 0;
    font-size: 16px;
  }

  .soirees, .animations{
    padding-top: 2em;
  }

  .spectacles-container {
    clip-path: none;
    padding: unset;
  }
  .bandeau-up,
  .bandeau-down {
    display: none;
  }
  .card-image {
    width: 78vw;
  }
  .card-texte {
    flex-wrap: wrap;
    width: 78vw;
    height: unset;
  }
  /* .card-texte > .date {
    margin: auto;
  } */
  .card-texte > .texte > p {
    font-weight: unset;
    font-size: unset;
    line-height: unset;
  }
  #spectacles-list {
    clip-path: none !important;
  }
  .list {
    padding: 3em 1.5em;
  }
  .fond {
    clip-path: none;
  }
  .ligne {
    height: unset;
    margin-bottom: 3em;
  }
  .img-list {
    display: none;
  }
  .info {
    overflow-y: unset;
    margin-left: unset;
  }
  .info-titre {
    line-height: unset;
  }
}