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

* {
  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;
}

.sidebar {
  padding: 5rem;
}

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

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

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

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: start;
  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);
}

.feed {
  margin-top: 6rem; /* space from the heading above */
  display: flex;
  flex-direction: column;
  gap: 1rem; /* vertical space between rows */
  align-self: center;
}

.archive-feed {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

a {
  text-decoration: none;
}

.feed-item {
  width: 100%;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}

.thumb {
  border-radius: 3px;
  width: 150px;
  height: 150px;
  object-fit: cover;
  transition: 0.05s ease;
}

/* optional thumnail hover to pink duotone */
/* .thumb:hover {
    filter: grayscale(1) blur(.65px) sepia(1) saturate(15) hue-rotate(250deg) brightness(1.75) ;
} */

.info {
  flex: 1;
  padding: 0.75rem 1rem;
}

.title {
  margin: 0;
  font-size: 1.75rem;
  color: #000000;
}

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

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

.date {
  display: block;
  margin-top: 0.25rem;
  margin-left: 0.5rem;
  color: #666;
}

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

@media (max-width: 800px) {
  .wrapper {
    grid-template-columns: 1fr; /* single column */
  }

  .sidebar {
    position: static; /* no longer sticky */
    padding: 1rem 0;
  }

  .right {
    order: 2; /* place navigation after main content */
  }
}
a {
  color: inherit;
}

aside .footer a {
  color: #666;
  margin-top: 2rem;
  display: flex;
  justify-content: end;
  position: sticky;
  bottom: 0;
}

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

h4 {
  font-size: 1.5rem;
  text-align: start;
}
