.cd-container {
  display: inline-block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  position: relative;
  padding: 1em 0;
  margin-top: 2em;
  margin-bottom: 2em;
}

/* 左侧时间线 */
.cd-timeline-line {
  content: "";
  position: absolute;
  left: 5%;
  top: 16px; /* 控制线条的垂直位置 */
  height: 95%; /* 线条的高度 */
  width: 10px; /* 线条的宽度，可以根据需要调整 */
  background: rgb(43, 7, 16); /* 线条的颜色 */
  z-index: 10;
}
/* 一个时间点 */
.cd-timeline-block {
  position: relative;
  display: inline-block;
  padding: 2em 0;
  width: 100%;
  /* left: 2.5%; */
}

/* relative: 相对.cd-timeline-block定位 */
.cd-timeline-redcircle {
  position: absolute;
  background-color: rgb(210, 90, 120);
  border-radius: 50%;
  box-shadow: 0 0 0 4px #ffffff, inset 0 2px 0 rgba(0, 0, 0, 0.98),
    0 3px 0 4px rgba(0, 0, 0, 0.05);

  width: 60px;
  height: 60px;
  left: 5.5%;
  z-index: 10;
  margin-left: -30px;
}

/* ============================================ */
/* 文字 */

.cd-timeline-content {
  position: relative;
  background: rgb(210, 90, 120);
  /* 感觉太丑了 */
  /* border-radius: 50px / 100px; 横向半径和纵向半径，创建椭圆形状 */
  border-radius: 50px;
  box-shadow: 10px 10px 0 4px rgb(249, 215, 225),
    0 3px 0 4px rgba(0, 0, 0, 0.05);
  margin-left: 0;
  padding: 1.6em;
  width: 80%;
  left: 15%;
}

.c1 {
  padding-top: 10px;
  width: 100%;
  position: relative;
  display: flex;
  /* gap: 10px; */
}

.c1 .round-image {
  /* flex布局相关 */
  flex-shrink: 0;
  /* 其他 */
  width: 120px;
  height: 120px;
  border-radius: 50%; /* 使容器变成圆形 */
  overflow: hidden; /* 隐藏超出圆形区域的部分 */
  position: relative; /* 可选：用于定位图片（如果需要） */
  transition: top 0.2s ease-in-out, width 0.5s, height 0.5s;
}

.round-image img {
  width: 100%; /* 使图片的宽度等于容器的宽度 */
  height: 100%; /* 使图片的高度等于容器的高度 */
  object-fit: cover; /* 确保图片完全覆盖容器 */
  object-position: center; /* 可选：确保图片在容器中居中显示 */
}

/* .round-image:hover {
  width: 150px;
  height: 150px;
} */

/* 卡片文字部分 */
/* 无效化其他css文件干扰属性在记录此处 */

  /* padding-left: 40px;
  .main #content p {
    width: 100%;
    margin: 10px 0;
    text-align: justify;
    text-indent: 2em;
    line-height: 1.5em;
font-family: ; */

#content .cd-timeline-block .cd-timeline-content .c1 .parraf {
  width: 100%;
  height: 100px;

  transition: top 0.2s ease-in-out, width 0.5s, height 0.5s;
  margin: 0 1em;
  margin-top: 5px;
  line-height: 1.6;

  font-size: 1rem;
  text-align: left;
  text-indent: 0%;
  padding-left: 40px;
  color: white;
}

#content .cd-timeline-content .c1 .parraf b {
  /* margin: 0em -0.5em; */
  line-height: 1.6;
  color: #0f0104;
  font-size: 25px;
}

#content .cd-timeline-content .parraf h2 {
  font-size: 20px;
  font-size: 1.25rem;
}

/* 框底下的readme */
.cd-timeline-content .cd-read-more1 {
  float: left;
  width: 123px;
  height: 38px;
  margin-top: -30px;
  /* margin-left: -30px; */
  background: #0f1819;
  border-radius: 5.25em;
  display: flex; /* 启用 flexbox 布局 */
  align-items: center; /* 垂直居中对齐图片 */
  justify-content: center; /* 水平居中对齐图片 */
  overflow: hidden; /* 确保图片不溢出圆角区域 */
}

#content .cd-timeline-block .cd-timeline-content .cd-read-more1 a {
  display: block; /* 使链接占据整个区域 */
  width: 100%; /* 链接宽度与容器一致 */
  height: 100%; /* 链接高度与容器一致 */
  position: relative; /* 设置为相对定位 */
  text-decoration: none;
}

.cd-timeline-content .cd-read-more1 img {
  width: 100%; /* 图片宽度与链接一致 */
  height: 100%; /* 图片高度与链接一致 */
  object-fit: cover; /* 确保图片覆盖整个链接区域 */
  position: relative; /* 设置为相对定位 */
  transform: translate(4px, -8px) scale(3); /* 中心居中并扩大三倍 */
}

/* #block a, .main #content a {
  color: var(--y);
  text-decoration: underline;
  background-image: linear-gradient(0deg, transparent, transparent);
  transition: 0.6s;
} */

#content .cd-timeline-block .cd-timeline-content .cd-read-more1{
  text-decoration: none;
  color: #00000000;
  background-image: none;
  border: 3px solid #00000000;
}

#content .cd-timeline-block .cd-timeline-content .cd-read-more1:hover{
  border: 3px solid rgb(249, 215, 225);
}

/*====================== 
这里是跳出的全页配置
==================  */

.popup {
  display: none;
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -35%);
  width: 70%;
  height: 80%;
  z-index: 9999;
  border-radius: 67px;
  animation: fade-in 0.5s ease forwards;
  flex-direction: column;
  background: white;
  box-shadow: 10px 10px 0 4px rgb(249, 215, 225),
    0 3px 0 4px rgba(0, 0, 0, 0.05);
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* 文本框上面 */
.PopUpTitle {
  background-color: rgb(214, 59, 119);
  border-radius: 67px 67px 0 0;
  color: white;
  font-size: 20px;
  text-align: center;
  padding: 9px;
  font-family: "Montserrat-Semi";
}

/* 这个是跳出来的 */
.PopUpContent {
  color: rgb(214, 59, 119);
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
  height: fit-content;
  overflow-y: auto;
  padding-top: 2%;
  padding-bottom: 2%;
}
#content .popup .PopUpContent p {
  margin-top:0pt; 
  margin-bottom:0pt; 
  line-height:170%; 
  font-size:12pt;
  padding: 5px 0;
  text-indent: 0;
  color: var(--font);
} 
#content .popup .PopUpContent h4 {
  margin-top:0pt; 
  margin-bottom:0pt; 
  /* line-height:170%;  */
  font-size:15pt;
  /* padding: 5px 0;  */
  text-indent: 0;
  color: var(--dg);
  opacity: 1;
} 
#content .popup .PopUpContent h5 {
  margin-top:0pt; 
  margin-bottom:0pt; 
  line-height:170%; 
  font-size:12pt;
  padding: 5px 0;
  text-indent: 0;
  color: var(--dg);
} 

.boton-ocultar {
  border-radius: 50%;
  width: 30px;
  height: 30px;
  color: white;
  font-weight: bold;
  background-color: red;
  box-shadow: 2px 2px 4px black;
  margin-bottom: 9%;
  position: absolute;
  float: right;
  top: 5%;
  right: 5%;
  cursor: pointer;
}


.boton-ocultar:hover {
  background-color: rgb(227, 7, 7);
}

.boton-mostrar-timeline {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  outline: 0;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  color: #000;
  background: #fff;
  line-height: 30px;
  border-radius: 40px;
  padding: 20px;
  font-size: 70px;
  font-weight: 600;
  box-shadow: rgb(255, 198, 0) -2px -2px 0px 2px,
    rgb(246, 84, 174) 0px 0px 0px 4px, rgba(0, 0, 0, 0.05) 0px 0px 2px 7px;
  transition: all 0.2s;
}

.boton-mostrar-timeline:hover {
  box-shadow: rgb(246, 84, 174) -2px -2px 0px 2px,
    rgb(255, 198, 0) 0px 0px 0px 4px, rgba(0, 0, 0, 0.05) 0px 0px 2px 7px;
  transform: scale(1.01);
}

#content .cd-container .PopUpContent .quote {
  text-indent: 0;
  opacity: 0.7;
  border-left: 2px solid var(--mg);
  margin: 0.5em;
  padding-left: 10px;
  font-style: normal;
}
