@font-face {
    font-family: "FoundersGroteskRegular";
    src: url("../founders-grotesk-web-regular.eot"); /* IE9*/
    src: url("../founders-grotesk-web-regular.eot?#iefix") format("embedded-opentype"), url("../founders-grotesk-web-regular.woff2") format("woff2"), url("../founders-grotesk-web-regular.woff") format("woff");
}


html {
    box-sizing: border-box;
    font-family: "FoundersGroteskRegular" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
    height: 100%;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
li,
p,
pre,
blockquote,
figure,
hr {
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

a {
    text-decoration: none;
    transition: 0.5s all;
}

a:hover {
    opacity: 0.8;
    cursor: pointer;
}

body {
    background-color: #EBD99E;
    min-width: 320px;
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-rows: 9fr 1fr;
    min-height: 100vh;
}

main {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 3fr 2fr;
}

.main__content {
    padding: 24px 49px 30px 32px;
}

.img--logo {
    width: 145px
}

.main__txt {
    padding: 22px 0 30px;
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
}

.img--star {
    width: 33px;
    height: 33px;
}

.main__working {
    padding: 6px 0 48px 43px;
    font-size: 40px;
    font-weight: 400;
    line-height: 40px;
    width: 279px;
}

.main__company {
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
}

.main__image {
    height: 296px;
    background-image: url("../image-mobile.png");
    background-size: cover;
    background-position: center;
    align-self: end;
}

.img--main {
    max-width: 100%;
    object-position: bottom;
}

footer {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 60px 60px 70px;
    grid-gap: 1px;
}

.footer {
    background-color: #000000;
}

.footer__item {
    background-color: #EBD99E;
    display: flex;
    color: #000000;
    padding-left: 32px;
}

.footer__reserved {
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
    margin: auto 0;
}

.footer__link {
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    margin: auto 0;
}

.footer__item--arr {
    order: 3
}

.footer__item--fb {
    order: 1
}

.footer__item--ln {
    order: 2
}

@media screen and (min-width: 576px) {

}

@media screen and (min-width: 768px) {
    main {
        grid-template-columns: 1fr;
        grid-template-rows: 3fr 2fr;
    }

    .main__content {
        padding: 51px 280px 0 48px;
    }

    .img--logo {
        width: 176px
    }

    .main__txt {
        padding: 26px 0 50px;
        font-size: 18px;
        font-weight: 400;
        line-height: 24px;
    }

    .img--star {
        width: 44px;
        height: 44px;
    }

    .main__working {
        padding: 6px 0 48px 43px;
        font-size: 56px;
        font-weight: 400;
        line-height: 56px;
        width: 487px;
    }

    .main__company {
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
    }

    .main__image {
        height: 364px;
        background-image: url("../image-tablet.png");
        align-self: end;
    }

    .img--main {
        max-width: 100%;
        object-position: bottom;
    }


    footer {
        grid-template-columns: 2fr 1fr 1fr;
        grid-template-rows: 10vh;
        align-self: end;
    }

    .footer__item--arr {
        order: 1
    }

    .footer__item--fb {
        order: 2
    }

    .footer__item--ln {
        order: 3
    }

    .footer__reserved {
        font-size: 16px;
        font-weight: 400;
        line-height: 21px;
    }

    .footer__link {
        font-size: 24px;
        font-weight: 400;
        line-height: 32px;
    }
}

@media screen and (min-width: 576px) and (max-width: 767.99px) {

}

@media screen and (min-width: 992px) {
}

@media screen and (min-width: 1200px) {
    main {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 87vh;
    }

    .main__content {
        padding: 55px 0 0 88px;
    }

    .img--logo {
        width: 220px
    }

    .main__txt {
        padding: 30px 0 171px;
        font-size: 22px;
        font-weight: 400;
        line-height: 29px;
    }

    .img--star {
        width: 55px;
        height: 55px;
    }

    .main__working {
        padding: 6px 0 48px 43px;
        font-size: 64px;
        font-weight: 400;
        line-height: 64px;
        width: 500px;
    }

    .main__image {
        height: auto;
        background-image: url("../image.png");
        align-self: auto;
    }

    .img--main {
        max-width: 100%;
        object-position: bottom;
    }

    footer {
        grid-template-rows: 13vh;
    }

    .footer__item {
        border-top: 1px solid #000000;
        border-bottom: 1px solid #000000;
    }

    .footer__reserved {
        font-size: 16px;
        font-weight: 400;
        line-height: 21px;
    }

    .footer__link {
        font-size: 24px;
        font-weight: 400;
        line-height: 32px;
    }

}

@media screen and (min-width: 1200px) and (max-height: 768px) {
    .main__txt {
        padding: 30px 0 71px;
    }
}

@media screen and (min-width: 1200px) and (max-height: 640px) {
    .main__txt {
        padding: 30px 0 21px;
    }
}