* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {

    vertical-align: baseline;
}
input:focus {
    outline: none;
}
body {
    font-family: ProductSans, Helvetica, Arial, system-ui, sans-serif, serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4375;
    -webkit-font-smoothing: antialiased;
    background-color: #F9F9FF;
    color: #506172;
    font-weight: 400;
}
img {
    max-height: 100%;
    max-width: 100%;
    outline: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    vertical-align: middle;
}
button {
    border: 0;
    background: 0
}

li {
    list-style: none;
}

a {

    cursor: pointer;
    text-decoration: none;
    color: #000;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Muli", sans-serif;
    font-weight: 900;
    line-height: 1.4;
    color: #152035;
    margin: 0;
}

.header {
    width: 100%;
    -webkit-box-shadow: 0 1px 4px 0 hsla(0,0%,75%,.6);
    box-shadow: 0 1px 4px 0 hsla(0,0%,75%,.6);
    border-bottom: 1px solid #eee;
}



.header-con {
    display: flex;

    position: relative;
    height: 54px;
    align-items: center;
}

.header-con .logo {

}


.wrapper {
    margin: 0 auto;
    padding: 0 16px;
}


.nav-layout {
    padding: 10px;
    width: 300px;
    height: 100vh;
    position: fixed;
    top: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 999;
    left: -110%;
    transition: all .3s cubic-bezier(.165, .84, .44, 1);
}
.nav-layout.open {
    left: 0;
}
.menu-btn {
    display: none;
}

.navbar {
    margin-left:30px;
}
.nav-link {
    font-weight: 700;
    color: #152035;
    font-size: 16px;
    padding: 0px 40px 0px 0px;
    display: inline-block;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    position: relative;
}
.nav-link:hover {
    color: #f67280 !important;
    background-color: transparent;
}

.quiz-list {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(1,minmax(0,1fr))
}

.item-1 {
    grid-area: 1/1/2/2;

}
.item-2 {
    grid-area: 7/1/8/2;

}
.quiz-item {

    overflow: hidden;
    background: #fff;
    box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.2);
}

.quiz-item .quiz-img {
    aspect-ratio: 16/9;

}

.quiz-item .quiz-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.quiz-item .quiz-btn {
   display: flex;
    justify-content: center;
    align-items: center;
    padding:5%;
}

.quiz-item .quiz-btn .play-btn {
    font-size: 18px;
    height: 50px;
    line-height: 50px;
    background-color: #08f;
    color:#fff;
    text-align: center;
    font-weight: 700;
    width: 100%;
    border-radius: 10px;
}

.quiz-title {
    color: #152035;
    min-height: 64px;
    padding: 9px 16px;
    position: relative;
    z-index: 3;
}
.quiz-title span {
    font-weight: 500;
    font-size: 16px;
}

.text-ellipsis-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    width: 100%;
}

.mt-20 {
    margin-top: 20px;
}

.section-title {
    font-size: 18px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.section-bg {
    box-shadow: 0px 0px 10px 0px rgba(138, 137, 137, 0.35);
    border-radius: 10px;
    background: #fff;
    padding: 10px;
}

.related-list {
    display: grid;
    grid-gap: 15px;
    grid-template-columns: repeat(1,minmax(0,1fr));
}

/***detail**/
.detail-layout {
    margin: 20px auto;
}

.page-left {
    width: 100%;
    max-width: 728px;
}

.page-right {
    margin-left:20px;

}

.quiz-container {
    box-shadow: 0px 0px 10px 0px rgba(138, 137, 137, 0.35);
    border-radius: 10px;
    background: #fff;
    padding: 20px;
}

.quiz-header {
    font-size: 26px;

    width: 100%;
    color: #333333;
}

.quiz-header h1 {
    font-size: 18px;
}

.quiz-main-pic {
    margin: 10px 0;
}

.quiz-main-pic, .quiz-img {
    aspect-ratio: 16/9;
    position: relative;
}

.quiz-main-pic img, .quiz-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.quiz-item-title {
    color: #ff5c35;
    font-size: 1.2rem;
    line-height: 1.3rem;
    padding: .5rem 0;
    text-align: left
}

.quiz-options {
    display: flex;
    flex-wrap: wrap;
    width: 100%
}

.quiz-options>div {
    width: calc(50% - 1rem - 2px);
    margin: .25rem;
    padding: .25rem;
    background: #f4f4f4;
    font-size: 1rem;
    color: #666;
    position: relative;
    line-height: 1.5rem;
    cursor: pointer;
    text-align: center;
    border: 1px solid #999;
    border-radius: 5px;
}

.quiz-options>div:hover {
    background: #cbd8f3
}

.image-credit {
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: .5rem;
    font-weight: 400;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 999;
    color: rgba(255,255,255,.75);
    background: rgba(0,0,0,.25);
}

.quiz-options .checked {
    background: #3075ff !important;
    color: #fff;
    border: none;
}

.longSelectDiv {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - .25rem);
    height: calc(100% - .25rem);
    z-index: 1;
    background-color: #4c82ff;
    border: solid 2px #4c82ff;
    opacity: .3;
    display: none
}

.quiz-options .longSelectDivTempClasszhengchang {
    background: #3075ff !important;
    color: #fff;
    border: none;
}
.count_number {
    width: 100%;
    font-weight: 400;
    color: #666666;
    font-size: 16px;
}
.count_number span:nth-child(2) {
    color: #FF4C1F;
    font-size: 24px;
}

.quiz-img {
    overflow: hidden;
    width: 100%;
    color: #666;
    position: relative;
    aspect-ratio: 16/9;
}


.calculating_result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.calculating_result p {
    color: #656565;
    margin: 1rem;

    font-size: 1.15rem;
    line-height: 1.5rem;
}

.calculating_result img {
    width: 3rem;
    height: 3rem;
}


.longSelectSubmit {
    margin: 1rem 0;
    background: #FD9700;
    padding: .5rem 1.5rem;
    font-size: 1.4rem;
    color: #fff;
    /* width: 450px; */
    text-align: center;
    cursor: pointer;
}

.longSelectSubmit:hover {
    background: #E88C03;
}

.quiz-question {
    position: relative;
    margin-top: 10px;
}

.quiz-question .mask {
    position: absolute;
    z-index: 8;
    width: 102%;
    height: 100%;
    left: -1%;
    background-color: #606060;
    opacity: .4;
    top: 0;
}
.quiz-question .hide {
    display: none;
}

.quiz-option .quiz-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    position: absolute;
    right: 0;
}

.quiz-option .right svg {
    fill : #28a745;
}

.quiz-option .wrong svg {
    fill : #e41020;
}

/***logo quiz***/
.quiz-detail {
    margin: 0 auto;
    text-align: center;
}
.quiz-detail img {
    max-width: 300px;
}
.quiz-result-input {
    display: flex;
    justify-content: center;
}
.quiz-charter,.quiz-result-box {
    text-align: center;
    margin: .25rem auto;
    display: flex;
    justify-content: center;
}
.quiz-result-box {
    padding: .5rem;
}
.quiz-result-box span:first-child {
    margin: 0;
}
.quiz-charter span, .quiz-result-box span {
    line-height: 2rem;
    border-radius: 5px;
    display: inline-block;
    width: 2rem;
    height: 2rem;
    font-weight: 900;
    cursor: pointer;
    margin-left: 5px;
    box-shadow: 0px 2px 3px #ccc;
}
.quiz-charter span{
    background: #d1e7dd;
}
.quiz-result-box span{
    background: #5c636a;
    color: #fff;
}

.wrong {
    -webkit-animation: start_box_glow 2s ease-in-out infinite;
    animation: start_box_glow 2s ease-in-out infinite;
}

@-webkit-keyframes start_box_glow {
    0%, 40%, 100% {
        box-shadow: inset 0 0 0 3px #e4e4ec; }
    10%, 20% {
        box-shadow: inset 0 0 0 3px #e41020; }
}

@keyframes start_box_glow {
    0%, 40%, 100% {
        box-shadow: inset 0 0 0 3px #e4e4ec; }
    10%, 20% {
        box-shadow: inset 0 0 0 3px #e41020; }
}

.rights {
    -webkit-animation: right_box_glow 1s ease-in-out infinite;
    animation: right_box_glow 1s ease-in-out infinite;
}

@-webkit-keyframes right_box_glow {
    0%, 40%, 100% {
        box-shadow: inset 0 0 0 3px #e4e4ec; }
    10%, 20% {
        box-shadow: inset 0 0 0 3px #28a745; }
}

@keyframes right_box_glow {
    0%, 40%, 100% {
        box-shadow: inset 0 0 0 3px #e4e4ec; }
    10%, 20% {
        box-shadow: inset 0 0 0 3px #28a745; }
}

.next-btn-container {
    margin: 0 auto;
    margin-top: 10px;
    text-align: center;
}

.next-btn {
    width: 100px;
}

.hide {
    display: none;
}


/***result**/
.result-box {
    padding: 1rem .5rem;
}
.result-box h2 {
    margin: .5rem 0;
}
.result-box p {
    line-height: 1.5rem;
}


.quiz-text-result {
    color: rgb(255, 255, 255);
    background-image: linear-gradient(236deg, rgb(0, 156, 255), rgb(188, 73, 255));
    position: relative;
    padding-top: 50px;
    padding-bottom: 40px;
}

.quiz-text-result p {
    font-size: 3rem;
    font-weight: 700;
    line-height: 3.5rem;
    text-align: center;
}

.submit-div , .start-btn{
    display: flex;
    flex-direction: column;
    margin: 15px 0;
    justify-content: center;
    align-items: center;
}

.submit-div .btn {
    width: 50%;
}

.download-btns {
    display: flex;
    flex-direction: column;
    margin: 15px 0;
}

.btn {
    width: 100%;
    height: 68px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.download-btns .btn-gp {
    background: #01875f;
}

.download-btns .btn-ios {
    background: rgba(0, 0, 0, 0.8);
}

.svg-icon {
    width: 24px;
    height: 24px;
    fill: #fff;
}

.btn-organge {
    background: #FF7C59;
    font-weight: 400;
}

.download-btns .btn-grey {
    background-color: #ddd;
}

.download-btns .btn span, .submit-div .btn span {
    margin-left: 10px;
    font-size: 20px;
}

.download-btns .btn:not(:first-child) {
    margin-top: 15px;
}

.btn-play {
    background: #488bea;
}


.side-quiz-list {
    display: grid;
    grid-gap: 15px;
    grid-template-columns: repeat(1,minmax(0,1fr));
}

.tags a {
    background-color: #F9F9FF;
    padding: 4px 11px;
    margin-bottom: 5px;
    margin-right: 2px;
    border-radius: 20px;
    font-size: 13px;
    text-transform: capitalize;
    color: #506172;
    font-weight: 700;
}

.calculating_result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.calculating_result p {
    color: #656565;
    margin-top: 1rem;
}

.calculating_result img {
    width: 4rem;
    height: 4rem;
}

.ads {
    margin: 20px auto;
    text-align: center;
}

.start-btn .btn {
    width: 60%;
    font-size: 20px;
    font-weight: 500;
}

.btn-blue {
    background-color: #007bff;
    border-color: #007bff;
}

.ad-tips {
    text-align: center;
}

@media screen and (max-width: 768px) {
    .navbar {
        display: none;
    }

    .expand-ad {
        width: calc(100% + 32px);
        margin-left: -16px;
    }
}

@media screen and (min-width: 440px) {
    .quiz-list {
        display: grid;
        grid-template-columns: repeat(1,minmax(0,1fr))
    }
    .side-quiz-list {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media screen and (min-width: 768px) {
    .wrapper {
        width: 100%;
        max-width: 768px;
    }
    .quiz-list {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .item-1 {
        grid-area: 1/1/2/3;
    }
    .item-2 {
        grid-area: 7/1/8/3;
    }
    .download-btns {
        display:flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .download-btns .btn-group {
        width: calc( 50% - 10px );
    }

    .download-btns .btn-group:not(:first-child) {
        margin-top: 0px;
    }

    .related-list {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media screen and (min-width: 1024px) {
    .wrapper {
        width: 100%;
        max-width: 1024px;
    }
    .quiz-list {
        display: grid;
        grid-template-columns: repeat(3,minmax(0,1fr))
    }
    .item-1 {
        grid-area: 2/1/3/4;
    }
    .item-2 {
        grid-area: 7/1/8/4;
    }
    .detail-layout {
        display: flex;
    }
    .page-left {
        width: 100%;
        max-width: 728px;
        flex-shrink: 0;
        flex-grow: 1;
    }
    .side-quiz-list {
        display: grid;
        grid-template-columns: repeat(1,minmax(0,1fr));
    }
}

@media screen and (min-width: 1200px) {
    .wrapper {
        max-width: 1162px;
    }

    .header-con {
        height: 64px;
    }
}





/***footer***/

footer {
    background-color: #fff;
    position: relative;
    height: 100px;
    border-top: 1px solid #eee;
    margin-top:20px;
}

.footer-content {
    padding-top: 22px;
    position: relative;
    width: 85%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .links {
    text-align: center;
    margin: auto 0 auto 40px;
}

footer .links a {
    color: #9c9c9c;
    margin-right: 30px;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
}

.introduce {
    color: #9c9c9c;
    display: block;
    text-align: center;
    position: relative;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 400;
}


/***entry***/

.entry h1 {
    margin: 25px 0;
    line-height: 30px
}

.entry h2 {
    margin: 20px 0
}

.entry h3 {
    margin: 18px 0
}

.entry h4 {
    margin: 16px 0
}

.entry h5 {
    margin: 15px 0
}

.entry {
    font-weight: 400;
    font-size: 14px;
    color: #4c4c4c;
    line-height: 25px
}

.entry p:first-of-type {
    margin-top: 0
}

.entry .aligncenter,.section a.more {
    display: block;
    margin: auto;
    text-align: center
}

.entry blockquote {
    border-left: 4px solid #f2f2f2;
    padding: 0 15px;
    font-style: italic
}

.entry .alignright {
    float: right;
    margin: 0 0 15px 15px
}

.entry ol,.entry ul {
    margin: 0 0 20px 15px
}

.entry li {
    margin: 0 0 5px
}

.entry ol li {
    list-style: decimal
}

.entry ul li {
    list-style: disc
}

.entry iframe {
    max-width: 100%
}
.entry p {
    margin: 0 0 15px;
}


/**** detail loading box ***/
.overlay,.loading-box {
    position: relative;
}

.overlay:before,.loading-box:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 3;
}

.overlay:before,.loading-box:before {
    border: 1rem solid hsla(0,0%,100%,.25);
    border-top-color: #6dd829;
    border-radius: 50%;
    animation: turnAround .6s linear infinite;
    width: 5.25rem;
    height: 5.25rem;
}

@keyframes turnAround {
    0% {
        transform: translate(-50%,-50%) rotate(0)
    }

    to {
        transform: translate(-50%,-50%) rotate(359deg)
    }
}


.overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,.4);
    z-index: 10000;
}

.quiz-box {
    display: flex;
}

.quiz-box .thumb {
    width: 80px;
    flex-shrink: 0;
}

.quiz-box .thumb img {
    aspect-ratio: 16/9;
    position: relative;
    border-radius: 5px;
}

.quiz-box .title {
    margin-left: 10px;
    font-weight: 600;
    font-size: 18px;
}

@media screen and (min-width: 768px) {
    .quiz-box .thumb {
        width: 120px;
    }
}

.btn.anima {
    animation: i 1.5s infinite;
}

@keyframes i {
    0% {
        transform: scale(.9);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 50px rgba(90, 153, 212, 0);
    }

    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 rgba(90, 153, 212, 0);
    }
}
