@font-face {
    font-family: 'Roboto-Condensed';
    src: url("../fonts/RobotoCondensed-Regular.ttf");
    font-style: normal;
}

body {
    background: url("../images/fon.png") center 0 no-repeat;
    font-family: "Roboto-Condensed", sans-serif;
    overflow-x: hidden;
    height: 1115px;
    background-size: cover;
    margin: initial;
    padding: initial;
    background-attachment: fixed;
}

.container {
    display: grid;
    position: relative;
    grid-template-columns: repeat(2, auto);
    grid-template-rows: repeat(4, auto);
    justify-content: center;
}

.phone {
    grid-column: 1;
    grid-row: 1 / 4;
    background: url("../images/phone_en.png") 0 0 no-repeat;
    width: 540px;
    height: 682px;
    position: relative;
    top: 10px;
    z-index: 999999999;
    left: -30px;
}

.logo {
    grid-column: 2 / 3;
    grid-row: 1;
    background: url("../images/logo-full.svg") 0 0 no-repeat;
    width: 580px;
    height: 144px;
    position: relative;
    top: 180px;
    left: -40px;
}

.title {
    grid-column: 2;
    grid-row: 2;
    font-style: normal;
    font-weight: normal;
    font-size: 36px;
    line-height: normal;
    color: #FFFFFF;
    min-width: 261px;
    max-width: 744px;
    position: relative;
    top: 100px;
    z-index: 99999;
    left: -40px;
}

.lets-do {
    grid-column: 2;
    grid-row: 3;
    font-style: normal;
    font-weight: normal;
    font-size: 36px;
    line-height: normal;
    color: #FFFFFF;
    position: relative;
    top: -30px;
    z-index: 99999;
    left: -40px;
}

.app-pay {
    display: grid;
    grid-template-columns: repeat(2, 200px);
    grid-template-rows: repeat(1, auto);
    grid-column: 2;
    grid-row: 4;
    position: relative;
    top: -150px;
    z-index: 9999999999999;
    left: -40px;
}

.app-pay .app-store {
    grid-column: 1;
    grid-row: 1;
    background: url("../images/app_store.svg") 0 0 no-repeat;
    width: 171px;
    height: 57px;
}

.app-pay .google-play {
    grid-column: 2;
    grid-row: 1;
    background: url("../images/google_pay.svg") 0 0 no-repeat;
    width: 171px;
    height: 57px;
    position: relative;
}

.border {
    border: 1px solid #FFFFFF;
    box-sizing: border-box;
    border-radius: 5px;
    width: 1250px;
    height: 500px;
    margin:  0 auto;
    grid-column: 1 / 3;
    grid-row: 1 / 4;
    position: relative;
    top: 125px;
}

.info {
    color: #FFFFFF;
    width: 1250px;
    margin: 0 auto 3em auto;
    font-size: 1.6em;
    text-align: justify;
    text-indent: 1.4em;
    column-count: 2;
    column-gap: 3em;
    column-width: auto;
    column-rule: solid 1px #fff;
    vertical-align: top;
}

.info p, .info h1, .info li{
    margin: 0 0 .6em 0;
}

.info ul {
    text-indent: 0;
    margin: 0;
}

.info h1{
    font-size: 1em;
    font-weight: normal;
    margin: 0;
}
.info h1>span{
    display: none;
}

.langs {
    position: absolute;
    right: 0;
    top: 0;
    vertical-align: middle;
}

.langs>a {
    display: inline-block;
    width: 7vw;
    max-width: 40px;
    height: 7vw;
    max-height: 40px;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 1vw .5vw 0 0;
    opacity: .4;
    transition: width .6s, height .6s, opacity .6s;
}

.langs>a.active {
    opacity: .8;
    cursor: default;
}

.langs>a:hover {
    opacity: .8;
}

@media (min-width: 991px) and (max-width: 1280px){
    .container {

    }
    body {
        height: 1115px;
    }
    .border {
        width: 589px;
        height: 695px;
    }
    .info {
        width: 589px;
        font-size: 1.4em;
        column-count: unset;
    }

    .info>h1{
        margin-top: 5em;
    }
    .phone {
        top: 110px;
        z-index: 999;
        left: -140px;
    }
    .title {
        font-size: 32px;
        width: 360px;
        left: -195px;
        top: 175px;
    }
    .logo {
        left: -195px;
        width: 377px;
        height: 96px;
        background-size: 100%;
        top: 225px;
    }
    .lets-do {
        left: -195px;
        font-size: 32px;
        top: 55px;
    }
    .app-pay {
        left: -195px;
        z-index: 99999;
        top: -35px;
    }
}

@media (min-width: 0px) and (max-width: 991px){
    body {
        height: initial;
    }
    .border {
        width: 323px;
        height: 805px;
        top: 66px;
        grid-column: 1;
    }
    .info {
        width: 80%;
        max-width: 430px;
        font-size: 1.2em;
        column-count: unset;
    }
    .info>h1 {
        margin-top: -1em;
    }
    .container {
        grid-template-columns: repeat(1, auto);
        grid-template-rows: repeat(5, auto);
        height: 945px;
    }
    .phone {
        grid-column: 1;
        grid-row: 6;
        width: 320px;
        height: 466px;
        background-size: 100%;
        position: relative;
        top: -460px;
        left: -15px;
    }
    .logo {
        grid-column: 1;
        grid-row: 1;
        background: url("../images/logo-full-mobile.svg") 0 0 no-repeat;
        width: 199px;
        height: 114px;
        left: initial;
        margin: 0 auto;
        top: 30px;
        z-index: 99999;
    }
    .title {
        grid-column: 1;
        grid-row: 2;
        font-size: 20px;
        width: 261px;
        text-align: center;
        left: initial;
        margin: 0 auto;
        position: relative;
        top: -140px;
    }
    .lets-do {
        grid-column: 1;
        grid-row: 3;
        left: initial;
        margin: 0 auto;
        font-size: 30px;
        position: relative;
        top: -305px;
    }
    .app-pay {
        grid-column: 1;
        grid-row: 4;
        grid-template-columns: repeat(1, 200px);
        grid-template-rows: repeat(2, auto);
        justify-content: center;
        left: initial;
        position: relative;
        top: -460px;
    }
    .app-pay a {
        margin: 0 auto;
    }
    .app-pay a:nth-child(1) {
        padding-bottom: 1em;
    }
    .app-pay .app-store {
        grid-column: 1;
        grid-row: 1;
    }
    .app-pay .google-play {
        grid-column: 1;
        grid-row: 2;
    }
}