._layout {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
}

._backdrop {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

._content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

._form-box {
  display: flex;
  width: 100%;
}

._form-box-cover {
  display: none;
  flex: 1;
  padding: 36px;

  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

._form-box-inner {
  width: 100%;
  padding: 36px 36px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;

  button {
    margin-top: 8px;
  }
}

._logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;

  img {
    height: 36px;
  }

  h1 {
    margin: 0 0 0 12px;
    color: rgba(0, 0, 0, .65);
    font-size: 24px;
    font-weight: bold;
    font-family: Avenir, Helvetica Neue, Arial, Helvetica, sans-serif;
  }
}

._copy {
  text-align: center;
  text-shadow: -1px -1px 0 rgba(255, 255, 255, .65);
  padding: 16px 36px;

  a {
    color: rgba(0, 0, 0, .45);
  }
}

@media (min-width: 428px) {
  ._backdrop {
    display: block;
  }

  ._form-box {
    width: 380px;
    margin-top: 24px;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 3px 6px -4px rgba(0, 0, 0, .12),
      0 6px 16px 0 rgba(0, 0, 0, .08),
      0 9px 28px 8px rgba(0, 0, 0, .05);
  }

  ._form-box-inner {
    width: 380px;
    padding-bottom: 36px;
  }

  ._logo {
    justify-content: flex-start;
  }
}

@media (min-width: 908px) {
  ._form-box {
    width: 860px;
    height: 420px;
  }

  ._form-box-cover {
    display: block;
  }

  ._logo {
    margin-bottom: 36px;
  }
}
