/* ========================================
FONTS
======================================== */

@font-face {
  font-family: "New Standard C";
  src: url("../fonts/NewStandardC.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "New Standard C";
  src: url("../fonts/NewStandardC-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* ========================================
VARIABLES
======================================== */

:root {
  --red: #bd4034;
  --red-dark: #a9362d;
  --black: #111;
  --white: #fff;
  --container: 1480px;
  --gutter: 40px;
  --content-edge: max(var(--gutter), calc((100vw - var(--container)) / 2));
}


/* ========================================
RESET
======================================== */

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

html {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--black);
  background: var(--white);
  font-family: "New Standard C", serif;
  -webkit-font-smoothing: antialiased;
}

body.is-ui-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("../img/background/banner.webp") top center / 100% auto repeat-y;
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  background: transparent;
  cursor: pointer;
}

button,
input,
textarea,
select {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

a,
button,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

input,
textarea,
select {
  font: inherit;
}

input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1200px) {
  :root {
    --gutter: 30px;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 16px;
  }

  body::before {
    background-image: url("../img/background/mob-banner.webp");
    background-size: 100% auto;
  }
}
