@font-face {
  font-family: '阿里妈妈东方大楷'; /* 自定义字体名称 */
  src: url('assets/alimama.ttf') format('truetype'); /* 引入不同格式的字体文件 */
}
@font-face {
  font-family: '秋鸿楷'; /* 自定义字体名称 */
  src: url('assets/qiuhongK.ttf') format('truetype'); /* 引入不同格式的字体文件 */
}

/* * {
  font-family: "阿里妈妈东方大楷", sans-serif;
} */

.bg-custom-blue {
  background-color: rgb(2 27 81); /* 自定义背景颜色 */
}
.bg-access-blue {
  background-color: rgb(11, 47, 126); /* 自定义背景颜色 */
}
.text-custom-blue {
  color: rgb(2 27 81);
}
.text-custom-color {
  color: #32cd32; /* 自定义文字颜色 */
}
.date-block {
  height: 93px;
  width: 87px;
  text-align: center;
}
.hover-underline {
  position: relative;
}
.hover-underline:hover::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: rgb(249 176 82);
  margin-top: 2px;
  position: absolute;
  bottom: 5px;
}

.carousel {
  position: relative;

  overflow: hidden;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  box-sizing: border-box;
}

.carousel-item img {
  /* width: 100vw; */
  height: 37vw;
  object-fit: cover;
  object-position: center; /* 图片居中 */
}
.carousel-item .news-img {
  height: 545px;
}

/* @media (max-width: 768px) {
  .carousel-item img {
    height: 260px;
  }
} */

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.carousel-control.prev {
  left: 10px;
}

.carousel-control.next {
  right: 10px;
}

/* tab */
.tabs {
  display: flex;
  cursor: pointer;
}

.tab {
  /* padding: 10px 20px;
  background-color: #f1f1f1;
  border: none;
  outline: none; */
  transition: background-color 0.3s;
}

.tab:hover {
  /* background-color: #ddd; */
}

.tab-content {
  display: none;
}

.fade {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.fade-in {
  opacity: 1;
}

.sidebar {
  transition: transform 0.3s ease-in-out;
}
.sidebar-hidden {
  transform: translateX(-100%);
}

.menu {
  list-style: none;
  padding: 0;
}
.menu-item {
  cursor: pointer;
  margin: 5px 0;
}
.submenu {
  list-style: none;
  padding-left: 20px;
  display: none;
  transition: transform 0.3s ease-in-out;
}

/***introduce****/
.round-block {
  width: 150px;
  height: 150px;
  margin: auto;
}

.banner {
  height: 600px;
  width: 100vw;
}

@media (max-width: 768px) {
  .banner {
    width: 100vw;
    height: 56vw;
  }
}

.pic-text {
  line-height: 56px;
  letter-spacing: 2px;
  font-size: 25px;
}
@media (max-width: 768px) {
  .pic-text {
    font-size: 18px;

    line-height: 32px;
    letter-spacing: 0.8px;
  }
}

.i_search {
  padding: 9px;
}
.i_search input {
  height: 23px;
}
