/* CSS RESET */
/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
*:not(dialog) {
  margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  /* 4. Increase line-height */
  line-height: 1.5;
  /* 5. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input,
button,
textarea,
select {
  font: inherit;
}

/* 8. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/*
  10. Create a root stacking context
*/
#root,
#__next {
  isolation: isolate;
}
/* END CSS RESET */
/* CONSTANTS */
body {
  background-color: #f4f1ea;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(218, 212, 197, 0.3) 100%
  );
}

h1,
h2,
h3,
p {
  color: #2b2b2b;
}
h1 {
  font-family: "Diplomata", serif;
  font-size: 42px;
  font-weight: 400;
  font-style: normal;
}

h2 {
  font-size: 36px;
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
}

p {
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}

.divider-dot {
  display: flex;
  align-items: center;
  text-align: center;
  color: #5c5c5c;
  margin: 20px 0;
  width: 100%; /* Ensures it spans across the container */
}

/* This creates the left and right lines */
.divider-dot::before,
.divider-dot::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ccc; /* Controls line thickness and color */
}

/* Spacing between the left line and center character */
.divider-dot::before {
  margin-right: 0.5em;
}

/* Spacing between the right line and center character */
.divider-dot::after {
  margin-left: 0.5em;
}

#header-logo {
  max-width: 200px;
  height: auto;
  position: absolute;
  top: 24px;
  left: 24px;
}

/* END CONSTANTS */
/* HOMEPAGE STYLES */

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 36px 0px 36px;
}

#main-nav {
  position: absolute;
  height: 300px;
  width: 200px;
  background-color: #f4f1ea;
  border: solid 5px #5c5c5c;
  margin: 24px;
  padding: 16px;
}

#main-nav ul {
  height: 100%;
  border: dashed 3px #5c5c5c;
  padding: 16px;
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

#main-nav ul li a {
  text-decoration: none;
  font-family: "Diplomata", serif;
  font-size: 18px;
  font-weight: 400;
  font-style: normal;
  color: #5c5c5c;
}

.zine-link-glitch {
  color: #2b2b2b;
  text-decoration: underline dotted #2b2b2b;
  font-weight: 400;
  transition: transform 0.1s ease;
}

.zine-link-glitch:hover {
  color: #000000;
  text-decoration: underline solid #000000;
  text-shadow:
    2px 2px 0px rgba(255, 0, 0, 0.6),
    -2px -2px 0px rgba(0, 0, 255, 0.6);
}

.header-banner {
  width: 100%;
  height: 500px;
  background-image: url(images/comics-image-dots-web.webp);
}
/* MAIN ARTICLE STYLES */
.main-container {
  max-width: 70vw;
  height: auto;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.main-container article {
  width: auto;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main-container article h2 {
  margin: 16px 0px;
  padding: 16px 0px;
  border-bottom: 1px solid rgba(194, 187, 174, 0.4);
}

.main-container article p {
  font-size: 1.2rem;
  line-height: 32px;
  margin: 16px 0px;
}

.main-container article p:nth-of-type(1)::first-letter {
  font-family: "Diplomata", serif;
  font-size: 2rem;
  float: left;
  line-height: 1;
  padding-top: 4px;
  color: #2b2b2b; /* Faded ink black */
}

/* END MAIN ARTICLE STYLES */
/* FOOTER STYLES */
/* Base Footer Wrapper */
.site-footer {
  width: 100%;
  padding: 40px 0px 20px 0px;
  background-color: transparent; /* Lets your old magazine paper background show through */
  font-family: "Inter", sans-serif; /* Clean body font */
  color: #2b2b2b; /* Muted ink black */
}

.footer-banner {
  width: 100%;
  height: 300px;
  background-image: url(images/pulp-image.jpg);
  margin: 36px 0px;
}

/* Layout Container */
.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.footer-brand {
  width: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer-logo {
  max-width: 120px;
  height: auto;
  margin-bottom: 8px;
  opacity: 0.9;
}

.footer-tagline {
  font-size: 1.4rem;
  font-style: italic;
  color: #5c5c5c;
}

/* Navigation Links Layout */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 20px; /* Spacing between the links */
}

.footer-links a {
  text-decoration: none;
  font-family: "Diplomata", serif;
  font-size: 18px;
  font-weight: 400;
  font-style: normal;
  color: #5c5c5c;
}

/* Bottom Fine Print */
.footer-bottom {
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid rgba(194, 187, 174, 0.4);
  font-size: 0.8rem;
  color: #767167;
}

/* END FOOTER STYLES */
