:root {
    --color-primary: hsl(129, 50%, 90%);
    --color-secondary: hsl(129, 50%, 10%);
    --color-tertiary: hsl(189, 80%, 20%);
    --color-accent: hsl(69, 80%, 20%);
}
.dark {
  --color-primary: hsl(129, 50%, 10%);
  --color-secondary: hsl(129, 50%, 90%);
  --color-tertiary: hsl(189, 80%, 80%);
  --color-accent: hsl(69, 80%, 80%);
}

body{
  background: var(--color-primary);
  color: var(--color-secondary);
}
a {
  color: var(--color-tertiary);
}

nav {
  position: fixed;
  z-index: 1;
  top: 20px;
  left: 10px;
  padding: 8px 0;
  width: 25%;

}

nav a {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 20px;
  color: var(--color-accent);
  display: block;
  font-size: 0.807rem;
}

nav a:hover {
  color: #064e3b;
}

nav ul {
  list-style-type: none;
  margin: 0 ;
  padding: 0;
}
@media screen and (max-height: 450px) {
  nav {
    padding-top: 15px;
  }

  nav a {
    font-size: 18px;
  }
}


/* Blockquote */

blockquote {
  margin: 0 auto;
  padding: 1em;
  border-left: 5px solid #999;
}

blockquote:before {
  display: none;
}

blockquote:not(:first-of-type) {
  margin-top: .5em;
}

blockquote p {
  color: #555;
  line-height: 1.4;
  font-family: 'PT Serif', Cambria, 'Hoefler Text', Utopia, 'Liberation Serif', 'Nimbus Roman No9 L Regular', Times, 'Times New Roman', serif;
}

blockquote footer {
  margin-top: .5em;
  padding: 0;
  color: #777;
  text-align: left;
  font-style: italic;
}

blockquote footer:before {
  content: '— ';
}

blockquote:nth-of-type(even) {
  text-align: right;
  border-left: none;
  border-right: 5px solid #999;
}

blockquote:nth-of-type(even) footer {
  text-align: right;
}

blockquote:nth-of-type(even) footer:before {
  content: '';
}

blockquote:nth-of-type(even) footer:after {
  content: ' —';
}

@element 'blockquote' and (min-width: 300px) {
  blockquote {
    padding: 1em 20% 1em 1em;
  }

  blockquote p {
    font-size: 14pt;
  }

  blockquote:nth-of-type(even) {
    padding: 1em 1em 1em 20%;
  }
}
