* {
    box-sizing: border-box;
}

.wraper {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    background: url(../img/phone/bg.png) no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #fff;
}

header>img:first-of-type {
    width: 35%;
}

header>img:nth-of-type(2) {
    width: 25%;
    margin-left: auto;
    margin-right: 10px;
}

header>img:last-of-type {
    width: 25%;
}

main {
    flex: 1;
    overflow: hidden;
    padding: 20px;
    position: relative;
}

.tutorial {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto 0;
    height: 20vh;
}

.a-box {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.a-link {
    color: rgb(239, 133, 150);
    display: block;
    width: 20%;
    font-size: 14px;
    text-align: center;
}

.a-link>img {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 2px;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
}

footer>img {
    width: 70%;
}

.swiper,.swiper-wrapper,.swiper-slide {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
}

.swiper-slide>img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.box {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.box>img {
    width: 40%;
    margin-bottom: 10px;
}

.box>img:nth-of-type(2n) {
    margin-left: 15px;
}

.visible {
    width: 0;
    height: 0;
    overflow: hidden;
}

.only {
    justify-content: flex-end !important;
}