body {
  background-color: #fffff0;
  transition: background-color 0.3s ease;
}

.banner {
  /* position: relative; */
  width: 100%;
  height: 100vh;
  /* background: url(https://static.igem.wiki/teams/5384/doutian.png);
  background-size: cover; */
}

.night {
  background-color: #333;
}

body.day p,
body.day h1,
body.day h2,
body.day h3,
body.day h4,
body.day h5,
body.day h6,
body.day span,
body.day li,
body.day button {
  color: #000;
}

body.night p,
body.night h1,
body.night h2,
body.night h3,
body.night h4,
body.night h5,
body.night h6,
body.night span,
body.night li,
body.night button {
  color: #fff;
}

h2 {
  color: #343a40;
  font-size: 24px;
  margin-top: 20px;
}

hr {
  border: 1px solid #dee2e6;
}

p,
li {
  font-size: 16px;
  line-height: 1.5;
  color: #1f1f1f;
}

ul {
  list-style-type: none;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


/* 文字框 */
.text-box {
  width: 100%;
  margin-left: 23%;
  margin-right: 10%;
  padding: 20px;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.15), 0 0 30px rgba(0, 0, 0, 0.1), 0 0 40px rgba(0, 0, 0, 0.05);
}

.text-box h1 {
  font-family: '等线';
  font-weight: 700;
  font-size: 30px;
  margin-top: 20px;
  color: #111;
  letter-spacing: 2px;
}

.text-box h2 {
  font-size: 20px;
  margin-top: 15px;
  color: #444;
}

.text-box h3 {
  font-size: 20px;
  font-weight: 400;
  margin-top: 15px;
  color: #555;
}

.text-box p {
  font-size: 16px;
  line-height: 1.5;
  margin-top: 10px;
  color: #222;
}

.text-box ol {
  margin-top: 10px;
  padding-left: 20px;
}

.text-box li {
  margin-top: 5px;
  color: #222;
}

/* 左侧垂直导航栏 */
.vertical-nav {
  position: fixed;
  width: 16%;
  max-height: 260px;
  padding: 10px;
  margin-left: 3%;
  /* border: 1px solid #ccc; */
}

.vertical-nav a {
  display: flex;
  padding: 8px;
  text-decoration: none;
}

.vertical-nav a:hover {
  background-color: #ddd;
}

@media (max-width: 1200px) {
  .vertical-nav {
    display: none;
  }

  .text-box {
    margin-left: 10%;
    margin-right: 10%;

  }
}

/* page-box */
.page-box {
  position: relative;
  width: 100%;
  display: flex;
  margin-top: 150px;
  margin-bottom: 100px;
}

/* Slider */
body::-webkit-scrollbar {
  width: 3.5px;
  background: linear-gradient(to bottom,
      #f69fa7 0%,
      #ecd29e 20%,
      #f8fcb3 40%,
      #96dff3 60%,
      #A0EEE1 80%,
      #da97f3 100%);
}

body::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom,
      #888 0%,
      #888 100%);
}

table {  
  width: 100%;  
  border-collapse: collapse; /* 合并边框 */  
}  
  
th, td {  
  border: 1px solid #FFB061; /* 设置边框 */  
  padding: 8px; /* 单元格内边距 */  
  text-align: left; /* 文本左对齐 */  
}  
  
th {  
  background-color: #FFB061; /* 表头背景色 */  
}

.indented {  
  text-indent: 20px; /* 或者使用 padding-left: 20px; 根据需要选择 */  
}

.tituloContenido {
  margin-left: 0px;
}

.accordion-item {
  justify-self: center;
  background-color: #ffffff;
  color: #111;
  margin: auto;
  border-radius: 3px;
  box-shadow: 7px 7px rgb(142, 189, 231) ;
  width: 90%;
  margin-bottom: 15px;
  border: solid 0.5px #EBEBF1;

}


.accordion-item-header {
  min-height: 35px;
  font-size: 1.2rem;
  padding: 0.5rem 3rem 0.5rem 1rem;
  line-height: 1.5;
  font-weight: 500;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  font-family: 'Bricolage Grotesque';
  font-size: 1.5rem;
}
.accordion-item-header::after {
  content: "\002B";
  font-size: 1.5rem;
  position: absolute;
  right: 1rem;
}
.accordion-item-header.active::after {
  content: "\2212";
}
.accordion-item-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  padding-left: 20px;
  padding-right: 20px;

}
.accordion-item-body-content {
  padding: 1rem;
  line-height: 1.5rem;
  border-top: 1px solid;
  border-image: linear-gradient(to right, transparent, #34495e, transparent) 1;
  justify-content:center;
  font-weight: 400;
  font-family: 'Quicksand';
  text-align: justify;
  margin-left: 20px;
  margin-right: 20px;
}

.ag-format-container {
  width: 1142px;
  margin: 0 auto;
  position: relative;
  z-index: 1;

}



.ag-courses_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;

  padding: 50px 0;
}

.ag-courses_item {
  -ms-flex-preferred-size: calc(33.33333% - 30px);
  flex-basis: calc(33.33333% - 30px);

  margin: 0 15px 30px;

  overflow: hidden;

  border-radius: 28px;
}

.ag-courses-item_link {
  display: block;
  padding: 30px 20px;
  background-color: #dbdbe0;
  color: #000000;

  overflow: hidden;

  position: relative;
}


.ag-courses-item_link:hover .ag-courses-item_bg {
  -webkit-transform: scale(10);
  -ms-transform: scale(10);
  transform: scale(20);
}

.ag-courses-item_title {
  margin: 0 0 25px;
  font-family: 'Bricolage Grotesque';
  overflow: hidden;

  font-size: 23px;
  font-weight: bold;

  line-height: 1.15;
  z-index: 2;
  position: relative;
}

.ag-courses-item_date-box {
  font-size: 18px;


  z-index: 2;
  position: relative;
}

.ag-courses-item_link:hover,
.ag-courses-item_link:hover .ag-courses-item_date {
  text-decoration: none;
  color: #FFF;
}



.ag-courses-item_bg {
  height: 128px;
  width: 128px;
  background-color: #f9b234;

  z-index: 1;
  position: absolute;
  top: -75px;
  right: -75px;

  border-radius: 50%;

  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  transition: all .5s ease;
}

.ag-courses_item:nth-child(1) .ag-courses-item_bg {
  background-color: #447D9C;
}

.ag-courses_item:nth-child(2) .ag-courses-item_bg {
  background-color: #C55B75;
}

.ag-courses_item:nth-child(3) .ag-courses-item_bg {
  background-color: #A9BA6C;
}

.card-zwm-container {  
  display: flex;  
  flex-direction: column; /* 使子元素垂直排列 */  
  align-items: center; /* 在交叉轴上居中对齐子元素（可选，根据需要） */  
  /* gap: 20px; */ /* 在子元素之间添加间隙 */  
  width: 100%; /* 或您想要的其他宽度 */  
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}  


.card-zwm {
  display: flex;  
  flex-direction: column;  
  justify-content: center; /* 垂直居中 */  
  align-items: center; /* 水平居中，对于垂直布局不是必须 */ 
  width: 90%;
  height: 70%;
  margin: 0 auto;
  /* padding: 20px; */
  border-radius: 30px;
}

.card-zwm .image {
  width: 60%;
  /* padding: 20px; */
  height: auto;
  /* border-radius: 10px; */
  transition: transform 1s ease-in-out;
  user-select: none;
 /*  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
}

.card-zwm .text {
  width: 100%;
  /* padding: 20px; */
  text-align: center;
}



/* .layout {
  width: 92vw;
  height: 100%;
  display: flex;
  flex-wrap: nowrap;
} */

.image-zwm-container {  
  /* 使容器居中（这取决于你的布局需求，以下是一种常见方法） */  
  display: flex;  
  justify-content: center; /* 水平居中 */  
  border-radius: 0; /* 禁止圆角 */  
  box-shadow: none; /* 禁止阴影 */  
}  

.image-zwm-container img {  
  /* 使图片高度自适应，同时保持其宽高比 */  
  max-width: 100%; /* 宽度自适应容器宽度 */  
  height: auto; /* 高度根据图片原始宽高比自动调整 */  
  /* 禁止图片本身的CSS样式（如果有的话）覆盖上述设置 */  
  border-radius: inherit; /* 继承父容器的border-radius，这里因为设置为0，所以无效果 */  
  box-shadow: inherit; /* 同上，但同样因为设置为none，所以无效果 */  
}