/* 默认样式，适用于大屏幕 */
body {
    font-size: 120%; /* 默认字体大小 */
}

/* 小屏幕设备，例如手机 */
@media (max-width: 480px) {
    body {
        font-size: 14px; /* 小屏幕上的字体大小 */
    }

}

/* 中等屏幕设备，例如平板 */
@media (min-width: 411px) and (max-width: 768px) {
    body {
        font-size: 10px; /* 中等屏幕上的字体大小 */
    }


}

/* 大屏幕设备 */
@media (min-width: 769px) {
    body {
        font-size: 16px; /* 大屏幕上的字体大小 */
    }
}

/* 针对所有设备 */
@media all {
    /* CSS 规则 */
}

/* 仅针对屏幕 */
@media screen {
    /* CSS 规则 */
}

/* 当屏幕宽度小于或等于600px时 */
@media (max-width: 600px) {
    body {
        background-color: #c4cac4;
    }


    /* 当屏幕宽度大于800px时 */
    @media (min-width: 801px) {
        .container {
            width: 80%;
        }
    }

    /* 当设备是横向模式时 */
    @media (orientation: landscape) {
        /* CSS 规则 */
    }

    /* 当设备的分辨率为192dpi时 */
    @media (resolution: 192dpi) {
        /* CSS 规则 */
    }

    /* 当屏幕宽度在481px到768px之间时 */
    @media (min-width: 481px) and (max-width: 768px) {
        /* CSS 规则 */
    }
}

/*body {*/
/*    background-image: url("img/beijing.jpg");*/
/*    background-size: cover;*/
/*    background-position: center;*/
/*}*/
.win {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    /*background-color: rgba(177, 208, 232, 0.78);*/
    background-image: url("img/beijing.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.win2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 58%;
    height: 2%;
    padding: 2% 40%;
    border: 0 solid #4caf50;
    z-index: 2;
}

.win3logo {
    position: fixed;
    padding: 0;
    border: 0 solid #4caf50;
    top: 5%;
    left: 3%;
    height: 5%;
    width: 5%;
    z-index: 2;
}

.win4 {
    position: fixed;
    top: 0;
    right: 58%;
    padding: 0 0.1%;
    margin: 0;
    border: 0 solid antiquewhite;
    z-index: 5;
    font-family: 宋体;
    font-size: 220%;
    height: 10%;
}

.win5 {
    position: fixed;
    /*padding:10%;*/
    top: 5.0%;
    left: 5.5%;
    width: 50%;
    height: 5%;
    font-family: 宋体;
    font-size: 200%;
    font-weight: bold;
    color: #0076b8;
    text-shadow: 1px 1px 1px #454343;
    border: 0 solid #4caf50;
    z-index: 3;
}

/* 小屏幕设备样式 */
@media (max-width: 768px) {
    .win5 {
        left: 8%;
        width: 80%; /* 小屏幕上的宽度 */
    }
}

/* 小屏幕设备样式 */
@media (min-width: 300px)and (max-width: 390px) {
    .win5 {
        left: 8%;
        width: 80%; /* 小屏幕上的宽度 */
        font-size: 100%;
    }
}

.winA {
    position: fixed;
    top: 1%;
    width: 70%;
    height: auto;
    float: right;
    left: 0;
    padding: 0;
    border: 0 solid #cae8ca;
}

/* 小屏幕设备样式 */
@media (max-width: 768px) {
    .winA {
        height: 60%;
        width: 80%; /* 小屏幕上的宽度 */
    }
}

@media (max-width: 380px) {
    .winA {
        height: 60%;
        width: 80%; /* 小屏幕上的宽度 */
    }
}


img.bg {
    height: auto;
    width: 100%;
    z-index: -2
}

img.lg {
    position: absolute;
    top: 3%;
    height: 82%;
    width: auto;

    z-index: -2;
}

/* 小屏幕设备样式 */
@media (max-width: 768px) {
    img.lg {
        height: 58%;
        width: 100%; /* 小屏幕上的宽度 */
    }
}

/*span {*/
/*    font-family: 宋体;*/
/*    font-size: 200%;*/
/*}*/

.winA-1 {
    position: relative;
    background-color: aliceblue;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    width: 40%;
    margin-left: 75%;
    margin-top: 16%;
    text-align: center;
    font-family: 宋体;
    font-size: 100%;
    z-index: 7;
}

.winP {
    color: red;
    font-size: 30px;
    font-family: 宋体;
}

.button {
    width: 50%;
    height: 1%;
    font-size: 100%;
    background-color: #1b7af6;
    display: inline-block;
    color: #ffffff;
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}
.button:hover {
    background-color: #0056b3;
}
input {
    width: 40%;
    height: 1%;
}

/* 小屏幕设备样式 */
@media (max-width: 768px) {
    .winA-1 {
        width: 50%; /* 小屏幕上的宽度 */
        margin-left: 60%;
        margin-top: 25%;
        font-size: 70%;
    }

    .winP {
        font-size: 20px; /* 小屏幕上的字体大小 */
    }

    .button {
        width: 50%;
        height: 1%;
        font-size: 100%;
        background-color: #1b7af6;
    }

    input {
        width: 40%;
        height: 0.5%;
    }

}

@media (max-width: 380px) {
    .winA-1 {
        width: 50%; /* 小屏幕上的宽度 */
        margin-left: 60%;
        margin-top: 25%;
        font-size: 70%;
    }

    .winP {
        font-size: 20px; /* 小屏幕上的字体大小 */
    }

    .button {
        width: 50%;
        height: 1%;
        font-size: 80%;
        background-color: #1b7af6;
    }

    input {
        width: 40%;
        height: 0.5%;
    }

}

.footer {
    position: fixed;
    bottom: 1%;
    left: 45%;
    font-family: 宋体;
    z-index: 8;
}

/* 小屏幕设备样式 */
@media (max-width: 768px) {
    .footer {
        left: 35%; /* 小屏幕上的宽度 */
        font-size: 100%;
    }
}

/* 小屏幕设备样式 */
@media (min-width: 300px)and (max-width: 390px) {
    .footer {
        left: 35%; /* 小屏幕上的宽度 */
        font-size: 80%;
    }
}



