* {
    box-sizing: border-box;
    transition: all .2s;
}

img {
    vertical-align: middle;
}

html {
    background: #fff;
}

body {
    height: 100vh;
    max-width: 480px;
    background: #000;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
    transition: all .4s;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

header>img:first-of-type {
    width: 20%;
    margin-bottom: 10px;
}

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

main {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.a-link {
    display: inline-block;
    width: 80px;
    height: 80px;
    position: absolute;
    bottom: 60px;
    right: 0;
    z-index: 10;
    text-align: center;
}

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

.a-link span {
    color: red;
    font-size: 14px;
    font-weight: bold;
}

.tabs {
    display: flex;
    flex-direction: column;
    color: #fff;
    padding: 20px 0;
    position: relative;
    height: 100%;
    overflow: hidden;
    display: flex;
}

.nav {
    display: flex;
    justify-content: space-between;
    padding-bottom: 16px;
}

.tab {
    padding: 6px 20px;
    position: relative;
    z-index: 2;
    border-radius: 6px;
    background: transparent;
    transition: all .2s;
}

.tab.active {
    background: #c30011;
    color: #000;
}

.content {
    flex: 1;
    overflow: hidden;
    display: flex;
    position: relative;
}

.panel {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    opacity: 0;
    transition: all .2s;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

*::-webkit-scrollbar {
    display: none;
}

.panel>img {
    width: 100%;
    margin-bottom: 16px;
}

.panel.active {
    opacity: 1;
    z-index: 2;
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
}

footer>img:first-of-type {
    width: 100%;
    margin-bottom: 10px;
}

footer>img:last-of-type {
    width: 90%;
}

footer>div {
    margin-bottom: 10px;
}