@import "../theme.less";

.headerContent {
  background-image: url("../../../../assets/bigscreen/head-nav.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  text-align: center;
  font-size: @font-title-main;
  position: relative;
  height: 188px;

  .headerContentTitle {
    position: relative;
    top: 30px;
    height: 100%;
    font-weight: bold;
    font-size: 56px;
    text-align: center;
    color: #fff;
  }

  .leftMoveLine {
    position: absolute;
    top: 126px;
    width: 200px; /* 线条长度 */
    height: 4px; /* 线条粗细 */
    background: #06f7ff;
    animation: leftMoveLine 2s linear infinite alternate;
  }

  .rightMoveLine {
    position: absolute;
    top: 126px;
    width: 200px; /* 线条长度 */
    height: 4px; /* 线条粗细 */
    background: #06f7ff;
    animation: rightMoveLine 2s linear infinite alternate;
  }

  .updateTime {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    font-weight: 400;
    font-size: 24px;
    color: #036eb8;
  }

  .headerContentTime {
    position: absolute;
    top: 5px;
    right: 100px;
  }

  .weather {
    // width: 500px;
    height: 100%;
    position: absolute;
    left: 100px;
    top: 20px;
  }
}

@keyframes leftMoveLine {
  0% {
    left: 0;
  }
  100% {
    left: 820px;
  } /* 移动到目标 x 位置 */
}

@keyframes rightMoveLine {
  0% {
    right: 0;
  }
  100% {
    right: 820px;
  } /* 移动到目标 x 位置 */
}
