:root {
  --homepage-h1-size: 34px;
  --homepage-h1-marg-bot: 30px;
  --homepage-h2-size: 24px;
  --homepage-flex-direction: column;
  --homepage-article-font-size: 18px;
}

.homepage__title {
  font-family: Arial, Helvetica, sans-serif;
}

.homepage article {
  font-family: "Times New Roman", Times, serif;
}

/***************/
/** HOMEPAGE ***/
/***************/

.homepage {
  margin-top: 10px;
  margin-bottom: 10px;
  flex-direction: column;
  display: flex;
}

.homepage__title {
  font-weight: normal;
  font-size: var(--homepage-h1-size);
  margin-bottom: var(--homepage-h1-marg-bot);
  letter-spacing: 0.3rem;
}

.homepage__infos {
  display: flex;
  justify-content: center;
  flex-direction: var(--homepage-flex-direction);
}

.homepage__infos article {
  font-size: var(--homepage-article-font-size);
  margin-bottom: var(--homepage-h1-marg-bot);
}

.homepage__infos article p {
  line-height: 1.6em;
}

.homepage__infos article h2 {
  font-size: var(--homepage-h2-size);
  font-weight: normal;
}

.homepage__infos .button {
  margin: 20px auto;
}

/* TABLET MODE */
@media screen and (min-width: 600px) {
  :root {
    --homepage-h1-size: 35px;
    --homepage-h2-size: 26px;
    --homepage-article-font-size: 20px;
  }
}

/* DESKTOP MODE */
@media screen and (min-width: 1000px) {
  :root {
    --homepage-flex-direction: row;
    --homepage-h1-marg-bot: 70px;
  }

  main {
    display: flex;
    align-items: center;
  }

  .homepage {
    /* align-items: center; */
    width: 100%;
  }

  .homepage__title,
  .homepage__infos {
    margin-left: 13%;
  }

  .homepage__infos {
    justify-content: space-between;
    width: 75%;
  }

  .homepage__infos article {
    width: 40%;
  }
}
