* {
  box-sizing: border-box;
}

body {
  margin: 0;
  position: relative;
  z-index: 1;
  font-family: "IM Fell DW Pica", serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

p {
  margin: 1rem 0 0.5rem;
  font-size: 18px;
  line-height: 1.3;
}

@media (min-width: 768px) {
  p {
    font-size: 20px;
    line-height: 1.4;
  }
}
article {
  padding: 0 1rem 60px;
  max-width: 768px;
  margin: auto;
}

.uppercase {
  text-transform: uppercase;
}

.italic {
  font-style: italic;
}

.masthead {
  padding: 0.5rem 1rem;
  background-color: #222;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}
.masthead a {
  color: white;
  text-decoration: none;
}

#branding {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#branding h1 {
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: uppercase;
  margin-right: 1rem;
}
#branding h2 {
  font-size: 0.9rem;
  font-weight: 400;
}

@media (min-width: 900px) {
  #branding {
    justify-content: flex-start;
  }
}
.nav-trigger {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ddd;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 50;
}
.nav-trigger ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-trigger ul li {
  padding: 0.5rem 0 0;
}
.nav-trigger a {
  font-size: 1.3rem;
  color: black;
}

@media (min-width: 900px) {
  .nav-trigger {
    position: fixed;
    width: 5vw;
    top: 0;
    left: 94vw;
    margin: 0;
    padding: 0;
    height: 2.1rem;
  }
}
.chapter-masthead {
  text-align: center;
  padding-top: 2rem;
}

.chapter-heading {
  font-size: 2rem;
  padding: 2rem 0 1rem;
}

.chapter-sub {
  padding-bottom: 1rem;
  text-transform: uppercase;
  font-size: 0.9rem;
}

#main-menu {
  background: #eee;
  text-align: center;
  padding: 2rem 0 0;
  margin-bottom: 2rem;
  height: 40vh;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow-y: auto;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.15);
  z-index: 10;
}
#main-menu ul {
  list-style: none;
  padding: 0;
  display: block;
}
#main-menu ul li {
  padding: 0.5rem 0;
}
#main-menu ul li a {
  text-decoration: none;
  color: #222;
}

@media (min-width: 900px) {
  #main-menu {
    top: 0;
    left: 75vw;
    height: 100vh;
    width: 25vw;
    padding: 4rem 0 0 0;
    font-size: 1.3rem;
  }
}
@media (min-width: 1368px) {
  #main-menu {
    left: 80vw;
    width: 20vw;
  }
}
.menu-heading {
  font-size: 1rem;
  text-transform: uppercase;
}

.intro {
  background-image: url(splash-evolucion-consciente.jpg);
  background-size: cover;
  background-position: center;
  height: 100vh;
}

@media (min-width: 768px) {
  .intro {
    background-position: center 20%;
  }
}
.poem p {
  font-size: 1.1rem;
}