:root {

/* Colors */
  --bg: #F99F1C;
  --border: #F99F1C;
  --link: #142717;
  --link-hover:#E75F25;
  --text: #142717;
  --accent: #E75F25;
  --surface: #FEEDC7;

  /* Font Sizes */
  --fs-sm: clamp(0.8rem, 0.17vi + 0.76rem, 1rem);
  --fs-base: clamp(1rem, 0.34vi + 0.91rem, 1.19rem);
  --fs-md: clamp(1.25rem, 0.61vi + 1.1rem, 1.58rem);
  --fs-lg: clamp(1.56rem, 1vi + 1.31rem, 2.11rem);
  --fs-xl: clamp(1.95rem, 1.56vi + 1.56rem, 2.81rem);
  --fs-xxl: clamp(2.44rem, 2.38vi + 1.85rem, 3.75rem);
  --fs-xxxl: clamp(3.05rem, 3.54vi + 2.17rem, 5rem);

}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/BricolageGrotesque-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-optical-sizing: auto;
  font-variation-settings:
    "wdth" 100;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(1rem, 5vw, 4rem);
  padding-block-end: 0;
  background: var(--surface);
  border-radius: 0 0 2rem 2rem;
  box-shadow: 0 4px 8px 0 rgba(171, 102, 0, 0.2);
}

h1, h2, h3, h4, h5, h6, p {
  font-family: "Bricolage Grotesque", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
  margin-block-start: 0.5em;
  margin-block-end: 0.75em;
}

h1 {
  font-size: var(--fs-xl);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.03em;

}

h2 {
  font-size: var(--fs-lg);
  line-height: 1;
}

h3 {
  font-size: var(--fs-md);
  line-height: 1;
  font-weight: 400;
}

h4 {
  font-size: var(--fs-md);
  line-height: 1;
}

h5 {
  font-size: var(--fs-base);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

h6 {
  font-size: var(--fs-sm);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

h1 strong, h1 b,
h2 strong, h2 b,
h3 strong, h3 b,
h4 strong, h4 b,
h5 strong, h5 b,
h6 strong, h6 b {
  font-weight: 800;
}

p {
  font-size: var(--fs-base);
  line-height: 1.2;
  color: var(--text);
  font-weight: 250;
  margin-block-start: 0;
  margin-block-end: 0.35em;
}

p.p--sm {
  font-size: var(--fs-sm);
  line-height: 1.2;
  color: var(--text);
  font-weight: 250;
}

p strong, p b, p--sm strong, p--sm b {
  font-weight: 600;
}

hr {
  border: 1.5px solid var(--border);
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s ease;

  &:hover {
    color: var(--link-hover);
  }
}

a svg path {
  fill: var(--link);
  transition: fill 0.2s ease;
}

a:hover svg path {
  fill: var(--link-hover);
}

header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block-start: 2rem;
  padding-block-end: 2rem;
}

header img.logo {
  width: clamp(140px, 20vw, 240px);
  height: auto;
}

.art-markets {
  padding-block-start: 1rem;
  padding-block-end: 1rem;
}

.art-markets h2 {
  margin-block-end: 0.5em;
}

article.art-market {
  border-top: 1.5px solid var(--border);
  padding-block-start: .5rem;
  padding-block-end: 1rem;
}

.separator {
  border: 3px solid var(--border);
  margin-block: 2rem;
}

footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding-inline: 2rem;
  padding-block-start: 4rem;
  padding-block-end: 2rem;
  text-align: center;
}

footer svg {
  width: 32px;
  height: 32px;
  fill: var(--link);
  transition: fill 0.2s ease;
}

footer svg:hover {
  fill: var(--link-hover);
}

footer img.footer-logo {
  width: clamp(100px, 20vw, 200px);
  height: auto;
}

