@import "settings.colors";

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

.c-error-404 {
  margin: rem(10) auto rem(20);
}

.c-error-404__heading {
  text-align: center;
  text-transform: uppercase;
  font-size: rem(16);
  letter-spacing: 1px;
  line-height: 1;
  color: $color-grey-900;
  margin: rem(20) 0 0;
  @include font-gm-sans-bold;
  &::after {
    margin: rem(20) auto 0;
    content: "";
    width: 50%;
    height: 1px;
    display: block;
    border-top: 1px solid $color-stone-300;
  }
}

.c-error-404__body {
  text-align: center;
  margin: rem(40) 0 0;
  @include font-pratt;
  font-size: rem(19);
  color: $color-grey-900;
  line-height: line-height(19, 27);
  letter-spacing: 0;
  &::after {
    margin: rem(40) auto 0;
    content: "";
    width: 50%;
    height: 1px;
    display: block;
    border-top: 1px solid $color-stone-300;
  }
}

.c-error-404__foot {
  text-align: center;
  margin: rem(40) auto 0;
}

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