/* start font */

@font-face {
    font-family: "YS Text";
    font-stretch: normal;
    font-style: normal;
    font-weight: 400;
    src: url("//yastatic.net/s3/home/fonts/ys/1/text-regular.woff2") format("woff2"),
    url("//yastatic.net/s3/home/fonts/ys/1/text-regular.woff") format("woff");
}

@font-face {
    font-family: "YS Text";
    font-stretch: normal;
    font-style: normal;
    font-weight: 500;
    src: url("//yastatic.net/s3/home/fonts/ys/1/text-medium.woff2") format("woff2"),
    url("//yastatic.net/s3/home/fonts/ys/1/text-medium.woff") format("woff");
}

/* end font */

/* start reset */

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

:focus {
    outline: none;
}

::-moz-focus-inner {
    border: 0;
}

ul,
button {
    padding: 0;
}

ul {
    list-style: none;
}

body,
h1,
h2,
h3,
p,
ul {
    margin: 0;
}

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

input,
button,
textarea {
    font: inherit;
    margin: 0;
}

button {
    color: inherit;
}

/* end reset */

body {
    color: #54656d;
    font: 400 20px / 1.4em "YS Text", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-feature-settings: "liga", "kern";
    -moz-font-feature-settings: "liga", "kern";
    font-feature-settings: "liga", "kern";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    min-width: 968px;
    padding: 26px 90px 32px;
}

.page {
    display: flex;
    flex-direction: column;
    gap: 70px;
    margin: auto;
    max-width: 1417px;
}

h2,
h3 {
    font-weight: 500;
    line-height: 1.3em;
}

.button {
    appearance: none;
    background: none;
    border: none;
    border-radius: 8px;
    color: #54656d;
    cursor: pointer;
    display: inline-block;
    height: 62px;
    line-height: 62px;
    margin: 0;
    overflow: hidden;
    padding: 0 42px;
    text-align: center;
    text-decoration: none;
    text-overflow: ellipsis;
    user-select: none;
    vertical-align: middle;
    white-space: nowrap;
}

.button:hover {
    color: #a8b2b7;
}

.button_primary {
    background-color: #54656d;
    color: #fff;
}

.button_primary:hover {
    background-color: #000;
    color: #fff;
}

.input,
.textarea {
    appearance: none;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #98a2a8;
    box-shadow: none;
    min-width: 0;
    text-overflow: ellipsis;
    width: 100%;
}

.input {
    height: 62px;
}

.textarea {
    min-height: 62px;
    resize: vertical;
}

.input::placeholder,
.textarea::placeholder {
    color: #a8b2b7;
    opacity: 1;
    -webkit-text-fill-color: #a8b2b7;
}

.header {
    border-bottom: 1px solid #98a2a8;
    display: flex;
    justify-content: space-between;
    padding-bottom: 75px;
}

.header__side {
    align-items: start;
    display: flex;
}

.logo {
    aspect-ratio: 356/213;
    background: url("data:image/svg+xml,%3Csvg fill='%2354656d' viewBox='0 0 356 213' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M37 25c7 0 12-6 12-13 0 7 6 13 13 13-7 0-13 5-13 12 0-7-5-12-12-12ZM25 37c0-7 5-12 12-12a12 12 0 1 1 12-13 12 12 0 1 1 13 13 12 12 0 1 1-13 12 12 12 0 0 1-24 0ZM12 49a12 12 0 1 0 0-24 12 12 0 0 0 0 24Zm13 13a12 12 0 1 0-13 12 12 12 0 1 0 13 13c0 6 5 12 12 12a12 12 0 1 0 12 12 12 12 0 1 0 25 0 12 12 0 1 0 13-12c6 0 12-6 12-12a12 12 0 1 0 12-13 12 12 0 1 0 0-25 12 12 0 1 0-12-12c0-7-6-12-12-12a12 12 0 1 0 0-25 12 12 0 0 0 0 25 12 12 0 1 0 0 24c-7 0-13 6-13 13a12 12 0 1 0-25 0 12 12 0 0 0-24 0Zm12 12c7 0 12-5 12-12 0 7 6 12 13 12-7 0-13 6-13 13 0-7-5-13-12-13Zm25 25c-7 0-13-6-13-12 0 6-5 12-12 12 7 0 12 5 12 12 0-7 6-12 13-12Zm12-12c0-7-5-13-12-13 7 0 12-5 12-12 0 7 6 12 13 12-7 0-13 6-13 13Zm25-25c0 7 5 12 12 12-7 0-12 6-12 13 0-7-6-13-12-13 6 0 12-5 12-12ZM74 87c0 6-5 12-12 12 7 0 12 5 12 12 0-7 6-12 13-12-7 0-13-6-13-12ZM37 74c-7 0-12-5-12-12 0 7-6 12-13 12 7 0 13 6 13 13 0-7 5-13 12-13Zm62-12c0-7-6-13-12-13 6 0 12-5 12-12 0 7 5 12 12 12-7 0-12 6-12 13Zm87-50L173 0l-12 12 12 13-12 12-13-12-12 12 12 12-12 13 12 12-12 13 12 12 13-12 12 12-12 12 12 13 13-13 12 13 12-13 13 13 12-13-12-12 12-12-12-13 12-12-12-13 12-12-12-12 12-13-12-12-13 12-12-12-12 12Zm12 13-12-13-13 13 13 12-13 12-12-12-13 12 13 13-13 12 13 13 12-13 13 13-13 12 13 12 12-12 12 12 13-12-13-12 13-13-13-12 13-13-13-12 13-12-13-13-12 13Zm0 24 12-12-12-12-12 12 12 12Zm-12 13 12-13 12 13-12 12-12-12Zm0 0-13 12-12-12 12-13 13 13Zm12 12-12 13 12 12 12-12-12-13Zm49-49 13 12-13 12-12-12 12-12Zm0 49-12-12 12-13 13 13-13 12Zm0 0 13 13-13 12-12-12 12-13Z'/%3E%3Cpath d='M21 212 1 158h14l14 42 14-42h13l-20 54H21Zm41 0v-75h13v75H62Zm49 1c-8 0-15-3-19-8-5-5-8-11-8-20s3-16 7-20c5-5 12-8 20-8s14 3 19 8c4 4 7 11 7 20s-3 15-7 20c-5 5-11 8-19 8Zm0-11c4 0 7-1 10-4 2-3 3-8 3-13 0-6-1-10-3-13-3-3-6-4-10-4-5 0-8 1-11 4-2 3-3 7-3 13 0 5 1 10 4 13 2 3 5 4 10 4Zm58 11a26 26 0 0 1-26-28c0-9 2-16 7-20 5-5 11-8 19-8s14 3 19 8c5 4 7 11 7 20s-2 15-7 20-11 8-19 8Zm0-11c4 0 8-1 10-4s4-8 4-13c0-6-2-10-4-13s-6-4-10-4-8 1-10 4c-3 3-4 7-4 13 0 5 2 10 4 13s6 4 10 4Zm67 10h-9c-7 0-12-2-15-5s-5-8-5-15v-22h-8v-12h8v-13h13v13h15v12h-15v22l2 7 6 1h8v12Zm8 0v-75h13v41h6l15-20h14l-18 25 19 29h-15l-14-24h-7v24h-13Zm55-62v-12h14v12h-14Zm1 62v-54h12v54h-12Zm56 0h-9c-7 0-12-2-15-5s-4-8-4-15v-22h-9v-12h9v-13h12v13h16v12h-16v22l2 7 6 1h8v12Z'/%3E%3C/svg%3E%0A")
    no-repeat;
    max-width: 315px;
    text-indent: -9999px;
    width: 20vw;
}

.content {
    display: grid;
    gap: 26px;
    grid-template-columns: repeat(2, 1fr);
}

.content__title {
    font-size: 2.5rem;
}

.content__aside {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.tags {
    background-color: #e1e7ea;
    display: flex;
    flex-direction: column;
    gap: 0.8em;
    padding: 20px 24px 54px;
}

.tags__title {
    font-size: 2rem;
}

.tags__description {
    font-size: 1.5rem;
    line-height: 1.4em;
    max-width: 90%;
}

.tags__items {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.tags__item {
    background-color: #fff;
    font-size: 1.5rem;
    line-height: 1.4em;
    padding: 10px 16px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.footer {
    font-size: 0.8em;
    font-weight: 500;
}

.footer__logo {
    aspect-ratio: 116/57;
    background: url("data:image/svg+xml,%3Csvg fill='%2354656D' viewBox='0 0 116 57' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16.6 12a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11Zm22 0a5.5 5.5 0 1 0 0-11 5.5 5.5 0 0 0 0 11Zm-33 11a5.5 5.5 0 1 0-.2 0 5.5 5.5 0 1 0 .3 0Zm27.5-5.5c0 3-2.4 5.4-5.3 5.5a5.5 5.5 0 1 1-.3 0 5.5 5.5 0 1 1 5.6-5.5ZM50 23a5.5 5.5 0 1 0-.3 0 5.5 5.5 0 1 0 .3 0ZM16.6 34a5.5 5.5 0 0 0 .1-11 5.5 5.5 0 1 0-.3 0 5.5 5.5 0 0 0 .2 11Zm27.6-5.5a5.5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-5.6-5.6-5.5 5.6-5.5-5.6-5.5-5.5 5.5ZM99.4 45 94 39.5l5.5-5.5 5.6 5.5-5.6 5.5 5.6 5.5-5.6 5.6-5.5-5.6 5.5-5.5Zm-11-44 5.5 5.5-5.5 5.5-5.5-5.5L88.4 1Z'/%3E%3C/svg%3E")
    no-repeat;
    display: inline-block;
    margin: -0.1em 0.3em 0;
    vertical-align: middle;
    width: 34px;
}

/* start mobile */

@media screen and (max-width: 961px) {
    body {
        min-width: auto;
        padding: 20px;
    }

    .logo {
        width: 40vw;
    }

    .header {
        flex-direction: column;
        gap: 60px;
        padding-bottom: 40px;
    }

    .header__side {
        flex-direction: column;
    }

    .content {
        grid-template-columns: 1fr;
    }
}

/* end mobile */
