@import url("https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap");

/* Reset a few defaults */
* {
  font-family: "Public Sans", Arial, Helvetica, sans-serif;
  font-weight: 400;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Global layout */
.wrapper {
  display: grid;
  grid-template-columns: 1.5fr 2fr 1.5fr;
  min-height: 100vh;
}

/* Shared sidebar styling */
.sidebar {
  padding: 5rem;
}

/* both menus */
.left,
.right {
  position: sticky;
  top: 0;
  align-self: start;
}

.right nav ul li a {
  display: flex;
  justify-content: right;
}

/* Main content */
h2 {
  font-size: 2rem;
}

.content {
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 5rem;
}

/* Right sidebar navigation */
.nav ul {
  font-size: 1.5rem;
  font-weight: 300;
  list-style: none;
}

.nav li + li {
  margin-top: 0.75rem; /* spacing between links */
}

.nav a {
  text-decoration: none;
  color: #000000;
  font-weight: 500;
}

.nav a:hover {
  color: rgb(255, 0, 212);
}

a {
  text-decoration: none;
}

h1.title {
  font-size: 2rem;
}

.title:hover {
  color: rgb(255, 0, 212);
}

.date {
  font-weight: 500;
  color: #666;
}

blockquote {
  /* Keep to 200 characters? */
  color: #666;
  font-style: italic;
  margin-left: 0.5rem;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

a {
  color: inherit;
}

aside .footer a {
  color: #666;
  margin-top: 2rem;
  display: flex;
  flex-direction: row;
  justify-content: end;
  position: sticky;
  bottom: 0;
}
aside .footer a:hover {
  color: rgb(255, 0, 212);
}

.youtube {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0 0.5rem 0;
}

.youtube iframe {
  width: 75%;
  aspect-ratio: 4/3;
  border: none;
}

img {
  display: flex;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
  display: block;
  margin: 1.5rem 0 0.5rem 0;
}

figure {
  display: grid;
  justify-content: center;
}

figcaption {
  color: #666;
  font-style: italic;
  margin-left: 0.25rem;
  font-size: 0.75rem;
}

sup {
  font-size: 0.65rem;
  color: #666;
}

.footnotes {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #3d3d3d;
}
.footnotes p {
  margin-top: 0.35rem;
}

hr {
  margin-top: 3rem;
  border-top: 1px dotted black;
  border-bottom: 1px dotted black;
}

.first-sentence {
  margin-top: 2rem;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.article-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 85%;
  font-weight: 300;
}

.article-title {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-self: flex-start;
  width: 100%;
}

article p {
  font-weight: 300;
  margin-top: 1rem;
  line-height: 1.65 ;
}

.text-link {
  font-weight: 300;
  text-decoration: underline;
}

.text-link:hover {
  color: rgb(255, 0, 212);
}
strong {
  font-weight: 600;
}
