.error-404 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 80px 260px 100px;
  text-align: center;
  gap: 40px;

  h2 {
    font-size: var(--h2-font-size);
    font-weight: 700;
    line-height: var(--h2-line-height);
  }

  .wp-element-button {
    font-weight: 500;
    padding: 10px 20px;
    font-size: 18px;
    color: var(--bleu-100-texte);
    background-color: var(--blanc);
    border: 1px solid var(--bleu-80-principal);
    border-radius: 40px;

    &:hover {
      background-color: var(--bleu-80-principal);
      color: var(--blanc);
      border: 1px solid var(--bleu-80-principal);
    }

    &:focus {
      outline: 3px solid black;
    }

    &:active {
      background-color: var(--bleu-100-texte);
      border: 1px solid var(--bleu-100-texte);
      color: var(--blanc);
    }
  }
}

@media (max-width: 1024px) {
  .error-404 {
    padding: 80px 40px 100px;
  }
}

@media (max-width: 640px) {
  .error-404 h2 {
    font-size: var(--h2-font-size-mobile);
    line-height: var(--h2-line-height-mobile);
  }
}