@font-face {
  font-family: "Syne";
  src: url("../assets/fonts/syne-700.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Lexend Deca";
  src: url("../assets/fonts/lexend-deca-300.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 300;
}

@font-face {
  font-family: "Lexend Deca";
  src: url("../assets/fonts/lexend-deca-400.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Lexend Deca";
  src: url("../assets/fonts/lexend-deca-500.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Lexend Deca";
  src: url("../assets/fonts/lexend-deca-600.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-400.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "BBH Bartle";
  src: url("../assets/fonts/bbh-bartle-regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body[class*="aoyea-page-"] {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--aoyea-color-page);
  color: var(--aoyea-color-text);
  font-family: var(--aoyea-font-body);
  font-size: 14px;
  line-height: 1.7;
}

body[class*="aoyea-page-"] img {
  display: block;
  max-width: 100%;
}

body[class*="aoyea-page-"] a {
  color: inherit;
  text-decoration: none;
}

body[class*="aoyea-page-"] button,
body[class*="aoyea-page-"] input,
body[class*="aoyea-page-"] select {
  font: inherit;
}

body[class*="aoyea-page-"] button {
  color: inherit;
}

.aoyea-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body[class*="aoyea-page-"] main {
  display: block;
}

body[class*="aoyea-page-"] :focus-visible {
  outline: 2px solid var(--aoyea-color-brand);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
