#primary section.typography {
    padding-top: 60px;
    padding-bottom: 60px;
}

.typography {
    color: var(--typography-text-color, inherit);
}

.typography .typography__color-text {
    color: var(--typography-text-color, #0D1118);
}

.typography svg line {
    stroke: var(--typography-text-color, #0D1118) !important;
}

.typography__paragraph p {
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0;
}

.typography__wrapper {
    margin-top: 24px;
    display: flex;
    gap: 32px;
    border-bottom: 0.5px dashed var(--typography-dash-color, #CFCFCF);
}

.typography__fonts {
    padding: 24px;
    box-sizing: border-box;
    border-right: 0.5px dashed var(--typography-dash-color, #CFCFCF);
}

.typography__font-style {
    padding-top: 189px;
    padding-bottom: 157px;
    align-items: center;
    display: flex;
    justify-content: center;
    font-size: 140px;
    font-weight: 400;
    line-height: 160%;
    letter-spacing: 0;
}

.typography__sub {
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 0;
    display: flex;
    justify-content: flex-end;
    text-transform: uppercase;
    font-family: 'DM Sans', sans-serif;
}

.typography__font-weight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.typography__font-weight p {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 0;
}

.typography__fonts svg {
    width: 100%;
}


.typography__colors {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding-bottom: 24px;
}

.typography__color-item {
    display: flex;
    align-items: center;
    height: 100%;
}

.typography__color-bar {
    width: 37px;
    height: 100%;
    border-radius: 8px;
}

.typography__color-text {
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 0;
    padding-right: 24px;
    text-transform: uppercase;
}

.typography,
.typography p,
.typography h2 {
    color: var(--typography-text-color, inherit);
}


@media screen and (min-width: 1026px) {
    .typography__fonts,
    .typography__colors {
        width: 50%;
    }
}

@media screen and (max-width: 1300px) and (min-width: 1025px) {
    .typography__colors {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        gap: 24px;
    }

    .typography__color-bar {
        width: 100px;
        height: 100px;
    }

    .typography__color-item {
        justify-content: center;
        flex-direction: column;
    }

    .typography__color-text {
        padding-right: 0;
    }
}


@media screen and (max-width: 1024px) {

    .typography__wrapper {
        flex-direction: column;
    }

    .typography__color-bar {
        width: 24px;
        height: 24px;
        border-radius: 4px;
    }

    .typography__color-item {
        flex-direction: column-reverse;
        gap: 16px;
    }

    .typography__colors {
        gap: 30px;
        justify-content: center;
    }

    .typography__color-text {
        padding-right: 0;
        font-weight: 400;
        font-size: 14px;
        line-height: 140%;
        letter-spacing: 0;
    }

    .typography__font-style {
        padding-top: 111px;
        padding-bottom: 74px;
    }

    .typography__font-size {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .typography__font-weight {
        max-width: 590px;
        width: 100%;
        font-size: 14px;
    }

    .typography__sub {
        font-size: 14px;
    }

    .typography__wrapper {
        border-bottom: unset;
    }

    .typography__fonts {
        border-right: unset;
    }

}


@media screen and (max-width: 768px) {

    #primary section.typography {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .typography__font-style {
        font-size: 100px;
    }

}
