/**
 * Global styles
 * https://coolors.co/ed1006-4aacc4-99bb57-04080f-f5efed-fffbfa-3f4044
 */

:root {
  --red: #ed1006;
  --blue: #4aacc4;
  --olive: #99bb57;
  --black: #04080f;
  --parchment: #f5efed;
  --snow: #fffbfa;
  --text: #3f4044;

  --red-dark: #be0d05;
  --snow-dark: #fff7f5;
  
  --red-a00: #ed100600;
  --red-a10: #ed100610;
  --red-a80: #ed100680;
  --black-a00: #04080f00;
  --black-a30: #04080f30;
  --black-a60: #04080f60;
  --black-a80: #04080f80;
  --black-aa0: #04080fa0;
  --snow-a00: #fffbfa00;
  --snow-a60: #fffbfa60;
  --snow-a80: #fffbfa80;
  --snow-ad0: #fffbfad0;
  --snow-af0: #fffbfaf0;

  --font-heading: "Gelasio";
  --font-body: "DM Sans";
  --font-arabic: "Scheherazade New";
}

* {
  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(--snow);
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    "Open Sans",
    "Helvetica Neue",
    sans-serif;
}

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

@font-face {
  font-family: "Gelasio";
  src: url("./assets/fonts/Gelasio-VariableFont.woff2") format("woff2-variations");
  src: url("./assets/fonts/Gelasio-VariableFont.woff2") format(woff2) tech(variations);
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gelasio";
  src: url("./assets/fonts/Gelasio-Italic-VariableFont.woff2") format("woff2-variations");
  src: url("./assets/fonts/Gelasio-Italic-VariableFont.woff2") format(woff2) tech(variations);
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("./assets/fonts/DMSans-VariableFont.woff2") format("woff2-variations");
  src: url("./assets/fonts/DMSans-VariableFont.woff2") format(woff2) tech(variations);
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("./assets/fonts/DMSans-Italic-VariableFont.woff2") format("woff2-variations");
  src: url("./assets/fonts/DMSans-Italic-VariableFont.woff2") format(woff2) tech(variations);
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Scheherazade New";
  src: url("assets/fonts/ScheherazadeNew-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

h2 {
  font-size: 1.75rem;
  color: var(--black);
}

h3 {
  font-size: 1.6rem;
  color: var(--red-dark);
}

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

small {
  font-size: 0.9rem;
}

a {
  text-decoration: none;
}

ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-left: 3rem;
}

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

.body2 {
  font-size: 1rem;
  color: var(--text);
}

.arabic {
  font-family: var(--font-arabic);
}

.show-sm {
  display: none !important;
}

.hide-sm {
  display: flex;
}

.show-lg {
  display: none !important;
}

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

/* width >= 640px */
@media (min-width: 40rem) {
  .show-sm {
    display: flex !important;
  }

  .hide-sm {
    display: none !important;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.8rem;
  }

  .body1 {
    font-size: 1.25rem;
  }

  .body2 {
    font-size: 1.1rem;
  }
}

/* width >= 768px */
@media (min-width: 48rem) {
  h2 {
    font-size: 2.25rem;
  }

  h3 {
    font-size: 1.75rem;
  }

  .body2 {
    font-size: 1.2rem;
  }
}

/* width >= 1024px */
@media (min-width: 64rem) {
  body.nav-drawer-open {
    overflow-y: auto;
  }

  .show-lg {
    display: flex !important;
  }

  h2 {
    font-size: 2.75rem;
  }

  h3 {
    font-size: 2.25rem;
  }
}

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

  h3 {
    font-size: 2.5rem;
  }

  .body1 {
    font-size: 1.35rem;
  }

  .body2 {
    font-size: 1.15rem;
  }
}

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

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

