*{
    margin: 0;
    padding: 0;
}

body{
    background-color: rgb(250, 250, 250);
}

input[type="radio"]{
    display: none;
}

.addbookinput input[type="radio"]:nth-of-type(1):checked ~ .addbookinputradio label:nth-of-type(1) div{
    background-color: rgb(141, 141, 141);
}

.addbookinput input[type="radio"]:nth-of-type(2):checked ~ .addbookinputradio label:nth-of-type(2) div{
    background-color: rgb(141, 141, 141);
}

.hidden{
    display: none;
}

.poptipfather{
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35); /*半透明背景*/
    overflow: auto;
}

.groupimg{
    width: 80%;
    max-width: calc(550px + 20%);
    position: relative;
    background-color: rgb(228, 228, 228);
    text-align: center;
    margin: auto;
    top: 10%;
    border-radius: 30px;
    max-height: 80%;
    overflow-y: scroll;
    overflow-x: hidden;
}

.groupimg::-webkit-scrollbar{
    display: none;
}

.groupimg label,.addbook2 label{
    float: left;
    width: 100%;
    margin-top: 15px;
    font-size: 60px;
    color: rgb(141, 141, 141);
    font-weight: bold;
}

.groupimg img{
    width: 60%;
    max-width: 550px;
    margin-left: 10%;
    margin-right: 10%;
    margin-top: 15px;
}

.addbook1{
    width: 80%;
    max-width: 800px;
    height: 90%;
    position: relative;
    background-color: rgb(228, 228, 228);
    text-align: center;
    margin: auto;
    top: 5%;
    border-radius: 30px;
}

.addbook2{
    width: 100%;
    height: calc(100% - 40px);
    margin: 20px 0;
    float: left;
    overflow-y: scroll;
    overflow-x: hidden;
}

.addbook2::-webkit-scrollbar{
    display: none;
}

.addbook2 label{
    margin: 0;
}

.addbook2 .addbooktip{
    position: relative;
    width: 90%;
    text-align: left;
    margin: 85px 5% 0 5%;
    color: rgb(255, 91, 91);
    font-size: 25px;
    font-weight: bold;
}

.addbookinput{
    width: 90%;
    height: 70px;
    margin: 20px 5% 0 5%;
    float: left;
    overflow: hidden;
}

.addbookinput label{
    height: 70px;
    width: calc(40% - 50px);
    margin: 0;
    padding: 0 20px 0 30px;
    font-size: 30px;
    border-radius: 35px 0px 0px 35px;
    background-color: rgb(141, 141, 141);
    line-height: 70px;
    color: rgb(244, 244, 244);
}

.addbookinput input{
    height: 66px;
    width: calc(60% - 44px);
    border: 2px solid rgb(141, 141, 141);
    color: rgb(244, 244, 244);
    padding-left: 20px;
    padding-right: 20px;
    font-size: 30px;
    color: black;
    border-radius: 0 35px 35px 0;
}

.addbookinputradio{
    height: 70px;
    width: 60%;
    float: left;
}

.addbookinputradio label{
    width: calc(50% - 60px);
    height: 50px;
    margin: 10px;
    padding: 0 40px 0 0;
    color: rgb(141, 141, 141);
    text-align: right;
    line-height: 48px;
    background-color: inherit;
}

.addbookinputradio label div{
    float: left;
    width: 22px;
    height: 22px;
    margin: 8px 0 8px 50px;
    border-radius: 50%;
    color: rgb(141, 141, 141);
    background-color: rgb(250, 250, 250);
    border: 6px solid rgb(250, 250, 250);
    box-shadow: 0px 0px 0px 1px rgb(141, 141, 141); /*加大一圈边框*/
}

.addbook2 button{
    margin-bottom: 0px;
}

.header{
    position: fixed;
    top: 0px;
    width: calc(100% - 50px);
    height: 120px;
    padding: 0px 25px;
    font-size: 60px;
    line-height: 120px;
    font-weight: 500;
    color: rgb(141, 141, 141);
    background-color: rgb(238, 238, 238);
    box-shadow: 0px 4px 5px 0px rgb(204, 204, 204); /*阴影*/
    border-top: 1px solid rgb(141, 141, 141);
    overflow: hidden;
}

.headerbutton{
    width: 170px;
    height: 70px;
    line-height: 70px;
    float: right;
    margin: 25px 0px 25px 20px;
    font-size: 30px;
    font-weight: bold;
    color: rgb(244, 244, 244);
    border: 0px;
    background-color: rgb(141, 141, 141);
    border-radius: 35px;
    animation-name: findbookhoverback; /*初始化动画（也用于hover反转动画）*/
    animation-duration: 0.5s;
}

.headerbutton:hover{
    animation: findbookhover 0.5s forwards;
}

.banner1{
    width: 90%;
    margin: auto;
    margin-top: 150px;
    box-shadow: 4px 4px 8px 2px rgb(204, 204, 204); /*阴影*/
    border-radius: 20px;
}

.banner2{
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
    overflow: hidden;
}

.bannerimg{
    width: 100%;
    height: 100%;
    position: absolute;
    transition: 0.5s transform ease-in-out;
    border-radius: 20px;
}

.bannerlabel{
    position: absolute;
    width: 100%;
    bottom: 10px;
    text-align: center;
}

.bannerlabel label{
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: rgb(250, 250, 250);
    border-radius: 50%;
    margin: 3px;
    border: 2px solid rgb(250, 250, 250);
}

.findbook{
    height: 100px;
    margin: 25px;
}

.findbook input{
    width: calc(90% - 160px);
    height: 96px;
    border-radius: 50px 0 0 50px;
    right: calc(5% + 100px);
    border: 2px solid rgb(141, 141, 141);
    position: absolute;
    font-size: 50px;
    padding-left: 30px;
    padding-right: 30px;
    line-height: 96px;
}

.findbook label{
    background-color: rgb(141, 141, 141);
    width: 100px;
    height: 100px;
    border-radius: 0 50px 50px 0;
    right: 5%;
    position: absolute;
    animation-name: findbookhoverback; /*初始化动画（也用于hover反转动画）*/
    animation-duration: 0.5s;
}

.findbook label::before{
    content: "";
    display: block;
    width: 25px;
    height: 25px;
    border: 5px solid rgb(244, 244, 244);
    border-radius: 50%;
    background-color: transparent;
    position: absolute;
    top: 20px;
    left: 20px;
}

.findbook label::after{
    content: "";
    display: block;
    width: 5px;
    height: 30px;
    background-color: rgb(244, 244, 244);
    position: absolute;
    transform: rotate(-40deg);
    top: 45px;
    left: 52px;
}

.findbook label:hover{
    animation: findbookhover 0.5s forwards;
}

@keyframes findbookhover{
    to{
        background-color: rgb(119, 119, 119);
    }
}

@keyframes findbookhoverback{
    from{
        background-color: rgb(119, 119, 119);
    }
}

.booktype{
    padding: 0px 5%;
    overflow: auto;
}

.anyimgyy{
    filter: drop-shadow(4px 4px 5px rgb(189, 189, 189)); /*自定义形状的阴影*/
}

.booktypetitle{
    width: 250px;
    height: 60px;
    line-height: 60px;
    font-size: 30px;
    font-weight: bold;
    text-align: center; /*水平居中*/
    color: rgb(244, 244, 244);
    background-color: rgb(141, 141, 141);;
    clip-path: polygon(0px 60px,50px 0px,250px 0px,200px 60px); /*绘制平行四边形*/
    margin-right: calc(100% - 250px);
    margin-bottom: 25px;
    float: left;
}

.bookbody{
    width: 100%;
    height: 200px;
    background-color: rgb(244, 244, 244);
    border-radius: 40px;
    box-shadow: 4px 4px 10px 2px rgb(204, 204, 204); /*阴影*/
    margin-bottom: 30px;
    float: left;
    position: relative;
    animation-name: bookbodyhoverback; /*初始化动画（也用于hover反转动画）*/
    animation-duration: 0.2s;
}

.booktype label{
    float: left;
    width: 60%;
    height: 60px;
    line-height: 60px;
    margin: 0 20% 20px 20%;
    color: rgb(124, 124, 124);
    font-size: 50px;
    text-align: center;
    border-radius: 30px;
    animation-name: bookmoreback; /*初始化动画（也用于hover反转动画）*/
    animation-duration: 0.2s;
}

.booktype label:hover{
    animation: bookmore 0.2s forwards;
}

@keyframes bookmore{
    to{
        background-color: rgb(204, 204, 204);
    }
}

@keyframes bookmoreback{
    from{
        background-color: rgb(204, 204, 204);
    }
}

@media screen and (min-device-width:1200px) and (min-width:1200px){
    .banner1{
        width: 60%;
        margin-top: 100px;
    }

    .bookbody{
        width: calc(50% - 20px);
        margin-right: 20px;
    }

    .booktype{
        padding: 0px calc(5% - 20px);
    }

    .header{
        height: 70px;
        font-size: 35px;
        line-height: 70px;
    }

    .headerbutton{
        width: 120px;
        height: 40px;
        line-height: 40px;
        margin: 15px 0px 15px 15px;
        font-size: 20px;
    }
}

.groupimgback{
    float: none;
    width: 60%;
    margin-bottom: 30px;
    margin-left: 0;
}

.groupimgbackx{
    float: right;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 25px;
    margin: -65px 5% 0 0;
}

.bookbody:hover{
    animation: bookbodyhover 0.2s forwards;
}

@keyframes bookbodyhover{
    to{
        margin-top: -5px;
        margin-bottom: 35px;
        background-color: rgb(218, 218, 218);
    }
}

@keyframes bookbodyhoverback{
    from{
        margin-top: -5px;
        margin-bottom: 35px;
        background-color: rgb(218, 218, 218);
    }
}

.bookbody img{
    width: 160px;
    height: 160px;
    background-size: cover; /*缩放*/
    float: left;
    left: 50px;
    margin: 20px;
    margin-left: 30px;
    border-radius: 40px;
}

.booktitle{
    width: calc(100% - 240px);
    height: 60px;
    color: black;
    font-weight: bold;
    font-size: 60px;
    line-height: 60px;
    float: left;
    margin-top: 20px;
    overflow: hidden; /*强制一行显示，超出省略号*/
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bookintroduce{
    width: calc(100% - 240px);
    height: 90px;
    color: rgb(168, 168, 168);
    font-weight: 500;
    font-size: 25px;
    line-height: 30px;
    float: left;
    margin-top: 10px;
    overflow: hidden; /*强制两行显示，超出省略号*/
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.pter{
    width: 50px;
    height: 30px;
    padding-right: 10px;
    font-size: 20px;
    font-weight: bold;
    color: black;
    text-align: right; /*本文右边对齐*/
    line-height: 30px;
    margin-top: 40px;
    background-color: rgb(40, 228, 40);
    position: absolute;
    right: 0px;
    clip-path: polygon(0px 0px,20px 15px,0px 30px,60px 30px,60px 0px); /*绘制书签形状*/
}

.ptzhuan{
    width: 50px;
    height: 30px;
    padding-right: 10px;
    font-size: 20px;
    font-weight: bold;
    color: black;
    text-align: right; /*本文右边对齐*/
    line-height: 30px;
    margin-top: 80px;
    background-color: rgb(255, 168, 86);
    position: absolute;
    right: 0px;
    clip-path: polygon(0px 0px,20px 15px,0px 30px,60px 30px,60px 0px); /*绘制书签形状*/
}