.container {
  display: flex;
  align-items: flex-start;
  margin: 100px auto;
  max-width: 70%;
  flex-direction: column;
}
div.container div.title {
  font-size: 40px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 10px;
  height: 90px;
  text-align: left;
  width: 350px;
  border-bottom: 1px solid var(--border-color-secondary);
}

div.title p.title {
  margin-left: 10px;
}

p.title#ttt {
  width: 150%;
}

div.contain {
  display: flex;
  text-align: center;
  width: 100%;
  flex-direction: column;
  align-items: center;
}

div.contain p.text {
  margin-right: 250px;
  text-align: left;
  width: 65%;
}

.customdiv {
  display: block;
  margin: auto;
}

button.btn {
  width: 150px;
  height: 50px;
  text-align: center;
  text-transform: uppercase;
}

.btn.icon {
  background: transparent;
  width: fit-content;
  border-radius: 50%;
}

/* CSS Why tutorial  */
div.why {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 100px auto;
  padding: 50px auto;
  max-width: 100%;
}

div.why div.title {
  font-size: 40px;
  font-weight: bold;
  margin: auto;
  margin-top: 100px;
  text-transform: uppercase;
  margin-bottom: 90px;
  height: 55px;
  text-align: center;
  width: 700px;
  border-bottom: 1px solid var(--border-color-secondary);
}

div.why div.listcard {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
}

div.why div.card {
  display: none;
  position: absolute;
  background: var(--card-bg);
  border-radius: 5px;
  padding: 0 10px 0 10px;
  text-align: left;
  max-width: 300px;
  max-height: 150px;
  width: 100%;
  height: 100%;
  margin: auto;
  /* Centrer horizontalement */
  box-shadow: 0 0 20px var(--bg-shadow);
}

div.why div.card.active {
  margin: auto;
  /* Centrer horizontalement */
  display: flex;
}


/* CSS Features  */

.features-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.features-title h1 {
  font-weight: bold;
  padding-bottom: 100px;
  text-align: center;
}

.features-items {
  width: 300px;
  margin-right: 50px;
  min-height: 200px;
  background-color: var(--card-bg);;
  box-shadow: 0 0 10px 0 var(--bg-shadow);
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
}

.features-items:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px 0 var(--bg-shadow);
}

.features-title {
  font-size: large;
  font-weight: bold;
  margin-top: -40px;
  margin-bottom: -10px;
}

.features-description {
  color: var(--text-main);
  width: 90%;
  text-align: center;
  margin: auto;
}

.features-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--box-bg-color);
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
  top: 50%;
  box-shadow: 0 -5px 10px 0 var(--bg-shadow);
  transform: translateY(-50%);
}

.features-icon i {
  font-size: 2rem;
  color: var(--icon-color);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* CSS Avis Client */
div.avisclient {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 100px auto;
  padding: 50px auto;
  max-width: 100%;
}

div.avisclient div.title {
  font-size: 40px;
  font-weight: bold;
  margin-top: 100px;
  text-transform: uppercase;
  margin-bottom: 50px;
  height: 55px;
  text-align: center;
  width: 700px;
  border-bottom: 1px solid var(--border-color-secondary);
}

div.avisclient div.avis {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
}

div.avisclient div.card {
  display: none;
  background: var(--card-bg);
  border-radius: 5px;
  padding: 0 10px 0 10px;
  text-align: left;
  max-width: 300px;
  max-height: 150px;
  width: 100%;
  height: 100%;
  margin: auto;
  /* Centrer horizontalement */
  box-shadow: 0 0 20px var(--bg-shadow);
}

div.avisclient div.card.active {
  margin: auto;
  display: flex;
}

/* Card Postule */
.convaincre {
  margin-top: 150px;
  text-align: left;
  padding: 50px 0;
  background: var(--main-color);
}

.convaincre .row {
  display: flex;
  padding: 0 40px;
  margin: 0 auto;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.convaincre .row .title {
  font-size: 28px;
  font-weight: 500;
  margin: 0;
}

.convaincre button {
  width: 200px;
  margin-left: 200px;
}

.col-min-6 {
  width: 50%;
}












/* Other CSS */
.frame {
  flex-grow: 1;
  flex-basis: 200;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  padding: 10px;
  text-align: left;
  width: 300px;
  height: 60px;
  box-shadow: 0 0 20px var(--bg-shadow);
  background-color: var(--card-bg);
  margin: 15px;
}

.frame .frame-title {
  font-size: 16px;
  margin: 0;
  margin-bottom: 10px;
}

.frame .frame-contain {
  font-size: 22px;
  margin: 0;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  margin: 20px;
}

.card-header {
  border: none;
  border-bottom: solid 1px var(--border-color-secondary);
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 5px;
  padding-left: 10px;
  margin: 0 -10px;
}

.card-menu {
  flex-grow: 1;
  flex-basis: 350px;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  padding: 10px;
  text-align: left;
  max-width: 400px;
  box-shadow: 0 0 20px var(--bg-shadow);
  background-color: var(--card-bg);
  margin: 15px;
  max-height: 600px;
}

.card-title {
  font-size: 18px;
  margin: 0;
}

.card-content {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: max-content;
  overflow: hidden;
  overflow-y: auto;
  align-items: left;
}

.card-menu.custom-card {
  max-width: fit-content;
}

.card-content p {
  width: fit-content;
  margin: 0;
}

form input {
  margin: 0 auto;
  margin-bottom: 10px;
  padding: 10px;
  width: 340px;
  border: none;
  background-color: var(--color-tertiary);
  border-radius: 10px;
  text-align: left;
  color: var(--text-main);
  font-size: 16px;
  outline: none;
}

form .passText {
  font-weight: bold;
  margin: 0 auto;
  margin-bottom: 5px;
}

form input:focus {
  background-color: var(--color-tertiary);
}

/* Responsive for screens less than 1024px */
@media screen and (max-width: 1024px) {
  .container, .features-content {
    margin: auto;
    max-width: 90%;
  }

  .features-items {
    margin: auto;
    width: 90%;
  }

  .features-items:not(:last-child) {
    margin-bottom: 70px;
  }

  .features-title h1 {
    font-size: 28px;
    padding-bottom: 50px;
  }

  div.why div.title, div.avisclient div.title {
    font-size: 30px;
    width: 90%;
  }
  .col-min-6 {
    width: 100%;
  }
}

/* Responsive for screens less than 768px */
@media screen and (max-width: 768px) {
  .container {
    margin: 50px auto;
    padding: 10px;
    max-width: 95%;
  }

  div.title p.title#ttt {
    width: 100%;
  }

  div.container div.title, div.why div.title, div.avisclient div.title {
    font-size: 24px;
    width: 90%;
  }

  div.contain p.text {
    margin-right: 0;
    width: 100%;
    text-align: center;
  }

  .features-items {
    margin: auto;
    width: 90%;
  }

  .features-items:not(:last-child) {
    margin-bottom: 70px;
  }

  button.btn {
    margin: auto;
  }

  .features-title h1 {
    font-size: 24px;
    padding-bottom: 30px;
  }
  .col-min-6 {
    width: 100%;
  }
}

/* Responsive for screens less than 480px */
@media screen and (max-width: 480px) {
  .container {
    margin: 30px auto;
  }

  div.container div.title, div.why div.title, div.avisclient div.title {
    font-size: 20px;
    height: auto;
  }

  .features-items {
    margin: auto;
    width: 90%;
  }

  .features-items:not(:last-child) {
    margin-bottom: 70px;
  }

  .features-title h1 {
    font-size: 20px;
  }

  button.btn {
    margin: auto;
  }

  div.why div.listcard {
    flex-direction: column;
  }

  .convaincre .row {
    flex-direction: column;
}

  .features-content {
    margin: auto;
    flex-direction: column;
  }
  .col-min-6 {
    width: 100%;
  }
}
