
@font-face {
    font-family: fzst;
    src: url("https://static.igem.wiki/teams/5458/fonts/fznstjw.woff2");
}

.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;
}

.descrption-article-text > p {
    font-size: 1.4rem !important;
    line-height: 1.6 !important;
    font-family: math;
    overflow: inherit;
    font-family: 'Times New Roman', Times, serif;
    word-wrap: break-word;
}

.descrption-article-img {
    width: 80%;
    margin: 30px 10% 10px 10%;
}


/* 两张图片 */
.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: 1.2rem;
    text-align: center;
    color: #ffffffd1;
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: 30px;
}

.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;
}




/* 晶晶姐的 */

    /* 默认样式 */
*{
    margin: 0;
    padding: 0;
}

#app{
    margin: 0;
    padding: 0;
    width: 100vw;
    /* height: 100vh; */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}

/* 主页样式---page 1 */
#mainBox{
    width: 100vw;
    /* height: 93vh; */
    background-image: url(https://static.igem.wiki/teams/5458/description/writing-background.png);
    background-size: cover;
    background-repeat: repeat-y;
    background-position: center;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}

.onePageBox{
    /* position: relative; */
    height: 93vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

#page1Bg{
    width: 70vw;
    max-width: 70vw;
    max-height: 80vh;
    position: absolute;
    z-index: 30;
}

#innerPhoto{
    position: absolute;
    width: 50vw;
    z-index: 29;
}

/* page2 */
.desAllOuterBox{
    position: relative;
    min-height: 93vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: row;
    flex-shrink: 0;
    margin-bottom: 40px;
}

#contentBox{
    width: 26vw;
    height: 90vh;
    position: sticky;
    top: 5vw;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    background-image: url(https://static.igem.wiki/teams/5458/description/content-bg.png);
    background-size: contain;
    margin-left: -2vw;

}

#stickContentBox{
    width: 26vw;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    z-index: 400;


}

#contentBg{
    position: absolute;
    width: 15vw;
}

#contentTextBox{
    position: relative;
    width: 20vw;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    margin-top: 3vw;
    height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 50px;
}



/* 滚动条整体样式 */
#contentTextBox::-webkit-scrollbar {
    width: 12px; /* 垂直滚动条的宽度 */
    height: 12px; /* 水平滚动条的高度 */
}

/* 滚动条轨道样式 */
#contentTextBox::-webkit-scrollbar-track {
    background: #f1f1f1; /* 笔杆的颜色 */
    border-radius: 6px; /* 笔杆的圆角 */
}

/* 滚动条滑块样式 */
#contentTextBox::-webkit-scrollbar-thumb {
    background: #555; /* 墨水的颜色 */
    border-radius: 6px; /* 滑块的圆角 */
}

/* 滚动条滑块hover样式 */
#contentTextBox::-webkit-scrollbar-thumb:hover {
    background: #777; /* 滑块悬停时的颜色 */
}

#ContentBigTitle{
    font-size: 1.6vw;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 49.1px;
    text-decoration-line: underline;
    color: rgba(255, 255, 255, 1);
    /* background-image: url('https://static.igem.wiki/teams/5458/description/content-bg.png'); */
}

.decorateImageSize{
    width: 25px;
}

.decorateImageSize2{
    width: 20px;
}

.contentSmallTitleBox{
    width: 20vw;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-family: fzst, math;
    flex-direction: row;
    font-weight: bold;
    color: rgba(255, 255, 255, 1);

    
}
.contentSmallTitle:hover  {
    color: #000;
}

.contentSmallTitle a {
    transition: .3s;
    
}

.contentSmallTitle a:hover {
    color: #000 !important;

}

.contentSmallTitle{
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0px;
    line-height: 1.7;
    padding: 14px 0;
    cursor: pointer;
    text-align: center;
    width: 100%;
    transition: .3s;
}

.page_content {
    font-weight: bold;
}



#startEatLeft{
    position: relative;
    animation: eatTitleLeft 0.7s linear forwards;
}

#startEatRight{
    position: relative;
    animation: eatTitleRight 0.7s linear forwards;
}

@keyframes eatTitleLeft {
    0% {
        position: relative;
        left: 0;
    }
    100% {
        position: relative;
        left: 2vw;
    }
}

@keyframes eatTitleRight {
    0% {
        position: relative;
        right: 0;
    }
    100% {
        position: relative;
        right: 2vw;
    }
}

#desctiptionBox{
    width: 56vw;
    margin-left: 4vw;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 200px;
    flex-direction: column;
    /* height: 200vh; */
    background-image: url(https://static.igem.wiki/teams/5458/description/write-desbg.png);
    background-size: contain;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

#desBg{
    width: 55vw;
}

.cover-text {
    font-size: 3.2rem;
    position: absolute;
    top: 36%;
    z-index: 100;
    font-family: math;

    color: #fff; /* 文本颜色 */
    text-shadow: 1px 1px 2px #000, 0 0 1em #d39652, 0 0 0.2em #d39652; 
}

#desRight {
    position: fixed;
    right: 20px;
    bottom: 40px;
    width: 10vw;
}

strong {
    text-decoration: underline;
}

#desContentBox{
    width: 90%;
    /* position: relative; */
    margin-left: 5%;
    padding: 50px 20px 50px 50px;
    /* margin-bottom: 40px; */
    background-color: rgba(255, 255, 255, 0.067);
    backdrop-filter: blur(1px);
}

#desContentBox::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    /* right: 0; */
    /* bottom: 0; */
    background: inherit; /* 继承背景图片 */
    filter: blur(8px); /* 调整模糊度 */
    z-index: 1;
  }
  
  #desContentBox::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    /* right: 0; */
    /* bottom: 0; */
    background: rgba(255, 255, 255, 0.5); /* 调整透明度和颜色 */
    z-index: 2;
  }

.titleBox{
    width: 45vw;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 40px;
}

.title1Img{
    width: 20vw;
    margin-right: 40px;
}

.title1Text{
    font-size: 2.2vw;
    font-weight: 600;
    color: rgba(0, 0, 0, 1);
    transform: scaleY(1.2);
    font-family: 'Courier New';
}

.normalText{
    font-size: 1.6rem;
    /* font-weight: 600; */
    color: #000;
    font-family: fzst, math;
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    /* margin-left: 150px; */
    display: flex;
    flex-direction: column;
    margin-left: 3rem;
    margin-right: 3rem;
}

.ocuppyTitle{
    width: 150px;
}

.title2Img{
    width: 16vw;
    margin-right: 40px;
}

.title2Text{
    font-size: 2.2vw;
    font-weight: 600;
    color: rgba(0, 0, 0, 1);
    transform: scaleY(1.2);
    font-family: 'Courier New';
}

.title3Img{
    width: 12vw;
    margin-right: 40px;
}

.title3Text{
    font-size: 1.8vw;
    font-weight: 600;
    color: rgba(0, 0, 0, 1);
    transform: scaleY(1.2);
    font-family: 'Courier New';
}

/* 清除a标签的默认样式 */
a{
    text-decoration: none;
    color:inherit;
}

a:active{
    color:inherit;
}


.attachment-card {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f9f9f9;
    width: 480px;
}

.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;
}



table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
}
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: #7d94af7a;
}

tr:nth-child(1) {
    background-color: #7d94af;
    font-weight: bold;
}

tr:hover {
    background-color: #93a8c17a;
}
