/* styles.css */

body {
    font-family: "Open Sans", sans-serif;
    color: #333;
    background: #fcfaf7; /* fcfaf7 fcfbf7 */
	font-size: 1.2rem;
	line-height: 1.6;
    margin: 0;
    padding: 0 0 150px 0;
}

* {
    box-sizing: border-box;
}

/* Header Styling */

.navbar {
    padding: 1.1rem 2rem;
}
.site-name {
    font-size: 1.5rem;
    line-height: 1.5rem;
    margin-top: 0.3rem;
    margin-bottom: 0.36rem;
}
.site-name a {
    text-decoration: none;
    color: #333;
}
.site-nav {
    font-size: 1rem;
    line-height: 1.6rem;
}
.site-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-nav li {
    display: inline;
    margin-right: 1rem;
}
.site-nav a {
    text-decoration: none;
    color: #333;
}

/* Article Styling */

.article-container {
    width: 100%;
    max-width: 650px;
    margin: 2rem auto;
    padding: 0 1rem;
}

h1 {
	font-family: "Noto Sans Display", sans-serif;
    font-size: clamp(2.6rem, 6vw, 4rem);
	font-weight: 300;
    line-height: clamp(3.3rem, 7vw, 5rem);
	text-align: right;
	margin-top: 3rem;
	margin-bottom: 3rem;
}

.date {
	text-align: left;
	font-size: 0.9rem;
	color: #777;
#	margin-top: 0rem;
#	margin-bottom: 0.4rem;

}.epigraph {
  font-size: 1.1em;
  font-style: italic;
  text-align: right;
  margin: 0px 0 100px 0;
}

.epigraph p {
  text-indent: 0em;
}

.introduction {
	font-family: "Noto Sans Display", serif;
    font-size: clamp(1.8rem, 4vw, 2rem);
	font-weight: 300;
    line-height: clamp(2.4rem, 5vw, 2.9rem);
	margin-bottom: 1.3rem;
}

.introduction p {
	margin: 0;
	padding: 0;
}

h2 {
	font-family: "Noto Sans Display", serif;
	font-size: 2.3rem;
	font-weight: 300;
	line-height: 3.2rem;
	margin-top: 2.5rem;
	margin-bottom: 1rem;
}

h3 {
	font-family: "Noto Sans Display", serif;
	font-size: 2.3rem;
	font-weight: 300;
	line-height: 3.2rem;
	margin-top: 2.5rem;
	margin-bottom: 1rem;
}

p {
  text-indent: 1.5em;
  margin: 0;
  padding: 0;
}

blockquote {
	color: #650000;
	padding: 1.5rem 0rem 1.5rem 0rem;
	font-size: 1em;
	color: #555;
	margin: 1rem 0;
}

blockquote p {
	color: #650000;
	text-align: right;
}

pre {
	background: #e4e4e4;
	color: #000;
	padding: 1rem;
	border-radius: 4px;
	overflow-x: auto;
}

code {
    font-family: "JetBrains Mono", monospace;
    background: #f5f5f5;
    padding: 2px 4px;
    border-radius: 4px;
}

/* Links */
a {
    text-decoration: underline;
    text-decoration-style: dashed;
    color: #bb0000;
}

/* Inline Elements */
img, video {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem 0;
}

/* Lists */
ul, ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

ul li, ol li {
  margin-bottom: 0.5rem;
}

/* Horizontal Rule */
hr {
  border: 0;
  height: 1px;
  background: #ddd;
  margin: 2rem 0;
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

table, th, td {
  border: 1px solid #ddd;
}

th, td {
  padding: 0.75rem;
  text-align: left;
}

th {
  background-color: #f2f2f2;
}

/* Footer */

.footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1rem;
    background: #f8f8f8;
    text-align: center;
}
.footer div {
    flex: 1;
    min-width: 300px;
    margin: 0.5rem;
}

/* Expanding Text */
.expander {
    cursor: pointer;
    color: #0077cc;
    text-decoration: underline;
    text-decoration-style: dashed;
    border: none;
    background: none;
    font-size: 1rem;
    padding: 0;
}
.expanding-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

/* Responsive */
@media (max-width: 768px) {
    .footer {
        flex-direction: column;
    }
}
