﻿h2, h5 {
    font-family: 'YBakh';
    text-align: center;
    position: relative;
}

/* ===== H2 ===== */
h2 {
    font-size: 24px;
    font-weight: 400;
    color: #007470;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

    h2::after {
        content: '';
        display: block;
        width: 80px;
        height: 2px;
        background: #4caf50;
        margin: 12px auto 0;
        border-radius: 2px;
    }

    h2 i {
        font-style: normal;
    }

/* ===== H5 ===== */
h5 {
    font-size: 18px;
    font-weight: 300;
    color: #007470;
    margin-bottom: 24px;
}

    h5::after {
        content: '';
        display: block;
        width: 50px;
        height: 2px;
        background: #007470;
        margin: 10px auto 0;
        border-radius: 2px;
    }

    h5 i {
        font-style: normal;
    }

/* ===== Responsive ===== */
@media (max-width: 450px) {

    h2 {
        font-size: 16px;
    }

        h2::after {
            width: 50px;
            height: 1.5px;
        }

    h5 {
        font-size: 14px;
    }

        h5::after {
            width: 35px;
            height: 1.5px;
        }
}
