:root {
  --bp-mobile: 600px;
  --bp-medium: 960px;
  --bp-hd: 1280px;
  --bp-fhd: 1920px;
  --black: #111111;
  --green: #5ddf9b;
  --green-light: #aff6d1;
  --blue: #96cbf0;
  --blue-light: #cbeaff;
  --red: #e36456;
  --red-light: #ffb3ab;
  --orange: #f8cd5f;
  --violet: #574eb4;
  --gray: #9c9c9c;
  --light-gray: #f0f0f0;
  --medium-gray: #bbbbbb;
  --white: #ffffff;
  --font-m-xxs: 12px;
  --font-m-xs: 14px;
  --font-m-s: 16px;
  --font-m-l: 22px;
  --font-m-xl: 37px;
  --font-root: 18px;
  --font-s: 14px;
  --font-m: 24px;
  --font-l: 30px;
  --font-xl: 55px;
  --font-xxl: 70px;
  --gutter-h: 24px;
  --gutter-v: 32px;
  --body-max-width: 100%;
  --header-h: 72px;
  --gutter-card-h: 24px;
  --gutter-card-v: 30px;
}

@font-face {
  font-family: "Baste";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/BasteA-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/NunitoSans-Regular.ttf") format("truetype");
}
body {
  margin: 0;
  padding: 24px;
  font-family: "Nunito";
  font-size: 18px;
}

a {
  color: inherit;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  text-align: center;
  padding: 24px;
  height: 66.666vh;
  border-radius: 8px;
  background: linear-gradient(290deg, var(--green) 3%, var(--blue) 34%, var(--white) 90%) no-repeat bottom left;
}
.hero h1 {
  font-family: "Baste";
  text-transform: uppercase;
  font-size: 24px;
}
.hero h1 a {
  text-decoration: underline;
}
.hero h2 {
  font-family: "Baste";
  text-transform: uppercase;
  font-size: 24px;
}
.hero form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero form input {
  min-width: 70%;
  padding: 0 24px;
  height: 48px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.hero form button {
  margin: 16px;
  border: none;
  border-radius: 8px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  box-sizing: border-box;
  white-space: nowrap;
  font-size: 16px;
  font-weight: bold;
  font-family: "Nunito", sans-serif;
  background: var(--black);
  color: var(--white);
  border: 1px solid transparent;
  cursor: pointer;
}
.hero form .nope {
  position: absolute;
  left: -9999px;
  height: 1px;
  width: 1px;
  min-width: auto;
}
.hero a {
  color: inherit;
  text-decoration: none;
}

.formMessages .message {
  display: none;
  margin: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  padding: 16px;
  text-align: center;
  font-size: var(--font-m-l);
  font-weight: 600;
  color: var(--black);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.1);
}
.formMessages .message:target {
  display: block;
}
.formMessages .success:target {
  background: linear-gradient(250deg, var(--green) 30%, var(--green-light) 80%, var(--white) 100%) no-repeat bottom left;
}
.formMessages .error:target {
  background-color: var(--red-light);
  color: var(--black);
}
.formMessages .warning:target {
  background-color: var(--orange);
  color: var(--black);
}

.formations > p {
  text-align: center;
}

.mission {
  margin: 48px 0;
  padding: 24px;
  text-align: center;
  background: linear-gradient(290deg, var(--green) 3%, var(--blue) 34%, var(--white) 90%) no-repeat bottom left;
}
.mission .br4 {
  display: none;
}
.mission__big {
  font-family: "Baste";
  text-transform: uppercase;
}
.mission__normal {
  font-size: var(--font-root);
}

.features .presentation {
  font-size: var(--font-m);
  font-weight: bold;
  margin-bottom: 16px;
}
.features .selection {
  margin: 48px 0;
}
.features .selection h2 {
  font-size: 18px;
  text-transform: uppercase;
  /* text-align: center; */
}
.features .selection ul {
  list-style-type: none;
  padding: 0;
}
.features .selection ul li {
  margin: 16px 0;
}

.supports h2 {
  font-size: 18px;
}
.supports img {
  max-width: 100%;
}

.br5,
.br6 {
  display: none;
}

.questions {
  padding: 24px 24px 48px;
  text-align: center;
}

footer {
  margin: 48px 0;
  text-align: center;
}

.card {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 8px 8px rgba(0, 0, 0, 0.1);
  margin: 24px auto;
  padding: 16px;
  /* width: calc(100% - 80px); */
  box-sizing: border-box;
  position: relative;
}
.card.free {
  border: 1px solid var(--green);
}
.card {
  /* &__tag {
      position: absolute;

      display: flex;
      justify-content: end;
      padding: 8px;

      &__text {
          background: var(--white);
          padding: 4px 8px;
          border-radius: 8px;
          font-size: var(--font-m-xxs);
      }
  } */
}
.card__img {
  height: 220px;
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
}
.card__title {
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 900;
  line-height: 29px;
}
.card__by__a {
  color: inherit;
  font-weight: bold;
  text-decoration: underline;
}
.card__infos {
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: center;
  gap: 12px 0;
  width: calc(100% - 8px);
  margin: 8px 0 0;
  box-sizing: border-box;
}
.card__infos__mode {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.card__infos__duration {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 8px;
}
.card__infos__price {
  color: var(--green);
  font-weight: bold;
}
.card__infos__btn {
  height: 38px;
}

@media (min-width: 600px) {
  :root {
    --body-max-width: 720px;
  }
  .hero {
    height: 50vh;
    margin: 48px 0;
  }
  .hero h1,
  .hero h2 {
    font-size: 30px;
  }
  .hero h2 {
    margin-top: 0;
  }
  .hero form input {
    min-width: 300px;
  }
  .hero form {
    flex-direction: row;
    gap: 16px;
  }
  .hero__intro > br {
    display: inline;
  }
  .mission {
    margin: 64px 0;
  }
  .mission__big {
    font-size: 30px;
  }
  .mission .br4 {
    display: inline;
  }
  .supports img {
    height: 100px;
  }
  .br2 {
    display: none;
  }
  .br5,
  .br6 {
    display: inline-block;
  }
  .btn {
    border: none;
    border-radius: 8px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    box-sizing: border-box;
    white-space: nowrap;
    font-size: 16px;
    font-weight: bold;
    font-family: "Nunito", sans-serif;
    color: inherit;
    text-decoration: none;
    width: 100%;
  }
  .btn.black {
    background: var(--black);
    color: var(--white);
    border: 1px solid transparent;
  }
  .btn.black.arrow {
    padding-right: 51px;
    background: var(--black) url("../img/arrow_white.svg") no-repeat calc(100% - 21px) center/11px 10px;
  }
  .cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 48px 0px;
    padding: 48px 0;
  }
  .card {
    margin: 0;
    /* width: calc(100% - 24px / 4 * 3); */
    width: calc(100% - 12px);
    align-self: stretch;
  }
}
@media (min-width: 960px) {
  :root {
    --body-max-width: 980px;
    --header-h: 120px;
  }
  body {
    padding: 0 calc((100vw - var(--body-max-width)) / 2);
  }
  .hero {
    /* margin: 48px 0; */
    height: auto;
  }
  .hero h1 {
    margin: 48px auto 0;
  }
  .hero h1,
  .hero h2 {
    font-size: 40px;
  }
  .hero .br1 {
    display: none;
  }
  .hero p {
    margin: 18px auto;
  }
  .hero form {
    margin: 16px auto;
  }
  .hero form input {
    min-width: 350px;
  }
  .hero small {
    margin: 0 0 36px;
  }
  .formations__intro {
    font-size: var(--font-l);
  }
  .mission {
    padding: 48px 96px;
  }
  .mission__big {
    font-size: 36px;
  }
  .mission__normal {
    font-size: 15px;
    font-weight: 600;
  }
  .features {
    padding: 24px 96px;
    display: grid;
    grid-template-columns: 33% 1fr;
    gap: 48px 96px;
    align-items: start;
  }
  .features p,
  .features h2 {
    margin: 0;
  }
  .features .selection {
    margin: 0;
  }
  .features .selection h2 {
    text-align: left;
  }
  .supports {
    margin: 24px 0 0;
  }
  .supports img {
    height: 120px;
  }
  .questions {
    grid-column: 1/-1;
  }
  .cards {
    padding: 0 0 48px;
  }
  .card {
    display: flex;
    flex-direction: column;
    align-self: stretch;
  }
  .card > p {
    flex-grow: 1;
  }
  .card .card__by + p {
    min-height: 88px;
  }
  .card .btn {
    font-size: var(--font-s);
  }
  .card__img {
    height: 300px;
  }
  .btn {
    width: auto;
    font-size: 20px;
    transition: all 0.1s;
    cursor: pointer;
  }
  .btn.black:hover {
    color: var(--black);
    background: var(--white);
    border: 1px solid var(--black);
  }
  .btn.black:hover.arrow {
    background: var(--white) url("../img/arrow.svg") no-repeat calc(100% - 21px) center/11px 10px;
  }
}
@media (min-width: 1366px) {
  :root {
    --body-max-width: 1280px;
  }
  .hero form input {
    min-width: 500px;
  }
  .hero__intro > br {
    display: none;
  }
  .hero p {
    font-size: 25px;
  }
  .mission {
    padding: 48px 192px;
  }
  .mission__big {
    font-size: 40px;
  }
  .mission__normal {
    font-size: 25px;
  }
  .features {
    padding: 24px 96px 24px 192px;
  }
  .cards {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .card {
    width: calc(100% - 18px);
  }
  .card__title {
    min-height: 90px;
  }
  .supports {
    padding: 0 192px;
  }
}
@media (min-width: 1920px) {
  :root {
    --body-max-width: 1512px;
  }
  .card__infos {
    gap: 12px;
  }
}

/*# sourceMappingURL=main.css.map */
