html,body {
    margin: 0;
    padding: 0;
}

@media screen and (max-width: 768px) {
    /* 在屏幕宽度小于等于768px时应用的样式 */

    .max-body {
        width: 90%;
        max-width: 768px;
        min-width: 300px;
        margin: 0 auto;
        height: 100%;
    }
    .header-container {
        background-color: rgba(34,55,140,1);
        color: white;
        height: 80px;
    }
    .header-container .header-logo {
        font-size: 20px;
        font-weight: bold;
        display: flex;
        align-items: center;
    }
    .header-container .header-logo img {
        width: 30px;
        display: block;
        margin-right: 10px;
    }
    .header-container .max-body {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        /*justify-content: space-between;*/
        /*align-items: center;*/
        /*flex-direction: row;*/
    }

    .mobile_menu {
        width: 25px;
        height: 25px;

    }

    #topMenuBox {
        visibility: hidden;
        position: absolute;
        top: 90px;
        right: 10px;
        width: 50%;
        height: auto;
        background: white;
        border-radius: 5px;
        box-shadow: 1px 1px 2px #ccc;
    }

    #topMenuBox.hidden {
        transition: visibility 1s;
        animation: fadeOut 1.0s;
    }

    #topMenuBox.show {
        visibility: visible;
        animation: fadeIn 0.5s;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    @keyframes fadeOut {
        from {
            opacity: 1;
        }
        to {
            opacity: 0;
        }
    }

    .fadeOut {
        animation-name: fadeOut;
    }

    .fadeIn {
        animation-name: fadeIn;
    }

    #topMenuBox .menuContainer {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
    }

    #topMenuBox .menuContainer .menuItem {
        font-weight: bold;
        color: #0A246A;
        padding: 1.5em 1.5em;
        border-bottom: 1px dotted rgba(5,6,200, 0.5);
        cursor: pointer;
    }

    #topMenuBox .menuContainer .menuItem:active {
        background-color: rgba(5,6,200, 0.5);
        color: white;
    }

    .header-container .header-login-box {
        /*display: flex;*/
        display: none;

    }
    .header-container .header-login {
        padding: 2px 14px;
        background-color: #fff;
        border-radius: 20px;
        color: #4344A4;
        cursor: pointer;
        margin-left: 2em;
    }
    .header-container .header-register {
        padding: 2px 14px;
        border-radius: 20px;
        border: 1px solid white;
        cursor: pointer;
    }
    .header-container .header-login-box .shu-line {
        height: 30px;
        width: 1px;
        background-color: white;
        margin: 0 20px;
    }
    .header-login-box {
        display: none;
    }
    .header-container .header-login-box .header_menu_item {
        margin: 1.2em 1.2em 1.2em 1.2em;
        padding-top: 1em;
        padding-bottom: 1em;
    }
    .header-container .header-login-box .header_menu_item:hover {
        margin: 0 1.2em;
        border-bottom: 2px solid white;
        cursor: pointer;
    }
    .banner-container {
        width: 100vw;
        height: 56vw;
        background: url('./背景@2x.png');
        background-position: top center;
        background-size: cover;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .banner-container .slogin {
        font-size: 24px;
        font-weight: bold;
        color: #fff;
        margin-bottom: 1.5em;
        /* margin-top: 16%; */
    }

    .banner-container .tjbutton {
        font-size: 16px;
        font-weight: normal;
        color: #fff;
        padding: 0.5em 3em;
        border: 1px solid #fff;
        cursor: pointer;
    }

    .banner-container .tjbutton:hover {
        background-color: #fff;
        color: #263CAE;
    }

    .content-container {
        margin-top: 5em;
    }

    .content-container .platform {
        width: 1100px;
        display: flex;
        justify-content: space-between;
        margin: 0 auto;
        padding-bottom: 40px;
        margin-bottom: 2em;
    }
    .content-container .platform .text-box {
        width: 750px;
        border: 1px solid #131F5C;
        border-radius: 20px;
        padding: 40px;
        color: #4E4E4E;
        line-height: 60px;
        padding-right: 70px;
    }
    .content-container .platform .right-box {
        width: 300px;
        position: relative;
    }
    .content-container .platform .right-box .title {
        padding: 10px 20px;
        background-color: #263CAE;
        color: #fff;
        font-size: 30px;
        position: absolute;
        top: 0;
        right: 0;
    }
    .content-container .platform .right-box .img-box img {
        width: 320px;
        position: absolute;
        top: 100px;
        right: 0;
    }

    .mediate-container {
        background: #F5F5F5;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .content-container .mediate-center .title {
        padding: 10px 20px;
        background-color: #263CAE;
        color: #fff;
        font-size: 30px;
        width: 200px;
        margin-bottom: 30px;
    }
    .content-container .mediate-center .card-list {
        display: grid;
        grid-template-columns: repeat(3, calc(33%));
        grid-column-gap: 20px;
    }
    .content-container .mediate-center .card-box {
        padding: 16px;
        background: #fff;
    }
    .content-container .mediate-center .card-list .card-img {
        width: 100%;
        height: 170px;
        display: block;
        object-fit: cover;
    }
    .content-container .mediate-center .card-list .card-title {
        text-align: center;
        background-color: #263CAE;
        color: #fff;
        font-size: 14px;
        padding: 4px;
    }
    .content-container .mediate-center .card-list .card-text {
        padding-top: 20px;
        padding-bottom: 8px;
        font-size: 12px;
        color: #666666;
        line-height: 22px;
        text-indent: 24px;
    }

    .login-menu-box {
        position: absolute;
        top: 0;
        right: 0;
        background-color: #fff;
        width: 120px;
        display: none;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 6px 10px -6px rgba(0, 36, 100, 0.8);
    }
    .login-menu-box .login-menu-item {
        height: 36px;
        border-bottom: 1px solid #E5E5E5;
        line-height: 36px;
        padding: 4px 20px;
        cursor: pointer;
    }
    .login-menu-box .login-menu-item:hover {
        background-color: #F5F5F5;
    }
    .login-menu-box .login-menu-item:last-child {
        border-bottom: none;
    }
    .login-menu-box:focus,.login-menu-box:focus-visible {
        outline: none;
    }

    .card-link {
        color:rgba(4, 6, 50, 0.66);
        font-size: 14px;
        font-weight: bold;
        display: flex;
        justify-content: end;
        margin: 2em auto;
    }

    .card-link a {
        text-decoration: none;
    }

    .footer-container {
        background-color: rgba(33, 33, 33, 1);
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .foot-card-container {
        width: 90%;
        padding: 3em 10em;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    /* 在屏幕宽度大于768px时应用的样式 */

    .max-body {
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
        height: 100%;
    }

    .header-container .header-logo {
        font-size: 16px;
        font-weight: bold;
        display: flex;
        align-items: center;
    }

    .banner-container .slogin {
        font-size: 24px;
        font-weight: bold;
        color: #fff;
        margin-bottom: 1.5em;
        /* margin-top: 16%; */
    }

}

@media screen and (min-width: 1024px) {
    .max-body {
        width: 80%;
        max-width: 1600px;
        min-width: 900px;
        margin: 0 auto;
        height: 100%;
    }
    .header-container {
        background-color: rgba(34,55,140,1);
        color: white;
        height: 80px;
    }
    .header-container .header-logo {
        font-size: 20px;
        font-weight: bold;
        display: flex;
        align-items: center;
    }
    .header-container .header-logo img {
        width: 30px;
        display: block;
        margin-right: 10px;
    }
    .header-container .max-body {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header-container .header-login-box {
        display: flex;
        align-items: center;
    }
    .header-container .header-login {
        padding: 2px 14px;
        background-color: #fff;
        border-radius: 20px;
        color: #4344A4;
        cursor: pointer;
        margin-left: 2em;
    }
    .header-container .header-register {
        padding: 2px 14px;
        border-radius: 20px;
        border: 1px solid white;
        cursor: pointer;
    }
    .header-container .header-login-box .shu-line {
        height: 30px;
        width: 1px;
        background-color: white;
        margin: 0 20px;
    }
    .header-container .header-login-box .header_menu_item {
        margin: 1.2em 1.2em 1.2em 1.2em;
        padding-top: 1em;
        padding-bottom: 1em;
    }
    .header-container .header-login-box .header_menu_item:hover {
        margin: 0 1.2em;
        border-bottom: 2px solid white;
        cursor: pointer;
    }
    .banner-container {
        width: 100vw;
        height: 56vw;
        background: url('./背景@2x.png');
        background-position: top center;
        background-size: cover;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .banner-container .slogin {
        font-size: 48px;
        font-weight: bold;
        color: #fff;
        margin-bottom: 1.5em;
        /* margin-top: 16%; */
    }

    .banner-container .tjbutton {
        font-size: 24px;
        font-weight: normal;
        color: #fff;
        padding: 0.5em 3em;
        border: 1px solid #fff;
        cursor: pointer;
    }

    .banner-container .tjbutton:hover {
        background-color: #fff;
        color: #263CAE;
    }

    .content-container {
        margin-top: 5em;
    }

    .content-container .platform {
        width: 1100px;
        display: flex;
        justify-content: space-between;
        margin: 0 auto;
        padding-bottom: 40px;
        margin-bottom: 2em;
    }
    .content-container .platform .text-box {
        width: 750px;
        border: 1px solid #131F5C;
        border-radius: 20px;
        padding: 40px;
        color: #4E4E4E;
        line-height: 60px;
        padding-right: 70px;
    }
    .content-container .platform .right-box {
        width: 300px;
        position: relative;
    }
    .content-container .platform .right-box .title {
        padding: 10px 20px;
        background-color: #263CAE;
        color: #fff;
        font-size: 30px;
        position: absolute;
        top: 0;
        right: 0;
    }
    .content-container .platform .right-box .img-box img {
        width: 320px;
        position: absolute;
        top: 100px;
        right: 0;
    }

    .mediate-container {
        background: #F5F5F5;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .content-container .mediate-center .title {
        padding: 10px 20px;
        background-color: #263CAE;
        color: #fff;
        font-size: 30px;
        width: 200px;
        margin-bottom: 30px;
    }
    .content-container .mediate-center .card-list {
        display: grid;
        grid-template-columns: repeat(3, calc(33%));
        grid-column-gap: 20px;
    }
    .content-container .mediate-center .card-box {
        padding: 16px;
        background: #fff;
    }
    .content-container .mediate-center .card-list .card-img {
        width: 100%;
        height: 170px;
        display: block;
        object-fit: cover;
    }
    .content-container .mediate-center .card-list .card-title {
        text-align: center;
        background-color: #263CAE;
        color: #fff;
        font-size: 14px;
        padding: 4px;
    }
    .content-container .mediate-center .card-list .card-text {
        padding-top: 20px;
        padding-bottom: 8px;
        font-size: 12px;
        color: #666666;
        line-height: 22px;
        text-indent: 24px;
    }

    .login-menu-box {
        position: absolute;
        top: 0;
        right: 0;
        background-color: #fff;
        width: 120px;
        display: none;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 6px 10px -6px rgba(0, 36, 100, 0.8);
    }
    .login-menu-box .login-menu-item {
        height: 36px;
        border-bottom: 1px solid #E5E5E5;
        line-height: 36px;
        padding: 4px 20px;
        cursor: pointer;
    }
    .login-menu-box .login-menu-item:hover {
        background-color: #F5F5F5;
    }
    .login-menu-box .login-menu-item:last-child {
        border-bottom: none;
    }
    .login-menu-box:focus,.login-menu-box:focus-visible {
        outline: none;
    }

    .card-link {
        color:rgba(4, 6, 50, 0.66);
        font-size: 14px;
        font-weight: bold;
        display: flex;
        justify-content: end;
        margin: 2em auto;
    }

    .card-link a {
        text-decoration: none;
    }

    .footer-container {
        background-color: rgba(33, 33, 33, 1);
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .foot-card-container {
        width: 90%;
        padding: 3em 10em;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }


}


