#main-content p {
    text-align: justify;
}
#main-content h2{
    text-align: center;
}
#main-content h3{
    text-align: center;
}
.expansion{
    height:90px;
    width:100%;
}


#main-content {
    margin-left: 60px;
    padding: 20px;
    flex: 1;
}

.content-section {
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.tab-content li{
    text-align: left;
}
.content-section h2 {
    color: #2f855a;
    margin-bottom: 15px;
}



@media (max-width: 600px) {
    .sidebar {
        width: 30px;
    }

    .hero-section h1 {
        font-size: 1.8em;
    }

    .hero-section p {
        font-size: 1em;
    }

    .images {
        flex-direction: column;
    }
}

input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.tabs {
    width: 80%;
    /* Make the tabs take 80% of the page width */
    margin: 50px auto;
    /* Center the tabs horizontally */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5);
}

.tab {
    overflow: hidden;
   
}

.tab-label {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #65a7e8;
    font-weight: bold;
    cursor: pointer;
}

.tab-label:hover {
    background: #065fb1;
}

.tab-label::after {
    content: ">";
    width: 10px;
    height: 10px;
    text-align: center;
    transition: all 0.2s ease;
}

.tab-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 10px;
    padding-right: 10px;
}

input:checked + .tab-label + .tab-content {
    transition: max-height 0.5s ease-in-out;
    max-height: none; /* 让内容高度自动扩展 */
    padding: 10px;
    color: #2c3e50;
    background: white;
    font-size: 14px;
    line-height: 24px;
}

input:checked+.tab-label {
    background: #065fb1;
}

input:checked+.tab-label::after {
    transform: rotate(90deg);
}

input:checked~.tab-content {
    max-height: 100vh;
    padding: 10px;
}


.images {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
    flex-direction: row;
}

.images figure {
    flex: 1;
    text-align: center;
}

.images img {
    width: 768px ;
    /* Set the desired width */
    height:auto;
    position:center;
    /* Set the desired height */
    object-fit: cover;
    /* Ensures the image covers the box without distortion */
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.images figcaption {
    margin-top: 8px;
    font-size: 0.9em;
    color: #555;
}