body, html {
    max-width: 100vw;
    height: 100%;
}
body {
    margin: 0;
}
body a {
    text-decoration: none;
}

main {
    font-size: 1.5em;
    height: 100vh;
    color: #fff;
    background-image: url(/img/bg_1.png);
    background-size: cover;
    background-position: bottom;
    overflow: hidden;
}
@media only screen and (min-width:768px) {
    main {
        font-size: 2em;
    }
}
@media only screen and (min-width:1400px) {
    main {
        height: calc(100% - 100px);
    }
}

.center {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

#select-language {
    float: right;
    margin-top: 10px;
}
#select-language select {
    color: #fff;
    padding: 10px 25px 10px 45px;
    border: none;
    background-image: url(/img/icon_1.png),url(/img/caret.svg);
    background-size: 25px, 12px;
    background-repeat: no-repeat, no-repeat;
    background-position: left 10px center, right 10px center;
    background-color: #000;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 20px;
    font-size: 1rem;
}

.header-logo {
    clear: right;
}

.header-logo img {
    width: 230px;
}
div.add-friend-btn {
    display: flex;
    justify-content: center;
}
div.add-friend-btn a {
    background-image: url(/img/btn_0.png);
    background-size: 100% 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 350px;
    height: 140px;
    color: #6F2218;
}
.footer-logo {
    width: 64px;
    padding-top: 8px;
}
.footer-container div img {
    width: 50px;
}
@media only screen and (min-width:768px) {
    .header-logo img {
        width: 400px;
    }
    div.add-friend-btn a {
        width: 400px;
    }
}

.text {
    margin: 10px auto;
}

.container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 100px;
    position: relative;
    z-index: 2;
    margin-top: 30px;
}
.item img {
    width: 300px;
}
@media only screen and (min-width:768px) {
    .container {
        grid-template-columns: repeat(4, 1fr);
    }
    .app-store-btn {
        grid-column-start: 2;
    }
    .play-store-btn {
        grid-column-start: 3;
    }
}

.character-img {
    margin: -130px auto 0 auto;
    max-width: 1000px;
    display: none;
}
.character-img img {
    width: 100%;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
}
@media only screen and (min-height:900px) {
    .character-img {
        margin-top: -90px;
        display: flex;
    }
}
/* iOS devices */
@media only screen and (min-device-height:900px) and (-webkit-device-pixel-ratio: 3) {
    .character-img {
        display: block;
    }
}
@media only screen and (min-width:1000px), (min-height:1000px) {
    .character-img {
        margin-top: -150px;
    }
}
@media only screen and (min-height:1300px) {
    .character-img {
        margin-top: 0;
    }
}

footer {
    width: 100%;
    height: 100px;
    font-size: 0.75em;
    background-color: #202122;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    text-align: center;
    padding-top: 10px;
}
.footer-container > * {
    justify-self: center;
    color: #C6CBD2;
}
.privacy {
    grid-column-start: 4;
}
.terms {
    grid-column-start: 5;
}
.contact {
    grid-column-start: 6;
}
@media only screen and (min-width:768px) {
    .footer-container {
        grid-template-columns: repeat(12, 1fr);
    }
    .privacy {
        grid-column-start: 10;
    }
    .terms {
        grid-column-start: 11;
    }
    .contact {
        grid-column-start: 12;
    }
}