@use 'apps/red-ui/src/assets/styles/variables';
@use '../libs/common-ui/src/assets/styles/common-mixins';
@use 'header';
@use 'homepage';
@use 'search';
@use 'footer';
@use 'manual';
@use 'mixin';

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

body {
    color: variables.$accent;
    background-color: variables.$grey-2;
    font-family: 'Open Sans', sans-serif;

    h1,
    .h1,
    h2,
    .h2,
    h3,
    .h3,
    h4,
    .h4,
    h5,
    .h5,
    h6,
    .h6,
    p,
    pre {
        margin: 0;
        font-family: 'Open Sans', sans-serif;
    }

    @include common-mixins.scroll-bar;

    h1,
    .h1 {
        @include mixin.heading-1;
    }

    h2,
    .h2 {
        @include mixin.heading-2;
    }

    h3,
    .h3 {
        @include mixin.heading-3;
    }

    h4,
    .h4 {
        @include mixin.heading-4;
    }

    h5,
    .h5 {
        @include mixin.heading-5;
    }

    p {
        @include mixin.paragraph;
    }

    a {
        color: variables.$primary;

        &:hover {
            text-decoration: underline;
            color: variables.$primary;
        }

        &:focus {
            color: variables.$primary;
        }
    }
}
