.page-content {
    width: 100vw;
    position: relative;
    min-height: 200vh;
    justify-content: space-evenly;
}

.page-content-box {
    width: 80vw;
}


/* 文案描述-目录相关 */
.sidebar {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    width: 26%;
    padding: 30px 20px;
    position: sticky;
    top: 120px;
    height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;

}

/* 默认隐藏滚动条 */
.sidebar::-webkit-scrollbar {
    width: 0;
}

/* 鼠标悬浮时显示滚动条 */
.sidebar:hover::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-track {
    background-color: lightgrey;
}


.sidebar-title {
    text-align: center;
    font-weight: bold;
    font-size: 3rem;
    color: #fff;
    -webkit-text-stroke: 1px #d04d74;
}

.sidebar > a {
    text-decoration: none;
    width: 80%;
    color: #d04d74;
    
}

.sidebar-item {
    width: 100%;
    margin-top: 40px;
}

.sidebar-item:hover > .sidebar-item-circle {
    background-color: #d1446f;
}

.sidebar-item:hover > .sidebar-item-text {
    /* color: #fff; */
    
}



.sidebar-item-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    /* background-color: #eeb8c7; */
    margin: 0 8px;
    transition: .2s;
    background-image: url('https://static.igem.wiki/teams/4965/wiki/sidebar/sidebar-small-flower-png.png');
    background-size: cover;
    background-repeat: no-repeat;
}

.sidebar-item-text {
    transition: .2s;
    font-size: 1.4rem;
    width: 80%;
    font-weight: bold;
    color: #d04d74;
    
}

.sidebar-item-text-active {
    /* color: #fff; */
}

.sidebar-item-circle-active {
    background-color: #d1446f;
}

.sidebar-item-b  {
    margin-top: 10px;
    margin-left: 30px;
    font-size: 1.2rem;
}

.sidebar-item-c  {
    margin-top: 10px;
    margin-left: 60px;
    font-size: 1rem;

}


/* 文案描述-正文相关 */

.desc-content {
    
    /* 毛玻璃效果 */
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 0.666667px solid rgba(255, 255, 255, 0.18);
    /* box-shadow: rgba(142, 142, 142, 0.19) 0px 6px 15px 0px; */
    -webkit-box-shadow: rgba(142, 142, 142, 0.19) 0px 6px 15px 0px;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    


    padding: 30px 50px;
    
    width: 56%;
    /* margin: 0 auto; */
    box-shadow: #ebacc0 0px 1px 2px 0px, #ebacc0b8 0px 2px 6px 2px;
    margin-bottom: 100px;
    margin-top: 100px;
    border-radius: 15px;

    margin-right: 9vw;
}

.desc-content-title {
    margin: 30px 0;
    width: 100%;
}

.desc-content-title-circle {
    margin-top: 11px;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: #e26788;
    box-shadow: 0px 0px 5px #d64c72, 0px 0px 10px #d1446f;
}

.desc-content-title-text {
    margin-left: -9px;
    width: 100%;
    font-size: 2rem;
    font-weight: bold;
}

.diy-text > p {
    font-size: 0.26rem !important;
    line-height: 1.6 !important;
    font-family: math;
    overflow: inherit;
    font-family: 'Times New Roman', Times, serif;
    word-wrap: break-word;
    margin-bottom: 0.2rem;
}

.descrption-article-img {
    width: 100%;
    margin: 0 auto;
    margin: 30px auto;
}


/* 两张图片 */
.desc-imgs-2 {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.desc-imgs-2 >img {
    width: 50%;
}

.desc-imgs-3 {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.desc-imgs-3 >img {
    width: 33%;
}


.desc-img-desc {
    color: grey;
    text-align: center;
    margin: 0 auto;
}


.desc-content-title-b  {
    font-size: 1.6rem;
    font-weight: bold;
}

.desc-content-img-desc {
    font-size: 0.25rem;
    text-align: center;
    color: #5f25248c;
    font-family: 'Times New Roman', Times, serif;
}

.desc-content-title-text-c {
    font-size: 1.3rem;
    margin: 10px 0;
    font-family: fantasy;
}

.desc-content a {
    text-decoration: none;
    font-size: 1.3rem;
    font-family: 'Times New Roman', Times, serif;
}



.article-desc-sub-title {
    opacity: 1;
    padding: 0.1rem 0.25rem;
    border-radius: 0.25rem;
    background: transparent;
    font-size: 0.24rem;
    font-weight: bold;
    color: #00628d;
    font-family: emoji;
    margin: 0.3rem 0;
}

.article-desc-sub-sub-title {
    opacity: 1;
    padding: 0.1rem 0.25rem;
    border-radius: 0.25rem;
    background: transparent;
    font-size: 0.26rem;
    font-weight: 700;
    color: #00628d;
    font-family: emoji;
    margin-top: 0.26rem;
    font-family: fangsong;
}


/* 进度条 */
  /* 进度条  */
  .progress-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: #9de7ff;
    z-index: 9999;
    overflow: visible !important;
  }
  
  .progress-bar span {
    display: block;
    height: 100%;
    background-color: #d80000;
    width: 0%;
    position: relative; /* 设置相对定位 */
  }

  .progress-bar span::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -26px;
    transform: translateY(-90%);
    width: 85px;
    height: 50px;
    background: url(https://static.igem.wiki/teams/5922/copywriting/process-icon.webp) no-repeat center center;
    background-size: cover;
    transition: right 0.5s;
  }


  /* 表格 */
  table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.25rem;
}
th, td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    word-break: break-all;
}
th {
    background-color: #f2f2f2;
}
tr:nth-child(odd) {
    background-color: #5f252424;
}

tr:nth-child(1) {
    background-color: #5f2524;
    font-weight: bold;
    color: #fff;
}

tr:hover {
    background-color: #5f252447;
}

tr:nth-child(1):hover {
    background-color: #5f2524;
}


/* styles.css */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff; /* Or any color you prefer */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;

}

#loading-screen img {
    max-width: 40vw; /* Adjust size as needed */
    animation: blink 2s linear infinite; /* Apply the spin animation */
    /* max-height: 100px;  */
}

/* Define the keyframes for the blink animation */
@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}