

/* 表格 */
table,
th,
td {
    border: 1px solid black;
    border-collapse: collapse;
}

th,
td {
    padding: 15px;
    text-align: center;
}

tr:first-child td {
    font-weight: bold;
}

/* pdf */
.pdf-holder {
    position: relative;
    overflow: hidden;
}

.download-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.download-btn:hover {
    background-color: #0056b3;
}

/*代码展示块*/
.code-container {
    width: 80%;
    margin: 0 auto;
    text-align: left;
}

pre {
    background-color: #000;
    color: #f8f8f2;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
    white-space: pre-wrap;
    font-family: monospace;
    line-height: 1.5vw;
    font-size: 1vw;
    width: 100%;
}

/*数学符号*/
.formula-container {
    display: flex;
    justify-content: center;
    /* 水平居中 */
    align-items: center;
    /* 垂直居中 */
    height: 100%;
    /* 父盒子高度 */
    padding: 1vh;
}

#mathShow {
    font-size: 1.5vw;
    font-weight: 500;
    text-align: center;
}


/*  */




/* 主业务 */
* {
    padding: 0;
    margin: 0;
    border: 0;
}

body {
    width: 100vw;
    overflow-x: hidden !important;
    background-color: rgb(226, 92, 81, 0.1);
}

body * {
    scroll-margin-top: 100px;
}

body {
    overflow-y: scroll;
    font-family: Arial, sans-serif;
    /* 光标样式 */
    cursor: url('https://static.igem.wiki/teams/5453/universal/shubiaozhizhen.png'), auto;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
    /* 滚动条宽度 */
}

/* 使用线性渐变设置滚动条轨道背景颜色 */
::-webkit-scrollbar-track {
    background: transparent;
}

/* 设置滚动条滑块的背景颜色为银色 */
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, rgb(238, 133, 16), rgb(254, 218, 180))
}
/* Menu */
.topMenu {
    color: rgb(226, 92, 81);
    font-size: 2.5vw;
    line-height: 3vw;
}

.menuline {
    width: 100%;
    height: 2px;
    background-color: #000
}

/* 渐变色文本 */
.main-title .title-content {
    display: inline;
    font-size: 3vw;
    line-height: 3.5vw;
    font-weight: 600;
    /* 可根据需要调整字体大小 */
    background-image: linear-gradient(to right, rgb(226, 92, 81),
            rgb(220, 95, 90),
            rgb(214, 98, 99),
            rgb(208, 101, 108),
            rgb(202, 104, 117),
            rgb(196, 107, 126),
            rgb(190, 110, 135));
    -webkit-background-clip: text;
    /* Safari / Chrome */
    color: transparent;
    /* 文本透明化 */
    background-size: 200%;
    /* 可调整渐变的大小 */
    animation: gradient-text 2s infinite;
}


.left-content {
    background-color: rgb(226, 92, 81, 0.1);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0px 1px 4px 2px rgba(0, 0, 0, 0.2);

    ul {
        max-height: 35vh;
        overflow-y: auto;
    }

    li {
        list-style: none;
    }

    a {
        color: #000;
        text-decoration: none;
        scroll-margin-top: 106px;
    }

    h5 {
        font-size: 1.5vw;
        line-height: 2.5vw;
        font-weight: bold;
        margin-bottom: 1vw;

        margin-top: 5px;
        margin-bottom: 5px;
        /* 可根据需要调整字体大小 */
        background-image: linear-gradient(to right, rgb(8, 175, 207), rgb(59, 170, 128));
        -webkit-background-clip: text;
        /* Safari / Chrome */
        color: transparent;
        /* 文本透明化 */
        background-size: 200%;
        /* 可调整渐变的大小 */
        animation: gradient-text 8s infinite;
        /* 添加动画效果 */
    }

    h5:hover {
        background-color: rgb(255, 255, 255, 0.4);
        color: rgb(226, 92, 81);
    }

    /* 动画 */
    @keyframes gradient-text {
        0% {
            background-position: 0% 50%;
        }

        100% {
            background-position: 200% 50%;
        }
    }
}


.top {
    height: 50vh;
    overflow: hidden;
    position: relative;
    padding-top: 10vh;
    background-image: linear-gradient(to right, rgba(0, 180, 220, 1), rgb(0, 200, 100));
    /* background-image: linear-gradient(to left, rgba(8, 174, 207),rgb(59,170,128), rgb(254,218,180)); */
    /* background-image: linear-gradient(to right,rgb(226,92,81,0.4),rgb(238,133,16,0.4), rgb(254,218,18,0.4)); */
    display: flex;
    align-items: center;
}

.top1 {
    width: 100vw;
    height: auto;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.top-content1 {
    width: 100%;
    height: 100vh;
}

.top-box {
    margin-left: 10%;
    pointer-events: none;
}

.top-content {
    font-size: 68px;
    margin: 0;
    padding: 10px 0px;
    /* text-shadow: 0px 0px 100px #fff; */
    font-family: arial;
    color: #fff !important;
}

.main {
    display: flex;
    flex-direction: column;
    padding-top: 5vh;
    padding-left: 3vw;
    padding-right: 3vw;
}

.main-title {
    height: 10vh;
}

/* 动画 */
@keyframes gradient-text {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

/* 兼容旧浏览器 */
.main-title .title-content.fallback {
    color: #43D9D9;
    /* 如果不支持渐变，使用默认颜色 */
}

.main-content {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.main-content1 {
    width: 100%;
    display: flex;
    flex-direction: row;
    position: relative;
}

.main-right {
    position: absolute;
    right: 0;
    /* 靠右对齐 */
    width: 75%;
    margin-left: 5%;
    /* 子盒子宽度为父盒子的60% */
    height: auto;
    /* 给定一个高度 */
}

.main-left {
    float: left;
    width: 20vw;
    position: sticky;
    background-color: #fff;
}

.main-top {
    width: 100%;
    height: auto;
    display: block;
    font-size: 1.7vw;
    line-height: 2.5vw;
    font-weight: 400;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
    margin-bottom: 10vh;
}

.main-smalltitle {
    font-size: 2.3vw;
    line-height: 2vw;
    font-weight: 700;
    padding: 1vh;
    margin-top: 2vh;
    color: rgb(226, 92, 81);
}

.smalltitle-content {
    font-size: 1.7vw;
    line-height: 2vw;
    font-weight: 600;
    padding-bottom: 10px;
    padding-top: 2vw;
}

.main-row {
    width: 100%;
    padding-top: 10px;
    display: block;
    font-size: 1.3vw;
    line-height: 2.3vw;
    font-weight: 200;

    strong {
        font-size: 1.3vw;
        line-height: 2.5vw;
    }

    a {

        font-size: 1.3vw;
        line-height: 2.3vw;
        font-weight: 400;
        /* color: rgb(226, 92, 81); */
        text-decoration: none;
        color: #088;
    }
}

.rowImageBox {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1vw;

    .rowImage1 {
        width: 60%;
        height: auto;
    }

    .rowImage2 {
        width: 30%;
        height: auto;
    }

    .rowImage3 {
        width: 80% !important;
        height: auto;
    }

    .rowImage4 {
        width: 100% !important;
        height: auto;
    }
}

.number {
    width: 44vw;
    margin-right: 1vw;
    background-color: #fff;
    padding: 2rem;
    background-color: rgb(245, 245, 245);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2vw;

    .numName {
        font-weight: 650;
        font-size: 2.2vw;
        line-height: 4vw;
    }

    .numStu {
        letter-spacing: .1em;
        font-weight: 500;
        text-transform: uppercase;
        font-size: 2vw;
        line-height: 2.5vw;
    }

    .numTask {
        font-weight: 500;
        padding-top: 1rem;
        padding-bottom: .125rem;
        font-size: 2vw;
        line-height: 3vw;
    }

    .numTaskContent {
        font-size: 1.3vw;
        line-height: 2.5vw;
    }

    .numSpec {
        font-weight: 500;
        padding-top: 1rem;
        padding-bottom: .125rem;
        font-size: 2vw;
        line-height: 2.5vw;
    }

    .numSpecContent {
        font-size: 1.3vw;
        line-height: 2.5vw;
    }
}

/* team下单独样式 */
.number1 {
    width: 44vw;
    margin-left: 1vw;
    background-color: #fff;
    padding: 2rem;
    background-color: rgb(245, 245, 245);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* 边框阴影效果 */
    margin-bottom: 2vw;

    .numName {
        font-weight: 650;
        font-size: 2.2vw;
        line-height: 4vw;
    }

    .numStu {
        letter-spacing: .1em;
        font-weight: 500;
        text-transform: uppercase;
        font-size: 2vw;
        line-height: 2.5vw;
    }

    .numTask {
        font-weight: 500;
        padding-top: 1rem;
        padding-bottom: .125rem;
        font-size: 2vw;
        line-height: 3vw;
    }

    .numTaskContent {
        font-size: 1.3vw;
        line-height: 2.5vw;
    }

    .numSpec {
        font-weight: 500;
        padding-top: 1rem;
        padding-bottom: .125rem;
        font-size: 2vw;
        line-height: 2.5vw;
    }

    .numSpecContent {
        font-size: 1.3vw;
        line-height: 2.5vw;
    }
}

.numberBox {
    width: 33.3%;
    height: auto;
    overflow: hidden;
    border: 2px solid #000;
    padding: 10px;
    margin: 5px;
    border-radius: 5px;
    float: left;
    overflow: hidden;
    padding: 5px;
}

.numberTotal {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    margin-top: 5px;
    padding-bottom: 10px;
}

.numberTop {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-bottom: 10px;
    height: 1.5vw;
}

.numName {
    font-size: 1.5vw;
    font-weight: 500;
    line-height: 1.2;
}

.numPosition {
    border-radius: 10px;
    font-size: 0.75vw;
    padding: 3px;
    margin-left: 20px;
    background-color: black;
    color: #fff
}

.numImg {
    width: 100%;
    height: auto;
    position: relative;
    display: inline-block;
    overflow: hidden;
    /* 隐藏溢出部分 */

    img {
        width: 100%;
        height: auto;
        border-radius: 4px;
    }
}

.infoShow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px;
    font-size: 1.3vw;
    line-height: 2.5vw;
    font-weight: 600;
    background-color: rgb(226, 92, 81, 0.1);
    backdrop-filter: blur(10px);
    /* 背景模糊效果 */
    /* background-color: rgb(8,175,207,0.35); */
    /* background-image: linear-gradient(to right,rgba(8, 174, 207, 0.459), rgb(59,170,128,0.85), rgb(254,218,180,0.85)); */
    /* 0.5 的透明度 */
    color: #fff;
    opacity: 0;
    transition: .5s ease;
    overflow-y: auto;
    /* 垂直滚动条 */
}

.numImg:hover .infoShow {
    opacity: 1;
}

.skipA {
    font-size: 1.4vw;
    line-height: 2.5vw;
    font-weight: 500;
    /* color: rgb(226,92,81); */
    color: #000;
    text-decoration: none;
}