/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.hidden {
  display: none;
  visibility: hidden;
}

.show {
  display: block;
  visibility: visible;
}

:root {
  --standard-font: 'Raleway';
  --heading-font: 'Marcellus';
  --black: #000000;
  --grey: #333333;
  --white: #FFFFFF;
  --accent1: #572D0F;
  --accent2: #E0A124;
  --shadow1: #C0B1A5;
  --shadow2: #F9F2E2;
  --shadow3: #EAE5E1;
  --corner-radius: 8px;
  --line-height: 1.4;
}

@media (min-width: 37.5rem) {
  :root {
    --spacing-small: 1.5rem;
    --spacing-regular: 2rem;
    --spacing-large: 2.5rem;
    --spacing-xlarge: 5rem;
    --spacing-xxlarge: 8.75rem;
    --regular-font-size: 1.25rem;
    --font-size-medium: 1.5rem;
    --font-size-large: 2.25rem;
    --font-size-xlarge: 2.75rem;
    --font-size-xxlarge: 4.5rem;
  }
}
@media (min-width: 0rem) and (max-width: 37.4375rem) {
  :root {
    --spacing-small: .5rem;
    --spacing-regular: 1rem;
    --spacing-large: 1.5rem;
    --spacing-xlarge: 2.5rem;
    --spacing-xxlarge: 4.375rem;
    --regular-font-size: 1rem;
    --font-size-medium: 1.1875rem;
    --font-size-large: 1.375rem;
    --font-size-xlarge: 1.75rem;
    --font-size-xxlarge: 2.25rem;
  }
}
/* marcellus-regular - latin_latin-ext */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Marcellus";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/marcellus-v14-latin_latin-ext-regular.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* raleway-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Raleway";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/raleway-v37-latin-regular.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

p,
a,
.button {
  font-family: var(--standard-font), sans-serif;
  font-size: var(--regular-font-size);
  line-height: var(--line-height);
}

.button {
  background-color: var(--accent2);
  padding: var(--spacing-small) var(--spacing-large);
  display: inline-block;
  text-wrap: nowrap;
}

a.button {
  text-decoration: none;
  color: var(--black);
}

.button:hover,
.button:focus {
  background-color: var(--white);
  outline: 4px solid var(--accent2);
}

.blog h1,
.single h1,
.page h1 {
  align-self: center;
  color: var(--accent1);
}

.page h2 {
  color: var(--accent1);
}

h1 {
  font-family: var(--heading-font), serif;
  font-size: var(--font-size-xxlarge);
  line-height: normal;
}

h2 {
  font-family: var(--heading-font), serif;
  font-size: var(--font-size-xlarge);
  line-height: normal;
}

h3 {
  font-family: var(--heading-font), serif;
  font-size: var(--font-size-large);
  line-height: normal;
}

hgroup {
  width: 100%;
}
hgroup p {
  font-family: var(--heading-font), serif;
  line-height: normal;
  color: var(--accent2);
}
hgroup h2 {
  color: var(--accent1);
  line-height: 0.8;
}

img {
  max-width: 100%;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-wrap: nowrap;
}

section {
  display: flex;
  width: 100%;
  padding-block: var(--spacing-xxlarge);
  padding-inline: var(--spacing-regular);
  flex-direction: column;
  justify-content: center;
  align-content: flex-start;
  align-items: flex-start;
  gap: var(--spacing-regular);
}
section section {
  padding: var(--spacing-regular) var(--spacing-xlarge);
  gap: var(--spacing-small);
}
section section ul {
  list-style: outside disc;
}
section section ul li {
  margin-left: 2rem;
}

.max-width-container {
  max-width: 1160px;
  margin-inline: auto;
  align-content: center;
}

@media (min-width: 0rem) and (max-width: 37.4375rem) {
  section {
    flex-direction: column;
  }
  .max-width-container {
    padding-inline: var(--spacing-xlarge);
    width: 100%;
  }
}
@media (min-width: 0rem) and (max-width: 37.4375rem) {
  #mainnav {
    background-color: none;
  }
  #mainnav .menu {
    display: none;
    visibility: hidden;
  }
  #mainnav:has(.mobile-menu-open) {
    z-index: 11;
  }
  #mainnav #hamburger.mobile-menu-open + ul {
    display: flex;
    flex-direction: column;
    display: block;
    visibility: visible;
    transform: translateX(0);
    padding-top: var(--spacing-xlarge);
  }
  #mainnav:has(.mobile-menu-open) {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: end;
    inset-block-start: 0;
    inset-inline-end: 0;
    transition: all 0.5s ease;
    padding: var(--spacing-large);
    background-color: var(--black);
    width: 80%;
    height: 100dvh;
    align-items: end;
    text-align: right;
  }
  #mainnav:has(.mobile-menu-open) .menu .menu-item {
    display: flex;
    justify-content: flex-end;
    padding-bottom: var(--spacing-regular);
  }
  #hamburger {
    all: unset;
    cursor: pointer;
    position: fixed;
    z-index: 3;
    inset-block-start: 0;
    inset-inline-end: 0;
    padding: var(--spacing-large);
    height: calc(var(--regular-font-size) * var(--line-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  #hamburger [class^=line-] {
    display: inline-block;
    height: 1px;
    border: 1px solid var(--accent2);
    background-color: var(--accent2);
    transition: all 0.3s ease-out;
  }
  #hamburger .line-1 {
    width: 25px;
  }
  #hamburger .line-2 {
    margin-block-start: 8px;
    margin-inline-start: 9px;
    width: 16px;
  }
  #hamburger.mobile-menu-open [class^=line-] {
    margin-block-start: 4px;
    transform-origin: center;
  }
  #hamburger.mobile-menu-open .line-1 {
    transform: rotate(-45deg);
  }
  #hamburger.mobile-menu-open .line-2 {
    width: 25px;
    margin-inline-start: 0;
    margin-block-start: -2px;
    transform: rotate(45deg);
  }
}
@media (min-width: 37.5rem) {
  nav#mainnav {
    align-content: center;
  }
  nav#mainnav button {
    display: none;
    visibility: hidden;
  }
}
#hero-text {
  position: absolute;
}

header {
  position: relative;
  background-color: var(--black);
  color: var(--white);
  height: 80vh;
  overflow: hidden;
}
header .header-row {
  height: 70px;
  display: flex;
  flex-direction: row;
  position: relative;
  justify-content: space-between;
  align-content: center;
  column-gap: var(--spacing-xlarge);
}
header .header-row a {
  color: var(--white);
  text-decoration: none;
  height: auto;
  display: flex;
  align-items: center;
  gap: var(--spacing-small);
  text-decoration: none;
}
header .header-row a img {
  height: 100%;
  width: auto;
}

body:has(.single) header,
body:has(.blog) header {
  height: fit-content;
}
body:has(.single) header::before,
body:has(.blog) header::before {
  background-position: top;
}
body:has(.single) header #hero-text,
body:has(.blog) header #hero-text {
  display: none;
  visibility: hidden;
}

body:has(.page) header {
  min-height: fit-content;
}
body:has(.page) header::before {
  background-position: top;
}
body:has(.page) header #hero-text {
  display: none;
  visibility: hidden;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./images/chocolate-7848086.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;
  z-index: 0;
}

.menu {
  list-style: none;
  display: flex;
  flex-direction: row;
  text-wrap: nowrap;
  flex-wrap: wrap;
  column-gap: var(--spacing-large);
  row-gap: 0;
  justify-content: flex-end;
}
.menu .menu-item > a {
  text-decoration: none;
  color: var(--accent2);
}

.bigtext {
  font-family: var(--standard-font), serif;
  font-size: var(--font-size-medium);
  line-height: var(--line-height);
}

@media (min-width: 37.5rem) {
  body:has(.page) header {
    max-height: 18.75rem;
    height: 30vh;
  }
  header {
    padding: var(--spacing-large) var(--spacing-xlarge);
  }
  #hero-text {
    left: 120px;
    top: 45%;
    max-width: 100ch;
  }
  #hero-text p {
    font-size: var(--font-size-large);
    line-height: var(--line-height);
    color: var(--accent2);
  }
}
@media (min-width: 0rem) and (max-width: 37.4375rem) {
  body:has(.page) header {
    max-height: 6rem;
    height: 20vh;
  }
  header .header-row {
    height: fit-content;
    padding: var(--spacing-large);
  }
  #hero-text {
    left: 50%;
    top: 50%;
    transform-origin: center;
    translate: -50%;
    width: 100%;
    padding: var(--spacing-large);
  }
  #hero-text p {
    display: none;
    visibility: hidden;
  }
  .header-row img {
    display: none;
    visibility: hidden;
  }
}
footer {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-regular);
  background-color: var(--grey);
  color: var(--white);
  padding: var(--spacing-xxlarge);
  position: relative;
}
footer .lawstuff {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-xxlarge);
  align-items: flex-start;
}
footer #menu-footernav {
  text-wrap: no-wrap;
  width: fit-content;
}
footer .sources {
  width: 100%;
}
footer .sources li {
  overflow: hidden;
  text-overflow: ellipsis;
}
footer .sources li:not(:nth-last-child) {
  padding-bottom: var(--spacing-small);
}
footer .sources li a {
  white-space: nowrap;
  text-decoration: none;
  color: var(--white);
}

@media (min-width: 0rem) and (max-width: 37.4375rem) {
  #menu-footernav {
    display: none;
    visibility: hidden;
  }
}
.media-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-large);
  align-self: stretch;
}
.media-text.reverse {
  flex-direction: row-reverse;
}
.media-text .media {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.media-text .media img {
  object-fit: cover;
  object-position: center;
}
.media-text .text {
  flex: 1;
}
.media-text .text p {
  max-width: 50ch;
}
.media-text .text p:not(:last-of-type) {
  padding-bottom: var(--spacing-small);
}
.media-text .text:has(.button) p:last-of-type {
  padding-bottom: var(--spacing-regular);
}

.media-text .media.vertical {
  flex: 0 0 25%;
  width: stretch;
  height: stretch;
}
.media-text .media.vertical img {
  width: 100%;
  height: auto;
}

.media-text .media.horizontal {
  flex: 0 0 33%;
  height: stretch;
  width: auto;
}
.media-text .media.horizontal img {
  width: auto;
  height: 100%;
}

@media (min-width: 0rem) and (max-width: 37.4375rem) {
  .media-text {
    flex-direction: column;
  }
  .media-text .media {
    aspect-ratio: 5/3;
  }
  .media-text.reverse {
    flex-direction: column-reverse;
  }
}
.news-section {
  background-color: var(--shadow3);
}

.news {
  width: 100%;
}

.articles {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-snap-align: start;
  display: flex;
  flex-direction: row;
  gap: var(--spacing-large);
}
.articles article img {
  aspect-ratio: 5/3;
  object-fit: cover;
  width: 100%;
}
.articles article div.text {
  padding: var(--spacing-regular);
  background-color: var(--white);
}
.articles article div.text p {
  padding-top: var(--spacing-small);
  padding-bottom: var(--spacing-large);
}

@media (min-width: 0rem) and (max-width: 37.4375rem) {
  .articles {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-snap-align: start;
  }
  .articles article {
    flex: 0 0 70vw;
  }
}
@media (min-width: 37.5rem) {
  .articles article {
    flex-basis: calc((100% - var(--spacing-large) * 2) / 3);
  }
}
.featured-section {
  background-color: var(--shadow2);
}

.featured-collections {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-large);
  width: 100%;
}
.featured-collections .featured-item {
  background-color: var(--shadow1);
  display: flex;
  align-items: center;
  gap: var(--spacing-large);
  padding: var(--spacing-large) var(--spacing-xlarge);
  border-radius: var(--corner-radius);
}
.featured-collections .button {
  width: fit-content;
  margin: auto;
}

@media (min-width: 37.5rem) {
  .featured-collections .featured-item {
    flex-direction: row;
    min-width: 550px;
    width: 90dvw;
    max-width: 800px;
  }
  .featured-collections .featured-item:nth-of-type(2) {
    align-self: end;
  }
  .featured-collections .featured-item img {
    width: 15vw;
    max-width: 15rem;
    flex-shrink: 0;
  }
}
@media (min-width: 0rem) and (max-width: 37.4375rem) {
  .featured-collections .featured-item {
    flex-direction: column;
  }
  .featured-collections .featured-item img {
    width: 50dvw;
    height: auto;
  }
}
.blog .articles {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-large);
  justify-content: center;
}

.single .text {
  display: flex;
  padding: var(--spacing-xlarge) var(--spacing-xxlarge);
  flex-direction: column;
  align-items: flex-start;
  gap: var(--spacing-regular);
  align-self: stretch;
}

/*# sourceMappingURL=style.css.map */
