/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

blockquote {
  border-left: 3px solid lightgray;
  padding-left: 5px;
}

/*******************************************************************************
Small Device Styles
*******************************************************************************/
@media screen and (max-width: 992px) {
  img {
    max-width: 100%;
  }
}
@media screen and (max-width: 480px) {
  body {
    font-size: 14px;
  }
  h1 {
    font-size: 28px;
  }
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 21px;
  }
  h4 {
    font-size: 18px;
  }
  h5 {
    font-size: 14px;
  }
  h6 {
    font-size: 12px;
  }
  code, pre {
    font-size: 11px;
  }
}
@media screen and (max-width: 320px) {
  body {
    font-size: 14px;
  }
  h1 {
    font-size: 24px;
  }
  h2 {
    font-size: 21px;
  }
  h3 {
    font-size: 18px;
  }
  h4 {
    font-size: 16px;
  }
  h5 {
    font-size: 14px;
  }
  h6 {
    font-size: 12px;
  }
  code, pre {
    min-width: 240px;
    max-width: 320px;
    font-size: 11px;
  }
}
/* Light mode (default) */
:root {
  --background-color: white;
  --background-alternative: whitesmoke;
  --primary-color: #011936;
  --secondary-color: #465362;
  --tertiary-color: #82a3a1;
  --accent-background-color: #C5DCBC;
  --accent-color: #293D15;
  --accent-pop: #f18f01;
  --text-color: #333;
}

/* Dark mode */
body {
  width: 100%;
  display: grid;
  grid: "header" auto "main" 1fr "footer" auto/1fr;
  gap: 8px;
  min-height: 100vh;
}
body > header, body > footer {
  position: sticky;
}
body > header {
  top: 0;
  grid-area: header;
}
body > main {
  grid-area: main;
}
body > footer {
  bottom: 0;
  grid-area: footer;
  min-height: 45px;
}

body {
  font-family: "Josefin Sans", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  margin: 0;
  background-color: var(--background-color);
  color: var(--text-color);
  transition: all 0.3s ease, color 0.3s ease; /* Smooth transitions */
}
body header {
  width: 100%;
  display: flex;
  gap: 16px;
  padding: 5px;
  color: var(--primary-color);
  background-color: var(--background-alternative);
}
body header a {
  color: var(--primary-color);
  text-decoration: none;
}
body header a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}
body header div#site-title {
  margin: auto;
  flex-grow: 1;
  font-size: 36px;
  font-weight: lighter;
}
body header div#site-title em {
  font-weight: bolder;
}
body header nav.primary-navigation {
  margin: auto;
  display: block;
  font-size: 16px;
  color: var(--primary-color);
}
body header nav.primary-navigation .primary-nav {
  float: right;
}
body header nav.primary-navigation ul li {
  list-style: none;
  margin: 0 15px;
  display: inline-block;
  position: relative;
  text-decoration: none;
  text-align: center;
}
body header nav.primary-navigation li:hover {
  cursor: pointer;
}
body header nav.primary-navigation ul li ul {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  padding-left: 0;
  left: 0;
  display: none;
  background: var(--background-alternative);
}
body header nav.primary-navigation ul li:hover > ul,
body header nav.primary-navigation ul li ul:hover {
  visibility: visible;
  opacity: 1;
  display: block;
  min-width: 280px;
  text-align: left;
  padding-top: 20px;
  box-shadow: 0px 3px 5px -1px #ccc;
}
body header nav.primary-navigation ul li ul li {
  clear: both;
  width: 100%;
  text-align: left;
  margin-bottom: 20px;
}
body header nav.primary-navigation ul li ul li a:hover {
  padding-left: 5px;
  border-left: 2px solid var(--secondary-color);
  transition: all 0.3s ease;
}
body header nav ul li ul li a {
  transition: all 0.5s ease;
}
body main {
  margin: auto;
  max-width: 960px;
}
body main h1, body main h2, body main h3, body main h4, body main h5, body main h6 {
  color: var(--primary-color);
}
body main h1, body main h2 {
  display: block;
  margin: 3px;
  text-align: center;
}
body main h1 {
  font-size: 2.25em;
}
body main h2 {
  font-size: 2em;
}
body main h3 {
  font-size: 1.5em;
}
body main h4 {
  font-size: 1.25em;
}
body main h5 {
  font-size: 1em;
}
body main h6 {
  font-size: 1em;
}
body main a {
  color: var(--accent-color);
  text-decoration: none;
}
body main a:hover {
  text-decoration: underline;
}
body footer {
  border-top: 2px solid var(--accent-color);
  background-color: var(--accent-background-color);
  padding: 10px 20px;
  text-align: center;
}
body footer .call-to-action {
  font-size: 35px;
  display: block;
  margin: 4px 2px;
}
body footer .call-to-action a {
  padding: 10px;
}
body footer .call-to-action a:hover {
  background-color: var(--accent-color);
}
body h1, body h2, body h3, body h4, body h5 {
  font-family: "Cardo", serif;
  font-weight: 400;
  font-style: normal;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
body h1, body h2 {
  color: var(--accent-color);
}

main, article {
  padding: 10px;
  overflow: auto;
}

.call-to-action {
  color: var(--accent-color);
}
.call-to-action a {
  color: var(--accent-pop);
  text-decoration: none;
}

main.home h1, main.home h2 {
  color: var(--primary-color);
  padding: 3px;
}
main.home .cards-wrapper {
  padding: 2rem;
  display: flex;
  justify-content: center; /* Center horizontally */
}
main.home .cards-wrapper section.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px; /* Optional max width for larger screens */
  width: 90%;
}
main.home .cards-wrapper section.cards .card {
  cursor: pointer; /* Indicate it's clickable */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 2px solid #333;
  border-radius: 5px;
  background-color: var(--background-alternative);
}
main.home .cards-wrapper section.cards .card:hover {
  transform: scale(1.35);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  background-color: var(--background-alternative);
}
main.home .cards-wrapper section.cards .card main {
  margin: 1rem;
  padding: 0;
  background-color: transparent;
}
main.home .cards-wrapper section.cards .card header {
  color: var(--accent-color);
  padding: 10px;
  text-align: center;
  font-weight: bold;
}
main.home section.hero {
  margin: 75px auto;
  padding: 25px;
  border-bottom: 2px solid var(--primary-color);
  border-radius: 30px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
  color: var(--primary-color);
}
main.home section.hero h1 {
  font-family: "Permanent Marker", serif;
  font-size: 95px;
  margin: 20px auto;
}
main.home section.hero p {
  font-size: 2rem;
  margin: 20px auto;
}

main.page article {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
main.page article header {
  padding: 3px;
}
main.page article header em {
  font-weight: bold;
  color: var(--secondary-color);
}

ol.article-listing {
  list-style: none;
}
ol.article-listing li.article {
  margin-left: 10px;
  padding: 5px;
}
ol.article-listing li.article:hover {
  cursor: pointer;
  margin-left: 5px;
  border-left: 5px solid var(--primary-color);
}
ol.article-listing li.article:hover header {
  color: var(--accent-color);
}
ol.article-listing li.article header {
  font-size: 1.25rem;
  font-weight: 600;
}

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