* {
  margin: 0;
  padding: 0;
}

/* 版頭 */
.online-container {
  background-image: url("./image/BG-2.png");
  overflow-x: hidden;
  background-size: cover;
  font-family: "DFHei-Md", "DFHei-Bold", "華康中黑體", "華康粗黑體", sans-serif;
  background-position: center;
  width: 100%;
  overflow-x: hidden;
}

.EnTie-Redbar {
  background: #fff;
  height: 85px;
  width: 100%;
  z-index: 999;
  display: flex;
  align-content: center;
  align-items: center;
  box-shadow: inset -1px -3px 8px 0px #53515157;
  position: fixed;
  justify-content: space-between;
}

.EnTie-Redbar img {
  max-width: 100%;
  object-fit: contain;
  padding: 10px 20px;
  height: 60px;
}

.online-bar-title {
  display: flex;
  align-items: center;
}

.online-banner {
  background: url("./image/Banner-2.png");
  max-width: 100%;
  width: 100%;
  height: 600px;
  background-size: cover;
  background-position: center;
  padding-top: 100px;
  position: relative;
  top: 80px;
  
} 

.online-box {
  max-width: 1000px;
  margin: 0 auto;
}

/* 背景-球 */

/* .online-container::before {
  content: "";
  background: url("./image/Ball.png");
  display: inline-block;
  width: 250px;
  height: 250px;
  position: absolute;
  background-size: contain;
  opacity: 0.6;
  top: 700px;
  left: 100px;
  animation: PulseOne 2.5s ease-in-out infinite alternate;
  animation: MoveOne 2.8s ease-in-out infinite alternate;
} */

/* 水平移動動畫 */
@keyframes PulseOne {
  from {
    transform: scale(0.8);
  }
  to {
    transform: scale(0.9);
  }
}
@keyframes MoveOne {
  from {
    top: 80%;
    left: 0%;
  }
  to {
    top: 90%;
    left: 10%;
  }
}

/* .online-container::after {
  content: "";
  background: url("./image/Ball.png");
  display: inline-block;
  width: 420px;
  height: 420px;
  opacity: 0.8;
  position: absolute;
  background-size: contain;
  right: 0;
  animation: pulseTwo 2.5s ease-in-out infinite alternate;
  animation: MoveTwo 3s ease-in-out infinite alternate;
} */

/* 水平移動動畫 */
@keyframes pulseTwo {
  from {
    transform: scale(0.8);
  }
  to {
    transform: scale(0.9);
  }
}

@keyframes MoveTwo {
  from {
    top: 125%;
    right: 2%;
  }
  to {
    top: 135%;
    right: 7%;
  }
}

.online-content {
  margin-top: 25px;
  border-radius: 20px;
  font-size: 30px;
  text-align: center;
  border: #0068b4 1px solid;
  font-weight: 400;
  padding: 30px 0;
  background: #ffffff87;
  position: relative;
  z-index: 99;
}

.online-content {
  margin: 90px 0;
  border-radius: 20px;
  font-size: 30px;
  text-align: center;
  border: #0068b4 1px solid;
  font-weight: 400;
  padding: 50px 0;
  background: #ffffff87;
  position: relative;
}
.online-content-1 {
  margin-top: 0px !important;
}

.online-content-1 {
}
.online-content.online-content-1 a {
  top: 32px;
  padding: 15px 25px;
}
.online-content.online-content-1 {
  padding-bottom: 70px;
}

.YT-Date {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  color: #0068b4;
  text-shadow:
    #cfcfcf 1px 1px,
    #b5926c 2px 2px;
  font-size: 24px;
}
.YT-Date-2 {
  font-size: 24px;
  margin-bottom: 30px;
}

.online-YT-title {
  font-size: 18px;
  color: #0068b4;
  text-shadow:
    #cfcfcf 1px 1px,
    #b5926c 2px 2px;
  animation: glare 1s infinite alternate;
}

@keyframes glare {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.9);
  }
}

.online-time {
  font-size: 20px;
}

.online-text-sm-1 {
  padding-top: 20px;
}

.online-text-sm-1 :nth-child(1) {
  font-size: 25px;
  margin-bottom: 10px;
}
.online-content-text .online-text-sm-1 span{
  font-weight: 700;
  padding: 0;
}

.online-content-text span {
  color: #000;
  padding: 0 15px;
}
.online-content-text p {
  display: flex;
  justify-content: center;
}
.online-content-text p img {
  height: 50px;
  object-fit: contain;
  padding-left: 10px;
}
.online-content a {
  text-decoration: none;
  color: #fff;
  background: #0068b4;
  padding: 10px 25px;
  border-radius: 15px;
  font-size: 28px;
  box-shadow: 5px 4px 5px #d1cece;
  position: relative;
  font-weight: 400;
  top: 10px;
  transition:
    background-color 0.5s ease,
    color 0.5s ease;
}
.online-content a:hover {
  background-color: #104972;
  color: #fff;
}

.online-content a::after {
  content: "";
  position: absolute;
  background: url("./image/PIC-cusor.png");
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
  background-size: contain;
  top: 42px;
  animation: float-up 0.5s ease-in-out infinite alternate;
  transform: rotate(60deg);
}

.online-content h1 {
  font-size: 35px;
  margin-bottom: 40px;
  font-size: 30px;
}
.online-content h2 img {
  width: 50px;
  height: 50px;
}

/* YT */
.online-YT-box {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.online-YT-BoxL {
  padding-top: 15px;
}

.online-YT-BoxL .online-YT-title-1 {
  font-size: 23px;
  padding: 10px;
  display: flex;
  align-items: center;
  margin-top: 15px;
}

.online-YT-title-1 img {
  height: 40px;
  object-fit: contain;
}
.online-YT-BoxL .online-YT-title-2 {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 10px;
}

.online-img {
  margin: 0 10px;
  width: 28%;
}
.online-img span {
  font-size: 14px;
  background: #fff;
  display: block;
  padding: 5px;
  font-weight: bold;
  border-radius: 10px;
  box-shadow: #cfc4c4 2px 1px 3px 0px;
  position: relative;
  top: -20px;
  max-width: 90px;
  margin: 0 auto;
}
.online-img p {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 3px;
  color: #0068b4;
}

.online-img ul {
  text-align: start;
  font-size: 17px;
  margin-top: 20px;
  margin-left: 50px;
}

.online-YT-box .online-img img {
  width: 150px;
  height: 150px;
  box-shadow: #9d9d9d 6px 4px 10px 0px;
  border-radius: 50%;
  object-fit: cover;
}

.online-content .online-LIVE {
  color: red;
  border: 2px solid red;
  font-size: 17px;
  font-weight: bold;
  padding: 2px 7px;
  border-radius: 5px;
  animation: live 1s ease-in-out infinite alternate;
}

.online-content-phone {
  display: none;
}
.online-content-PC{
  margin-top: 0;
}

@keyframes live {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* 游標動畫 */
@keyframes float-up {
  0% {
    /* 初始位置 */
    transform: translate(0, 0);
    opacity: 0.7;
  }
  100% {
    /* 同時向左、向上移動 25 像素 */
    transform: translate(-5px, -5px);
    /* 飄到頂端時稍微變淡 */
    opacity: 1;
  }
}

/* 動畫 */
.box {
  position: relative;
  width: 200px;
  height: 100px;
  background: #000;
  overflow: hidden;
}

.box::before {
  content: "";
  position: absolute;
  width: 150%;
  height: 150%;
  background-image: linear-gradient(0deg, transparent, #0f0, #0f0);
  animation: animate 4s linear infinite;
}

.box::after {
  content: "";
  position: absolute;
  inset: 2px; /* 邊框厚度 */
  background: #000;
}

@keyframes animate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 頁尾 */
.Entie-footer {
  background: rgb(204, 0, 13);
  line-height: 80px;
  padding: 0px 120px;
  font-weight: bold;
  color: white;
  display: flex;
  justify-content: space-around;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
}
.Entie-footer img {
  width: 250px;
}
.Entie-footer-detail {
  width: 100%;
  margin-left: 30px;
  padding-top: 5px;
  font-weight: 400;
}
.Entie-footer-detail span {
  padding-left: 10px;
}

@media screen and (max-width: 768px) {
  /* 背景-球 */
  .online-container::after,
  .online-content::after,
  .online-container::before {
    display: none;
  }

  .online-content-PC {
    display: none;
  }
  .online-content-phone {
    display: block;
  }
  /* 版頭 */
  .EnTie-Redbar {
    height: 60px;
    font-size: 12px;
  }
  .EnTie-Redbar img.online-LOGO {
    margin-right: 5px;
    max-width: 35px;
    padding: 0px 5px;
    margin-right: 0px;
  }
  .EnTie-Redbar img.EnTie-LOGO {
    margin-right: 5px;
    max-width: 100px;
    padding: 10px 5px;
    margin-right: 0px;
  }

  .EnTie-Redbar img {
    margin-right: 5px;
    width: 80px;
    padding: 10px 5px;
    margin-right: 0px;
  }
  .online-banner {
    height: 330px;
  }
  .online-content {
    margin: 0 0 80px 0px;
  }

  .online-box {
    padding: 0 10px;
  }
  .online-img {
    margin: 0 0px;
    width: 50%;
  }

  .online-img p {
    font-size: 20px;
  }

  .online-img ul {
    margin-left: 25px;
  }

  /* 手機板YT微調 */

  .online-content h1 {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .online-content .YT-Date {
    font-size: 30px;
  }

  /* 手機板YT微調 online-content-phone 記得加*/

  .online-content-phone .online-YT-BoxL {
    display: block;
    margin-bottom: 20px;
  }
  .online-content-phone.online-content .YT-Date {
    justify-content: center;
  }
  .online-content-phone.online-content h2 img {
    margin-right: 10px;
  }

  .online-content-phone .online-YT-box {
    flex-direction: column;
  }
  .online-content-phone .online-ProfileBox {
    display: flex;
    justify-content: space-around;
  }
  .online-content-phone .online-img {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    margin-top: 20px;
  }
  .online-YT-BoxL .online-YT-title-1 {
    justify-content: center;
    margin-top: 0px;
    top: 20px;
  }
  .YT-Date-2 {
    font-size: 28px;
  }
  .online-content .online-LIVE {
    margin-top: 5px;
    margin-left: 0px;
  }
  .online-content-text span {
    font-size: 23px;
  }
  .online-content-text p {
    justify-content: center;
    flex-direction: column;
  }
  .online-content-text p img {
    height: 50px;
    padding-top: 10px;
  }
  .online-content a {
    font-size: 23px;
    width: 100px;
    margin: 0 auto;
  }
  .online-content a::after {
    top: 40px;
  }
  .online-content-phone .online-img span {
    top: -15px;
  }

  .online-content-phone .online-img span {
    display: inline-block;
  }

  /* 版尾 */
  .Entie-footer {
    flex-direction: column;
    align-items: center;
    padding: 15px;
    line-height: 30px;
  }
  .Entie-footer img {
    padding: 0px;
    padding-left: 10px;
    width: 65%;
  }
  .Entie-footer-detail {
    margin-left: 0;
    text-align: center;
  }
  .Entie-footer-detail span {
    display: block;
  }
}
