.formations {
  width: 90%;
  height: auto;
  margin-top: 50px;
  margin-left: 5%;
}

.formationsTitle {
  font-size: 40px;
  color: #23364d;
  padding-top: 40px;
  padding-bottom: 30px;
  margin-top: 50px;
}

.formationsDescription {
  width: 100%;
  color: #23364d;
  display: flex;
}

.descriptionBytext {
  width: 50%;
  display: flex;
  align-self: center;
  flex-wrap: wrap;
}

.descriptionByImage {
  width: 50%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.descriptionByImage > img {
  width: 80%;
}

.shortDescription {
  font-size: 50px;
}

.longDescription {
  font-size: 24px;
  margin-top: 20px;
}

.formationscards {
  width: 100%;
  margin-top: 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.businessCard {
  border-top: 5px solid #f9af2e;
  width: 49%;
  height: 240px;
  background: linear-gradient(135deg, #ffeed0 30%, rgba(255, 255, 255, 0.3));
  border-radius: 0px 0px 10px 10px;
  position: relative;
}

.studentCard {
  border-top: 5px solid #9dabf2;
  width: 49%;
  height: 280px;
  background: linear-gradient(135deg, rgb(223, 233, 255) 30%, rgba(255, 255, 255, 0.3));
  border-radius: 0px 0px 10px 10px;
  position: relative;
}

.formationsCardTitle {
  font-size: 34px;
  color: #23364d;
  padding: 20px 0 0 20px;
}

.formationsCardDescription {
  font-size: 20px;
  color: #23364db4;
  padding: 0 0 0 20px;
}

.moreAboutFormationsStudent {
  width: 250px;
  height: 40px;
  margin-left: 20px;
  border-radius: 5px;
  background-color: #526fff;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  position: absolute;
  bottom: 20px;
  cursor: pointer;
}

.moreAboutFormationsBusinese {
  width: 250px;
  height: 40px;
  margin-left: 20px;
  border-radius: 5px;
  background-color: #f9af2e;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  position: absolute;
  bottom: 20px;
  cursor: pointer;
}

@media (max-width: 1000px) {
  .formations {
    width: 90%;
    height: auto;
    margin-top: 50px;
    margin-left: 5%;
  }

  .formationsTitle {
    font-size: 40px;
    padding-top: 40px;
    padding-bottom: 30px;

    margin-top: 50px;
  }

  .formationsDescription {
    width: 100%;
    flex-wrap: wrap;
  }

  .descriptionBytext {
    width: 100%;
    align-self: center;
    flex-wrap: wrap;
  }

  .descriptionByImage {
    width: 100%;
    align-items: center;
    justify-content: flex-start;
  }

  .descriptionByImage > img {
    width: 90%;
    margin-top: 20px;
  }

  .shortDescription {
    font-size: 45px;
  }

  .longDescription {
    font-size: 24px;
    margin-top: 20px;
  }

  .formationscards {
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  .studentCardFirst {
    width: 100%;
    height: auto;
    margin-top: 0px !important;
  }

  .studentCard {
    width: 100%;
    height: auto;
    margin-top: 20px;
  }

  .formationsCardTitle {
    font-size: 34px;
    padding: 20px 0 0 20px;
  }

  .formationsCardDescription {
    font-size: 20px;
    padding: 0 0 0 20px;
  }

  .moreAboutFormationsStudent {
    width: 250px;
    height: 40px;
    margin-left: 20px;
    margin-top: 20px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
    position: initial;
  }

  .moreAboutFormationsBusinese {
    width: 250px;
    height: 40px;
    margin-left: 20px;
    margin-top: 20px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
    position: initial;
  }
}

@media (max-width: 700px) {
  .formations {
    width: 90%;
    margin-left: 5%;
  }

  .formationsTitle {
    font-size: 35px;
    padding-top: 40px;
    padding-bottom: 30px;
  }

  .shortDescription {
    font-size: 40px;
  }

  .longDescription {
    font-size: 20px;
    margin-top: 20px;
  }

  .formationscards {
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  .businessCard {
    width: 100%;
    height: auto;
  }

  .studentCard {
    width: 100%;
    height: auto;
    margin-top: 20px;
  }

  .formationsCardTitle {
    font-size: 34px;
    padding: 20px 0 0 20px;
  }

  .formationsCardDescription {
    font-size: 20px;
    padding: 0 0 0 20px;
  }

  .moreAboutFormationsStudent {
    width: 250px;
    height: 40px;
    margin-left: 20px;
    margin-top: 20px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
  }

  .moreAboutFormationsBusinese {
    width: 250px;
    height: 40px;
    margin-left: 20px;
    margin-top: 20px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
  }
}

@media (max-width: 400px) {
  .formations {
    width: 94%;
    margin-left: 3%;
  }

  .formationsTitle {
    font-size: 35px;
    padding-top: 40px;
    padding-bottom: 30px;
  }

  .shortDescription {
    font-size: 30px;
  }

  .longDescription {
    font-size: 18px;
    margin-top: 20px;
  }

  .formationscards {
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  .businessCard {
    width: 100%;
    height: auto;
  }

  .studentCard {
    width: 100%;
    height: auto;
    margin-top: 10px;
  }

  .formationsCardTitle {
    font-size: 28px;
    padding: 20px 0 0 20px;
  }

  .formationsCardDescription {
    font-size: 18px;
    padding: 0 0 0 20px;
  }

  .moreAboutFormationsStudent {
    width: 90%;
    height: 40px;
    margin-left: 5%;
    margin-top: 20px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
  }

  .moreAboutFormationsBusinese {
    width: 90%;
    height: 40px;
    margin-left: 5%;
    margin-top: 20px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
  }
}

.currentOpenFormationsWindow {
  width: 100%;
  height: 100%;
  background-color: #0000004d;
  position: fixed;
  top: 0;
  z-index: 99999;
  overflow-y: auto;
  overflow-x: hidden;
  display: block;
}

.closeCurrentOpenFormationsWindow {
  width: 100%;
  height: 40px;
  direction: rtl;
  display: block;
}

.closeCurrentOpenFormationsWindow > img {
  padding: 10px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ffffffb0;
}

.openFormationsBody {
  width: 100%;
  min-height: 100vh;
  background-color: #fff;
  border-radius: 10px;
  flex-wrap: wrap;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 3%;
}

.formationDetails {
  min-height: 900px;
  position: relative;
  background: linear-gradient(135deg, rgb(223, 233, 255) 30%, rgba(255, 255, 255, 0.3));
  border-top: 5px #617cff solid;
  margin-top: 30px;
  margin-left: 30px;
  flex-grow: 1;
  max-width: 31%;
}
@media (max-width: 1500px) {
  .formationDetails {
    max-width: 47%;
  }
}
@media (max-width: 1200px) {
  .formationDetails {
    max-width: 44%;
  }
}
@media (max-width: 800px) {
  .formationDetails {
    max-width: 94%;
    margin-left: 0;
  }
  .openFormationsBody {
    justify-content: center;
    padding: 1%;
  }
}
.formationDetailsBusinessCard {
  border-top: 5px solid #f9af2e !important;
  background: linear-gradient(135deg, #ffeed0 30%, rgba(255, 255, 255, 0.3)) !important;
}

.formationImgContainer {
  margin-top: 5px;
  width: 96%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-left: 2%;
  border-radius: 5px;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  background-position: center;
}

.formationImgContainer > img {
  width: 100%;
  height: auto;
}

.formationTitle {
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 5%;
  padding-right: 5%;
  font-size: 28px;
  color: #23364d;
}

.formationDescription {
  font-size: 18px;
  padding-top: 0px;
  padding-bottom: 20px;
  padding-left: 5%;
  padding-right: 5%;
  color: #23364d;
  line-height: 25px;
  word-spacing: 1px;
}

.registreToFormation {
  width: 96%;
  margin-left: 2%;
  margin-right: 2%;
  position: absolute;
  border: 2px #23364d solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #23364d;
  padding: 5px;
  bottom: 5px;
  cursor: pointer;
}

.registreToFormation:hover {
  color: rgb(231, 231, 231);
  background-color: #23364d;
}

.formationDuration {
  width: 100%;
  margin-top: 10px;
  margin-left: 5%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.formationDuration > img {
  width: 30px;
}

.formationDuration > span:first-of-type {
  color: #23364d;
  font-size: 22px;
  margin-left: 10px;
}

.formationDuration > span:nth-of-type(2) {
  color: #23364d;
  font-size: 14px;
  margin-left: 2px;
}
.endDateContainerFormationCard {
  margin-bottom: 60px !important;
}
