@font-face {
  font-family: 'Thmanyah Sans';
  src: url('./fonts/thmanyahsans-Light.woff2') format('woff2');
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Sans';
  src: url('./fonts/thmanyahsans-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Sans';
  src: url('./fonts/thmanyahsans-Medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Sans';
  src: url('./fonts/thmanyahsans-Bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Sans';
  src: url('./fonts/thmanyahsans-Black.woff2') format('woff2');
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('./fonts/thmanyahserifdisplay-Light.woff2') format('woff2');
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('./fonts/thmanyahserifdisplay-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('./fonts/thmanyahserifdisplay-Medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('./fonts/thmanyahserifdisplay-Bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('./fonts/thmanyahserifdisplay-Black.woff2') format('woff2');
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Serif Text';
  src: url('./fonts/thmanyahseriftext-Light.woff2') format('woff2');
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Serif Text';
  src: url('./fonts/thmanyahseriftext-Regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Serif Text';
  src: url('./fonts/thmanyahseriftext-Medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Serif Text';
  src: url('./fonts/thmanyahseriftext-Bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Serif Text';
  src: url('./fonts/thmanyahseriftext-Black.woff2') format('woff2');
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --ams-font-display: 'Thmanyah Serif Display', 'Times New Roman', serif;
  --ams-font-text: 'Thmanyah Serif Text', 'Times New Roman', serif;
  --ams-font-ui: 'Thmanyah Sans', system-ui, sans-serif;
}

html,
body,
body *,
button,
input,
textarea,
select,
option {
  font-family: var(--ams-font-ui) !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.ams-opening__title,
[data-font-display] {
  font-family: var(--ams-font-display) !important;
  font-feature-settings: 'salt' 1, 'liga' 1, 'kern' 1;
  font-kerning: normal;
  letter-spacing: normal !important;
}

p,
blockquote,
figcaption,
.ams-opening__caption,
[data-font-text] {
  font-family: var(--ams-font-text) !important;
  font-feature-settings: 'liga' 1, 'kern' 1;
  font-kerning: normal;
}

nav,
nav *,
a,
button,
input,
textarea,
select,
option,
label,
small,
[role='button'],
[data-font-ui] {
  font-family: var(--ams-font-ui) !important;
  font-feature-settings: 'liga' 1, 'kern' 1;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
}
