body{
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
    cursor: url('https://static.igem.wiki/teams/4703/wiki/members/cursor-test1.ico'),auto;
    max-width: 100%;
}
/* 主体部分--开始分块 */
#m1{
    display: inline-block;
}
#m2{
    display: none;
}
#m3{
    display: none;
}
.mainbody{
    position: relative;
    display: block;
    background-color: snow;
    width: 100%;
    height: auto;
}
/* 按钮板块 */
.position-block{
    position: sticky;
    top: 80px;
    display: inline-block;
    vertical-align: top;
    margin-left: 6%;
    width: 17%;
    height: 450px;
    /* 设置木板背景 */
    background-image: url('https://static.igem.wiki/teams/4703/wiki/members/fenkuailan.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
.position-block input{
    width: 100%;
    text-align: center;
    /* 设置字体样式 */
    font-size: x-large;
    font-weight: bold;
    font-family: 'Times New Roman';
    color: #28433a;
    /* 去掉按钮 */
    border: 0;
	outline: none; 
	background-color: rgba(0, 0, 0, 0);
}
/* 设置三个按钮的位置 */
#button-teacher{
    margin-top: 100px;
}
#button-adviser{
    margin-top: 90px;
}
#button-student{
    margin-top: 85px;
}
.position-block input:hover{
    color: #436056;
    text-decoration: underline;
    cursor: pointer;
}
/* 老师板块 */
.module-teacher{
    width: 55%;
    margin-left: 10%;
    margin-top: 30px;
}
.t-content{
    width: 100%;
    height: auto;
    overflow: hidden;
    background-color: snow ;
    box-shadow: 0 0 2px;
    border-radius: 10px;
    border-color: rgb(132, 130, 130);
    border-style: solid;
    border-width: 1px;
}
.t-content div{
    width: 60%;
    float: left;
    margin-left: 3%;
    margin-top: 20px;
    margin-right: 15px;
    text-align: center;
    box-shadow: 0 0 3px;
}
.t-content div img{
    width: 100%;
}
.t-content h3{
    color: #717171;
}
.t-content P{
    margin-right: 3%;
    margin-left: 3%;
    margin-top: 20px;
    color: #8e8b8b;
    font-size: large;
    /* 允许长单词到下一行 */
    word-wrap:break-word;
}
/* ------师兄师姐板块------ */
.module-adviser{
    text-align: center;
    width: 60%;
    margin-left: 10%;
    margin-top: 30px;
}
/* 每个师兄师姐的卡片主体 */
.auter{
    display: inline-block;
    color: #8b8888;
    width: 30%;
    height: 400px;
    box-shadow: 0px 0px 10px;
    margin-right: 1%;
    margin-left: 1%;
    /* 顶端对齐 */
    vertical-align: top;
}
.picture{
    width: 100%;
    height: auto;
}
.name{
    font-size: 20px;
    width: auto;
    color: #717171;
}
.introduce-container{
    margin: 20px 20px 15px 20px;
    line-height: 20px;
    height: 180px;
    letter-spacing: 1px;
    word-wrap:break-word;
}
.auter:nth-of-type(2) .introduce-container .introduce{
    top:50%;
    transform: translateY(13%);
}
.auter:nth-of-type(3) .introduce-container .introduce{
    top:50%;
    transform: translateY(100%);
}

/* -----学生板块----- */
.module-student{
    width: 65%;
    height: 480px;
    margin-left: 2%;
    margin-top: 30px;
}
.pic-container{
    display: inline-block;
    width: 28%;
    height: 100%;
    margin-left: 12%;
}
.pictures{
    width: 100%;
    margin-left: 0;
}
.pictures img{
    display: none;
    width: 100%;
}

/* according to the selected input, display the corresponding image */
#mem1:checked ~ .pic-container #memberimg1,
#mem2:checked ~ .pic-container #memberimg2,
#mem3:checked ~ .pic-container #memberimg3,
#mem4:checked ~ .pic-container #memberimg4,
#mem5:checked ~ .pic-container #memberimg5,
#mem6:checked ~ .pic-container #memberimg6,
#mem7:checked ~ .pic-container #memberimg7,
#mem8:checked ~ .pic-container #memberimg8,
#mem9:checked ~ .pic-container #memberimg9,
#mem10:checked ~ .pic-container #memberimg10,
#mem11:checked ~ .pic-container #memberimg11,
#mem12:checked ~ .pic-container #memberimg12,
#mem13:checked ~ .pic-container #memberimg13,
#mem14:checked ~ .pic-container #memberimg14,
#mem15:checked ~ .pic-container #memberimg15,
#mem16:checked ~ .pic-container #memberimg16,
#mem17:checked ~ .pic-container #memberimg17,
#mem18:checked ~ .pic-container #memberimg18,
#mem19:checked ~ .pic-container #memberimg19,
#mem20:checked ~ .pic-container #memberimg20{
    display: block;
    width: 100%;
    animation: showImg linear 0.8s 1 0s normal;
    border-radius: 10px;
    border-style: solid;
    border-width: 0;
    box-shadow: 0 0 5px;
}
/* set the animation when the image is displayed */
@keyframes showImg {
    0% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}
/* 成员介绍 */
.member-introduction{
    display: inline-block;
    width: 40%;
    height: 90%;
    vertical-align: top;
    margin-left: 15%;
    word-wrap:break-word;
    /* 背景 */
    background-image: url(https://static.igem.wiki/teams/4703/wiki/members/instruction-background.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.member-introduction label{
    display: none;
}
.member-introduction label div{
    /* 调整位置 */
    margin: 50px 20px 30px 10%;
    width: 80%;
    font-size: large;
    font-weight: 600;
    color: #28433a;
    letter-spacing: 1px;
    word-wrap:break-word;
}

#mem1:checked ~ .member-introduction>label:nth-of-type(1),
#mem2:checked ~ .member-introduction>label:nth-of-type(2),
#mem3:checked ~ .member-introduction>label:nth-of-type(3),
#mem4:checked ~ .member-introduction>label:nth-of-type(4),
#mem5:checked ~ .member-introduction>label:nth-of-type(5),
#mem6:checked ~ .member-introduction>label:nth-of-type(6),
#mem7:checked ~ .member-introduction>label:nth-of-type(7),
#mem8:checked ~ .member-introduction>label:nth-of-type(8),
#mem9:checked ~ .member-introduction>label:nth-of-type(9),
#mem10:checked ~ .member-introduction>label:nth-of-type(10),
#mem11:checked ~ .member-introduction>label:nth-of-type(11),
#mem12:checked ~ .member-introduction>label:nth-of-type(12),
#mem13:checked ~ .member-introduction>label:nth-of-type(13),
#mem14:checked ~ .member-introduction>label:nth-of-type(14),
#mem15:checked ~ .member-introduction>label:nth-of-type(15),
#mem16:checked ~ .member-introduction>label:nth-of-type(16),
#mem17:checked ~ .member-introduction>label:nth-of-type(17),
#mem18:checked ~ .member-introduction>label:nth-of-type(18),
#mem19:checked ~ .member-introduction>label:nth-of-type(19),
#mem20:checked ~ .member-introduction>label:nth-of-type(20){
    display: block;
}
/* 设置每个自我介绍的位置 */
.introduction1{
    padding-top: 110px;
}
.introduction2{
    padding-top: 50px;
}
.introduction3{
    padding-top: 50px;
}
.introduction4{
    padding-top: 50px;
}
.introduction5{
    padding-top: 50px;
}
.introduction6{
    padding-top: 60px;
}
.introduction7{
    padding-top: 80px;
}
.introduction8{
    padding-top: 30px;
}
.introduction9{
    padding-top: 50px;
}
.introduction10{
    padding-top: 50px;
}
.introduction11{
    padding-top: 50px;
}
/* .introduction12{
    padding-top: 0;
} */
.introduction13{
    padding-top: 50px;
}
.introduction14{
    padding-top: 50px;
}
.introduction15{
    padding-top: 50px;
}
.introduction16{
    padding-top: 60px;
}
.introduction17{
    padding-top: 60px;
}
.introduction18{
    padding-top: 80px;
}
.introduction19{
    padding-top: 10px;
}
.introduction20{
    padding-top: 60px;
}


/* 按钮 */
.module-student input{
    position: absolute;
    bottom: 0px;
}
#mem1{
    zoom: 1.5;
    bottom: 25px;
    left: 32%;
}#mem2{
    left: 35%;
    zoom: 1.5;
    bottom: 25px;
}#mem3{
    left: 38%;
    zoom: 1.5;
    bottom: 25px;
}#mem4{
    left: 41%;
    zoom: 1.5;
    bottom: 25px;
}#mem5{
    left: 44%;
    zoom: 1.5;
    bottom: 25px;
}#mem6{
    left: 47%;
    zoom: 1.5;
    bottom: 25px;
}#mem7{
    left: 50%;
    zoom: 1.5;
    bottom: 25px;
}#mem8{
    left: 53%;
    zoom: 1.5;
    bottom: 25px;
}#mem9{
    left: 56%;
    zoom: 1.5;
    bottom: 25px;
}#mem10{
    left: 59%;
    zoom: 1.5;
    bottom: 25px;
}#mem11{
    zoom: 1.5;
    bottom: 10px;
    left: 32%;
}#mem12{
    left: 35%;
    zoom: 1.5;
    bottom: 10px;
}#mem13{
    left: 38%;
    zoom: 1.5;
    bottom: 10px;
}#mem14{
    left: 41%;
    zoom: 1.5;
    bottom: 10px;
}#mem15{
    left: 44%;
    zoom: 1.5;
    bottom: 10px;
}#mem16{
    left: 47%;
    zoom: 1.5;
    bottom: 10px;
}#mem17{
    left: 50%;
    zoom: 1.5;
    bottom: 10px;
}#mem18{
    left: 53%;
    zoom: 1.5;
    bottom: 10px;
}#mem19{
    left: 56%;
    zoom: 1.5;
    bottom: 10px;
}#mem20{
    left: 59%;
    zoom: 1.5;
    bottom: 10px;
}
/* arrow */
.arrow{
    position: absolute;
    top: 165px;
}
.arrow label{
    display: none;
}
.arrow-entity1{
    width: 0;
    height: 8px;
    border-style: solid;
    border-width: 32px;
    border-color: transparent rgb(143, 184, 110) transparent transparent;
}
.arrow-entity2{
    width: 0;
    height: 8px;
    border-style: solid;
    border-width: 32px;
    border-color: transparent transparent transparent rgb(125, 163, 93);
}
.left{
    left: 24%;
}
.right{
    left: 55%;
}
#mem1:checked ~ .left label:nth-of-type(20),
#mem2:checked ~ .left label:nth-of-type(1),
#mem3:checked ~ .left label:nth-of-type(2),
#mem4:checked ~ .left label:nth-of-type(3),
#mem5:checked ~ .left label:nth-of-type(4),
#mem6:checked ~ .left label:nth-of-type(5),
#mem7:checked ~ .left label:nth-of-type(6),
#mem8:checked ~ .left label:nth-of-type(7),
#mem9:checked ~ .left label:nth-of-type(8),
#mem10:checked ~ .left label:nth-of-type(9),
#mem11:checked ~ .left label:nth-of-type(10),
#mem12:checked ~ .left label:nth-of-type(11),
#mem13:checked ~ .left label:nth-of-type(12),
#mem14:checked ~ .left label:nth-of-type(13),
#mem15:checked ~ .left label:nth-of-type(14),
#mem16:checked ~ .left label:nth-of-type(15),
#mem17:checked ~ .left label:nth-of-type(16),
#mem18:checked ~ .left label:nth-of-type(17),
#mem19:checked ~ .left label:nth-of-type(18),
#mem20:checked ~ .left label:nth-of-type(19) {
  display: block;
}
#mem1:checked ~ .right label:nth-of-type(2),
#mem2:checked ~ .right label:nth-of-type(3),
#mem3:checked ~ .right label:nth-of-type(4),
#mem4:checked ~ .right label:nth-of-type(5),
#mem5:checked ~ .right label:nth-of-type(6),
#mem6:checked ~ .right label:nth-of-type(7),
#mem7:checked ~ .right label:nth-of-type(8),
#mem8:checked ~ .right label:nth-of-type(9),
#mem9:checked ~ .right label:nth-of-type(10),
#mem10:checked ~ .right label:nth-of-type(11),
#mem11:checked ~ .right label:nth-of-type(12),
#mem12:checked ~ .right label:nth-of-type(13),
#mem13:checked ~ .right label:nth-of-type(14),
#mem14:checked ~ .right label:nth-of-type(15),
#mem15:checked ~ .right label:nth-of-type(16),
#mem16:checked ~ .right label:nth-of-type(17),
#mem17:checked ~ .right label:nth-of-type(18),
#mem18:checked ~ .right label:nth-of-type(19),
#mem19:checked ~ .right label:nth-of-type(20),
#mem20:checked ~ .right label:nth-of-type(1) {
  display: block;
}
