  @font-face {
  font-family: "Newsreader";
  src: url("../assets/fonts/Newsreader_14pt-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  
 }
  @font-face {
  font-family: "Newsreader";
  src: url("../assets/fonts/Newsreader_14pt-SemiBoldItalic.woff2") format("woff2");
   font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  
 }
 @font-face {
  font-family: "Mulish";
  src: url("../assets/fonts/Mulish-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
 }
 @font-face {
  font-family: "Mulish";
  src: url("../assets/fonts/Mulish-Black.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
 }
 @font-face {
  font-family: "Mulish";
  src: url("../assets/fonts/Mulish-ExtraBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
 }
 @font-face {
  font-family: "Mulish";
  src: url("../assets/fonts/Mulish-ExtraBoldItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 800;
  font-display: swap;
 }
 @font-face {
  font-family: "Mulish";
  src: url("../assets/fonts/Mulish-BlackItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 800;
  font-display: swap;
 }
 @font-face {
  font-family: "Mulish";
  src: url("../assets/fonts/Mulish-BoldItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
 }
/*  @font-face {
  font-family: "Mulish";
  src: url("../assets/fonts/Mulish-Italic.woff2") format("woff2");
  font-style: italic;
   font-weight: 300;
  font-display: swap;
 } */
 @font-face {
  font-family: "Mulish";
  src: url("../assets/fonts/Mulish-Light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
 }
 @font-face {
  font-family: "Mulish";
  src: url("../assets/fonts/Mulish-LightItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300;
  font-display: swap;
 }
 @font-face {
  font-family: "Mulish";
  src: url("../assets/fonts/Mulish-Medium.woff2") format("woff2");
    font-style: normal;
  font-weight: 500;
  font-display: swap;
 }
  @font-face {
  font-family: "Mulish";
  src: url("../assets/fonts/Mulish-MediumItalic.woff2") format("woff2");
    font-style: italic;
  font-weight: 500;
  font-display: swap;
 }
  @font-face {
  font-family: "Mulish";
  src: url("../assets/fonts/Mulish-SemiBold.woff2") format("woff2");
    font-style: normal;
  font-weight: 600;
  font-display: swap;
 }
  @font-face {
  font-family: "Mulish";
  src: url("../assets/fonts/Mulish-SemiBoldItalic.woff2") format("woff2");
    font-style: italic;
  font-weight: 600;
  font-display: swap;
 }
  @font-face {
  font-family: "Kanit";
  src: url("../assets/fonts/Kanit-Italic.woff2") format("woff2");
    font-style: italic;
  font-weight: 400;
  font-display: swap;
 }
  @font-face {
  font-family: "Kanit";
  src: url("../assets/fonts/Kanit-Regular.woff2") format("woff2");
    font-style: normal;
  font-weight: 400;
  font-display: swap;
 }
 
:root {
  --bs-blue: #2937f0;
  --bs-indigo: #6610f2;
  --bs-purple: #9f1ae2;
  --bs-pink: #d63384;
  --bs-red: #dc3545;
  --bs-orange: #fd7e14;
  --bs-yellow: #ffc107;
  --bs-green: #198754;
  --bs-teal: #20c997;
  --bs-cyan: #0dcaf0;
  --bs-black: #000;
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-gray-100: #f8f9fa;
  --bs-gray-200: #e9ecef;
  --bs-gray-300: #dee2e6;
  --bs-gray-400: #ced4da;
  --bs-gray-500: #adb5bd;
  --bs-gray-600: #6c757d;
  --bs-gray-700: #495057;
  --bs-gray-800: #343a40;
  --bs-gray-900: #212529;
  --bs-primary: #2937f0;
  --bs-secondary: #9f1ae2;
  --bs-success: #198754;
  --bs-info: #0dcaf0;
  --bs-warning: #ffc107;
  --bs-danger: #dc3545;
  --bs-light: #f8f9fa;
  --bs-dark: #212529;
  --bs-primary-rgb: 41, 55, 240;
  --bs-secondary-rgb: 159, 26, 226;
  --bs-success-rgb: 25, 135, 84;
  --bs-info-rgb: 13, 202, 240;
  --bs-warning-rgb: 255, 193, 7;
  --bs-danger-rgb: 220, 53, 69;
  --bs-light-rgb: 248, 249, 250;
  --bs-dark-rgb: 33, 37, 41;
  --bs-white-rgb: 255, 255, 255;
  --bs-black-rgb: 0, 0, 0;
  --bs-body-color-rgb: 33, 37, 41;
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
  --bs-body-font-family: Mulish, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 500;
  --bs-body-line-height: 1.5;
  --bs-body-color: #212529;
  --bs-body-bg: #fff;
  --bs-border-width: 1px;
  --bs-border-style: solid;
  --bs-border-color: #dee2e6;
  --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
  --bs-border-radius: 0.375rem;
  --bs-border-radius-sm: 0.25rem;
  --bs-border-radius-lg: 0.5rem;
  --bs-border-radius-xl: 1rem;
  --bs-border-radius-2xl: 2rem;
  --bs-border-radius-pill: 50rem;
  --bs-link-color: #2937f0;
  --bs-link-hover-color: #212cc0;
  --bs-code-color: #d63384;
  --bs-highlight-bg: #fff3cd;
/* add font size */
/* --h1-size: clamp(1.375rem , calc(1.375rem +1.5vw) , 2.5rem ) */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--bs-body-font-family);
  font-size: var(--bs-body-font-size);
  font-weight: var(--bs-body-font-weight);
  line-height: var(--bs-body-line-height);
  color: var(--bs-body-color);
  text-align: var(--bs-body-text-align);
  background-color: var(--bs-body-bg);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

hr {
  margin: 1rem 0;
  color: inherit;
  border: 0;
  border-top: 1px solid;
  opacity: 0.25;
}

h6, .h6, h5, .h5, h4, .h4, h3, .h3, h2, .h2, h1, .h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-family: "Newsreader", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
  font-weight: 600;
  line-height: 1.2;
}

h1, .h1 {
  font-size: calc(1.375rem + 1.5vw);
}
@media (min-width: 1200px) {
  h1, .h1 {
    font-size: 2.5rem;
  }
}

 

h2, .h2 {
  font-size: calc(1.325rem + 0.9vw);
}
@media (min-width: 1200px) {
  h2, .h2 {
    font-size: 2rem;
  }
}

h3, .h3 {
  font-size: calc(1.3rem + 0.6vw);
}
@media (min-width: 1200px) {
  h3, .h3 {
    font-size: 1.75rem;
  }
}

h4, .h4 {
  font-size: calc(1.275rem + 0.3vw);
}
@media (min-width: 1200px) {
  h4, .h4 {
    font-size: 1.5rem;
  }
}

h5, .h5 {
  font-size: 1.25rem;
}

h6, .h6 {
  font-size: 1rem;
}

 
.navbar-brand:hover, .navbar-brand:focus {
  color:#9f1ae2;
}

@media screen And (min-width : 992px) {
    
  nav {
    .nav-item {
    position: relative;
    &:hover {
         a {
        font-weight: bold;
      }
    }

  .nav-link::before{
    position: absolute;
    content: "";
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #9f1ae2;
    visibility: hidden;
    transition: 0.2s ease-in-out ;
      }
  .nav-link:hover::before , .nav-link.active::before{
       visibility: visible;
       width: 100%;
    
       }
      
  
    }
}
}

@media (max-width: 992px) {
  nav{
    .navbar-brand {
       font-size: var(--bs-navbar-brand-font-size-sm) !important;
    }
  }
}
