@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');



html {
    font-size: rem(16px);
}

body {
    font-family: $sans-serif;
    font-weight: 400;
    line-height: 1.6;
    font-size: rem(18px);
    color: $color-text;
    letter-spacing: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: $sans-serif;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 rem(20px);
    color: $color-heading;
    letter-spacing: 0.5px;
}


h1,
.hero-sec.banner .hero-txt .txt-main p {
    font-size: rem(70px);
    font-weight: 700;
    line-height: 1.2;

    @include breakpoint(x-large) {
        font-size: rem(55px);
    }

    @include breakpoint(desktop) {
        font-size: rem(45px);
    }
}

h2 {
    font-size: rem(42px);
    margin-bottom: 10px;
    line-height: 1.2;
    font-weight: 700;

    @include breakpoint(x-large) {
        font-size: rem(45px);
    }

    @include breakpoint(desktop) {
        font-size: rem(40px);
    }

    @include breakpoint(normal) {
        font-size: rem(32px);
    }
}

h3 {
    font-size: rem(30px);
    line-height: 1.1;
    font-weight: 700;

    @include breakpoint(x-large) {
        font-size: rem(32px);
    }

    @include breakpoint(desktop) {
        font-size: rem(29px);
    }

    @include breakpoint(normal) {
        font-size: rem(25px);
    }
}

h4 {
    font-size: rem(24px);
    line-height: 1.1;
    font-weight: 600;

    @include breakpoint(x-large) {
        font-size: rem(22px);
    }

    @include breakpoint(desktop) {
        font-size: rem(20px);
    }
}

h5 {
    font-size: rem(21px);

    @include breakpoint(x-large) {
        font-size: rem(20px);
    }

    @include breakpoint(desktop) {
        font-size: rem(19px);
    }
}

h6 {
    font-size: rem(20px);

    @include breakpoint(x-large) {
        font-size: rem(18px);
    }
}

p {
    font-size: rem(18px);
    font-family: $sans-serif;
    line-height: 1.6;
    margin-bottom: rem(15px);
    color: $color-text;

    @include breakpoint(x-large) {
        font-size: rem(16px);
    }

    strong {
        font-weight: 700;
    }

    a {
        color: $color-primary;

        &:hover,
        &:focus {
            color: $color-secondary;
        }
    }
}

span {
    font-weight: normal;
}