

/* ---- 01_vars.css ---- */

:root {
/* RESPONSIVE */

--breakpoint-sm: 480px;

/* COLOURS */

  --orange0: #fff4e1;
  --orange1: #ffe8cc;
  --orange2: #fed09b;
  --orange3: #fdb766;
  --orange4: #fca13a;
  --orange5: #fc931d;
  --orange6: #e17800;
  --orange7: #e17800;
  --orange8: #c86a00;
  --orange9: #af5a00;

  --burnt-orange0: #fdf0ed;
  --burnt-orange1: #f6bfb2;
  --burnt-orange2: #ee8e77;
  --burnt-orange3: #e65e3c;
  --burnt-orange4: #c63c1a;
  --burnt-orange5: #8b2b13;
  --burnt-orange6: #6e2114;
  --burnt-orange7: #521812;
  --burnt-orange8: #36100c;
  --burnt-orange9: #1e0400;

  --dark-grey6: #2c2b29;
  --dark-grey7: #21201e;
  --dark-grey8: #181716;
  --dark-grey9: #111110;

  --gap1: 1em;
  --text: #eee;
  --text-dim: #ccc;

  --main-content-width: 800px;
    --extended-content-width: 1100px;
    --page-gutter: 1.5em;
}


/* ---- 02_typography.css ---- */

@font-face {
  font-family: "brandon_grotesque_light";
  src: url("/fonts/brandon_grotesque_light.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "lexend-thin";
  src: url("/fonts/lexend_var.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "lexend-reg";
  src: url("/fonts/lexend_var.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "inter-bold";
  src: url("/fonts/inter_var.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

body {
  color: #fff;
  font-size: 12pt;
  line-height: 140%;
  font-family: "lexend-thin";
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "brandon_grotesque_light";
}

body > header h1 {
  font-family: "inter-bold";
  font-size: 22pt;
}

h1 {
  color: var(--orange4);
}

h2 {
  font-size: 20pt;
  color: var(--orange5);
}

h3 {
  font-size: 18pt;
  color: var(--orange6);
}
h4,
h5,
h6 {
  font-size: 16pt;
  color: var(--orange6);
}

a {
  color: var(--burnt-orange2);
  font-family: "lexend-reg";
}

a:visited {
  color: var(--burnt-orange0);
}

a:hover {
  color: var(--orange4);
}

/* p {
  background-color: var(--dark-grey8);
  padding: 1em;
  border-radius: 5px;
  font-family: "garamond", serif;
  font-size: 16px;
} */

nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  gap: 1em;
}

nav,
nav a {
  color: var(--darkgrey6);
  font-size: 1.2em;
  font-family: "brandon_grotesque_regular";
}

main {
  max-width: 800px;
  margin: 0 auto;
}

blockquote {
  border-left: 5px solid #444;
  padding-left: 1em;
}

.author,
.author:visited {
  display: inline;
  color: var(--text-dim);
  font-family: "lexend-thin";
  text-decoration: none;
  white-space: nowrap;
}

a.author:hover {
  color: var(--burnt-orange3);
}

.author::before {
  content: "(";
}

.author::after {
  content: ")";
}

blockquote .author {
  display: block;
  text-align: right;
}

blockquote .author::before {
  content: "— ";
}

blockquote .author::after {
  content: "";
}


/* ---- 03_page_layout.css ---- */

body {
  background-color: var(--dark-grey7);
  line-height: 1.5;
  padding: 0;
  margin: 0;
}

header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 1.5em var(--gap1);
  /* background-color: var(--dark-grey9); */
}

header h1 {
  margin: 0;
  color: #666;
}

footer {
  padding: var(--gap1);
  font-size: 80%;
  color: #aaa;
}

footer a,
footer a:visited {
  color: #bbb;
}

footer a:hover {
  color: #fff;
}

footer p {
  margin: 0;
  text-align: center;
}


/* ---- 04_image.css ---- */

figure {
    max-width: var(--main-content-width);
}

figure img {
    max-width: 100%;
    height: auto;
    border: 8px solid var(--accent);
    border-radius: var(--radius);
    padding: 8px;
    overflow: hidden; 
}

figure figcaption p:first-child {
    margin-top: 0;
}




/* ---- 05_header.css ---- */

/* Header */

header {
    /*background-color: var(--orange1);*/
    /*background: linear-gradient(to bottom, var(--orange3), var(--orange5));*/
    display: flex;
    /* padding: 0 var(--page-gutter); */
    padding: 0;
    align-items: stretch;
    justify-content: space-between;
    height: 50px;
}


/* ---- 06_footer.css ---- */

/* Footer */

footer {
    display: flex;
    padding: 1rem;
    color: var(--grey3);
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: var(--main-content-width);
    margin-left: auto;
    margin-right: auto;
    width: 100%; }

.footer-section {
    font-size: 0.7rem; }