* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: #000;
}

body {
    min-height: 100vh;

    background: #000;
    color: #fff;

    font-family: "Onest", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}


/* =========================
   MAIN
========================= */

main {
    width: min(1400px, calc(100% - 100px));

    margin: 0 auto;

    padding: 80px 0 160px;
}


/* =========================
   GROUPS
========================= */

.group-title {
    margin-bottom: 20px;

    color: rgba(255, 255, 255, 0.22);

    font-size: 14px;
    font-weight: 500;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}

.projects {
    margin-top: 180px;
}


/* =========================
   ACCOUNTS
========================= */

.account {
    min-height: 165px;

    padding: 32px 0;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 50px;

    border-bottom: 1px solid #222;
}

.group .account:last-child {
    border-bottom: none;
}


/* =========================
   NAMES
========================= */

h1,
h2 {
    font-size: clamp(52px, 5vw, 90px);

    font-weight: 500;

    line-height: 0.92;

    letter-spacing: -0.055em;

    white-space: nowrap;

    text-transform: uppercase;
}


/* =========================
   SOCIAL LINKS
========================= */

nav {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    flex-wrap: nowrap;

    gap: 34px;
}

nav a {
    display: flex;

    align-items: center;

    gap: 10px;

    color: #888;

    text-decoration: none;

    font-size: 18px;
    font-weight: 400;

    white-space: nowrap;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

nav a i {
    width: 22px;

    color: #aaa;

    font-size: 22px;

    text-align: center;

    transition: color 0.2s ease;
}


/* =========================
   HOVER
========================= */

nav a:hover {
    color: #fff;

    transform: translateY(-2px);
}

nav a:hover i {
    color: #fff;
}


/* =========================
   FOOTER
========================= */

footer {
    width: min(1400px, calc(100% - 100px));

    margin: 0 auto;

    padding-bottom: 40px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    color: #555;
}

footer a {
    color: #555;

    text-decoration: none;

    transition: color 0.2s ease;
}

footer a:hover {
    color: #fff;
}

footer a,
footer span {
    font-size: 13px;
}


/* =========================
   TABLET / SMALL DESKTOP

   До 1200px:
   название сверху,
   соцсети снизу в строку
========================= */

@media (max-width: 1200px) {

    main {
        width: calc(100% - 64px);

        padding: 60px 0 130px;
    }

    .account {
        min-height: auto;

        padding: 45px 0;

        flex-direction: column;

        align-items: flex-start;

        gap: 25px;
    }

    nav {
        width: 100%;

        justify-content: flex-start;

        flex-direction: row;

        flex-wrap: wrap;

        gap: 18px 30px;
    }

    nav a {
        font-size: 17px;
    }

    nav a i {
        width: 21px;

        font-size: 20px;
    }

    .projects {
        margin-top: 130px;
    }

    footer {
        width: calc(100% - 64px);
    }
}


/* =========================
   MOBILE

   До 600px:
   соцсети в столбик
========================= */

@media (max-width: 600px) {

    main {
        width: calc(100% - 32px);

        padding: 35px 0 100px;
    }

    .group-title {
        margin-bottom: 12px;

        color: rgba(255, 255, 255, 0.22);

        font-size: 11px;

        letter-spacing: 0.16em;
    }

    h1,
    h2 {
        font-size: clamp(38px, 11vw, 56px);

        white-space: normal;

        line-height: 0.95;
    }

    .account {
        padding: 35px 0;

        gap: 24px;
    }

    nav {
        width: 100%;

        flex-direction: column;

        flex-wrap: nowrap;

        align-items: flex-start;
        justify-content: flex-start;

        gap: 14px;
    }

    nav a {
        width: fit-content;

        font-size: 16px;

        gap: 10px;
    }

    nav a i {
        width: 20px;

        font-size: 19px;

        text-align: center;
    }

    .projects {
        margin-top: 100px;
    }

    footer {
        width: calc(100% - 32px);

        padding-bottom: 25px;
    }

    footer a,
    footer span {
        font-size: 12px;
    }
}