    /*
purple: rgb(84, 13, 110);
red: rgb(238, 66, 102);
yello: rgb(255, 210, 63);
cyanBlue: rgb(59, 206, 172);
green: rgb(14, 173, 105);
*/
    
    @font-face {
        font-family: 'Roboto';
        src: url('font/Roboto-Bold.ttf');
        src: url('font/Roboto-Medium.ttf');
    }
    
    body {
        font-family: "Roboto", "Arial", "Microsoft YaHei", "黑体", "宋体", sans-serif;
        margin: 0;
        padding: 0;
    }
    
    .navBar {
        /* display: block; */
        /* margin-left: -10px;
margin-right: -10px; */
        /* background-color: rgba(14, 173, 105);
    display: flex;
    height: 50px;
    width: 100%;
    align-items: center; */
        /* margin-right: -10px; */
        /* overflow: hidden; */
    }
    
    #navDiv {
        background-color: rgba(14, 173, 105, 0.8);
        display: flex;
        height: 50px;
        /* margin: 0; */
        align-items: center;
        overflow: hidden;
    }
    
    #topLogo img {
        margin-left: 10px;
        margin-right: 10px;
        /* margin-top: 8px; */
    }
    
    #topSlogan {
        font-weight: 600;
        font-size: 0.8em;
        letter-spacing: 2px;
        color: white;
        width: 220px;
        height: 50px;
        display: none;
        flex-direction: column;
        animation: show 10s linear infinite;
    }
    
    #topSlogan>div {
        padding: 20px 6px 10px 10px;
        height: 60px;
        /* display: block; */
        width: 210px;
        margin-bottom: 50px;
    }
    
    #topSlogan div {
        background-color: rgb(84, 13, 110);
    }
    
    #topSlogan div:first-child {
        background-color: rgb(59, 206, 172);
    }
    
    #topSlogan div:last-child {
        background-color: rgb(238, 66, 102);
    }
    
    @keyframes show {
        0% {
            margin-top: -550px;
        }
        2% {
            margin-top: -440px;
        }
        20% {
            margin-top: -360px;
        }
        38% {
            margin-top: -205px;
        }
        66% {
            margin-top: -155px;
        }
        71% {
            margin-top: -105px;
        }
        99.99% {
            margin-top: -10px;
        }
        100% {
            margin-top: -550px;
        }
    }
    
    #navOpt {
        list-style: none;
        display: flex;
        font-size: 20px;
        font-weight: 600;
        color: white;
        text-align: center;
        padding: 10px 10px;
        flex-grow: 2;
        justify-content: flex-end;
    }
    
    .nav {
        margin-left: 10px;
        margin-right: 10px;
        font-size: 0.8em;
    }
    
    .nav a {
        text-decoration: none;
        color: white;
    }
    
    .nav a:hover {
        color: rgb(238, 66, 102);
    }
    
    header {
        height: 80px;
        width: auto;
        /* margin-left: -10px;
margin-right: -10px; */
        background-color: rgba(238, 66, 102, 0.8);
        font-size: 0.7em;
        display: block;
    }
    
    .bannerParent {
        color: white;
        /* line-height: 1.5em; */
    }
    
    .bannerParent>div {
        padding: 5px 10px;
    }
    
    #banner {
        display: block;
        background-color: rgba(84, 13, 110, 0.8);
        font-weight: bold;
        padding: 5px 10px;
    }
    
    .bannerText {
        color: white;
        line-height: 1.5em;
        padding: 5px 10px;
    }
    
    .introTxt {
        margin: 20px 10%;
        background-color: #faf8ec;
        padding: 10px;
        font-size: 16px;
    }
    
    h1.title {
        margin: 20px 10%;
        color: rgb(238, 66, 102);
        text-align: center;
    }
    
    .greenWords {
        display: flex;
        position: relative;
        margin: 20px 10%;
        background-color: #faf8ec;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
    }
    
    .greenWords p {
        display: block;
        text-align: center;
        font-size: 2em;
        padding: 20px;
        margin: 10px;
        border: 2px solid rgb(14, 173, 105);
        color: rgb(14, 173, 105);
        border-radius: 10px;
    }
    
    .greenWords p:hover {
        background-color: rgb(14, 173, 105);
        color: white;
    }
    
    .greenWords p:active {
        background-color: rgb(59, 206, 172);
        color: white;
    }
    
    #container1 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    
    .leftBox {
        display: flex;
        flex-direction: column;
        width: 45%;
    }
    
    div.redWords {
        display: flex;
        position: relative;
        background-color: beige;
        flex-wrap: wrap;
        align-items: center;
        margin: 10px;
    }
    
    .redWords p {
        display: block;
        text-align: center;
        font-size: 2em;
        padding: 20px;
        border: 2px solid rgb(238, 66, 102);
        border-radius: 10px;
        margin: 10px;
        color: rgb(238, 66, 102);
    }
    
    div.wordBlock {
        display: flex;
        position: relative;
        margin: 10px;
        background-color: #faf8ec;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    
    .wordBlock p {
        display: block;
        text-align: center;
        font-size: 2em;
        padding: 20px;
        border: 2px solid rgb(14, 173, 105);
        color: rgb(14, 173, 105);
        margin: 10px;
        border-radius: 10px;
    }
    
    .blc:hover {
        background-color: rgb(14, 173, 105);
        color: white;
    }
    
    .blc:active {
        background-color: rgb(59, 206, 172);
        color: white;
    }
    
    .rightBox {
        height: 250px;
        width: 250px;
        /* background-color: rgb(243, 143, 143); */
        display: flex;
        flex-direction: column;
    }
    
    #picFrame img {
        width: 200px;
        margin: 0 auto;
        display: block;
    }
    
    .rightBox audio {
        display: none;
    }
    
    #dic {
        display: block;
        height: 15%;
        width: 80%;
        margin: auto;
    }
    
    #dic p {
        text-align: center;
    }
    
    #playBtn {
        display: block;
        margin: 10px auto;
        width: 200px;
        height: 50px;
        padding: 10px 20px;
        background-color: #4CAF50;
        border-radius: 10px;
        ;
        border: none;
        cursor: pointer;
        text-decoration: none;
        color: white;
        font-size: 0.8em;
        /* border-radius: 15px; */
    }
    
    #playBtn:hover {
        background-color: #008CBA;
    }
    
    .book {
        margin: 20px auto;
        display: flex;
        width: 90%;
        justify-content: space-between;
    }
    
    #p1 {
        width: 80%;
        margin-right: auto;
        margin-left: auto;
    }
    
    #p1 img {
        display: block;
        width: 640px;
        margin: 0 auto;
        border-radius: 20px;
    }
    
    #rollBtn,
    #textPic {
        text-align: center;
        background-color: rgb(14, 173, 105);
        padding: 20px;
        color: white;
        font-size: 30px;
        font-weight: bold;
        margin-top: 10px;
        border-radius: 20px;
    }
    
    #rollBtn:hover {
        background-color: rgb(59, 206, 172);
    }
    
    #rollBtn:active {
        transform: scale(0.9);
    }
    
    #textPic {
        display: none;
    }
    
    .btn {
        align-self: center;
    }
    
    .btn img {
        width: 50px;
    }
    
    .btn img:hover {
        transform: scale(1.1);
        ;
    }
    
    .btn img:active {
        transform: scale(0.9);
    }
    
    .QA {
        margin: 20px 10%;
        background-color: #faf8ec;
        border-radius: 10px;
    }
    
    #panel,
    #flip {
        padding: 20px;
    }
    
    #panel {
        display: none;
    }
    
    .bookLink {
        margin: 20px 10%;
        color: rgb(84, 13, 110);
        font-size: 26px;
    }
    
    .bookLink a {
        text-decoration: none;
    }
    
    .bookLink ul {
        list-style: none;
        display: flex;
        justify-content: space-evenly;
    }
    
    @media (max-width: 768px) {
        #p1 img {
            width: 420px;
        }
    }