:root {
  color-scheme: light dark;
}

/* Main body styling */
body {
  font-family: Verdana, sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: min(1200px, calc(100% - 60px));
  margin: 25px auto;
  padding: 20px;
  background-color: #f1f1f1;
  color: #111111;
  border: 2px groove #cccccc;
}

/* Main header styling */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 4px outset #cccccc;
  background-color: #dadada;
  padding: 15px 20px;
  margin-bottom: 30px;
  font-family: Verdana, sans-serif;
  font-size: 1.3rem;
}

/* Add logo to header */
.logo-link img {
  height: 90px;
  width: auto;
  vertical-align: middle;
}

/* navigation buttons */
nav a {
  margin-left: 15px;
  font-weight: bold;
}

/* Make navigation buttons blue and underlined */
a {
  color: #0000ee;
  text-decoration: underline;
}

/* Turn navigation buttons purple once clicked */
a:visited {
  color: #551a8b;
}

/* Make article titles in feed blue and underlined when hovered over */
a:hover {
  color: #0000ee;
  background-color: transparent;
  text-decoration: underline;
}

/* Make header buttons highlighted in blue when hovered over */
header a:hover {
  color: #ffffff;
  background-color: #0000ee;
  text-decoration: none;
}

/* Set header styling */
h1, h2, h3 {
  font-family: Verdana, sans-serif;
  letter-spacing: -0.02em;
}

/* Basic article content styling within frame */
article {
  margin-bottom: 30px;
  border-bottom: 2px groove #cccccc;
  padding-bottom: 30px;
}

/* Article header styling so it looks plain until hovered on*/
article h1 a {
  color: #111111;
  text-decoration: none;
}

/* Date of publishing*/
time {
  font-family: Verdana, sans-serif;
  color: #555555;
  font-size: 1.05rem;
}

/* Basic figure arrangement*/
figure {
  margin: 25px 0;
}

/* Set up ismage styling with borders */
figure img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #666666;
  border-radius: 0; 
}

/* Set up image captions */
figcaption {
  font-family: Verdana, sans-serif;
  color: #444444;
  font-size: 1.05rem;
  margin-top: 6px;
  text-align: center;
}

/* Set up photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 25px 0;
}

/* Override for 'figures' within photogrid to get good grid */
.photo-grid figure {
  margin: 0;
}

/* Override for mobile site stuff to arrange neatly*/
@media (max-width: 550px) {
  header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  nav a {
    margin: 0 8px;
  }
  .photo-grid {
    grid-template-columns: 1fr;
  }
}

/* Quote styling*/
blockquote {
  border-left: 3px solid #666666;
  background-color: #eaeae4;
  margin: 25px 0;
  padding: 10px 16px;
  color: #333333;
  font-style: italic;
  font-style: 1.2rem;
}