.kv {
  background-size: cover;
  background: url("../img/kv_main.jpg") no-repeat center center scroll;
  height: 84vh;
  width: 100%;
  background-color: #11a785;
}

.kv-text-section {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 6%;
  /* min-width: 400px; */
  height: 100vh;
}

.kv-title,
.typewriter {
  position: relative;
  transform: translateY(-50%);
  color: #fff;
  font-weight: bold;
}

.kv-title {
  top: 45%;
  font-size: 28px;
  /* text-shadow: 2px 2px 2px rgb(0 0 0 / 15%); */
}

.typewriter {
  top: 50%;
  font-size: 55px;
  line-height: 1.2;
  margin: 0;
  /* text-shadow: 3px 5px 3px rgb(0 0 0 / 10%); */
}

.typewriter span {
  /* font-size: 5rem; */
  color: #0d5780;
  text-transform: uppercase;
  padding: 10px 10px 10px 0;
  border-right: solid #0d5780 3px;
  animation: cursor 0.8s ease-in-out infinite;
}

@keyframes cursor {
  from {
    border-color: #0d5780;
  }

  to {
    border-color: transparent;
  }
}

@media (max-width: 576px) {
  .typewriter {
    font-size: 24px;
  }

  .kv-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .typewriter {
    font-size: 36px;
  }

  /* .typewriter span {
    font-size: 2.5rem;
  } */
}

/********* 落幕 **********/

.ending_kv {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  /* background-size: cover !important; */
  /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.95) 100%), url("../img/kv_end.jpg") no-repeat center center scroll; */
}

.ending_img {
  max-width: 600px;
}

.ending_img_en {
  max-width: 700px;
}

.en_ending_kv {
  background-size: cover !important;
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.95) 100%
    ),
    url("../img/kv_end.jpg") no-repeat center center scroll;
}

@media (max-width: 576px) {
  .ending_kv {
    /* height: 60vh; */
    height: 40vh;
  }

  .ending_img,
  .ending_img_en {
    width: 80%;
  }
}
