body {
  font-family: "Poppins", sans-serif;
}

.theme-blue {
  --brand-color: #0669ff;
  --dark-brand-color: #0051cc;
  --bright-color: #FFF;
  --base-color: #2c2f34;
}

header {
  position: relative;
  padding: 0px 0px;
}

.top-logo {
  width: 100%;
  text-align: center;
}

.h5-sear {
  display: none;
}

.navbar {
  background-color: #1d1e27;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 20px;
  margin: auto;
}


.nav-links {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
}


.nav-links li a {
  color: var(--bright-color);
  text-decoration: none;
  text-transform: uppercase;
  display: block;
  padding: 20px 14px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links li a:hover {
  background-color: var(--brand-color);
  color: var(--bright-color);
}

.nav-links li a img {
  width: 24px;
}

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 15px;
}

.line1,
.line2,
.line3 {
  width: 18px;
  height: 2px;
  background-color: var(--base-color);
  margin: 3px;
}

.navbar .logo {
  display: none;
}

.components .search-bar #h5-searbtn {
  width: auto;
  background: rgba(255, 255, 255, 0.1);
  line-height: 36px;
  border-radius: 50px;
  position: relative;
}

.h5-searbtn {
  max-width: 220px;
  width: 100%;
  border-radius: 100px;
  display: flex;
  align-items: center;
  margin: 0 20px;
  background: rgba(255, 255, 255, 0.1);
}

.h5-searbtn input {
  border-radius: 100px;
  width: 100%;
  border: none;
  padding: 8px 0 8px 24px;
  color: #666 !important;
  font-family: Arial;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  outline: none;
  /* 125% */
}


.h5-searbtn input::placeholder {
  color: #666;
  font-family: Arial;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  /* 125% */
}


.h5-search_btn a {
  padding: 6px 24px;
}

.h5-search_btn i {
  color: #666666;
}

.search {
  display: flex;
  width: 100%;
}

.search_btn {
  background-color: var(--brand-color);
  padding: 10px 5px;
  margin-left: 2%;
  width: 25%;
}

.search_btn a {
  color: var(--bright-color);
  width: 100%;
  display: block;
}

.iconfont {
  font-size: 12px;
}

.icon-renshu,
.icon-History {
  padding-right: 4px;
}

@media screen and (max-width: 992px) {
  .h5-sear {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    /* 将导航链接改为纵向布局 */
    background-color: var(--bright-color);
    /* 为导航链接添加背景色 */
    padding: 10px;
    /* 为导航链接添加内边距 */
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 9999;
    padding-top: 60px;
    height: 100vh;
  }

  .navbar {
    padding: 0px 0px;
    background: var(--bright-color);
    border-width: 0;
    box-shadow: 0 3px 7px 0 rgba(0, 0, 0, 0.1);
  }

  .logo a {
    padding: 8px 15px;
    font-size: 20px;
    line-height: 26px;
  }

  .nav-links.nav-active {
    display: flex;
    position: fixed;
    justify-content: flex-start;
    align-items: flex-start;
    padding-left: 30px;
    padding-right: 30px;
  }

  .theme-blue .nav-links.nav-active {
    background: linear-gradient(135deg, #2f88d6, #5933a2);

  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-color: rgba(255, 255, 255, 0.05);
  }

  .nav-links li a {
    padding: 15px 50px 15px 0;
    color: var(--bright-color);
  }

  .burger {
    display: flex;
    padding: 10px 15px;
    align-items: center;
    justify-content: center;
  }

  .toggle {
    position: fixed;
    z-index: 999999;
    right: 50%;
    transform: translate(50%, 0);
    font-size: 24px;
    top: 10px;
    color: var(--bright-color);
  }

  header:after {
    width: 50%;
    left: 0;
  }

  .nav-links li:last-child a {
    width: max-content;
    background-color: #222;
    border-radius: 100px;
    margin-left: 10px;
  }

  .top-logo {
    display: none !important;
  }

  .h5-sear,
  .navbar .logo {
    display: block;
  }

  .navbar .logo a {
    display: block;
    font-size: 50px;
    line-height: 1.2;
    font-weight: bold;
    color: var(--brand-color);
    padding: 10px 0;
  }

  .navbar .container {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  .h5-sear {
    margin-left: auto;
    padding: 10px 15px;
    color: var(--base-color);
    font-size: 18px;
    font-weight: 800;
  }

  .h5-searbtn {
    max-width: 100%;
    order: -1;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--bright-color);
    width: 100%;
    border-radius: 50px;
    margin-bottom: 15px;
  }

  .h5-searbtn input,
  .h5-searbtn input::placeholder {
    color: rgb(255 255 255 / 60%) !important;
  }

  .h5-search_btn i {
    color: var(--bright-color) !important;
  }
}

@media (max-width: 670px) {
  .navbar .logo a {
    font-size: 30px;
    /* padding: 16px 0; */
  }
}

.is-hidden {
  display: none;
}

.dt-content img {
  width: 100%;
}

.post-thumb img {
  object-fit: cover;
}