@import url('https://api.fontshare.com/v2/css?f=satoshi@300,301,700,401,700,501,700,701,900,901,1,2&display=swap');

.row-content {
  display: flex;
  margin: 0 auto;
  width: 85vw;
  padding-top: 150px;
}

.row1 {
  flex: 1;
  margin-right: 50px;
}

.row1 section {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
}

.row2 {
  flex: 1;
  margin-left: 50px;
}

.texte {
  width: 100%;
}

.texte h1 {
  font-family: 'Satoshi', sans-serif;
  font-size: 34pt;
  line-height: 116%;
  font-weight: 900;
  color: #F5F5FF;
  max-width: 80%;
  margin-bottom: 40px;
}

.texte li {
  list-style: none; /* Enlève le style par défaut */
            font-family: 'Satoshi', sans-serif;
            font-weight: 700;
            font-size: 12pt;
            color: #F5F5FF;
            margin-bottom: 20px;
            padding-left: 15px; /* Crée un espace pour l'icône */
            background: url('../images/icon/list.svg') no-repeat left center;
            background-size: 8px 8px; /* Ajustez la taille du SVG */
}

.carousel {
  text-align: right;
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: 200ms opacity ease-in-out;
  transition-delay: 200ms;
}

.slide > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 15px;
}

.slide[data-active] {
  opacity: 1;
  z-index: 1;
  transition-delay: 0ms;
}

.carousel-button {
  position: absolute;
  z-index: 2;
  background: none;
  border: none;
  top: 50%;
  transform: translateY(-50%);
}


.carousel-button img {
  width: 40%;
  height: auto;
}

.carousel-button.prev {
  left: 5px;
}

.carousel-button.next {
  right: 5px;
}

.btn {
  height: 50px;
  border: none;
  outline: none;
  background-color: #ED1D24;
  color: #F5F5FF;
  font-family: 'Satoshi', sans-serif;
  font-size: 12pt;
  font-weight: 700;
  padding: 0 40px;
  border-radius: 8px;
  transition: color, background-color 0.3s;
}

.btn:hover {
  background-color: #F5F5FF;
  transition: color, background-color 0.3s;
  cursor: pointer;
  color: #ED1D24;
}

.description-memoire {
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  color: #A5A5B1;
  font-size: 10pt;
  width: 25vw;
  margin-top: 40px;
  line-height: 160%;
}

.conditions {
  margin-top: 15px;
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  color: #A5A5B1;
  font-size: 8pt;
}


@media screen and (max-width: 1024px) {

  body {
    overflow-y: auto;
  }

  .content {
    padding-top: 15px;
  }

  .row-content {
    flex-direction: column;
    width: 95vw;
  }

  .carousel {
    width: 95vw;
    height: 40vh;
  }

  .row1 {
    margin-right: 0;
  }

  .row2 {
    margin-left: 0;
  }

  .row1 section {
    justify-content: center;
  }

  .btn {
    width: 95vw;
    padding: 0 20px;
    height: 75px;
    font-size: 15pt;
  }

  .texte {
    margin-left: 0px;
    margin-top: 20px;
    width: 100%;
  }

  .texte h1 {
    font-size: 25pt;
    max-width: 100%;
  }

  .texte li {
    font-size: 18pt;
  }

  .description-memoire {
    font-size: 16pt;
    width: auto;
  }

  .conditions {
    font-size: 20pt;
  }
}
