/* 通用 */
/* 去除高度塌陷、重叠，（BFC） */
.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: "Microsoft YaHei", "微软雅黑", "Arial", sans-serif;
}
div {
  display: block;
}
a {
  text-decoration: none;
  color: black;
}
/* BG */
/* 底层背景样式 */
#bg_all {
  overflow: hidden;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  min-width: 325px;
  background-image: url(../images/background/bg_001.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size:cover;
}
/* box1通用样式 */
.box1 {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  right: 3px;
  padding: 3px;
  border-radius: 10px;
  text-align: center;
  font-size: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  backdrop-filter: blur(5px);
  border: 1px rgba(255, 255, 255, 0.1) solid;
}
/* 部分单独box1样式 */
#ad_part .box1,
#news_part .box1 {
  background-image: url(../images/logo/ic_logo.png);
  background-repeat: no-repeat;
  background-size: 50%;
  background-position: center center;
}
/* 底层垂直分布：Header,Body */
/* 头部主体样式 */
#header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
}
#logo_part {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100%;
}
#header #logo_part .logo_main {
  position: absolute;
  top: 10px;
  left: 21px;
  height: 50px;
  transition-duration: 0.5s;
}
#logo_part .logo_main:hover {
  transform: scale(1.1);
  filter: brightness(1.1);
}
#logo_part .title_ic {
  position: absolute;
  height: 18px;
  top: 68px;
  left: 10px;
  transition-duration: 0.5s;
}
#logo_part .title_ic:hover {
  transform: scale(1.1);
}
#message_part {
  position: absolute;
  top: 0;
  left: 100px;
  right: 80px;
  height: 100%;
}
.message_display {
  border-radius: 10px;
  height: 99%;
  color: rgb(255,255,255);
  font-size: 30px;
  border: 1px rgba(20, 150, 255, 0.8) solid;
  background-color: rgba(159, 212, 255, 0.2);
}
.message_display .danmu_text{
  position: relative;
  font-weight: bold;
  font-size: 16px;
  animation: danmu 10s linear infinite;
}
.message_display .danmu-box {
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  overflow: hidden;
}
message_display .danmu {
  position: absolute;
  white-space: nowrap;
  font-size: 15px;
  width: 100%;
  text-align: left;
  animation: danmu 10s linear;
}
@keyframes danmu {
  0% {
      transform: translateX(100%);
  }
  100% {
      transform: translateX(-100%);
  }
}
.message_display .danmu:hover,
.message_display .danmu_text:hover{
  animation-play-state: paused;
}
.message_display .input-box {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 10px;
  width: 100%;
  height: 20px;
  justify-content: center;
}
.message_display:hover .input-box {
  display: flex;
}
#danmu-input {
  padding: 6px;
  font-size: 12px;
  border: none;
  width: 25%;
  border-radius: 5px;
}
#send-btn {
  font-size: 12px;
  border: none;
  border-radius: 5px;
  width: 40px;
  height: 100%;
  background-color: #007bff;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  padding: 0;
}
#aboutus_part {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 100%;
}
.about_us_text {
  position: absolute;
  top: 10px;
  left: 5px;
  color: rgb(255,255,255);
  line-height: 23px;
  font-size: 16px;
}
#aboutus_part .links1 {
  position: absolute;
  color: rgb(200,200,200);
  left: 0px;
  top: 38px;
  font-size: 15px;
}
#aboutus_part .links_support {
  position: absolute;
  color: rgb(200,200,200);
  left: 10px;
  top: 75px;
  font-size: 15px;
}
#body_main {
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100% - 115px);
  min-height: 520px;
}
#leftside {
  position: absolute;
  left: 0;
  width: 100px;
  height: 100%;
}
#search_part {
  position: absolute;
  top: 0;
  bottom: 125px;
  width: 100%;
}
#search_part .search_title {
  border-bottom: 1px #fff solid;
  font-size: 15px;
  font-weight: bold;
  width: 100%;
  line-height: 20px;
}
#search_part .scroll-container {
  position: relative;
  height: calc(100% - 25px);
  margin-top: 5px;
  overflow: hidden;
}
#search_part .scroll-list {
  position: absolute;
  display: flex;
  flex-direction: column;
  top: 0;
  width: 100%;
  height:100%;
  animation: scroll-up 30s linear infinite;
}
#search_part .copy {
  top: 100%;
}
@keyframes scroll-up {
  0% {
      transform: translateY(0);
  }
  100% {
      transform: translateY(-100%);
  }
}
#search_part .scroll-container:hover .scroll-list {
  animation-play-state: paused;
}
#search_part .list1 {
  flex: 1;
  box-sizing: border-box;
  font-size: 12px;
  text-shadow: rgba(0, 0, 0, 0.8) 1px 1px 5px;
  transition-duration: 0.3s;
}
#search_part .list1 a {
  color: rgb(255,255,255);
}
#search_part .hot a {
  color: rgb(243, 57, 57);
  font-weight: bold;
}
#ad_part {
  position: absolute;
  bottom: 0px;
  width: 100%;
  height: 125px;
}
#ad_part .box1{
  border: none;
}
#videos_link {
  position: relative;
  top: -3px;
  left: -3px;
  height: 125px;
}
#main_part {
  position: absolute;
  right: 2px;
  width: calc(100% - 105px);
  height: calc(100% - 125px);
}
#main_part .mainPage{
  width: 100%;
  height: 100%;
}
#rightside {
  position: absolute;
  right: 0;
  width: calc(100% - 100px);
  height: 100%;
}
#news_part {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 125px;
}
#news_part .news_title {
  position: absolute;
  border-left: 1px white solid;
  writing-mode: vertical-lr;
  right: 0;
  width: 15px;
  height: 103px;
  font-size: 15px;
  padding: 5px;
  font-weight: bold;
}
#aboutus_part .QR_code,
#aboutus_part .bestsee,
#aboutus_part .QR_Z_code,
#aboutus_part .contact,
#aboutus_part #contact_box,
#leftside .search_all,
#ad_part .fas,
#games_part {
  display: none;
}
#copyright_part {
  position: absolute;
  bottom: 0px;
  right: 0px;
  left: 0px;
  height: 12px;
  font-size: 10px;
  color: rgb(255,255,255);
}
#copyright_part .copyright {
  position: absolute;
  width: 50%;
  left: 0px;
  white-space: nowrap;
}
#copyright_part .beianhao {
  position: absolute;
  width: 50%;
  right: 0px;
  white-space: nowrap;
}
