.error-page {
  width: 100%;
  background-color: #fff;
  margin-bottom: -135px;

  @include md {
    margin-bottom: 0;
  }

  &--missing-trans {
    background-color: $primary-color;
  }

  &__header {
    position: relative;
    width: 100%;
    height: 575px;
    z-index: 0;
    display: flex;
    align-items: center;
    padding-bottom: 100px;

    @include sm {
      height: 420px;
      padding-bottom: 30px;
    }
  }

  &__header-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;

    &::after {
      content: ' ';
      position: absolute;
      display: block;
      width: 100%;
      height: 100%;
      top: 0;
      left :0;
      background-color: rgba(0, 0, 0, 0.4);
    }
  }

  &__header-info {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: $header-content-width;
    margin: 0 auto;

    @include md {
      padding: 0 48px;
    }

    @include sm {
      text-align: center;
    }

    h1 {
      font-size: 5.8rem;
      line-height: 6.7rem;
      margin: 0;
      color: $white;

      @include md {
        font-size: 4.8rem;
        line-height: 5.7rem;
      }

      @include sm {
        font-size: 3.2rem;
        line-height: 4rem;
      }
    }

    h2 {
      margin-bottom: 2rem;
      margin-top: 1rem;
      font-size: 2.1rem;
      line-height: 2.7rem;
      color: $white;
      font-weight: 400;

      @include md {
        font-size: 2.0rem;
        line-height: 2.4rem;
      }

      @include sm {
        font-size: 1.8rem;
        line-height: 2.2rem;
      }
    }
  }

  &__header-search {
    position: relative;
    width: 100%;
    max-width: 360px;

    @include sm {
      margin: auto;
    }

    input {
      width: 100%;
      height: 60px;
      border-radius: 30px;
      padding-left: 20px;
      padding-right: 70px;

      &::placeholder {
        color: $gray-70;
      }

      @include sm {
        height: 48px;
        border-radius: 24px;
        font-size: 1.4rem;
      }
    }

    button {
      width: 60px;
      height: 60px;
      border-radius: 100%;
      border: 0;
      background-color: $medium-color;
      position: absolute;
      top: 0;
      right: 0;
      padding: 18px;
      cursor: pointer;

      @include sm {
        width: 48px;
        height: 48px;
        padding: 16px;
      }

      svg, g, path {
        fill: $white;
      }
    }

    a {
      font-size: 1.4rem;
      line-height: 2.1rem;
      color: $white;
      margin-top: 1rem;
      display: flex;
      align-items: center;
      font-weight: 600;

      @include sm {
        justify-content: center;
      }

      svg {
        width: 8px;
        height: 8px;
        transform: rotate(-90deg);
        margin-left: 5px;
        margin-top: 2px;
      }
    }
  }

  &__header-image-caption {
    color: $white;
    font-size: 1.4rem;
    line-height: 1.7rem;
    position: absolute;
    width: 100%;
    max-width: $header-content-width;
    display: block;
    left: 50%;
    transform: translateX(-50%);
    bottom: 100px;

    @include md {
      padding: 0 40px;
      bottom: 10px;
    }

    @include sm {
      text-align: center;
    }

    a {
      color: $white;
      font-size: 1.4rem;
      line-height: 1.7rem;
      text-decoration: underline;
    }
  }

  &__content {
    position: relative;
    width: 100%;
    max-width: $projects-detail-width;
    margin: -85px auto 0;
    background-color: $white;
    height: 85px;

    @include md {
      display: none;
    }

    @include sm {
      display: none;
    }
  }

  &__alternative-lang-btns {
    display: flex;
    margin-top: -8px;

    @include sm {
      display: none;
    }
  }

  &__alternative-lang-btn {
    position: relative;
    margin-right: 8px;

    &::before {
      content: '';
      position: absolute;
      left: 12px;
      top: 9px;
      width: 16px;
      height: 16px;
      background-color: $white;
      mask: url('../../../assets/img/svg/world-thin-blue.svg') no-repeat center center;
      mask-size: 100%;
      transition: background-color 250ms ease-out;
    }

    &:hover::before {
      background-color: $primary-color;
    }
  }

  &__alternative-lang-more {
    margin-top: 16px;

    .link-left-arrow {
      color: $white;

      @include sm {
        display: none;
      }
    }
  }

  &__alternative-lang-mobile-button {
    position: relative;
    background-color: $white;
    border-radius: 8px;
    border: 1px solid $gray-border;
    font-size: 1.8rem;
    align-items: center;
    height: 49px;
    width: 100%;
    padding: 3px 40px 0 50px;
    display: none;

    &::before {
      content: '';
      position: absolute;
      left: 16px;
      top: 15px;
      width: 18px;
      height: 18px;
      background: url('../../../assets/img/svg/world-thin-blue.svg') no-repeat center center;
      background-size: 100%;
    }

    &::after {
      content: "";
      position: absolute;
      right: 16px;
      top: 15px;
      width: 12px;
      height: 12px;
      border-bottom: 1px solid;
      border-right: 1px solid;
      transform: rotate(45deg);
    }

    @include sm {
      display: flex;
    }
  }
}
