html {
    box-sizing: border-box;
    overflow-x: hidden;
}

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

ul,
ol {
    padding: 0;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
    margin: 0;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

input,
button,
textarea,
select {
    font: inherit;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

section,
.content__card,
.footer {
    padding: 58px 0 63px;
}

body {
    overflow-x: hidden;
    font-family: 'Roboto', sans-serif;
    font-size: 50px;
    font-weight: 400;
    line-height: 30px;
    background-color: #fff;
    color: #FFFFFF;
}

.container {
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 10px;
}

.header {
    background-color: #B4BDCB;
    background-image: url(./images/homepage-desktop.png);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.header__inner {
    padding-top: 60px;
    display: flex;
    justify-content: space-between;
}

.menu__btn {
    display: none;
}

.menu {
    font-size: 13px;
    line-height: 20px;
    text-transform: uppercase;
    text-align: end;
    transition: all 0.3s ease-in;
}

.menu__list:hover {
    color: #a2fffb;
    text-shadow: 1px 2px 1px #FFFFFF;
}

.menu__list:active {
    color: #a2fffb;
    text-shadow: 1px 2px 1px #FFFFFF;
}

.menu li {
    margin-bottom: 5px;
}

.header__content {
    height: calc(100vh - 185px);
    display: flex;
    flex-direction: column;
}

.header__title {
    margin: auto 0;
    font-size: 60px;
    line-height: 70px;
    letter-spacing: 1.8px;
    font-weight: 400;
    max-width: 420px;

    padding-bottom: 100px;
}

.header__links {
    font-size: 19px;
    line-height: 24px;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 60px;
}

.header__links::before {
    content: "";
    height: 2px;
    width: 500px;
    background: #FFFFFF;
    position: absolute;
    margin-top: -22px;
}

.header__join-link:hover,
.header__watch-link:hover {
    text-shadow: 1px 2px 1px #fdc3fc;
}

.header__join-link {
    margin-right: 50px;
    position: relative;
}

.header__watch-link {
    position: relative;
}

.header__join-link::after,
.content__link::after,
.future__link::after {
    content: "";
    background-image: url(./images/arrow.svg);
    background-repeat: no-repeat;
    width: 20px;
    height: 16px;
    position: absolute;
    top: 5px;
    margin-left: 7px;
}

.header__watch-link::after {
    content: "";
    background-image: url(./images/arrow.svg);
    background-repeat: no-repeat;
    width: 20px;
    height: 16px;
    position: absolute;
    top: 5px;
    margin-left: 13px;
}

.content {
    padding: 0;
    display: flex;
}

.content__card {
    width: 100%;
}

.content__wrapper {
    margin: 0 60px;
}

.content__title {
    font-size: 41px;
    line-height: 48px;
    font-weight: 400;
    max-width: 280px;
    position: relative;
    margin-bottom: 64px;
}

.content__title::after {
    position: absolute;
    content: "";
    width: 360px;
    height: 2px;
    background-color: #fff;
    bottom: -34px;
    left: 0;
}
.content__title--app {
    margin-bottom: 85px;
}

.content__pic {
    margin: 0 auto;
}

.content__pic--blue {
    margin-bottom: 45px;
}

.content__pic--green {
    margin-bottom: 6px;
}

.content__link,
.future__link {
    font-size: 20px;
    line-height: 24px;
    text-transform: uppercase;
    position: relative;
}

.content__link:hover {
    text-shadow: 1px 2px 1px #d4aef2;
}

.future {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.future__title {
    font-size: 39px;
    line-height: 48px;
    max-width: 320px;
    position: relative;
    margin-bottom: 65px;
}

.future__title::after {
    content: "";
    width: 500px;
    height: 2px;
    position: absolute;
    bottom: -34px;
    background-color: #FFFFFF;
}

.future__text {
    font-size: 18px;
line-height: 24px;
    max-width: 350px;
    margin-bottom: 245px;
}

.future__link:hover {
    text-shadow: 1px 2px 1px #e46e40;
}

.footer {
    font-size: 16px;
    line-height: 25px;
    text-transform: uppercase;
    color: #858585;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
}

.footer__info {
    display: flex;
}

.footer__logo {
    width: 51px;
    height: 32px;
    margin-right: 60px;
}

.footer__copyrights {
    display: flex;
    flex-direction: column;
}

.footer__contacts {
    display: flex;
}

.footer__menu {
    margin-right: 150px;
}

.footer__menu-item {
    transition: all 0.3s ease-in;
}

.footer__menu-item:hover {
    text-shadow: 1px 1px 1px #3e369d;
}

.footer__mail {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    max-width: 200px;
}

.footer__mail:hover {
    text-shadow: 1px 1px 1px #398c5b;
}

.footer__form-text {
    width: 500px;
    text-transform: uppercase;
    border: none;
    resize: none;
    outline: none;
    position: relative;
}

.footer__form-text::placeholder {
    font-size: 18px;
    color: #BBBFBF;
}

.footer__button {
    border: none;
    position: relative;
    cursor: pointer;
}

.footer__button::before {
    content: url(./images/arrow-dark.svg);
    position: absolute;
    right: 0;
    bottom: 45px;
    width: 15px;
    height: 12px;
}

.footer__button::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 1px;
    background-color: #858585;
    right: 0;
    bottom: 25px;
}

@media (max-width: 1200px) {

    section,
    .content__card,
    .footer {
        padding: 40px 0;
    }

    .content__title::after {
        width: 300px;
    }

    .footer__form-text,
    .footer__button::after {
        width: 320px;
    }

}

@media (max-width: 992px) {

    .content__wrapper,
    .content__title::after {
        max-width: 210px;
    }

    .content__title {
        margin-bottom: 50px;
            margin-bottom: 50px;
            font-size: 32px;
    }

    .content__pic {
        height: 300px;
        margin: 0 auto 40px;
    }

}

@media (max-width: 768px) {

    .menu {
        position: absolute;
        flex-direction: column;
        right: 0;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        transform: translateY(-200%);
        background-color: #a3acc5;
        text-align: center;
        font-size: 50px;
        display: flex;
        justify-content: space-around;
        transition: transform 1s ease 0s;
        z-index: 1;
    }

    .menu--active {
        transform: translateY(0%);
        z-index: 2;
    }

    .menu__btn {
        display: block;
        width: 50px;
        height: 50px;
        border: 0;
        border-radius: 50%;
        cursor: pointer;
        position: relative;
        z-index: 3;
        background-color: #fff;
    }

    .menu__btn span,
    .menu__btn span::before,
    .menu__btn span::after {
        position: absolute;
        top: 50%;
        margin-top: -1px;
        left: 50%;
        margin-left: -10px;
        width: 20px;
        height: 2px;
        background-color: #b4becb;
    }

    .menu__btn span::before,
    .menu__btn span::after {
        content: "";
        display: block;
        transition: 0.2s;
    }

    .menu__btn span::before {
        transform: translateY(-5px);
    }

    .menu__btn span::after {
        transform: translateY(5px);
    }

    .menu__btn--active span {
        height: 0;
    }

    .menu__btn--active span::before {
        transform: rotate(45deg);
    }

    .menu__btn--active span::after {
        transform: rotate(-45deg);
    }



    .header__inner {
        padding-top: 35px;
    }

    .header__content {
        height: calc(100vh - 85px);
    }

    .header__title {
        padding-bottom: 0;
    }

    .header__links {
        margin-bottom: 35px;
    }

    section, 
    .content__card, 
    .footer {
        padding: 30px 0;
    }

    .content__wrapper {
        margin: 0 30px;
    }

    .content__wrapper, 
    .content__title::after {
        max-width: 196px;
    }

    .content__title {
        font-size: 27px;
        line-height: 40px;
    }

    .content__pic {
        height: 230px;
        max-width: 90%;
    }

    .content__link {
        font-size: 18px;
    }

    .footer__menu {
        margin-right: 40px;
    }

}

@media (max-width: 576px) {

    section,
    .content__card,
    .footer {
        padding: 20px 0;
    }

    .menu__list {
        font-size: 40px;
    }

    .header__title {
        font-size: 44px;
        font-weight: 700;
        line-height: 60px;
        max-width: 320px;
        letter-spacing: 2px;
        padding-bottom: 0;
    }

    .header__links {
        display: flex;
        flex-direction: column;
    }

    .header__links::before {
        width: 300px;
    }

    .header__join-link {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .content {
        flex-direction: column;
    }

    .content__wrapper,
    .content__title::after {
        max-width: 310px;
        margin: 0 auto;
    }

    .content__title {
        margin-left: 0;
        margin-bottom: 65px;
    }

    .content__pic {
        max-width: 100%;
        height: 335px;
    }

    .future__title::after {
        width: 320px;
        bottom: -35px;
    }

    footer {
        font-size: 14px;
        line-height: 22px;
    }

    .footer__inner {
        flex-direction: column-reverse;
    }

    .footer__logo {
        display: none;
    }

    .footer__menu {
        display: none;
    }

    .footer__form-text::placeholder {
        font-size: 16px;
    }

    .footer__form-text,
    .footer__button::after {
        width: 230px;
    }

    .footer__copyrights {
        font-size: 14px;
        text-align: center;
        margin: 0 auto;
        ;
    }

}

@media (max-height: 576px) and (orientation: landscape) {

    .menu {
        position: absolute;
        flex-direction: column;
        right: 0;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        transform: translateY(-200%);
        background-color: #a3acc5;
        text-align: center;
        font-size: 50px;
        display: flex;
        justify-content: space-around;
        transition: transform 1s ease 0s;
        z-index: 1;
    }

    .menu--active {
        transform: translateY(0%);
        z-index: 2;
    }

    .menu__btn {
        display: block;
        width: 50px;
        height: 50px;
        border: 0;
        border-radius: 50%;
        cursor: pointer;
        position: relative;
        z-index: 3;
        background-color: #fff;
    }

    .menu__btn span,
    .menu__btn span::before,
    .menu__btn span::after {
        position: absolute;
        top: 50%;
        margin-top: -1px;
        left: 50%;
        margin-left: -10px;
        width: 20px;
        height: 2px;
        background-color: #b4becb;
    }

    .menu__btn span::before,
    .menu__btn span::after {
        content: "";
        display: block;
        transition: 0.2s;
    }

    .menu__btn span::before {
        transform: translateY(-5px);
    }

    .menu__btn span::after {
        transform: translateY(5px);
    }

    .menu__btn--active span {
        height: 0;
    }

    .menu__btn--active span::before {
        transform: rotate(45deg);
    }

    .menu__btn--active span::after {
        transform: rotate(-45deg);
    }

    .header__inner {
        padding-top: 20px;
    }

    .header__content {
        height: calc(100vh - 70px);
    }

    .header__title {
        font-size: 35px;
        line-height: 40px;
    }

    .header__links {
        font-size: 16px;
        line-height: 17px;
        margin-bottom: 20px;
    }

    .header__links::before {
        margin-top: -15px;
    }

    .content__wrapper,
    .content__title::after {
        max-width: 340px;
    }

}