@font-face {
  font-family: 'SourceHanSansCN';
  src: url('../font/SourceHanSansCN-Regular.otf') format('truetype');
}
.border {
  border: 1px solid #ccc;
}
.stu:hover,
.phy:hover,
.nat:hover,
.other:hover,
.Smart:hover,
.active:hover {
  cursor: pointer;
}
main {
  width: 1440px;
  margin: 30px auto 200px;
  display: flex;
  font-family: 'SourceHanSansCN';
}
main .left {
  flex: 1;
}
main .right {
  flex: 2;
  margin-left: 50px;
  display: grid;
  grid-auto-rows: auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-content: flex-start;
}
main .right .right_item {
  border: 1px solid #ccc;
  height: 268px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  overflow: hidden;
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  cursor: pointer; 
}

main .right .right_item:hover {
  box-shadow: 6px 6px 8px #e6e6e6, -6px -6px 8px #e6e6e6;
  border: 1px solid #fff;
  transform: translateY(-16px);
  -webkit-transform: translateY(-16px);
}
main .right .right_item img {
  width: 234px;
  height: 193px;
  transition: transform 0.3s ease-in-out;
}

/* -------------其他考试测评系列----------- */
main .right .right_items {
  border: 1px solid #ccc;
  height: 268px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  overflow: hidden;
  transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
  cursor: pointer; 
}

main .right .right_items:hover {
  box-shadow: 6px 6px 8px #e6e6e6, -6px -6px 8px #e6e6e6;
  border: 1px solid #fff;
  transform: translateY(-16px);
  -webkit-transform: translateY(-16px);
}
main .right .right_items img {
  width: 243px;
  height: 143px;
  transition: transform 0.3s ease-in-out;
  display: block; /* （可选）确保图片作为块级元素显示，这通常用于确保margin: auto;生效，以便水平居中。 */
  margin: auto;/* （可选）将图片在其父元素中水平居中。 */
}
main .right .right_items p {
  width: 100%;
  padding: 18px 0;
  border-top: 1px solid #ccc;
}
main .right .right_items p:hover {
  /* text-decoration: underline;
  color: #356baf; */
  cursor: pointer;
}
/* main .right .right_item img:hover {
  transform: scale(1.2);
} */
main .right .right_item p {
  width: 100%;
  padding: 12px 0;
  border-top: 1px solid #ccc;
}
main .right .right_item p:hover {
  /* text-decoration: underline;
  color: #356baf; */
  cursor: pointer;
}
main .left .show_card {
  padding: 20px;
}
main .left .show_card p {
  margin: 20px 0;
  font-size: 24px;
  font-family: 'SourceHanSansCN';
  color: #1c2530;
}

main .left .show_card p span {
  background: linear-gradient(to right, #fff, #356baf) no-repeat left bottom;
  background-size: 0 2px;
  transition: background-size 1300ms;
}

main .left .show_card p span:hover {
  color: #356baf;
  background-position-x: left;
  background-size: 100% 2px;
}

main .left .show_card .active {
  font-size: 45px;

  font-weight: 400;
  color: #356baf;
}

.container {
  display: grid;
  grid-template-rows: auto auto auto auto;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.item {
  border: 1px solid #ccc;
  text-align: center;
}
.item img {
  width: 100%;
  height: 100%;
}

.item:nth-child(1) {
  grid-row: 1 / span 1;
  grid-column: 1 / span 2;
}

.item:nth-child(2),
.item:nth-child(3) {
  grid-row: 2 / span 1;
}

.item:nth-child(4),
.item:nth-child(5) {
  grid-row: 3 / span 1;
}

.item:nth-child(6) {
  grid-row: 4 / span 1;
  grid-column: 1 / span 2;
}
