#fix-header {
  height: 56px;
  max-height: 0;
  overflow: hidden;
  position: fixed;
  background: #E9F2FF;
  box-shadow: 0 2px 3px 0 #A6A6A640;
  top: 0;
  left: 0;
  width: 100%;
  transition: all 0.4s;
  z-index: 999;
}

#fix-header .container {
  max-width: 1200px;
}

#fix-header .text-conten p {
  font-size: 20px;
  font-weight: 700;
  color: #000;
}

#fix-header .text-conten a.btn {
  display: flex;
  align-items: center;
  background: #207CFB;
  color: #fff;
  border: 0;
  padding: 0 12px;
  animation: shrink 2s infinite;
  border-radius: 6px;
}

@keyframes shrink {
  0% {
      transform: scale(1.05); /* 初始大小 */
  }
  50% {
      transform: scale(0.95); /* 缩小到50% */
  }
  100% {
      transform: scale(1.05); /* 恢复到初始大小 */
  }
}

@media (max-width: 992px) {
  #fix-header {
    height: 44px;
  }

  #fix-header .text-conten p {
    font-size: 14px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  #fix-header .text-conten a.btn {
    height: 30px;
    min-width: max-content;
    font-size: 12px;
  }
}
