@use './variables' as vars;
@use './mixins' as mix;

@forward '@fontsource/inter/400.css';
@forward '@fontsource/inter/500.css';
@forward '@fontsource/inter/600.css';

@if vars.$ui-kit-has-font-ocr {
  @font-face {
    font-family: 'OCR';
    font-style: normal;
    font-display: swap;
    font-weight: 500;
    src: url(vars.$ui-kit-assets-dir + '/fonts/OCR-A-Std-Medium_33416.ttf') format('truetype');
  }
}

* {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: auto;
	font-family: 'Inter', sans-serif;
	-webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5 {
    margin: 0 0 24px;
    color: var(--font-color);
}

h1 {
	font-size: 42px;
	line-height: 60px;
	font-weight: 600;
}

h2 {
	font-size: 32px;
	line-height: 44px;
	font-weight: 600;
}

h3 {
	font-size: 24px;
	line-height: 34px;
	font-weight: 500;
}

h4 {
	font-size: 22px;
	line-height: 28px;
	font-weight: 500;

	margin-top: 0;
	margin-bottom: 24px;
}

h5 {
	font-size: 18px;
	line-height: 20px;
	font-weight: 500;

	margin-top: 0;
	margin-bottom: 20px;

	@include mix.tablet {
		font-size: 22px;
		line-height: 28px;
		margin-bottom: 30px;
	}
}

.text-16 {
	font-weight: 500 !important;
	font-size: 16px;
	line-height: 20px;
}

.text-18 {
	font-weight: 500 !important;
	font-size: 18px;
	line-height: 20px;
}

.text-15 {
	font-weight: 500 !important;
	font-size: 15px;
	line-height: 18px;
}

.nowrap {
	white-space: nowrap;
}

.gm-bold {
	font-weight: 500 !important;
}

.title {
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

.title-medium {
	font-size: 16px;
	font-weight: 500;
	line-height: 20px;
}

.body {
	font-size: 15px;
	font-weight: 400;
	line-height: 22px;
}

.body-medium{
	font-size: 15px;
	font-weight: 500;
	line-height: 18px;
}

.body-semibold{
	font-size: 15px;
	font-weight: 600;
	line-height: 18px;
}

.caption-medium {
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
}

.caption-semibold {
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
}
