/*=========================================================
44 Web Design Framework
-----------------------------------------------------------
Project      : 433
Client       : Vehicle Safety Solutions Ltd

File         : base.css
Version      : 1.0.0

Author       : Ian Latus
Company      : 44 Web Design

Purpose
-------
Provides the global CSS reset and establishes the
foundation for consistent rendering across browsers.

Contents
--------
1. CSS Reset
2. Document
3. Media
4. Forms
5. Accessibility
6. Lists
7. Links

=========================================================*/


/*=========================================================
Dependencies

variables.css

=========================================================*/


/*=========================================================
1. CSS Reset
=========================================================*/

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


/*=========================================================
2. Document
=========================================================*/

html {
    scroll-behavior: smooth;
}

body {

    font-family: var(--font-family);
    line-height: var(--line-height);

    color: var(--colour-dark);
    background: var(--colour-white);

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    text-rendering: optimizeLegibility;

}


/*=========================================================
3. Media
=========================================================*/

img,
picture,
svg,
video,
canvas {

    display: block;
    max-width: 100%;

}

img {

    height: auto;

}


/*=========================================================
4. Forms
=========================================================*/

input,
button,
textarea,
select {

    font: inherit;

}


/*=========================================================
5. Accessibility
=========================================================*/

:focus-visible {

    outline: 3px solid var(--colour-secondary);
    outline-offset: 3px;

}

/*=========================================================
6. Lists
=========================================================*/

ul,
ol {

    list-style: none;

}

/*=========================================================
7. Links
=========================================================*/

a {

    color: inherit;
    text-decoration: none;

}