body {
  font-family: 'Comic Sans MS', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
body p { padding:0;margin: 0;}
.left-aligned { margin-left: auto; }
.bg-dark { background-color: #343a40 !important; }
.bg-hero { background-color: #45b06cff; }

/* 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; }
nav{
  width: 100%;
  background-color: rgb(174, 102, 53);
  position: fixed;
  z-index: 9999;
}
nav::after{
    content: "";
    clear: both;
    display: block;
}
ul, li{
    padding: 0;
    margin: 0;
    list-style: none;
}
.logo ,.title{
    line-height: 5vw;
    float: left;
    display: inline;
    text-align: center;
    z-index: 1;
}
.logo{
    width: 5vw;
    height: 5vw;
    background: url("https://static.igem.wiki/teams/5927/assets/images/logo.webp") no-repeat center;
    background-size: 80%;
}
.title img {
  height: 3.5vw;
}
.mylist {
  position: absolute;
  right: 0;
}
.mylist>.title{
    position: relative;
    width: 12vw;
    height: 5vw;
}
.more_list{
    background-color: rgb(255, 221, 147);;
    text-align: center;
    list-style: none;
    border-radius: 5px;
    line-height: 4vw;
    position: absolute;
    width: 14vw;
    z-index: 1;
}
.mylist>.title>a{
    color: rgb(7, 72, 70);
    font-size: 2vw;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    cursor: pointer;

}
.mylist-box{
    position: absolute;
    left: 0;
    width: 12vw;
    height: 8px;
    border-radius: 10px;
    transition: 0.5s;
}

.mylist>.title:nth-child(1):hover~.mylist-box{
    left:calc(12vw *0);
    background-color: rgb(245, 226, 235);
}
.mylist>.title:nth-child(2):hover~.mylist-box{
    left:calc(12vw *1);
    background-color: rgba(255, 230, 196, 0.942);
}
.mylist>.title:nth-child(3):hover~.mylist-box{
    left:calc(12vw *2);
    background-color: rgb(255, 248, 190);
}
.mylist>.title:nth-child(4):hover~.mylist-box{
    left:calc(12vw *3);
    background-color: rgb(226, 255, 201);
}
.mylist>.title:nth-child(5):hover~.mylist-box{
    left:calc(12vw *4);
    background-color: rgb(203, 255, 251);
}
.mylist>.title:nth-child(6):hover~.mylist-box{
    left:calc(12vw *5);
    background-color: rgb(235, 217, 255);
}
a{
    text-decoration: none;
} 
#list1{
    top:-20vw;
}
#list2{
    top:-35vw;
}
#list3{
    top:-25vw;
}
#list4{
    top:-35vw;
}
#list5{
    top:-15vw;
}
#tit1:hover>#list1{
    top: 5vw;
    transition: 0.5s;
}
#tit2:hover>#list2{
    top: 5vw;
    transition: 0.5s;
}
#tit3:hover>#list3{
    top: 5vw;
    transition: 0.5s;
}
#tit4:hover>#list4{
    top: 5vw;
    transition: 0.5s;
}
#tit5:hover>#list5{
    top: 5vw;
    transition: 0.5s;
}
#list1:hover,#list2:hover,#list3:hover,#list4:hover,#list5:hover{
    top: 5vw;
}
.more_list>li>a{
  width: 100%;
  display: block;
  padding: 0 10px;
  font-size: 1.5vw;
  font-weight: 500;
  color: rgb(1, 2, 19);
  font-family: Arial, Helvetica, sans-serif;
}
.more_list>li>a:hover{
  font-weight: 600;
  text-shadow: 2px 2px 1px rgb(206, 200, 200);
  color: rgba(11, 122, 130, 0.975);
}
#che{
    display: none;
}
.chebtn{
    font-size: 1em;
    float: right;
    line-height: 2.5vw;
    cursor: pointer;
    z-index: 100;
    display: none;
    height: 2.5vw;
    width: 1em;
    margin-right: 5vw;
    margin-top: 2.5vw;
}
.icon::before,.icon::after{
    position: relative;
    width: 1em;
    content:"";
    position: absolute;
    width: 1em;
    height: 0.2em;
    background-color: #fff;
    transition: 0.5s linear; 
}
.icon::after{
    transform: rotate(90deg);
    transition: 0.5s linear; 
}

#che:checked~.chebtn>.icon::after{
    transform: rotate(0);
    transition: 0.5s linear; 
}
.special_a{
    font-size: 1.5vw !important;
}
#tit4{
    line-height: 1.8vw !important;
    padding-top: 0.9vw;
}
#spa{
    line-height: 5vw !important;
    float: left;
    position: absolute;
    top: 0;

}
@media (max-width: 860px){ 
    .special_a{
        font-size: 2vw;
    }
    .chebtn{
        display: block;
    }
    .mylist-box{
        display: none;
    }
    ul{
        position: absolute;
        width: 100%;
        height: 200vh;
        background-color: #FECA81;
        display: list-item;
        text-align: center;
        transition: all 0.5s;
        z-index: 1;
        top: 5vw;
        left: -100%;
    }
    nav ul li{
        display: block;
        line-height: 10vw !important;
    }
    .mylist>.title{
        width: 100%;
        line-height: 10vw !important;
        display: block;
    }
    #tit4{
        width: 100%;
        height: 10vw;
        display: block;
        padding: 0;
        line-height: 10vw !important;
    }
    #spa{
        line-height: 10vw !important;
        top: 0.4vw;
    }
    .more_list{
        width: 100%;
        left: 0;
        display: none;
        height: auto;
        margin-top: 5vw; 
    }
    .more_list>li{
        z-index: 2;
    }
    nav ul li a{
        font-size: 2vw !important;
    }
    #che:checked ~ ul{
        left: 0;
    }
    #tit1:hover>#list1{
        display: block;
        transition: 0.5s;
    }
    #tit2:hover>#list2{
        display: block;
        transition: 0.5s;
    }
    #tit3:hover>#list3{
        display: block;
        transition: 0.5s;
    }
    #tit4:hover>#list4{
        display: block;
        transition: 0.5s;
    }
    #tit5:hover>#list5{
        display: block;
        transition: 0.5s;
    }
    #tit1:hover~#tit2{
        margin-top: 30vw;
    }
    #tit2:hover~#tit3{
        margin-top: 50vw;
    }
    #tit3:hover~#tit4{
        margin-top: 40vw;
    }
    #tit4:hover~#tit5{
        margin-top: 60vw;
    }
}

#log{
    width: 7vw;
    height: 7vw;
}


.home-main {
  width: 100%;
  min-height: 100vh;
  background-color: #FECA81;
  overflow-x: hidden;
}
.home-main .banner-box {
  width: 100%;
  height: 50vw;
  position: relative;
}
.home-main .banner-box .decorate {
  width: 100%;
  height: 50vw;
  background: url("https://static.igem.wiki/teams/5927/assets/images/zhuangshi-01.webp") no-repeat;
  background-size: 100%;
}
.home-main .banner-box .bubble {
  width: 100%;
  height: 50vw;
  background: url("https://static.igem.wiki/teams/5927/assets/images/qipao-01.webp") no-repeat;
  background-size: 100%;
  position: absolute;
  top: -2vw;
}
.home-main .banner-box .bubble .title {
  position: absolute;
  top: 14vw;
  font-size: 4vw;
  left: 16vw;
  width: 40vw;
}
.home-main .banner-box .cat {
  width: 100%;
  height: 50vw;
  background: url("https://static.igem.wiki/teams/5927/assets/images/banner-01.webp") no-repeat;
  background-size: 100%;
  position: absolute;
  top: 21vw;
}
.home-main .article {
  width: 100%;
  height: 90vw;
  background: url("https://static.igem.wiki/teams/5927/assets/images/bg-item.webp") no-repeat;
  background-size: 100% 100%;
  position: relative;
  margin-top: -7vw;
  z-index: 10;
}

.home-main .article .cat-head-l{
  width: 48vw;
  height: 40vw;
  position: absolute;
  top: 18vw;
  left: 6vw;
  padding: 10vw 3vw 3vw 3vw;
  font-size: 1.5vw;
  line-height: 2;
  text-indent: 2em;
}
.home-main .article .cat-head-r{
  width: 40vw;
  height: 30vw;
  position: absolute;
  bottom: 3vw;
  right: 6vw;
  padding: 6vw 3vw 3vw 3vw;
  font-size: 1.5vw;
  line-height: 1.6;
  text-indent: 2em;
}
.home-main .article .rahmen-l{
  width: 41vw;
  height: 25vw;
  position: absolute;
  bottom: 4vw;
  left: 8vw;
  padding-left: 1.5vw;
  line-height: 25vw;
}
.home-main .article .rahmen-l::after{
  display: block;
  content: "";
  width: 41vw;
  height: 25vw;
  position: absolute;
  bottom: 1vw;
  left: 0;
  background: url('https://static.igem.wiki/teams/5927/assets/images/item-13.webp');
  background-size: 100%;
  z-index: 1;
}
.home-main .article .rahmen-l img{
  width: 94%;
  height: 90%;
  transform: skewX(4deg);
}
.home-main .article .rahmen-r{
  width: 38vw;
  height: 29vw;
  position: absolute;
  top: 24vw;
  right: 6vw;
  padding-left: 4vw;
  padding-top: 3vw;
}
.home-main .article .rahmen-r::after{
  display: block;
  content: "";
  width: 38vw;
  height: 28vw;
  position: absolute;
  top: 1vw;
  right: 1vw;
  background: url('https://static.igem.wiki/teams/5927/assets/images/item-05.webp');
  background-size: 100%;
  z-index: 1;
}
.home-main .article .rahmen-r img{
  width: 88%;
  height: 80%;
  transform: skewX(4deg);
}
.home-main .article .cat-footer {
  width: 18vw;
  height: 22vw;
  background: url("https://static.igem.wiki/teams/5927/assets/images/cat-foot-03.webp") no-repeat;
  background-size: 100%;
  position: absolute;
  top: 0;
  right: 5vw;
}
.home-main .article .item {
  width: 90%;
  
}

.home-main .infomation {
  width: 100%;
  background: url("https://static.igem.wiki/teams/5927/assets/images/bg-item2.webp");
  background-size: 100%;
  padding: 5vw 0;
}
.home-main .infomation .up{
  width: 100%;
  height: 50vw;
  background: url('https://static.igem.wiki/teams/5927/assets/images/4-02.webp') no-repeat;
  background-size: 100%;
  padding-top: 8vw;
}
.home-main .infomation .up .text{
  width: 40vw;
  margin-left: 8vw;
  font-size: 1.5vw;
  text-indent: 2em;
}
.home-main .infomation .down{
  width: 100%;
  height: 50vw;
  background: url('https://static.igem.wiki/teams/5927/assets/images/63-02.webp') no-repeat;
  background-size: 100%;
  margin-top: 5vw;
  position: relative;
}
.home-main .infomation .down .text{
  width: 40vw;
  position: absolute;
  right: 8vw;
  top: 4vw;
  font-size: 1.5vw;
  text-indent: 2em;
}

.footer {
  font-size: 1vw;
  text-align: center;
  padding: 0.5vw;
  background-color: rgb(174, 102, 53);
  color: white;
}

.reveal{
  opacity: 0;
}
.reveal.active{
  opacity: 1;
}

/* 进场动画 */
.active.fade-left{
  animation: fade-left 1s ease-in;
}
.active.fade-right{
  animation: fade-right 1s ease-in;
}
.active.fade-bottom{
  animation: fade-bottom 0.5s ease-in;
}
@keyframes fade-left{
  0%{
    transform: translateX(-100px);
    opacity: 0;
  }
  100%{
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fade-right{
  0%{
    transform: translateX(100px);
    opacity: 0;
  }
  100%{
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fade-bottom{
  0%{
    opacity: 0;
    transform: translateY(100px);
  }
  100%{
    opacity: 1;
    transform: translateY(0);
  }
}

.doc-table{border-collapse:collapse;width:100%;margin:12px 0;}
.doc-table td{border:1px solid #dcdcdc;padding:8px;vertical-align:top;}
