:root {
    --mi-main: #ff5800;
}

html,
body,
div,
h1,
h2,
p,
i,
span {
    margin: 0;
    padding: 0;
}

.app-wrapper {
    height: 100vh;
    color: #fff;
    background: var(--mi-main) url(../app/images/bg_app.jpg) no-repeat center / cover;
    overflow-y: hidden;
}

.app-header {
    position: absolute;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 20px;
    padding: 0 12px;
    box-sizing: border-box;
}

.app-header img {
    height: 36px;
}

.app-header h1 {
    font-size: 18px;
    font-weight: normal;
}

.app-main {
    position: relative;
    width: 1200px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-content {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    padding: 0 10%;
    height: 600px;
    width: 100%;
    justify-content: center;
}

.app-content h2 {
    font-size: 60px;
    order: 2;
    flex-grow: 0;
    flex-shrink: 0;
}

.app-content .des {
    margin-top: 24px;
    font-size: 48px;
    order: 3;
}

.qrcodes {
    display: flex;
    margin-top: 60px;
    order: 4;
}

.qrcodes .btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 200px;
    font-size: 18px;
    color: var(--mi-main);
    background-color: #fff;
    border-radius: 30px;
    cursor: pointer;
    border: 0;
    outline: none;
}

.qrcodes .btn:after {
    content: "";
    position: absolute;
    top: 50px;
    left: 0;
    width: 200px;
    height: 200px;
    background-repeat: no-repeat;
    background-size: 90%;
    background-position: center;
    background-color: #fff;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    display: none;
}

.qrcodes .ios:after {
    background-image: url(../app/images/ipa.png);
}

.qrcodes .android:after {
    background-image: url(../app/images/app.png);
}

.qrcodes .android {
    margin-left: 30px;
}

.qrcodes .iconfont {
    margin-right: 10px;
    font-size: 24px;
}

.iphone-wrapper {
    position: relative;
    padding: 18px 20px;
    width: 300px;
    height: 600px;
    box-sizing: border-box;
    order: 1;
    flex-grow: 0;
    flex-shrink: 0;
}

.iphone-web {
    height: 100%;
    background: url(../app/images/bg_web.jpg) no-repeat center / contain;
}

.iphone {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../app/images/bg_phone.png) no-repeat center / contain;
}

.note {
    order: 5;
    padding: 10px;
    margin-top: 60px;
    background-color: rgba(255, 255, 255, .2);
    border-radius: 8px;
    max-width: 520px;
}

.note p+p {
    margin-top: 8px;
}

@media screen and (min-width: 641px) {
    .qrcodes .btn:hover {
        border-radius: 30px 30px 0 0;
    }
    .qrcodes .btn:hover:after {
        display: block;
    }
}

@media screen and (max-width:640px) {
    .app-main {
        width: 100%;
    }
    .app-content {
        position: relative;
        width: 100%;
        height: 100%;
        padding: 36px 5vw 0;
        align-items: center;
    }
    .app-content h2 {
        order: 1;
        font-size: 8vw;
    }
    .app-content .des {
        margin-top: 2vw;
        order: 2;
        font-size: 6vw;
    }
    .iphone-wrapper {
        margin: 5vw 40vw 0 0;
        order: 3;
        width: 32vw;
        height: 64vw;
        padding: 2vw;
        border-radius: 6.5vw;
        overflow: hidden;
    }
    .qrcodes {
        position: absolute;
        left: 52vw;
        margin-top: -8vw;
        flex-direction: column;
    }
    .qrcodes .android {
        margin: 8vw 0 0;
    }
    .qrcodes .btn {
        width: 32vw;
        height: 10vw;
        border-radius: 10vw;
        font-size: 3vw;
    }
    .qrcodes .iconfont {
        margin-right: 1vw;
        font-size: 4vw;
    }
    .note {
        margin-top: 5vw;
        font-size: 12px;
    }
}