* {
  box-sizing: border-box;
  line-height: 1.15;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #f7f7f7;
}

a {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

img {
  border: none;
}

body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #eee;
}

.two-rows {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

.second-line {
  display: flex;
  overflow: hidden;
}



.two-columns {
  flex: 1;
  transition: padding 1s ease, width 1s;
  height: 100%;
  overflow: hidden;
  float: left;
  display: flex;
  flex-direction: row;
  /* justify-content: center; */
  align-items: flex-end;
  overflow: hidden;
  position: relative;
  z-index: 999;
}

/***************************************************************************************************** 边栏 */
.sidebar-site-title {
  position: relative;
  width: 200px!important;
  /* padding: 5px 50px!important; */
  min-height: 50px;
  max-height: 50px;
  color: #07c160!important;
  /* background-color: #b2b8be!important; */
  border: none;
  border-radius: 0px!important;
  font-size: 20px!important;
  font-weight: 700;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  /* text-shadow: 0 0 10px rgba(0, 0, 0, 1); */
}

.sidebar-top-logo {
  position: relative;
  border-radius: 10px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: 700;
  width: 190px;
  min-height: 109.112903225806451612903225806452px;
  padding: 10px;
}

.sidebar-top-logo img {
  height: auto;
  width: 100%;
  border-radius: 10px;
}

.sidebar-toc {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 200px;
  height: 100%;
  padding: 0px 10px 10px 10px;
  margin: 0;
  border-right: 1px solid #80808050;
  background-color: #2c2e2f;
  transform: translateX(0);
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
  white-space: nowrap;
  opacity: 1;
  position: relative;
  z-index: 1003;
  /* gap: 10px; */
}

.sidebar-toc.hidden {
  overflow: hidden;
  transform: translateX(-100%);
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
  opacity: 0;
}

.sidebar-toc>a {
  color: #b2b8be;
  background-color: #2c2e2f;
  letter-spacing: 1.5px;
  font-size: 16px;
  white-space: nowrap;
  text-decoration: none;
  padding: 0 50px;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}

.sidebar-toc>a:nth-child(1):hover {
  color: #fff!important;
  font-weight: 900;
  background-color: #07c160;
}

.sidebar-toc>a:nth-last-child(1) {
  display: none;
}

.sidebar-toc>a:nth-child(n+2):hover {
  color: #fff;
  font-weight: 700;
  background-color: #07c160;
}

.sidebar-toc a.active {
  color: #ff4500;
  font-weight: 700;
}

.ctrlButton {
  position: fixed;
  gap: 7px;
  display: flex;
  flex-direction: column;
  padding: 10px;
  right: 27px;
  bottom: 20px;
  z-index: 1001;
}

button.mobi-toggle-toc {
  display: none;
}

button.toggle-toc,
button.mobi-toggle-toc,
button.back-to-the-top,
button.go-to-the-bottom {
  width: 40px;
  height: 40px;
  background-color: #fff;
  color: #18191C;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 0 10px rgba(0, 0, 0, .08);
  transition: all .2s;
}

.back-to-the-top {
  /* position: fixed;
  bottom: 15px;
  right: 32px; */
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}

button.toggle-toc:hover,
button.mobi-toggle-toc:hover,
button.back-to-the-top:hover,
button.go-to-the-bottom:hover {
  background-color: #E3E5E7;
}

.sidebar-back-to-the-top {
  display: none;
}

/* *************************************************************************************************************** */
.content {
  flex: 1;
  background-color: #eee;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  transition: margin-left 0.3s ease;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
}

.anchor-point {
  width: 100%;
  height: 0;
}

.nav-column {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  max-height: 50px;
  width: 100%;
  padding: 0 10px;
  box-shadow: 0 1px 10px 0 rgb(53 58 62 / 9%), 0 2px 4px 0 rgb(53 58 62 / 12%);
  opacity: 1;
  transition: height 0.5s ease, opacity 0.5s ease, border-radius 0s ease;
  background-color: #fff;
  z-index: 1090;
}


.top-black-line {
  display: none;
  position: absolute;
  top: -2px;
  width: 100%;
  min-height: 3px;
  max-height: 3px;
  background-color: #fff;
  z-index: 9999;
}

.blank-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 1092;
  /* 底层链接 */
}

.nav-column-links {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  z-index: 1091;
}

.nav-column-links span {
  position: relative;
  /* display: flex; */
  /* flex-direction: row; */
  /* justify-content: space-between; */
  /* align-items: center; */
  gap: 20px;
  font-weight: 700;
  color: #000;
  z-index: 1093;
}

.nav-column-links > span > a,
.nav-column-links > span > div {
  font-weight: 700;
}

#copyTip {
  display: none;
  color: green;
  margin-top: 10px;
}

.content-top-title {
  display: none;
  color: #07c160;
}

.fillBlock {
  width: 100%;
  height: 0px;
}

.fillBlock:target {
  padding-top: 50px;
  /* 根据顶部元素高度调整 */
  margin-top: -50px;
  /* 抵消额外空间 */
}

.three-rows {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.header {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 50px;
  width: 100%;
  min-height: calc(100vh - 50px);
  background-color: #fff;
  padding: 10px;
}

.search-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main-content {
  width: 100%;
  height: auto;
  background-color: #fff;
  padding: 0 30px;
}

.section,
.section-header {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
  padding: 20px;
  
  border-radius: 10px;
  background-color: transparent;
}

.section-header {
  margin-bottom: 50px;
  width: 80%;
}
.footer {
  position: relative;
  width: 100%;
  padding: 10px 20px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.search-form {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 50%;
  max-width: 100%;
  height: 50px;
  position: relative;
  z-index: 999;
}



.search-title {
  font-weight: 700;
  position: absolute;
  /* top: -15dvh; */
  font-size: 25px;
}

input[type="text"] {
  width: 100%;
  height: 100%;
  padding: 10px;
  /* border: 2px solid gray; */
  border-style: solid;
  border-width: 2px 0 2px 2px;
  border-color: gray;
  border-radius: 1.5dvh 0 0 1.5dvh;
}

input[type="text"]:focus {
  border-style: solid;
  border-width: 2px 0 2px 2px;
  border-color: blue;
  outline: none;
}

form button {
  font-size: 20px;
  font-weight: 700;
  /* width: 15%; */
  height: 100%;
  padding: 0 5%;
  border: none;
  /* border: 1.5px solid blue; */
  border-radius: 0 1.5dvh 1.5dvh 0;
  background-color: blue;
  color: white;
  cursor: pointer;
  white-space: nowrap;
}

form button:hover {
  background-color: darkblue;
}

.category-container {
  max-width: 100%;
  height: 50px;
  padding: 10px;
  gap: 20px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: relative;
  z-index: 999;
  overflow: scroll;
  -ms-overflow-style: none;
  /* IE 和 Edge */
  scrollbar-width: none;
  /* Firefox */
}

.category-container::-webkit-scrollbar {
  display: none;
}

.category-container .category-button {
  font-size: 20px;
  font-weight: 700;
  border: none;
  padding: 0 10px;
  color: #fff;
  /* text-shadow: 0 0 10px rgba(0, 0, 0, 1); */
  background-color: rgba(255, 255, 255, 0);
  display: inline-block;
  transition: transform 0.5s ease-in-out;
  white-space: nowrap;
}

.category-container .category-button:hover {
  cursor: pointer;
  animation: quickBounce 0.5s ease-in-out forwards;
}

.category-container .category-button.active {
  border-bottom: 3px solid white;
}

/* --------------------------------------------------- */
.searchEngineButtonContainer {
  max-width: 100%;
  height: 50px;
  padding: 10px;
  gap: 20px;
  display: flex;
  flex-direction: row;
  position: relative;
  z-index: 999;
  overflow: scroll;
  -ms-overflow-style: none;
  /* IE 和 Edge */
  scrollbar-width: none;
  /* Firefox */
}

.searchEngineButtonContainer::-webkit-scrollbar {
  display: none;
}

.searchEngineButtonContainer button {
  font-size: 20px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 0 10px;
  white-space: nowrap;
  color: #fff;
  /* text-shadow: 0 0 10px rgba(0, 0, 0, 1); */
  background-color: rgba(255, 255, 255, 0);
  transition: transform 0.5s ease-in-out;
  white-space: nowrap;
  display: flex;
  justify-content: center;
  align-items: center;
}

.searchEngineButtonContainer button:hover {
  cursor: pointer;
  animation: quickBounce 0.5s ease-in-out forwards;
  background-color: #f2f2f2;
  color: rgba(0, 0, 0, 0.9);
  text-shadow: none;
}

.searchEngineButtonContainer button.active {
  background-color: #f2f2f2;
  color: rgba(0, 0, 0, 0.9);
  text-shadow: none;
}

.sub-item-header {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  /* gap: 20px; */
  row-gap: 30px;
  column-gap: 30px;
}
.sub-item {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  /* gap: 20px; */
  row-gap: 30px;
  column-gap: 30px;
}

.sub-box,
.sub-box-header {
  background-color: #fff;
  border: 0.5px solid #dad4cb;
  border-radius: 10px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  cursor: pointer;
  color: #000;
}

.sub-box {
  height: 80px;
}

.sub-box-header {
  height: 90px;
  border: 0.5px solid transparent;
}
.sub-box-header:hover {
  animation: quickBounce10 0.5s ease-in-out forwards;
}

.sub-box img {
  height: 50%;
  border-radius: 10px;
  box-shadow: 0 1px 10px 0 rgb(53 58 62 / 9%), 0 2px 4px 0 rgb(53 58 62 / 12%);
}

.sub-box:hover img,
.sub-box-header img {
  height: 100%;
  box-shadow: none;
}

.sub-box:hover span,
.sub-box-header:hover span {
  display: none;
}

.applemusiclg:hover {
  background-color: #fa2a42;
}

.githublg:hover {
  background-color: #060606;
}

.qqmaillg:hover {
  background-color: #ffdd0f;
}

.taobaolg:hover {
  background-color: #ff5000;
}

.weixinlg:hover {
  background-color: #04d166;
}

.logioptionsplus:hover {
  background-color: #ac3fef;
}

.firefoxlg:hover {
  background-color: #20123a;
}

.yuquelg:hover {
  background-color: #2bc25b;
}

.xhslg:hover {
  background-color: #ff2442;
}

.fliqlolg:hover {
  background-color: #292929;
}

.doubanlg:hover {
  background-color: #06c212;
}

.zhihulg:hover {
  background-color: #0066ff;
}


@keyframes quickBounce {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
    /* 向上移动 */
  }

  100% {
    transform: translateY(0);
    /* 回到原始位置 */
  }
}

@keyframes quickBounce10 {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
    /* 向上移动 */
  }
  100% {
    transform: translateY(0);
    /* 回到原始位置 */
  }
}

@keyframes leftRight {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  50% {
    transform: translateX(0);
  }

  /* 75% {
    transform: translateX(5px);
  } */
  100% {
    transform: translateX(10px);
  }
}