* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    padding-top: 80px; 
    min-height: 100vh;
    background: #f0f2f5;
    font-family: 'Segoe UI', Arial, sans-serif;
    /* overflow-x: hidden; */
}

.main_content{
    display: flex;
    flex-direction: column;
    background-color: #e0f7fa;
    margin-top: 50px;
    width: 50%;
}

.section_content{
    height: auto;
    background-color: white;
    border-radius: 8px;
    line-height: normal;
    box-shadow: 0px 0px 5px 0px;
    color: black;
    margin-bottom: 20px;
    /* margin-left: 25%; */
    display: block;
    text-align: justify;
    padding: 20px;
    unicode-bidi: isolate;
}

.page_all{
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: #e0f7fa;
    align-items: center;
    justify-content: center;
}

.sidebar {
    width: 40px;
    height: 280px;
    background-color: rgba(0, 123, 255, 0.8);
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: width 0.3s;
    z-index: 1000;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.sidebar:hover {
    width: 200px;
    height: auto;
}

.sidebar .toggle-btn {
    background-color: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.3s;
}

.sidebar-links {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    width: 100%;
    text-align: left;
    opacity: 0;
    transition: opacity 0.3s;
}

.sidebar:hover .sidebar-links {
    opacity: 1;
}

.sidebar-links li {
    margin: 10px 0;
}

.sidebar-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
    display: block;
    transition: background 0.3s;
}

.hero-section {
    background: url('https://static.igem.wiki/teams/5730/wiki/s7.webp') no-repeat center center/cover;
    color: white;
    padding: 50px 20px;
    text-align: center;
    height:200px;
}

.hero-section h1 {
    color: white;
    font-size: 2.5em;
    margin: 0;
}

.hero-section p{
    font-size:1.2em;
    margin-top: 10px;
}

.h2_style{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    color: #2F6389;
    padding: 20px;
    margin-bottom: 20px;
}

.h3_style{
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    color: #3F7BAF;
    padding: 25px;
    margin-bottom: 15px;
}

.big_title{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    color:  #1B3A57;
    margin-bottom: 50px;
    font-size: 26px;
}

p{
    margin-bottom: 15px;
    text-indent: 30px;
}

ol {
    list-style-position: inside;
}

ul {
    list-style-position: inside;
}

ol, ul {
    padding-left: 10px;

}

ol ol, ul ul ，ol ul, ul ol{
    padding-left: 25px; 
}

ol ol ol, ul ul ul,ol ul ol, ol ul ul {
    padding-left: 30px; 
}

ol ul ol ol, ol ul ol ul {
    padding-left: 35px; 
}

/*图表格式*/
table{
    width: 60%;
    border-collapse: collapse;
}

table caption{
    font-size: 2em;
    font-weight: bold;
    margin: 1em 0;
}

th,td{
    border: 1px solid #999;
    text-align: center;
    padding: 20px 0;
}

table thead tr{
    background-color: #008c8c;
    color: #fff;
}

table tbody tr:nth-child(odd){
    background-color: #eee;
}

table tbody tr:hover{
    background-color: #ccc;
}

table tbody tr td:first-child{
    color: #f40;
}

p a{
    vertical-align: super;
    font-size: 0.8em;
    text-decoration: none;
}

li a{
    vertical-align: super;
    font-size: 0.8em;
    text-decoration: none;

}