* {
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  padding: 0
}
*, *:before, *:after {
  box-sizing: border-box;
}
a {
  color: inherit;
  text-decoration: inherit;
}
.site-title {
  font-size: 1.1rem;
  font-weight: 500;
}
.heading {
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.ph {
  background-color: whitesmoke;
}
.nn {
  background-color: linen;
}
body {
  text-align: center;
  line-height: 1.3;
}
main, section {
  display: flex;
  flex-direction: column;
}
main {
  gap: 1.5rem;
  padding: 1rem 0.75rem 6rem;
}
section {
  gap: 1.25rem;
  padding: 1rem 0.75rem 2rem;
}

.issues {
  column-width: 4rem;
  line-height: 1.1;
}
.issue {
  display: inline-block;
  padding: 0.1rem 0.2rem 0.3rem;
  width: 100%;
}
.issue:hover {
  background-color: pink;
}
.issue-number {
  font-weight: 500;
  font-size: 1.2rem;
}
.issue-length {
  font-size: 0.8rem;
  font-style: italic;
}
.issue-date {
  font-size: 0.8rem;
}

.issues-navigation {
  position: relative;
  align-self: center;
  width: 21rem;
  min-height: 3rem;
}
.issues-navigation-link {
  position: absolute;
  top: 0;
  border: 1px solid black;
  padding: 0.3rem 0.4rem 0.5rem;
  border-radius: 0.3rem;
  margin-top: 0.3rem;
}
.issues-navigation-link:hover {
  background-color:papayawhip;
}
.issues-navigation-link.next {
  right: 0;
}
.issues-navigation-link.previous {
  left: 0;
}
#pages-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  align-self: center;
  max-width: 22rem;
}
.page-number {
  border: 1px solid black;
  width: 1.8rem;
  padding: 0.2rem 0;
}
.page-number:hover {
  background-color: paleturquoise;
}
.pages {
  display: grid;
  gap: 1rem;
}
.page {
  border: 1px solid black;
  max-width: 100%;
}
.page:target {
  outline: 0.25rem solid hotpink;
}
.page:target .page-info {
  background-color: paleturquoise;
}
.page-header {
  position: sticky;
  top: 0;
  background-color: honeydew;
  border-bottom: 1px solid black;
  font-weight: 500;
}
.page-info {
  display: block;
}
.page-copy {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  padding: 0 0.4rem;
  background-color: whitesmoke;
  font-family: inherit;
  font-size: 0.9rem;
  line-height: inherit;
  border-width: 0 0 0 1px;
  border-radius: 0;
  color: black;
  cursor: pointer;
  -webkit-appearance: none;
}
.page-copy:hover {
  background-color: pink;
}
.page-image {
  width: 100%;
  height: auto;
  display: block;
}


@media (min-width: 63em) {
  .pages {
    grid-template-columns: 1fr 1fr;
  }
  .page:first-child {
    grid-column: span 2;
    justify-self: center;
    max-width: 50%;
  }
}