/* Place all the styles related to the errors controller here. */
/* They will automatically be included in application.css. */
/* You can use Sass (SCSS) here: http://sass-lang.com/ */

#errors-container {
  margin-right: auto;
  margin-left: auto;
  max-width: 970px;
  font-family: var(--font-family-text);

  h1 {
    margin-top: 5px;
    font-size: 32px;
    margin-bottom: 25px;
    text-align: center;
  }

  img {
    max-width: 100%;
    margin-bottom: 20px;
  }

  p {
    margin-left: 0px;
    color: #333333;
    font-size: 18px;
    line-height: 28px;
  }

  .help {
    color: var(--color-turquoise);
    font-size: 18px;
    margin-bottom: 30px;
  }

  .back {
    text-align: center;

    /* .btn est posé sur le lien lui-même dans les deux gabarits d'erreur : `@extend .btn` faisait */
    /* entrer ce sélecteur dans les 70 règles de la feuille compilée qui mentionnent .btn, dont */
    /* beaucoup contextuelles (.btn-group > .btn, .input-group-btn > .btn…). Écrire la classe est la */
    /* seule chose qui les reproduise toutes, au même endroit de la cascade (étape 6c, docs/hotwire.md). */
    a {
      color: var(--color-white);
      font-weight: bold;
      background-color: var(--color-turquoise);
      border-color: var(--color-turquoise);
      font-size: 18px;

      &:hover {
        color: var(--color-white);
        font-weight: bold;
        background-color: var(--color-hover-turquoise);
        border-color: var(--color-hover-turquoise);
      }
    }
  }
}

@media (max-width: 767px) {
  #errors-container{
    margin: 30px 10px 0px 10px;
  }
  }
