.bg-image {
  background-image: url("../img/img-bg-image.png");
  background-size: cover;
  background-position: center;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 20px;
}

.bg-image .container {
  max-width: 1180px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
  gap: 119px;
}

.text {
  flex: 1;
  max-width: 531px;
  width: 100%;
}

.login {
  flex: 1;
}

.bg-image .title {
  font-size: 40px;
  font-weight: 700;
  color: #1e7bcb;
  margin-bottom: 20px;
}

.bg-image .desc {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  color: #424242;
  margin-bottom: 30px;
}

.bg-image .btn-group {
  display: flex;
  gap: 30px;
}
.btn-group-pc {
  flex: 1;
  max-width: 200px;
  width: 100%;
}

.btn-group-m {
  display: none;
}

.bg-image .btn {
  display: inline-block;
  padding-top: 11.5px;
  padding-bottom: 11.5px;
  border: 1px solid #288de8;
  color: #288de8;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn:hover {
  color: #ffffff;
  background-color: #288de8;
}

/* 將預設樣式改成客製 - start */
.btn-group > .btn-group:not(:last-child) > .btn,
.btn-group > .btn:not(:last-child):not(.dropdown-toggle) {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.btn-group > .btn-group:not(:first-child) > .btn,
.btn-group > .btn:nth-child(n + 3),
.btn-group > :not(.btn-check) + .btn {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
/* 將預設樣式改成客製 - end */

@media screen and (max-width: 992px) {
  .bg-image {
    background-image: none;
    min-height: auto;
    padding: 16px;
    padding: 40px 16px 16px 16px;
    background-color: #fff;
  }

  .bg-image .container {
    background: transparent;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .bg-image .title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 0;
  }

  .bg-image .desc {
    display: none;
  }

  .bg-image .btn-group {
    display: none;
  }

  .bg-image .btn {
    width: 100%;
    padding: 11.5px 0;
  }

  .btn-group-m {
    display: flex;
    gap: 20px;
    font-weight: 500;
    padding-top: 20px;
    border-top: 1px solid #eeeeee;
  }

  .text {
    width: 100%;
  }

  .bg-image .desc,
  .bg-image .btn-group {
    order: 3;
  }
}
