/* white fonts */
.r_h1_white {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--white-text);
    font-size: 45px;
    padding: 60px 17px 23px 0px;
}

.r_h2_white {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--white-text);
    font-size: 50px;
}

.r_h3_white {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--white-text);
    font-size: 28px;
    padding-bottom: 23px;
}

.r_h4_white {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--white-text);
    font-size: 22px;
}

.r_b1_white {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--white-text);
    font-size: 20px;
}

.r_b2_white {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--white-text);
    font-size: 20px;
}



/* black fonts */
.r_h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--black-text);
    font-size: 40px;
}

.r_h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--black-text);
    font-size: 35px;
}

.r_h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--black-text);
    font-size: 30px;
}

.r_h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--black-text);
    font-size: 25px;
}

.r_h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--black-text);
    font-size: 25px;
}

.r_h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--black-text);
    font-size: 14px;
}

.r_b1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--black-text);
    font-size: 25px;
}

.r_b2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--black-text);
    font-size: 20px;
}

.r_b3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: var(--black-text);
    font-size: 20px;
}

.r_b4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--black-text);
    font-size: 14px;
    white-space: pre-wrap; /* CSS3 */    
    white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */    
    white-space: -o-pre-wrap; /* Opera 7 */    
    word-wrap: break-word; /* Internet Explorer 5.5+ */
}

.r_b5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--black-text);
    font-size: 12px;
}

/* blue fonts */
.r_h1_blue {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--blue-text);
    font-size: 50px;
}

.r_h2_blue {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--blue-text);
    font-size: 38px;
}

.r_h3_blue {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--blue-text);
    font-size: 40px;
}

.r_b1_blue {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--blue-text);
    font-size: 25px;
}

.r_b2_blue {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--blue-text);
    font-size: 20px;
}

/* blue link fonts */
.r_b1_link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: var(--blue-link-text);
    font-size: 25px;
}

.r_b2_link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--blue-link-text);
    font-size: 20px;
}

@media (max-width: 1460px) {
    .r_h2 {
        font-size: 30px;
    }
}

@media (max-width: 1270px) {
    
    .r_h1_white {
        font-size: 30px;
    }

    .r_h3_white {
        font-size: 23px;
    }

    .r_h4_white {
        font-size: 20px;
    }


    .r_h1 {
        font-size: 35px;
    }

    .r_h2 {
        font-size: 30px;
    }

    .r_h3 {
        font-size: 25px;
    }

    .r_b1 {
        font-size: 22px;
    }


    .r_h1_blue {
        font-size: 40px;
    }

    .r_h2_blue {
        font-size: 25px;
    }
}

@media (max-width: 992px) {
    .r_h1 {
        font-size: 32px;
    }
}
