@font-face {
  font-family: 'Optima';
  src: url('https://cdn.shopify.com/s/files/1/2587/2258/files/Optima.ttf') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-500-latin.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-500-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Parisienne';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/parisienne-400-latin.woff2') format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Parisienne';
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/parisienne-400-latin-ext.woff2') format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --background: #ffffff;
  --layer: #f7f7f7;
  --border: #e5e7eb;
  --transition: 400ms;
  --transition-dramatic: 1500ms;
  --base: #ffffff;
  --text-on-base: #141414;
  --secondary: #f7f7f7;
  --text-subdued: #808080;
  --highlight: #141414;
  --info: #e1e1e1;
  --error: #ff0000;
  --text-on-highlight: #ffffff;
  --active: #ceb38d;
  --saved: #ceb38d;

  --outline-width: 2px;

  --button: var(--base);
  --button-text: var(--text-on-base);
  --button-error: var(--error);
  --button-error-text: var(--text-on-highlight);

  --min-height: 680px;
  --min-width: 350px;
  --jewellery-builder-height: max(var(--min-height), 100dvh);
  --jewellery-builder-width: max(var(--min-width), 100dvw);
}

html {
  font-size: var(--font-size);
  color: var(--text-on-base);
  font-family: 'Optima', 'Helvetica Neue', sans-serif;
}

html,
body {
  overscroll-behavior-x: contain;
  margin: 0;
  min-height: 100dvh;
}

.JewelleryBuilder h1,
.JewelleryBuilder h2,
.JewelleryBuilder h3,
.JewelleryBuilder h4,
.JewelleryBuilder h5,
.JewelleryBuilder h6 {
  font-weight: 400;
  margin: 0;
}

.JewelleryBuilder h1 {
  font-family: 'Cormorant Garamond';
  letter-spacing: -1px;
}

.JewelleryBuilder h2 {
  font-family: 'Optima';
}

.JewelleryBuilder h3 {
  font-family: 'Cormorant Garamond';
}

.JewelleryBuilder h4 {
  font-family: 'Optima';
}

.JewelleryBuilder a {
  color: var(--text-on-base);
  text-decoration: underline;
}

.JewelleryBuilder p {
  font-size: 1rem;
  line-height: 1.25rem;
  text-align: justify;
}

.JewelleryBuilder *,
.JewelleryBuilder *::before,
.JewelleryBuilder *::after {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}
