body { padding-top: 56px;}
.left-aligned { margin-left: auto; }
.bg-dark { background-color: #343a40 !important; }
.bg-hero { 
    background-color: #ffffff;}

/* 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 }

/* footer */
footer a { color: white; font-weight: bold; text-decoration: none; }
footer a:hover { color: white; text-decoration: underline; }


.main-container {
    margin-top: 50px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* sidebar */
.sidebar {
    position: sticky;
    top: 20vh;
    margin-left: 2vw;
    width: 22vw;
    background-color: #f9c0c3;
    opacity: 0.7;
    backdrop-filter: blur(100px);
    border: 3px solid #FFFFFF;
    border-radius: 8px;
    overflow: auto;
}

.sidebar::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #d68c8c;
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: #ba5a5a;
    border-radius: 3px;
}

#sidebarh {
    margin-left: 1.5vw;
    margin-top: 0vw;
    font-size: 2vw;
    font-weight: bold;
    font-family: "Salsa", sans-serif;
    color: #4c0101;
    text-shadow: 2px 2px 0 #ffffff;
    border-radius: 5px;
    user-select: none;
}

.sidebar ul{
    padding: 10px;
    margin-bottom: 0px;
}
.sidebar li {
    list-style: none;
}

.sidebar a {
    margin-left: 0vw;
    display: flex;
    align-items: center;
    line-height: 120%;
    font-size: 2vw;
    font-family: "Salsa", sans-serif;
    color: #ffffff;
    /* -webkit-text-stroke: 0.1vw #ffffff; */
    height: 150%;
    margin-top: 1vw;
    transition: 0.5s;
    text-decoration: none;
    word-break: normal;
}

.sidebar .sub-title {
    font-size: 1.5vw;
    margin-left: 10px;
}

.sidebar a::before {
    content: attr(data-text);
    position: absolute;
    color: var(--clr);
    width: 0;
    overflow: hidden;
    transition: 0.5s;
    border-right: 0px solid var(--clr);
    -webkit-text-stroke: 1px var(--clr);
    line-height: 120%;
}

.sidebar a:hover::before {
    width: 100%;
    filter: drop-shadow(0 0 50px var(--clr));
    /* background-color: #ffffff42; */
    border: 0px solid;
    border-color: #ffffff;
    border-radius: 5px;
}

.sidebar a.active::before {
    width: fit-content;
    filter: drop-shadow(0 0 50px var(--clr));
    background-color: #ffffff81;
    border: 0px solid;
    border-color: #ffffff;
    border-radius: 5px;
}


/*main content */
.mainTEXT {
    border: 3px solid;
    border-color: #ffffff;
    border-radius: 10px;
    background-color: #ffd7d9;
    font-family: 'K2D', sans-serif;
    font-size: 1.5vw;
    line-height: 150%;
    padding-bottom: 10%;
    margin-right: 2vw;
    width: 70vw;
    height: auto;
}

.mainTEXT h1 {
    font-size: 3vw;
    padding-top: 2vh;
    padding-left: 10vw;
    padding-right: 10vw;
    display: flex;
    line-height: 125%;
    justify-content: center;
    align-items: center;
    box-sizing: content-box;
    color: #781b1b;
    text-shadow: 0.5vw 0.5vw 0 #ffffff;
    font-family: "Salsa", sans-serif;
    font-weight: bold;
    margin-bottom: 2vh;
    height: fit-content;
    scroll-margin-top: 80px;
}

.mainTEXT h2 {
    font-size: 2vw;
    padding-top: 1vh;
    padding-bottom: 1vh;
    padding-left: 10vw;
    padding-right: 10vw;
    display: flex;
    line-height: 125%;
    justify-content: center;
    align-items: center;
    box-sizing: content-box;
    color: #781b1b;
    text-shadow: 0.5vw 0.5vw 0 #ffffff;
    font-family: "Salsa", sans-serif;
    font-weight: bold;
    height: fit-content;
    scroll-margin-top: 80px;
    border: 0px solid;
    border-color: rgba(255, 255, 255, 1);
    border-radius: 20px;
}

.mainTEXT h3 {
    font-size: 2vw;
    padding-top: 1vh;
    padding-bottom: 1vh;
    padding-left: 10vw;
    padding-right: 10vw;
    display: flex;
    line-height: 125%;
    justify-content: center;
    align-items: center;
    box-sizing: content-box;
    color: #781b1b;
    text-shadow: 0.5vw 0.5vw 0 #ffffff;
    font-family: "Salsa", sans-serif;
    font-weight: bold;
    height: fit-content;
    scroll-margin-top: 80px;
    background-color: rgba(255, 255, 255, 0.3);
    border: 0px solid;
    border-color: rgba(255, 255, 255, 1);
    border-radius: 20px;
}

.toggle-button {
    width: 4vw;
    height: 4vw;
    margin-bottom: 3vw;
    border-radius: 50%;
    background-color: #ba5a5a;
    color: rgba(255, 255, 255);
    /* border: none; */
    border: 2px solid;
    border-color: rgba(255, 255, 255, 1);
    cursor: pointer;
    position: absolute;
    right: 3vw;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;
}

.timeline-entry {
    position: relative;
}

.mainTEXT .card {
    border-radius: 10px;
    border: 0px solid;
    border-color: #ffffff;
    position: relative;
    background-color: transparent;
}

.card .mainContent {
    color: #7d2a2a;
    padding-bottom: 2vw;
    padding-left: 6vw;
    padding-right: 6vw;
    border: 0px;
    position: relative;
    width: 100%;
    height: fit-content;
    font-family: 'K2D', sans-serif;
}

.imgline {
    position: relative;
    padding-left: 6vw;
    padding-right: 6vw;
}

.imgline .figureinfo {
    color: #7d2a2a;
    border: 0px;
    position: relative;
    width: 100%;
    height: fit-content;
    font-family: 'K2D', sans-serif;
    font-style: italic;
}

.card img {
    position: relative;
    padding: 0.5vw;
}
/* description */

/* description-text */
.description-text1{
    text-align:justify;
    font-size:1.7vw;
}
.description-content1{
	width:55%;
	float:right;
	margin-right:15%;
}
.description-container1{
	margin-top:10vw;
}
.description-text2{
    text-align:justify;
    font-size:1.7vw;
}
.description-content2{
	width:55%;
	margin-left:15%;
}
.description-container2{
	margin-top:10vw;
}
.description-text3{
    text-align:justify;
    font-size:1.7vw;
}
.description-content3{
	width:55%;
	float:right;
	margin-right:15%;
}
.description-container3{
	margin-top:10vw;
}
.description-text4{
    text-align:justify;
    font-size:1.7vw;
}
.description-content4{
	width:55%;
	margin-left:15%;
}
.description-container4{
	margin-top:10vw;
}

/* image */
.img14{
	margin-left:15%;
	width:10%;
}
.img13{
	float:right;
	width:13%;
	margin-right:15%;
}
/*header*/

.flying-ele-container {
    position: relative;
    width: 100vw;
    height: 60vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 100%;
    max-height: 50%;

}

.subpage-title {
    font-size: 15vw;
    color:#b54545; /* Set the desired color for the title */
    text-align: center;
    z-index: 1; /* Make sure the title is above the rotating images */
    font-family: 'Moirai One',cursive;
}

.flying-ele-image-rotate {
    animation: rotate 4s linear infinite; /* 添加一个4秒的旋转动画，可以根据需要调整持续时间 */
}

@keyframes rotate {
    from {
        transform: rotate(0deg); /* 开始时不旋转 */
    }
    to {
        transform: rotate(360deg); /* 旋转一圈，可以根据需要调整旋转角度 */
    }
}

/*loading*/
/* .body-loading-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: linear-gradient(#f9c0c3 0%, white 100%);
}
.image-container {
    text-align: center; 文本居中 */
/* } */

/* .image-wrapper {
    display: inline-block; 
    position: relative; 
} */

/* .image {
    opacity: 0;
    transition: opacity 1s;
    margin-right: 10px;
    width: 150px;
    height: 150px;
} */

/* .loading-text {
    text-align: center; 
    margin-top: 10px; 
    font-weight: bold;
    opacity: 0; 
    transition: opacity 1s;
    color: #4c0101;
    font-size: 60px;
} */
.partstable {
    color: #781b1b;
    table-layout: fixed;
    width: 100%;
    border: 3px solid rgb(255, 255, 255);
    border-collapse: collapse;
}

.partstable th,
td {
    border: 2px solid rgb(255, 255, 255, 0.5);
    border-collapse: collapse;
    padding: 3px;
}

.partstable thead {
    font-size: 1.2vw;
}

.partstable tbody {
    font-size: 1vw;
}

.partstable thead th:nth-child(1) {
    width: 15%;
}

.partstable thead th:nth-child(2) {
    width: 10%;
}

.partstable thead th:nth-child(3) {
    width: 10%;
}

.partstable thead th:nth-child(4) {
    width: 50%;
}

.partstable thead th:nth-child(5) {
    width: 8%;
}

.partstable thead th:nth-child(6) {
    width: 7%;
}

.tableimg img{
    z-index: 7;
}

.tableimg img:hover{
    transform: scale(5);
    z-index: 8;
}

.resultstable {
    color: #781b1b;
    table-layout: fixed;
    width: 100%;
    border: 3px solid rgb(255, 255, 255);
    border-collapse: collapse;
}
.resultstable th,
td {
    border: 2px solid rgb(255, 255, 255, 0.5);
    border-collapse: collapse;
    padding: 3px;
}
.resultstable thead {
    font-size: 1vw;
}
.resultstable tbody {
    font-size: 1vw;
}
.experimenttable {
    table-layout: fixed;
    width: 100%;
    border: 0px solid rgb(255, 255, 255);
    border-collapse: collapse;
}
.experimenttable td {
    border: 0px solid rgb(255, 255, 255, 0.5);
    border-collapse: collapse;
    padding: 3px;
}
.experimenttable tbody {
    font-size: 1.5vw;
}
.experimenttable tbody td:nth-child(1) {
    width: 30%;
}
.experimenttable tbody td:nth-child(2) {
    width: 50%;
}
.experimenttable tbody td:nth-child(3) {
    width: 20%;
}


.footerwrap {
    padding: 0vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
}

.subinfo {
    padding: 1vw;
    text-align: center;
    flex: 1;
}

.subtitle {
    align-content: center;
    font-size: 2vh;
    color: #ba5a5a;
    font-family: "Salsa", sans-serif;
    font-weight: bold;
}

#team,
#support {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

#team #teamlogo {
    width: 16vh;
}

#team #geig img {
    width: 4vh;
}

#contact {
    text-align: left;
    padding-left: 0;
    list-style: none;
    text-shadow: 2px 2px 0 #ffffff;
}

#contact img {
    width: 2vh;
}

#support #sup img {
    width: 10vh;
    justify-content: center;
    align-content: center;
}

#support #uni img {
    width: 20vh;
}

#sponsors img {
    width: 15vh;
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .footerwrap {
        flex-direction: column;
    }

    #team {
        display: flex;
        flex-direction: row;
    }

    #team #teamlogo {
        width: 10vh;
        margin-right: 2vh;
    }

    #contact {
        padding-left: 35%;
        text-align: left;
    }

    #support #sup img {
        width: 8vh;
        display: unset;
    }

    #support #uni img {
        width: 20vh;
        display: unset;
    }

    #sponsors img {
        width: 10vh;
        display: unset;
    }
}

/* Education Video */
.video2 {
    margin-left: 11vw;
    width: 48vw;
    height: 27vw;
}