/* Averta Font Family */
@font-face {
    font-family: 'Averta';
    src: url('../fonts/averta/Intelligent Design - AvertaStdCY-Thin_1.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Averta';
    src: url('../fonts/averta/Intelligent Design - AvertaStdCY-ThinItalic_1.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Averta';
    src: url('../fonts/averta/Intelligent Design - AvertaStdCy-Extrathin_1.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Averta';
    src: url('../fonts/averta/Intelligent Design - AvertaStdCy-ExtrathinItalic_1.otf') format('opentype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Averta';
    src: url('../fonts/averta/Intelligent Design - AvertaStdCY-Light_1.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Averta';
    src: url('../fonts/averta/Intelligent Design - AvertaStdCY-LightItalic_1.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Averta';
    src: url('../fonts/averta/Intelligent Design - AvertaStdCY-Regular_3.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Averta';
    src: url('../fonts/averta/Intelligent Design - AvertaStdCY-RegularItalic_1.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Averta';
    src: url('../fonts/averta/Intelligent Design - AvertaStdCY-Semibold_1.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Averta';
    src: url('../fonts/averta/Intelligent Design - AvertaStdCY-SemiboldItalic_1.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Averta';
    src: url('../fonts/averta/Intelligent Design - AvertaStdCY-Bold_1.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Averta';
    src: url('../fonts/averta/Intelligent Design - AvertaStdCY-BoldItalic_1.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Averta';
    src: url('../fonts/averta/Intelligent Design - AvertaStdCY-Extrabold_1.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Averta';
    src: url('../fonts/averta/Intelligent Design - AvertaStdCY-ExtraboldItalic_1.otf') format('opentype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Averta';
    src: url('../fonts/averta/Intelligent Design - AvertaStdCY-Black_1.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Averta';
    src: url('../fonts/averta/Intelligent Design - AvertaStdCY-BlackItalic_1.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* Font Variables */
:root {
  --font-primary: 'Averta', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

/* Apply Averta font to body and headings */
body {
  font-family: var(--font-primary) !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
}