* {
    margin: 0;
    padding: 0;
}

:root {
    --font-family: Helvetica;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 200ms;
}
a:hover {
    opacity: 0.75;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 49px;
}

.header__mail {
    display: flex;
    align-items: center;
    gap: 7px;
}
.header__mail_icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.header__mail_text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 362%;
    letter-spacing: -0.03em;
    color: #000;
}

main {
    margin-top: 64px;
    margin-bottom: 100px;
}

.main__title {
    font-family: Helvetica;
    font-size: 85px;
    font-weight: 400;
    line-height: 76px;
    letter-spacing: -0.03em;
    text-align: left;
}

.main__text {
    margin-top: 66px;
    display: flex;
    align-items: center;
}

.main__text_address {
    font-family: Helvetica;
    font-size: 18px;
    font-weight: 400;
    line-height: 21px;
    letter-spacing: -0.01em;
    text-align: left;
    max-width: 260px;
}

.main__text_text {
    font-family: "Helvetica";
    font-size: 18px;
    font-weight: 900;
    line-height: 20px;
    letter-spacing: -0.02em;
    text-align: left;
    color: #a52ca1;
    margin-left: 344px;
}

footer {
    width: 100%;
    height: 105px;
    background: #a52ca1;
    margin-top: auto;
}

footer .container {
    display: flex;
    align-items: center;
    height: 100%;
}

.footer__mail {
    font-family: Helvetica;
    font-size: 16px;
    font-weight: 400;
    line-height: 76px;
    letter-spacing: -0.03em;
    text-align: left;
    color: #fff;
    margin-left: 190px;
}

.footer__address {
    font-family: Helvetica;
    font-size: 16px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: -0.01em;
    text-align: left;
    color: #ffffffcc;
    margin-left: auto;
    max-width: 277px;
}

@media screen and (max-width: 1000px) {
    footer .container {
        justify-content: space-between;
    }
    .footer__address,
    .footer__mail {
        margin-left: auto;
    }
    .main__text {
        justify-content: space-between;
    }
    .main__text_text {
        margin-left: auto;
    }
}

@media screen and (max-width: 700px) {
    .container {
        padding: 0 15px;
    }

    header .container {
        padding-top: 30px;
        flex-direction: column;
        align-items: start;
    }

    main {
        margin-top: 35px;
        margin-bottom: 77px;
    }

    .main__title {
        font-size: 42px;
        line-height: 105%;
        letter-spacing: -0.05em;
    }

    .main__text {
        flex-direction: column-reverse;
        align-items: start;
        margin-top: 35px;
    }
    .main__text_text {
        font-weight: 400;
        font-size: 16px;
        line-height: 112%;
        letter-spacing: -0.02em;
        margin-right: 10%;
    }
    .main__text_address {
        margin-top: 39px;
        font-weight: 400;
        font-size: 16px;
        line-height: 112%;
        letter-spacing: -0.01em;
        max-width: 213px;
    }

    footer {
        height: auto;
        padding: 28px 0 39px;
    }

    footer .container {
        flex-direction: column;
        align-items: start;
        gap: 15px;
    }

    .footer__mail,
    .footer__address {
        margin-left: 0;
    }
}

@media screen and (max-width: 470px) {
    .main__text_text {
        margin-right: 0;
        max-width: 125px;
    }
}
