:root {
  --content-width: 60rem;
  --content-color: HSLA(298, 74%, 7%, 1.00);
  --content-background: HSLA(37, 100%, 98%, 1.00);
  --link-hover: HSLA(240, 100%, 61%, 1.00);
  --link-active: HSLA(0, 100%, 63%, 1.00);
  --link-visited: HSLA(300, 100%, 25%, 1.00);
}

*,
*:after,
*:before{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: var(--content-background);
  color: var(--content-color);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

h1 {
  font-size: 1.802em;
}

h2 {
  font-size: 1.602em;
}

h3 {
  font-size: 1.424em;
}

h4 {
  font-size: 1.266em;
}

h1, h2, h3, h4, h5 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5em;
}

li {
  list-style: none;
}

a {
  color: currentColor;
  text-decoration: none;
}

strong, b {
  font-weight: 600;
}

img {
  width: 100%;
}

.page {
  padding: 5vh 5vw 10vh;
}

.page > * {
  max-width: var(--content-width);
  margin: 0 auto;
}

.header {
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.header a {
  position: relative;
  padding: .5rem 0;
  font-weight: 700;
}

.header .logo {
  display: block;
  /* margin-bottom: 1.5rem; */
  padding: .5rem 0;
}

.menu {
  display: none;
}

.menu a {
  margin: 0 .75rem;
}

.menu a[aria-current] {
  border-bottom: 2px solid var(--content-color);
}

.header .logo {
  border-bottom: 2px solid transparent;
}
.header .logo:hover,
.menu a:hover {
  border-bottom: 2px solid var(--link-hover);
  color: var(--link-hover);
}

.header .logo:focus,
.menu a:focus {
  border-bottom: 2px solid var(--link-active);
  color: var(--link-active);
}

.mobile-nav-toggle {
  background:
  rgba(255,255,255,0.15) url(/assets/icons/menu-93839824d16b1a558eb8d55d1c4e19434b881c6d25b238214b155b9ecab4426c.svg) no-repeat 10px 12px;
      background-color: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  border: 0;
  color: var(--content-color);
  display: flex;
  align-items: center;
  letter-spacing: 0.05em;
  font-size: 0.875em;
  font-weight: 700;
  outline: 0;
  padding: 0.125em 0.25em;
  text-transform: uppercase;
}

.mobile-nav-toggle svg {
  margin: 0.25em 0.375em 0 0;
  width: 1.375em;
}

.mobile-nav-is-open {
  overflow: hidden;
}

.mobile-nav-toggle .menu-icon {
  display: inline;
}

.mobile-nav-toggle .close-icon {
  display: none;
}

.mobile-nav-is-open .mobile-nav-toggle .menu-icon {
  display: none;
}

.mobile-nav-is-open .mobile-nav-toggle .close-icon {
  display: inline;
}

.menu-mobile {
  background: var(--content-background);
  color: var(--content-color);
  display: flex;
  flex-direction: column;
  visibility: hidden;
  padding: 5vh 5vw;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  top: 4em;
  transition: opacity .35s, visibility .35s;
  visibility: hidden;
  opacity: 0;
  z-index: 10;
}

.menu-mobile a {
  display: block;
  font-size: 2em;
  margin-bottom: 0.25em;
}

.menu-mobile a[aria-current] {
  border-bottom: 2px solid;
}

.menu-mobile.isVisible {
  visibility: visible;
  opacity: 1;
}

.menu a:first-child {
  padding-left: 0;
  margin-left: 0;
}

.menu a:last-child {
  padding-right: 0;
  margin-right: 0;
}

@media screen and (min-width: 40rem) {
  .header .logo {
    margin-bottom: 0;
  }
  .header {
    flex-direction: row;
    justify-content: space-between;
  }
  .menu {
    display: block;
    /* margin-right: -.75rem; */
  }
  #mobile-nav-toggle {
    display: none;
  }
}


main {
  min-height: calc(100vh - 10rem);
}

.intro {
  padding: 2.5rem 0;
  text-align: center;
}

.intro h1 {
  position: relative;
  margin-bottom: 0;
  /*font-size: calc(1vw + 2rem);*/
  z-index: 1;
  text-align: center;
}

.tags a {
  padding: 0.5rem 0;
  margin: 0 .5rem;
  text-decoration: underline;
}

.tags a:hover {
  color: var(--link-hover);
}

tags a:focus {
  color: var(--link-active);
}

.text {
  line-height: 1.725em;
}
.text p,
.text hr,
.text figure,
.text ul,
.text ol,
.text dl {
  margin-bottom: 2em;
}
/* .text h2 {
  //font-size: 1.5rem;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
} */
.text > *:first-child {
  margin-top: 0;
}
.text a {
  position: relative;
  /* white-space: nowrap; */
  font-weight: 500;
  z-index: 1;
  /* display: inline-block; */
  /* border-bottom: 1px solid #000; */
  text-decoration: underline;
  transition: color 175ms ease;
}

.text a:visited {
  color: var(--link-visited);
}

.text a:hover {
  color: var(--link-hover);
}

.text a:active {
  color: var(--link-active);
}

.text a:hover {
  text-decoration: none;
}

.text figure a {
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: none; /* Fix this style */
}

/* .text ul {
  /padding-left: 1rem;
} */

.text ul li {
  margin-bottom: 1.125em;
}

.text img {
  border-radius: 3px;
  width: 100%;

}

.text .align-center {
  text-align: center;
}

.text figure {
  font-style: italic;
  text-align: center;
}

.player .vp-title .vp-title-header {
  display: none;
}

@media screen and (min-width: 60rem) {
  /* .video, */
  .full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    padding: 0;
    margin-left: -30rem;
    margin-right: -30rem;
    max-width: var(--content-width);
  }
}

.footer {
  font-size: .875rem;
  padding: 1.5rem 5vw 10vh;
  text-align: center;
  max-width: var(--content-width);
  margin: 0 auto;
  line-height: 1.5em;
}

.footer a {
  display: inline-block;
  text-decoration: underline;
}

.footer .copyright {
  margin: 0 auto 1.5rem;
  border-top: 2px solid var(--content-color);
  width: 16.5rem;
  padding-top: .5rem;
  text-decoration: none;
}

.social a {
  margin: 0 .75rem;
  padding: .5rem 1rem;
  border: 2px solid #000;
  width: 7.5rem;
}
.social a:hover {
  background: #000;
  color: #fff;
}

.video {
	position: relative;
	padding: 56.25% 0 0 0; /* 16:9 */
}

.video iframe {
  border: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.video figcaption {
  margin-top: 2em;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: space-between;
}

.pagination a,
.pagination a:visited {
  color: var(--content-color);
  text-decoration: underline;
}

.pagination a:hover {
  color: var(--link-hover);
  text-decoration: none;
}

.pagination a:focus {
  color: var(--link-active);
}
