.certification-error-page {
  display: flex;
  flex-flow: column wrap;
  align-self: center;
  background-color: $alabaster-grey;
  color: $charcoal-grey;
  text-rendering: optimizeLegibility;
  min-height: calc(100VH - 140px - #{$footer-height});
}

.certification-error-page__panel {
  margin-left: 10px;
  margin-right: 10px;
  display: flex;
  flex-direction: column;
  margin-bottom: 50px;
  padding: 20px;
  margin-top: 50px;
  z-index: 1;
  align-self: center;

  @include device-is('desktop') {
    width: 940px;
    padding: 50px 70px 40px;
  }
}

.certification-error-page__button {
  background-color: $pix-blue;
  color: $white;
  width: 173px;
  border-radius: 5px;
  text-align: center;
  font-size: 12px;
  font-family: $font-lato;
  text-transform: uppercase;
  line-height: 36px;
  letter-spacing: 1px;
  align-self: center;
  margin-top: 20px;
  margin-bottom: 20px;
  cursor: pointer;
  &:hover {
    color: $white;
    text-decoration: none;
  }
}

/* Specific styles */
.certification-error-page__ribbon {
  height: 180px;
  position: absolute;
  top: 120px;
  @include device-is('desktop') {
    top: 140px;
  }
}

.certification-error-page__title {
  font-family: $font-raleway;
  font-weight: $font-bold;
  text-align: center;
  font-size: 36px;
  line-height: 42px;
}

.certification-error-page__text {
  font-family: $font-raleway;
  text-align: left;
  font-size: 20px;
  line-height: 24px;
  margin-top: 58px;
}
