@import "layout.css";
@import "fonts.css";

:root {
	--font-family-sans: Lato, Helvetica, -apple-system, system-ui, sans-serif;
	--font-family-serif: Lora, Georgia, robotoslab, robotoslab, serif;
  --font-family-display: AbrilFatface, georgia, serif;
}

/*
 * Global resets: Update the foundational and global aspects of the page.
 */

html {
  font-family: var(--font-family-sans);
  font-size: 10px;
}
/*
 * Aside
 */

aside {
    color: rgba(255,255,255,.5);
    background-color: #ac4142; /* #6a9fb5 */
}

aside a {
  color: #fff;
}

.about h1 {
  font-family: var(--font-family-display); /*"Abril Fatface", serif;*/
  font-size: 6rem;
  line-height: 1.2;
  color: #fff;
  margin-top: 0;
}

.lead {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-top: 2rem;
}

/* Lists */

ul li ul {
  padding: 0.25rem 0 0.25rem 1.5rem;
}

/* Aside nav */

.nav {
  margin-top: 3rem;
}
.nav a {
  color: #fff;
  text-decoration: none;
}
.nav-item {
  font-size: 2rem;
  display: block;
  line-height: 1.75;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #fff;
}
.nav-item a:hover,
.nav-item a:focus {
  text-decoration: underline;
}
.nav-item.active {
  font-weight: bold;
}
ul.nav {
    padding-inline-start: 0;
}
.copyright {
    font-size: 1.6rem;
}

.img {
  width: 100%;
  margin-top: 1rem;
}
div.caption {
  font-size: 1.6rem;
  margin-top: 0.5rem;
}

/* Main */

#content {
    font-size: 1.6rem;
}

h1 {
  font-size: 4rem;
  font-family: var(--font-family-sans);
  font-weight: 900;
  line-height: 1.4;
}

h2 {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.4;
  margin-top: 2rem;
  margin-bottom: .5rem;
  color: #777;
}

/* Postlist */

ul.postlist {
  list-style: none;
  margin-top: 3rem;
}
.postlist-item {
  margin-bottom: 2rem;
}
h2.postlist-title {
  font-size: 2.4rem;
  font-weight: 900;
  margin-top: .5rem;
}
.postlist-date {
  text-transform: uppercase;
  font-size: 1.6rem;
  color: #777;
}
.post-description {
  color: #777;
}
a {
  color: #ac4142;
}
p {
  margin-bottom: 1rem;
  margin-top: 1rem;
}
.page > p, .page > ul li, .page > ol li {
  font-size: 2rem; 
  line-height: 1.7;
  color: #333;
}
.page p:last-child {
  margin-bottom: 3rem;
}
  p.page-date {
    font-size: 1.6rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: #777;
  }
  .page-nav {
    margin-top: 3rem;
  }
  .page-nav-dir {
    font-weight: 700;
  }
/*p.page-updated {
  font-size: 1.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #777;
  margin-top: 0;
  margin-bottom: 2rem;
}*/
blockquote {
  margin: 0;
  border-left: 3px solid #777;
  margin-left: 2rem;
  padding: 1rem;
  background-color: #DEA8A8;
}
blockquote > p, blockquote > ul {
  font-size: 2rem;
  line-height: 1.7;
  margin: 1rem;
  color: #333;
}
.paginator {
  display: block;
}
footer {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px solid #777;
}
footer > p {
  font-family: var(--font-family-serif);
  font-size: 1.4rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #333;
}

/* Screen size: tablet */

@media all and (max-width: 1200px) {
  .about, .nav {
    text-align: center;
}
  .nav-item {
    display: inline-block;
    padding-right: 1rem;
    padding-top: 0;
    margin-bottom: 0;
    border-bottom: none;
  }
  .nav li:last-child {
    padding-right: 0;
  }
}
/* Screen size: phone */

@media all and (max-width: 768px) {
  .about, .nav {
      text-align: center;
  }
  .about h1 {
  font-size: 6rem;
  line-height: 1.2;
}
  .img {
    margin-top: 0;
  }
  .nav-item {
    display: inline-block;
    padding-right: 1rem;
    padding-top: 0;
    margin-bottom: 0;
    border-bottom: none;
  }
  .nav li:last-child {
    padding-right: 0;
  }  
  blockquote {
    margin-left: 0;
  }
}