﻿@charset "UTF-8";

.box {
    position: relative;
    width: calc(2.46* 429px);
    height: 429px;
    padding: 0 20px;
    box-sizing: border-box;
}

.box .inner {
    position: absolute;
    top: 20px;
    left: 78px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.box .book {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 0%;
    height: 100%;
    margin: auto;
    overflow: hidden;
    animation-name: book;
    animation-duration: 4s;
    animation-fill-mode: forwards;
}

.box .book img {
    height: 100%;
}

.box .other {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box .other .left {
    height: 100%;
}

.box .other .left img {
    width: 36px;
    height: 100%;
}

.box .other .right {
    height: 100%;
    transition: 0.2s;
}

.box .other .right img {
    width: 36px;
    height: 100%;
    transform: rotate(180deg);
}

.box .other .center {
    animation-name: book_2;
    animation-duration: 4s;
    animation-fill-mode: forwards;
    /* 保持最后一帧状态 */
}

@keyframes book {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes book_2 {
    0% {
        width: 0%;
    }

    100% {
        width: calc(100% - 60px);
    }
}