@font-face {
    font-family: 'DM Sans';
    src: url('../website/fonts/DMSans-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('../website/fonts/DMSans-Medium.ttf') format('truetype');
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('../website/fonts/DMSans-SemiBold.ttf') format('truetype');
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'DM Sans';
    src: url('../website/fonts/DMSans-ExtraBold.ttf') format('truetype');
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

:root {
    --color-white: #FFFFFF;
    --color-pale-blue: #F3FDFF;
    --color-secondary-button: #7ED2F6;
    --color-dark-blue: #061A2B;
    --color-light-blue: #E1F9FF;
    --color-blue: #27A2D9;
    --color-blue-dark: #005DA7;
    --color-gray-3: #828282;
    --color-gray-4: #BDBDBD;
    --color-gray-5: #E0E0E0;
    --color-gray-6: #F2F2F2;
    --color-red: #EB5757;

    --color-primary: var(--color-blue);
    --color-secondary: var(--color-secondary-button);
    --color-text-primary: var(--color-dark-blue);
    --color-danger: var(--color-red);

    --font-family-primary: 'DM Sans', sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-extrabold: 800;
}

/*
    START: RESET
    Josh's Custom CSS Reset (with customization)
    https://www.joshwcomeau.com/css/custom-css-reset/
*/
*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        interpolate-size: allow-keywords;
    }
}

body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    color: var(--color-text-primary);
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-medium);
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

p {
    text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
    font: inherit;
}

#root, #__next {
    isolation: isolate;
}
/* END: RESET */

a {
    text-decoration: none;
    color: inherit;
}
