a{
  text-decoration: none;
}
a:hover{
  text-decoration:underline;
}
.subfield {
  display: flex;
  align-items: stretch;
}

.left-column {
  flex-basis: 30%;
  /* 左右两栏宽度平分 */
  padding: 20px;
  /* 可根据需要调整内边距 */
  border-right: #000;
}

.right-column {
  flex-basis: 70%;
}

.vertical-line {
  width: 1px;
  /* 竖线宽度 */
  background-color: #000;
  /* 竖线颜色 */
  margin: 0 10px;
  /* 可根据需要调整竖线与左右两栏之间的距离 */
}

/* Variables declared here - these are the colors for our pages, as well as the font stacks and sizes. */

:root {
  --black: #171321;
  --dkblue: rgb(070, 158, 180);
  --plum: #4b0d49;
  --hotmag: #ff17e4;
  --magenta: rgb(253, 185, 106);
  --aqua: rgb(78, 91, 171);
  --white: #f7f8fa;
  --font-size: 1.3rem;
  --mono: "Oxygen mono", monospace;
  --sans: Oxygen, sans-serif;
}


/* border box model: https://css-tricks.com/box-sizing/ */




/* generic styles for the page */


.interviewee {
  height: 800px;
  vertical-align: middle;
  padding-left: 0px;
}

#projects a {
  color: var(--magenta);
  text-decoration: none;
}

#projects a:active {
  color: var(--hotmag);
  text-decoration: underline;
}

#projects a:active {
  color: var(--hotmag);
}

/* projects section */
#projects {
  padding: 4rem 1rem;
}

#projects h2 {
  font-size: 2.5rem;
  margin-bottom: calc(2.5rem * 1.5);
}


#projects h4 {
  font-size: 1rem;
  font-family: var(--mono);
  margin: 0;
}

.blackbox {
  padding: 1rem;
  border-radius: 10px;
  color: white;
  background-color: var(--dkblue);
  font-size: 1rem;
  line-height: 1.5;
}

/*
#projects ul {
list-style-type: none;
padding: 0;
margin: 0;
display: flex;
flex-flow: row wrap;
justify-content: flex-start;
gap: 1rem;
font-size: 1rem;
}*/
#projects .interviewee {
  margin: 2rem 0 4rem 0;
  padding: 1rem;
  border-left: 1px solid var(--aqua);
  border-top: 1px solid var(--aqua);
  border-radius: 25px;
}


@media (min-width: 800px) {
  article {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
  }
}

#projects .interviewee {
  grid-column: 1/6;
  grid-row: 1/2;
}

.text {
  grid-column: 5/11;
  grid-row: 1/2;
  order: 2;
}

#projects ul {
  justify-content: flex-end;
}

#hpquestion {
  overflow: auto;
  margin: 20px 0px;
  padding-top: 0;
}

.hpanswer {
  overflow: auto;
  padding-top: 0;
}

#hpquestion>h3 {
  color: rgb(254, 232, 154);
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  position: sticky;
  top: 0;
  background-color: inherit;
}

.hpanswer>h3 {
  color: rgb(254, 232, 154);
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
  position: sticky;
  top: 0;
  background-color: inherit;

}

/*image window*/
@import url("https://fonts.googleapis.com/css?family=Fira+Sans:400,500,600,700,800");

.blog-slider {
  width: 95%;
  position: relative;
  max-width: 800px;
  margin: auto;
  background: #fff;
  box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
  padding: 25px;
  border-radius: 25px;
  height: 400px;
  transition: all 0.3s;
}

@media screen and (max-width: 992px) {
  .blog-slider {
    max-width: 680px;
    height: 400px;
  }
}

@media screen and (max-width: 768px) {
  .blog-slider {
    min-height: 500px;
    height: auto;
    margin: 180px auto;
  }
}

@media screen and (max-height: 500px) and (min-width: 992px) {
  .blog-slider {
    height: 350px;
  }
}

.blog-slider__item {
  display: flex;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .blog-slider__item {
    flex-direction: column;
  }
}

.blog-slider__item.swiper-slide-active .blog-slider__img img {
  opacity: 1;
  transition-delay: 0.3s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content>* {
  opacity: 1;
  transform: none;
}

.blog-slider__item.swiper-slide-active .blog-slider__content>*:nth-child(1) {
  transition-delay: 0.3s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content>*:nth-child(2) {
  transition-delay: 0.4s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content>*:nth-child(3) {
  transition-delay: 0.5s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content>*:nth-child(4) {
  transition-delay: 0.6s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content>*:nth-child(5) {
  transition-delay: 0.7s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content>*:nth-child(6) {
  transition-delay: 0.8s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content>*:nth-child(7) {
  transition-delay: 0.9s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content>*:nth-child(8) {
  transition-delay: 1s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content>*:nth-child(9) {
  transition-delay: 1.1s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content>*:nth-child(10) {
  transition-delay: 1.2s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content>*:nth-child(11) {
  transition-delay: 1.3s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content>*:nth-child(12) {
  transition-delay: 1.4s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content>*:nth-child(13) {
  transition-delay: 1.5s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content>*:nth-child(14) {
  transition-delay: 1.6s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content>*:nth-child(15) {
  transition-delay: 1.7s;
}

.blog-slider__img {
  width: 300px;
  flex-shrink: 0;
  height: 300px;
  box-shadow: 4px 13px 30px 1px rgba(70, 158, 180, 0.2);
  border-radius: 20px;
  transform: translateX(-80px);
  overflow: hidden;
  background: linear-gradient(147deg, rgba(135, 207, 164, 0.23) 0%, rgba(70, 158, 180, 0.23) 74%);

}

.blog-slider__img:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  opacity: 0.8;
}

.blog-slider__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  border-radius: 20px;
  transition: all 0.3s;
}

@media screen and (max-width: 768px) {
  .blog-slider__img {
    transform: translateY(-50%);
    width: 90%;
  }
}

@media screen and (max-width: 576px) {
  .blog-slider__img {
    width: 95%;
  }
}

@media screen and (max-height: 500px) and (min-width: 992px) {
  .blog-slider__img {
    height: 270px;
  }
}

.blog-slider__content {
  padding-right: 25px;
}

@media screen and (max-width: 768px) {
  .blog-slider__content {
    margin-top: -80px;
    text-align: center;
    padding: 0 30px;
  }
}

@media screen and (max-width: 576px) {
  .blog-slider__content {
    padding: 0;
  }
}

.blog-slider__content>* {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.4s;
}

.blog-slider__code {
  color: #7b7992;
  margin-bottom: 15px;
  display: block;
  font-weight: 500;
}

.blog-slider__title {
  font-size: 24px;
  font-weight: 700;
  color: #0d0925;
  margin-bottom: 20px;
}

.blog-slider__text {
  color: #4e4a67;
  margin-bottom: 30px;
  line-height: 1.5em;
}

.blog-slider__button {
  display: inline-flex;
  background-image: linear-gradient(147deg, #469eb4 0%, #7dcfa4 74%);
  padding: 15px 35px;
  border-radius: 50px;
  color: #fff;
  box-shadow: 0px 14px 80px rgba(70, 158, 180, 0.4);
  text-decoration: none;
  font-weight: 500;
  justify-content: center;
  text-align: center;
  letter-spacing: 1px;
}

@media screen and (max-width: 576px) {
  .blog-slider__button {
    width: 100%;
  }
}

.blog-slider .swiper-container-horizontal>.swiper-pagination-bullets,
.blog-slider .swiper-pagination-custom,
.blog-slider .swiper-pagination-fraction {
  bottom: 10px;
  left: 0;
  width: 100%;
}

.blog-slider__pagination {
  position: absolute;
  z-index: 21;
  right: 20px;
  width: 11px !important;
  text-align: center;
  left: auto !important;
  top: 50%;
  bottom: auto !important;
  transform: translateY(-50%);
}

@media screen and (max-width: 768px) {
  .blog-slider__pagination {
    transform: translateX(-50%);
    left: 50% !important;
    top: 205px;
    width: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 8px 0;
}

@media screen and (max-width: 768px) {
  .blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 5px;
  }
}

.blog-slider__pagination .swiper-pagination-bullet {
  width: 11px;
  height: 11px;
  display: block;
  border-radius: 10px;
  background: #469b9b;
  opacity: 0.2;
  transition: all 0.3s;
}

.blog-slider__pagination .swiper-pagination-bullet-active {
  opacity: 1;
  background: #469eb4;
  height: 30px;
  box-shadow: 0px 0px 20px rgba(135, 207, 164, 0.3);
}

@media screen and (max-width: 768px) {
  .blog-slider__pagination .swiper-pagination-bullet-active {
    height: 11px;
    width: 30px;
  }
}


.div-page {
  margin-top:30px;
  text-align: center;
  padding: 2rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.page-button {
  flex: 1;
  /* 让每个按钮均分父容器的宽度 */
  border: 2px solid #0073e6;
  /* 添加边框 */
  padding: 30px;
  font-size: 18px;
  /* 调大字号 */
  position: relative;
  overflow: hidden;
  border-bottom:none;
  border-top:none;
  border-right:none;
  border-left-width: 10px;
  border-radius: 4px;
  background-color: #f7f8fa;
  /* 隐藏溢出的内容 */
}

.page-button a {
  color: black;
  background-color: transparent;
  text-decoration: none;
  position: absolute;
  z-index: 1;
  top: 15px;
  left: 0;
  right: 0;
  bottom: 0;
}

.page-button:hover {
  background-color: #fff;
  /* 按钮悬停时的背景颜色 */
}
.div-active{
  background-color: rgb(70, 158, 180,0.3);
}
.href-active {
  text-decoration: underline !important;
  text-underline-offset: 10px;
}

.page-button::before {
  content: '';
  position: absolute;
  top: 0;
  right: 100%;
  bottom: 0;
  width: 100%;
  background-color: #fff;
  /* 初始背景颜色 */
  transition: right 0.3s, background-color 0.3s;
  /* 添加右侧位置和颜色的过渡效果 */
  z-index: 0;
}

.page-button:hover::before {
  right: 0;
  /* 从右往左扩展 */
  background-color: rgb(70, 158, 180,0.3);
  /* 悬停时的背景颜色 */
}

.page2 {
  display: none;
}