@import "settings.colors";

@import "mixins/settings.fonts";
@import "mixins/tools.mixins";

.c-error-404 {
  width: 80%;
  max-width: rem(640);
  margin: rem(10) auto rem(20);
}

.c-error-404__heading {
  text-align: center;
  text-transform: uppercase;
  font-size: rem(20);
  color: $color-grey-900;
  letter-spacing: 1.4px;
  @include font-gm-sans-bold;
}

.c-error-404__body {
  text-align: center;
  margin: 0 0 rem(20) 0;
  @include font-pratt;
  font-size: rem(18);
  color: $color-grey-900;
  line-height: rem(27);
  &::before {
    margin: 0 auto;
    content: "";
    width: 50%;
    height: 1px;
    display: block;
    border-top: 1px solid $color-grey-100;
  }
}

.c-error-404__foot {
  text-align: center;
  &::after {
    margin: 0 auto;
    content: "";
    width: 50%;
    height: 1px;
    display: block;
    border-top: 1px solid $color-grey-100;
  }
}

.c-error-404__action {
  display: inline-block;
  padding-bottom: rem(20);
  text-transform: uppercase;
  text-decoration: none;
  @include font-gm-sans-bold;
  font-size: rem(12);
  color: $color-red-500;
  letter-spacing: rem(1);
  &:hover,
  &:focus {
    text-decoration: underline;
  }
}
