body {
    padding-top: 56px;
    overflow-x: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
th, td {
    border: 1px solid #fff;
    padding: 8px;
    text-align: left;
    word-break: break-all;
}
th {
    background-color: #7abdd773;
}
tr:nth-child(odd) {
    background-color: #7abdd745;
}

tr:nth-child(1) {
    background-color: #7abdd7;
    font-weight: bold;
    color: #fff;

}

tr:hover {
    background-color: #7abdd773;
}

tr:nth-child(1):hover {
    background-color: #7abdd7;
    font-weight: bold;
}

/* 滚动条整体样式 */
::-webkit-scrollbar {
    width: 12px; /* 垂直滚动条的宽度 */
    height: 12px; /* 水平滚动条的高度 */
  }
  
  /* 滚动条轨道样式 */
  ::-webkit-scrollbar-track {
    background: #f1f1f1; /* 滚动条轨道的背景色 */
    border-radius: 6px; /* 滚动条轨道的圆角 */
  }
  
  /* 滚动条滑块样式 */
  ::-webkit-scrollbar-thumb {
    background: #888; /* 滚动条滑块的背景色 */
    border-radius: 6px; /* 滚动条滑块的圆角 */
  }
  
  /* 滚动条滑块 hover 状态 */
  ::-webkit-scrollbar-thumb:hover {
    background: #555; /* 滚动条滑块 hover 状态下的背景色 */
  }
  
  /* 滚动条按钮样式 */
  ::-webkit-scrollbar-button {
    display: none; /* 隐藏滚动条按钮 */
  }
  
  /* 滚动条角落样式 */
  ::-webkit-scrollbar-corner {
    background: #f1f1f1; /* 滚动条角落的背景色 */
  }

.left-aligned {
    margin-left: auto;
}

.bg-dark {
        background-color: rgba(55, 172, 225, 0.8) !important;
    /* background-color: rgba(194, 227, 237, 0.8) !important; */

}

.bg-hero {
    background-color: #ffeedd;
    height: 84vh;
    margin-top: -80px;
}

/* CALLOUT */
.bd-callout {
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #e9ecef;
    border-left-width: .25rem;
    border-radius: .25rem
}

.bd-callout h4 {
    margin-bottom: .25rem
}

.bd-callout p:last-child {
    margin-bottom: 0
}

.bd-callout code {
    border-radius: .25rem
}

.bd-callout+.bd-callout {
    margin-top: -.25rem
}

.bd-callout-info {
    border-left-color: #5bc0de
}

.bd-callout-warning {
    border-left-color: #f0ad4e
}

.bd-callout-danger {
    border-left-color: #d9534f
}





/* FLEX 布局 */
.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.flex-wrap {
    flex-wrap: wrap;
}



/* 导航栏相关 */
.nav-link:hover {}


/* 封图相关 */
header {
    width: 100vw;
    background-color: transparent;
    margin-top: -80px;
    min-height: 50vh;
}

.header-box {
    width: 100%;
    /* position: relative; */
}

.header-bg-wave {
    /* position: relative; */
    width: 100vw;
    /* top: 0; */
    height: auto;
}

.header-cover {
    position: absolute;
    width: 100vw;
    top: 0;
    height: 100%;
}

.header-cover-img {
    position: absolute;
    z-index: 2;
    height: 70%;
    width: auto;
    top: 10%;
}


.header-cover-title {
    font-size: 6rem;
    font-family: fantasy;
    color: #fff;
    position: absolute;
    top: 30%;
    z-index: 3;
}


/* 文案描述相关 */
.page-content {
    background-color: #E6FFF8;
    width: 100vw;
    position: relative;
    min-height: 200vh;
}

.page-content-box {
    width: 80vw;
}

/* 文案描述-目录相关 */
.sidebar {
    overflow-x: hidden;
    background-color: #C2E3ED;
    width: 26%;
    padding: 30px 20px;
    -webkit-mask: radial-gradient(circle 2rem at 100% 50%, #0000 98%, #000) 0 0 / 100% 2.4rem;
    position: sticky;
    top: 80px;
    height: 100vh;
    padding-right: 50px;
    overflow-y: auto;
}

/* 滚动条 */
/* 初始状态下的滚动条样式 */
.sidebar::-webkit-scrollbar {
    width: 6px; /* 设置滚动条的宽度 */
    height: 12px;
}

/* 滚动条滑块的样式 */
.sidebar::-webkit-scrollbar-thumb {
    background-color: #888; /* 设置滑块的颜色 */
    border-radius: 6px; /* 设置滑块的圆角 */
    

}

/* 滚动条轨道的样式 */
.sidebar::-webkit-scrollbar-track {
    background-color: #f1f1f1; /* 设置轨道的颜色 */
    border-radius: 6px; /* 滚动条轨道的圆角 */

}

/* 滚动条滑块 hover 状态 */
.sidebar::-webkit-scrollbar-thumb:hover {
    background: #555; /* 滚动条滑块 hover 状态下的背景色 */
}

/* 滚动条按钮样式 */
.sidebar::-webkit-scrollbar-button {
    display: none; /* 隐藏滚动条按钮 */
    }
    
/* 滚动条角落样式 */
.sidebar::-webkit-scrollbar-corner {
    background: #f1f1f1; /* 滚动条角落的背景色 */
}



.sidebar-title {
    font-weight: bold;
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-align: center;
}

.sidebar>a {
    text-decoration: none;
    width: 80%;
    margin: 10px 0;
    color: black;    
}

.sidebar-item {
    width: 100%;
}

.sidebar-item:hover>.sidebar-item-circle {
   
}

.sidebar-item:hover>.sidebar-item-text {
    color: #fff;
}

.sidebar-item-text-active {
    color: #fff;
}

.sidebar-item-circle-active {
    /* background-image: url(https://static.igem.wiki/teams/5488/mascot-center.png);
    background-size: cover; */
}



.sidebar-item-circle {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    margin: 0 8px;
    transition: .2s;
    margin-right: 16px;
}

.sidebar-item-text {
    transition: .2s;
    font-size: 1.4rem;
    width: 80%;
    font-family: math;
}

/* 二级 */

.sidebar-item-b {
    width: 90%;
    margin-left: 39%;
    padding-right: 4%;
    font-size: 1rem !important;
    font-family: serif;
}

.sidebar-item-b:hover>.sidebar-item-circle-b {
    
}

.sidebar-item-b:hover>.sidebar-item-text-b {
    color: #fff;
}



.sidebar-item-circle-b {
    
}

.sidebar-item-text-b {
    transition: .2s;
    font-size: 1.1rem !important;
}


/* 三级 */

.sidebar-item-c {
    width: 80%;
    margin-left: 34%;
}

.sidebar-item-c:hover>.sidebar-item-circle-c {
    
}

.sidebar-item-c:hover>.sidebar-item-text-c {
    color: #fff;
}



.sidebar-item-circle-c {
    
}

.sidebar-item-text-c {
    transition: .2s;
    font-size: 0.8rem;
    margin-left: 26%;
    font-family: serif;
}


/* 文案描述-正文相关 */

.desc-content {
    width: 50%;
    margin: 0 auto;
    padding-top: 50px;
    background-color: rgb(255 255 255 / 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;
    color: rgb(26 25 25 / 75%);
    padding: 20px 40px;
    margin-top: 20px;
    background-image: url("https://static.igem.wiki/teams/5449/description/content.png");
    padding-bottom: 100px;
}

/* 标题文本 */
.desc-content-title {
    margin: 30px 0;
    width: 100%;
}

.desc-content-title-circle {
    /* height: 72px;
    width: 72px;
    border-radius: 50%;
    background-color: #224b8f;
    box-shadow: 0px 0px 5px #122a52, 0px 0px 10px #0a1a35; */
}

.desc-content-title-text {
    background-color: #fff;
    width: 100%;
    box-shadow: 8px 5px 1px #a0dfc3;
    padding: 10px 20px;
    font-size: 1.8rem;
    font-weight: bold;
    border-left: 5px solid #80c5a6;
    border-radius: 28px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    background-clip: padding-box; /* 防止背景延伸到边框之外 */

} 
    .desc-content-title-text::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: -20px; /* 稍微超出卡片的padding */
    background: inherit; /* 继承背景色 */
    border-radius: 28px; /* 继承圆角 */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* 添加额外的阴影 */
    filter: blur(5px); /* 模糊阴影以产生水波纹效果 */
    }
    
    .desc-content-title-text::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0));
        background-size: 200% 100%;
        background-position: left center;
        z-index: -1;
        animation: moveGradient 3s linear infinite;
    }
    
    @keyframes moveGradient {
    0% {
        background-position: left center;
    }
    100% {
        background-position: right center;
    }
    }
      


.desc-content-title-b {
    margin: 20px 0;
    width: 100%;
}

.desc-content-title-circle-b {
    /* height: 72px;
    width: 72px;
    border-radius: 50%;
    background-color: #224b8f;
    box-shadow: 0px 0px 5px #122a52, 0px 0px 10px #0a1a35; */
}

.desc-content-title-text-b {

    width: 100%;

    font-size: 1.7rem;
    font-weight: bold;
}

/* 普通文本 */
.descrption-article-text {
    border-bottom: 1.7rem solid transparent;
}

.descrption-article-text>p {
    font-size: 1.4rem !important;

    line-height: 1.7 !important;
    font-family: 'Times New Roman', Times, serif;
    overflow: inherit;
    word-wrap: break-word;
    margin: 0;
}

/* 强调文本 */
impt {
    color: #2d89e5;
}

/* 列表 */
.desc-content ul,
ol {
    border-bottom: 1.7rem solid transparent;

}

.desc-content ul,
ol li {
    font-size: 1.4rem !important;
    line-height: 1.7 !important;
    font-family: 'Times New Roman', Times, serif;
    overflow: inherit;
    word-wrap: break-word;
}


/* 图片 */
.desc-content img {
    margin: 20px auto;
    width: 80%;
}

.desc-content-img-desc {
    width: 100%;
    text-align: center;
    font-size: 1.2rem;
    color: #3d7f67;
    margin-top: -10px;
    font-family: 'Times New Roman', Times, serif;
}


/* 超链接 */
.desc-content a {
    color: #2d89e5;
    text-decoration: none;
}

.desc-content a:hover {
    color: #0a58ca;
}

.desc-content-title-text-c {
    font-size: 1.2rem;
    font-weight: bold;
    font-family: auto;
}


/* TEAM */
.team-content {
    width: 80vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    
}

strong {
    font-size: 1.4rem !important;
    line-height: 1.7 !important;
    font-family: 'Times New Roman', Times, serif;
    overflow: inherit;
    word-wrap: break-word;
    margin: 0;
}

.team-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 100px;
    height: 300px;
    width: 100%;
}

.team-row-item {
    width: 46%;
    height: 100%;
    display: flex;
    flex-direction: row;
}

.team-item-img {
    width: auto;
    height: 100%;
}

.team-item-text {
    margin-left: 20px;
    /* width: calc(46% - 240px); */
    font-family: 'Times New Roman', Times, serif;
    font-size: 1rem;
    overflow-y: auto;
}

.team-item-text::-webkit-scrollbar {
    width: 0px;
}

.top{
    position: relative;
    height: 10vw;
}
.top img{
        position: absolute;
        bottom: -3vw; 
        right: -3vw!important; 
        height: auto; 
        width: 40%!important;
}

.top img:hover{
    content:url('https://static.igem.wiki/teams/5449/description/top2.png');
}


.test-tube {
    position: absolute;
    width: 5vw;
    height: 100vh;
    left:2vw;
    top:7vw;


}

.border1 {
    position: absolute;
    top:-1vw;
    left: -1vw;
    width: 5vw;
    height: 1vw;
    padding: 0.5vw;
    border-left: 1px solid black; /* 添加左边框 */
    border-right: 1px solid black; /* 添加右边框 */
    border-top: 1px solid black;
    border-top-left-radius: 5vw; /* 设置左下角为半圆 */
    border-top-right-radius: 5vw; /* 设置右下角为半圆 */
}

.border2 {
    position: absolute;
    top:0vw;
    left: -1vw;
    width: 5vw;
    height: 1vw;
    padding: 0.5vw;
    border-left: 1px solid black; /* 添加左边框 */
    border-right: 1px solid black; /* 添加右边框 */
    border-top: none; /* 移除顶边框 */
    border-bottom-left-radius: 5vw; /* 设置左下角为半圆 */
    border-bottom-right-radius: 5vw; /* 设置右下角为半圆 */
}

.border3{
    margin-top: 1vw;
    width: 3vw; 
    height: 10vw;
    padding: 0.5vw;
    border-left: 1px solid black; /* 添加左边框 */
    border-right: 1px solid black; /* 添加右边框 */
    border-bottom: 1px solid black; /* 添加下边框，并设置圆角 */
    border-bottom-left-radius: 2vw; /* 设置左下角圆角 */
    border-bottom-right-radius: 2vw; /* 设置右下角圆角 */
}


.color-block {

    margin-top: 0.3vw;
    width: 1.8vw;
    height: 1.8vw;
    z-index: 2; /* 确保色块在边框上方 */
    border-bottom-left-radius: 0.3vw; /* 设置左下角为半圆 */
    border-bottom-right-radius: 0.3vw;
}



.attachment-card {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 20px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f9f9f9;
    width: 400px;
}

.attachment-card .attachment-card-details {
    font-size: 14px;
}

.attachment-card .download-button {
    background-color: #000;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.attachment-card .attachment-card-icon {
    margin-right: 20px;
    width: 60px;

}

.attachment-card .download-button:hover {
    background-color: #fff;
    color: #000;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);

}

.attachment-card-details-filename {
    width: 160px;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap; /* 不换行 */
    overflow: hidden; /* 隐藏溢出的内容 */
    text-overflow: ellipsis; /* 超出部分显示省略号 */
}

.attachment-card-details > p {
    font-size: 12px;
    color: #666;
}