/**
 * Global styles
 * Primary colours: https://coolors.co/fcd9af-c23e2e-788ece
 * Secondary colours: https://coolors.co/3a1f01-dea7c7-ffffff-b5aaf6-2ca8a8-f8a101-00382c-1b1b1b-f6f2eb
 */

:root {
  --primary-background: #FCD9AF;
  --secondary-background: #C23E2E;

  --primary-background-dark: #4A2A03;
  --secondary-background-dark: #441610;

  --primary-background-header: #FCD9AFA0;
  --primary-background-header-dark: #4A2A03A0;

  --primary-brand-1: #FCD9AF;
  --primary-brand-2: #C23E2E;
  --primary-brand-3: #788ECE;

  --secondary-brand-1: #3A1F01;
  --secondary-brand-2: #DEA7C7;
  --secondary-brand-3: #B5AAF6;
  --secondary-brand-4: #2CA8A8;
  --secondary-brand-5: #F8A101;
  --secondary-brand-6: #00382C;

  --black: #1B1B1B;
  --off-white: #F6F2EB;
  --white: #FFF;

  --sun: #F8A101;

  --star: #FCD9AF;
  --star-shadow-1: #FCD9AF01;
  --star-shadow-2: #FCD9AFff;

  --moon: #FCD9AF;

  --font-heading: "Outfit";
  --font-body: "Outfit";
  --font-italic: "EB Garamond"
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: all 0.3s ease-in-out;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--primary-background);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
}

body.dark-mode {
  background-color: var(--primary-background-dark);
}

body.nav-drawer-open {
  overflow-y: hidden;
}

@font-face {
  font-family: "Outfit";
  src: url("./Outfit-Variable.woff2") format("woff2-variations");
  src: url("./Outfit-Variable.woff2") format(woff2) tech(variations);
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "EB Garamond";
  src: url("./EBGaramond-Italic.woff2") format("woff2-variations");
  src: url("./EBGaramond-Italic.woff2") format(woff2) tech(variations);
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
}

p, span {
  font-family: var(--font-body);
}

small {
  font-family: var(--font-body);
  font-size: 0.9rem;
}

a {
  text-decoration: none;
}

.body1 {
  font-size: 1.25rem;
  color: var(--black);
}

body.dark-mode .body1 {
  color: var(--off-white);
}

/* width >= 400px */
@media (min-width: 25rem) {
}

/* width >= 640px */
@media (min-width: 40rem) {
}

/* width >= 768px */
@media (min-width: 48rem) {
}

/* width >= 1024px */
@media (min-width: 64rem) {
}

/* width >= 1280px */
@media (min-width: 80rem) {
  .body1 {
    font-size: 1.3rem;
  }
}

/* width >= 1536px */
@media (min-width: 96rem) {
}

/* width >= 1920px */
@media (min-width: 120rem) {
}

