#splash3 {
    width: 100vw;
    height: 100vh;
    position: fixed;
    background-color: #999;
    z-index: 99;
    font-family: 'Zen Antique', serif;
}

#splash3 * {
    box-sizing: border-box;
}

.splash_in {
    margin-top: 40vh;
}

#splash3 h1 {
    color: #754610;
    text-align: center;
    text-transform: uppercase;
    font-size: 20px;
    position: relative;
}

#splash3 h1:after {
    position: absolute;
    content: "";
    -webkit-animation: Dots 2s cubic-bezier(0, .39, 1, .68) infinite;
    animation: Dots 2s cubic-bezier(0, .39, 1, .68) infinite;
}

#splash3 .loader {
    margin: 5% auto 30px;
}

#splash3 .book {
    border: 4px solid #754610;
    width: 60px;
    height: 45px;
    position: relative;
    perspective: 150px;
}

#splash3 .page {
    display: block;
    width: 30px;
    height: 45px;
    border: 4px solid #754610;
    border-left: 1px solid #9c5d15;
    margin: 0;
    position: absolute;
    right: -4px;
    top: -4px;
    overflow: hidden;
    background: #ca8a42;
    transform-style: preserve-3d;
    -webkit-transform-origin: left center;
    transform-origin: left center;
}

#splash3 .book .page:nth-child(1) {
    -webkit-animation: pageTurn 1.2s cubic-bezier(0, .39, 1, .68) 0.6s infinite;
    animation: pageTurn 1.2s cubic-bezier(0, .39, 1, .68) 0.6s infinite;
}

#splash3 .book .page:nth-child(2) {
    -webkit-animation: pageTurn 1.2s cubic-bezier(0, .39, 1, .68) 0.45s infinite;
    animation: pageTurn 1.2s cubic-bezier(0, .39, 1, .68) 0.45s infinite;
}

#splash3 .book .page:nth-child(3) {
    -webkit-animation: pageTurn 1.2s cubic-bezier(0, .39, 1, .68) 0.2s infinite;
    animation: pageTurn 1.2s cubic-bezier(0, .39, 1, .68) 0.2s infinite;
}


/* Page turn */

@-webkit-keyframes pageTurn {
    0% {
        -webkit-transform: rotateY(0deg);
        transform: rotateY(0deg);
    }

    20% {
        background: #a46217;
    }

    40% {
        background: #754610;
        -webkit-transform: rotateY(-180deg);
        transform: rotateY(-180deg);
    }

    100% {
        background: #754610;
        -webkit-transform: rotateY(-180deg);
        transform: rotateY(-180deg);
    }
}

@keyframes pageTurn {
    0% {
        transform: rotateY(0deg);
    }

    20% {
        background: #a46217;
    }

    40% {
        background: #754610;
        transform: rotateY(-180deg);
    }

    100% {
        background: #754610;
        transform: rotateY(-180deg);
    }
}


/* Dots */

@-webkit-keyframes Dots {
    0% {
        content: "";
    }

    33% {
        content: ".";
    }

    66% {
        content: "..";
    }

    100% {
        content: "...";
    }
}

@keyframes Dots {
    0% {
        content: "";
    }

    33% {
        content: ".";
    }

    66% {
        content: "..";
    }

    100% {
        content: "...";
    }
}