﻿* {
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Helvetica Neue, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background: url('../images/background.jpg') no-repeat center center fixed;
    background-size: cover;
    white-space: nowrap;
    overflow-x: auto;
}

@media (max-width: 1200px) {
    body {
        font-size: 1em;
    }
}

@media (max-width: 992px) {
    body {
        font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 0.85em;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 0.8em;
    }
}

.header, .container, .content, .left, .footer, .mobnav {
    background: transparent;
}

.header {
    width: 100%;
    text-align: center;
    height: auto;
}

.container {
    max-width: 1000px;
}

.content {
    width: 100%;
    padding-bottom: 4rem;
    padding-top: .2rem;
    border-top: #223348 1px solid;
    border-bottom: #223348 1px solid;
}

.jc:hover img {
    border-radius: 10px;
    box-shadow: 0px 4px 10px 1px rgba(0, 93, 254, 0.4);
    transition: 0.3s;
}

.qbjc:hover {
    box-shadow: 0px 13px 28px -4px rgba(0, 93, 254, 0.4);
    transition: 0.3s;
}

.rank {
    position: relative;
    top: -15px;
}

.qbtitle {
    color: #adb6c4;
    height: 40px;
    padding: .5rem 0;
    box-sizing: content-box;
}

.qblink {
    width: 100%;
    text-align: center;
    background-color: #005dfe;
    border-radius: 5px;
    padding: .5rem 0;
    display: block;
}

a.qblink {
    text-decoration: none;
    color: #fff;
}

a.qblink:hover {
    background: #1a6eff;
}

.qbbtn {
    box-sizing: border-box;
    width: 100%;
    text-align: center;
    border-radius: 5px;
    padding: .5rem 0;
}

.btn {
    padding: .5rem 0;
    color: #fff;
    background-color: #5e6e82;
    margin: 10px 0px;
}

.btn:hover {
    color: #fff;
    background-color: #6f8198;
}

.footer {
    height: 80px;
    line-height: 80px;
    color: #55657e;
}

.left {
    position: fixed;
    left: calc((100% - 1000px) / 2 - 120px);
    padding-top: 50px;
}

.nav {
    margin-bottom: 10px;
}

.card1 {
    width: 100px;
    height: 100px;
    position: relative;
}

.front {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.front img {
    width: 100px;
    height: 100px;
}

.card1:hover {
    transform: rotateY(360deg);
    transition: transform 0.8s;
}

.navlink p {
    margin-bottom: 0;
}
a.navlink:hover{text-decoration: none;}
a.navlink:visited{text-decoration: none;}
.close:focus {
  outline: none;
  box-shadow: none;
}
.close img{width: 50%;}

@media (min-width: 1200px) {
    .modal-dialog {
        max-width: 1000px;
        margin: 1.75rem auto;
    }

    .close {
        position: fixed;
        text-shadow: none;
        right: calc((100% - 1000px) / 2);
        transform: none;
        z-index: 999;
    }

    .logoimg {
        width: 100%;
    }

    .qbicon img {
        width: 70px;
        border-radius: 10px;
        border: #293a4e solid 1px;
    }

    .qbjc {
        background-color: #182434;
        padding: 0 20px 0px;
        border-radius: 10px;
        box-sizing: border-box;
        margin-top: 40px;
    }

    .qbtitle {
        font-size: 120%;
    }

    a.qblink  {
        font-size: 110%;
    }

    .qbbtn {
        font-size: 110%;
    }

    .left {
        position: fixed;
        left: calc((100% - 1000px) / 2 - 120px);
        padding-top: 50px;
    }

    .mobnav {
        display: none;
    }
    
}

@media (min-width: 576px) and (max-width:1200px) {
    .nav {
        display: none;
    }

    .modal-dialog {
        max-width: 550px;
        margin: 1.75rem auto;
    }

    .close {
        position: fixed;
        text-shadow: none;
        right: calc((100% - 550px) / 2);
        transform: none;
        z-index: 999;
    }

    .logoimg {
        width: 100%;
    }

    .qbjc {
        background-color: #182434;
        padding: 0 20px 0;
        border-radius: 10px;
        box-sizing: border-box;
        margin-top: 40px;
    }

    .qbicon img {
        width: 33%;
        border-radius: 10px;
        border: #293a4e solid 1px;
    }

    .qbtitle {
        font-size: 120%;
        height: 40px;
        padding: .5rem 0;
        line-height: 40px;
    }

    .qblink {
        padding: .5rem 0;
    }

    .qblink a {
        font-size: 110%;
    }

    .qbbtn {
        font-size: 110%;
        padding: .5rem 0;
    }

    .mobnav {
        display: flex;
        justify-content: space-between;
        position: fixed;
        bottom: 0;
        background-color: #293548;
        z-index: 90;
        width: 100%;
        height: 6rem;
    }

    .mob-nav-r {
        border-right: solid 1px #384961;
    }

    .mobnav .navlink {
    width: 25%;
    text-align: center;
    height: 100%;
    color: #8899b3;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 120%;
    flex-direction: column;
    }


    .navlink img {
        width: 20%;
    }


    .btn {
        padding: .5rem 0;
        color: #fff;
        margin: 10px 0px;
    }

    .footer {
        margin-bottom: 6rem;
    }

}

@media (max-width: 576px) {
    .btn {
        margin: 10px 0 0;
    }

    .nav {
        display: none;
    }

    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }

    .tt {
        padding-left: 0;
    }

    .close {
        position: fixed;
        text-shadow: none;
        right:-20px;
        transform: none;
        z-index: 999;
    }
    .close img{width: 30%;}
    
    .logoimg {
        width: 110%;
    }


    .qbicon img {
        width: 44px;
        border-radius: 10px;
        border: #293a4e solid 1px;
    }

    .qbjc {
        background-color: #182434;
        padding: 0 1rem;
        border-radius: 10px;
        box-sizing: border-box;
        margin-top: 1.5rem;
    }

    .qbtitle {
        font-size: 1rem;
        height: 2.5rem;
        padding: .5rem 0;
        line-height: 2.5rem;
    }

    .qblink {
        padding: .5rem 0;
    }

    .qblink a {
        font-size: 1rem;
    }

    .qbbtn {
        font-size: 1rem;
        padding: .5rem 0;
    }

    .mobnav {
        display: flex;
        justify-content: space-between;
        position: fixed;
        bottom: 0;
        background-color: #293548;
        z-index: 90;
        width: 100%;
        height: 6rem;
    }

    .mob-nav-r {
        border-right: solid 1px #384961;
    }

    .mobnav .navlink {
    width: 25%;
    text-align: center;
    height: 100%;
    color: #8899b3;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 120%;
    flex-direction: column;
    }

    .navlink img {
        width: 20%;
    }

    .footer {
        margin-bottom: 6rem;
    }

}
