/*-------------------------
   Typography
--------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
    color: $color-heading;
    font-family: $font-heading;
    text-transform: capitalize;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 23px;
}

p {
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    margin-bottom: 15px;
}

h1 {
    font-size: 52px;
}

h2 {
    font-size: 42px;
}

h3 {
    font-size: 38px;
}

h4 {
    font-size: 32px;
}

h5 {
    font-size: 24px;
}

h6 {
    font-size: 18px;
}

.heading__subtitle {
    font-size: 17px;
    font-weight: 700;
    color: $color-theme;
    display: block;
    margin-bottom: 21px;
}

.heading__title {
    font-size: 34px;
    margin-bottom: 20px;
}

.heading__desc {
    font-size: 16px;
    line-height: 27px;
    margin-bottom: 0;
}

.divider__line+.heading__desc {
    margin-top: 22px;
}

.heading-2 {
    .heading__title {
        font-size: 48px;
    }
}

.heading-3 {
    .heading__title {
        font-size: 52px;
        margin-bottom: 25px;
    }

    .heading__desc {
        font-size: 18px;
        line-height: 28px;
        font-weight: 700;
    }
}

.heading-4 {
    .heading__title {
        font-size: 70px;
        font-weight: 400;
        margin-bottom: 35px;
    }

    .heading__desc {
        font-size: 18px;
        line-height: 28px;
        font-weight: 700;
    }
}

.heading-5 {
    .heading__title {
        font-size: 85px;
    }

    .heading__desc {
        font-size: 18px;
        line-height: 28px;
        font-weight: 700;
    }
}

.heading-white {

    .heading__subtitle {
        color: $color-gray;
    }

    .heading__title,
    .heading__desc {
        color: $color-white;
    }
}

.text__block-desc {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 35px;
}

.text__block-2 {
    position: relative;

    .text__block-title {
        position: absolute;
        top: 0;
        left: 0;
    }

    .text__block-desc {
        padding-left: 220px;
    }
}

.text-content-section h5 {
    font-size: 30px;
}

.text__link {
    font-size: 14px;
    font-weight: 700;

    a {
        color: $color-theme;
        border-bottom: 2px solid $color-theme;
        transition: all .3s ease;
        padding-bottom: 2px;
    }

    &:hover a {
        color: $color-heading;
        border-bottom: 2px solid $color-heading;
    }
}

/* Medium Size Screens */
@include md-screens {
    .heading__title {
        font-size: 30px;
    }

    .heading-2 .heading__title {
        font-size: 35px;
        line-height: 44px;
    }

    .heading-3 {
        .heading__title {
            font-size: 37px;
            line-height: 47px;
        }

        .heading__desc {
            font-size: 16px;
            line-height: 26px;
        }
    }
}

/* Mobile Phones and tablets */
@include xs-sm-screens {
    .heading__title {
        font-size: 25px;
        margin-bottom: 10px;
    }

    .heading-2 {
        .heading__title {
            font-size: 28px;
            margin-bottom: 10px;
        }

        .heading__desc {
            font-size: 16px;
            font-weight: 400;
            line-height: 26px;
        }
    }

    .heading-3 {
        .heading__subtitle {
            margin-bottom: 13px;
        }

        .heading__title {
            font-size: 30px;
        }

        .heading__desc {
            font-size: 16px;
            line-height: 26px;
        }
    }

    .heading-4 {
        .heading__title {
            font-size: 40px;
        }

        .heading__desc {
            font-size: 16px;
            line-height: 26px;
            font-weight: 400;
        }
    }

    .heading-5 {
        .heading__title {
            font-size: 45px;
        }

        .heading__desc {
            font-size: 16px;
            line-height: 26px;
            font-weight: 400;
        }
    }

    .text__block-desc {
        font-size: 14px;
        line-height: 24px;
        margin-bottom: 20px;
    }

    .text__block-2 .text__block-title {
        position: static;
    }

    .text__block-2 .text__block-desc {
        padding-left: 0;
    }
}

/* Custom Media in Mobile Phones */
@media only screen and (max-width: 450px) {
    .heading-2 {
        .heading__title {
            font-size: 25px;
        }

        .heading__desc {
            font-size: 15px;
            font-weight: 400;
            line-height: 24px;
        }
    }
}