.table-block {
    padding: 30px 0px 60px 0px;
}
.table-block:not(:has(+*)) {
    padding-bottom: unset;
}
.table-block .table {
    border-radius: 30px;
    overflow: hidden;
    background: var(--background-thirdly);
    display: flex;
    flex-direction: column;
    margin: 20px 0px;
}
.table-block .string {
    display: flex;
}
.table-block .element {
    padding: 20px;
    border: 1px solid var(--stroke-thirdly);
    flex-grow: 1;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: var(--main-text-primary);
}
.table-block .string:nth-child(1) .element {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 18px;
    line-height: 125%;
}
.table-block .counter-0 {
    width: 17%;
}
.table-block .counter-1 {
    width: 12%;
}
.table-block .counter-2 {
    width: 60%;
}
.table-block .elements:nth-child(1) .element p {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 120%;
    color: var(--head-primary);
}
.table-block ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.table-block ul li {
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: var(--main-text-primary);
    position: relative;
    padding-left: 30px;
}
.table-block ul li:before {
    content: "";
    width: 18px;
    height: 18px;
    top: 2px;
    left: 0;
    position: absolute;
    background-image: url(images/listEl.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.table-block h2 {
    font-weight: 600;
    font-size: 46px;
    line-height: 120%;
    margin-bottom: 10px;
}
.table-block h3 {
    font-weight: 600;
    font-size: 34px;
    line-height: 110%;
    margin-bottom: 5px;
}
.table-block h4 {
    font-weight: 600;
    font-size: 26px;
    line-height: 110%;
    margin-bottom: 5px;
}
.table-block h5 {
    font-weight: 600;
    font-size: 20px;
    line-height: 110%;
    margin-bottom: 5px;
}
.table-block h6 {
    font-weight: 600;
    font-size: 16px;
    line-height: 120%;
    margin-bottom: 5px;
}

@media (max-width: 1400px) {
    .table-block .string:nth-child(1) .element {
        font-size: 14px;
    }
    .table-block h2 {
        font-size: 36px;
        margin-bottom: unset;
    }
    .table-block h3 {
        font-size: 30px;
        margin-bottom: unset;
    }
    .table-block h4 {
        font-size: 20px;
        margin-bottom: unset;
    }
    .table-block h5 {
        font-size: 18px;
        margin-bottom: unset;
    }
    .table-block .element {
        padding: 5px;
    }
    .table-block .element,
    .table-block .elements:nth-child(1) .element ,
    .table-block ul li {
        font-size: 12px;
    }
    .table-block ul li {
        padding-left: 20px;
    }
    .table-block ul li:before {
        width: 14px;
        height: 14px;
        top: 2px;
    }
    .table-block .table {
        border-radius: 15px;
    }
}

@media (max-width: 996px) {
    .table-block {
        padding: 10px 0px;
    } 
    .table-block h2 {
        font-size: 26px;
    }
    .table-block h3 {
        font-size: 22px;
    }
    .table-block h4 {
        font-size: 18px;
    }
    .table-block h5 {
        font-size: 16px;
    }
    .table-block h6 {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .table-block h2 {
        font-size: 22px;
    }
    .table-block h3 {
        font-size: 20px;
    }
    .table-block h4 {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .table-block .table::-webkit-scrollbar  {
        width: 2px;
        height: 2px;
        background: var(--stroke);
    }
    .table-block .table::-webkit-scrollbar-thumb {
        background-color: var(--primary);
        border-radius: 5px;
    }
}

@media (max-width: 498px) {
    .table-block .counter-0 {
        width: 30%;
    }
    .table-block .counter-1 {
        width: 20%;
    }
    .table-block .counter-2 {
        width: 50%;
    }
    .table-block .string:nth-child(1) .element {
        font-size: 12px;
    }
}