* {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  margin: 0;
  outline: none;
}

body {
  font-size: 24px;
  line-height: 28px;
  font-family: "Times New Roman", Times, serif;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
}

nav {
  position: fixed;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: baseline;
  column-gap: 20px;
  margin: auto;
  width: 100%;
  padding-top: 20px;
  padding-bottom: 40px;
  z-index: 1;

  --mask: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 1) 0,
      rgba(0, 0, 0, 1) 40%,
      rgba(0, 0, 0, 0) 95%,
      rgba(0, 0, 0, 0) 0
    )
    100% 50% / 100% 100% repeat-x;
  -webkit-mask: var(--mask);
  mask: var(--mask);
}

/* unvisited link */
a:link {
  color: black;
  text-decoration: none;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
}

a:link.inside {
  color: black;
  text-decoration: none;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
  border-bottom: 2px solid;
}

a:link.inside-gray {
  color: gray;
  text-decoration: none;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: gray;
  border-bottom: 2px solid;
}

a:link.tealy {
  color: teal;
  text-decoration: none;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: teal;
  border-bottom: 2px solid;
}

/* visited link */
a:visited {
  color: black;
  text-decoration: none;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
}

a:visited.inside {
  color: black;
  text-decoration: none;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
  border-bottom: 2px solid;
}

a:visited.inside-gray {
  color: gray;
  text-decoration: none;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: gray;
  border-bottom: 2px solid;
}

a:visited.tealy {
  color: teal;
  text-decoration: none;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: teal;
  border-bottom: 2px solid;
}

/* mouse over link */
a:hover.inside,
a:hover.inside-gray,
a:hover.tealy {
  color: red;
  text-decoration: none;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: red;
  border-bottom: 2px solid;
}

/* selected link */
a:active,
a:active.inside,
a:active.inside-gray,
a:active.tealy {
  color: red;
  text-decoration: none;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: red;
}

main {
  width: 100%;
  position: absolute;
  top: 10%;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.container {
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: left;
}

a .selected {
  color: red;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: red;
}

p {
  margin-bottom: 28px;
}

img {
  width: 100%;
  padding-bottom: 20px;
}

p.quote {
  width: 60%;
  align-self: center;
}

.gray {
  color: gray;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: gray;
}

.teal {
  color: teal;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: teal;
}

.mobile {
  display: none;
}

@media only screen and (max-width: 700px) {
  main {
    padding-left: 20px;
    padding-right: 20px;
  }
  p.quote,
  .container,
  main {
    width: 100%;
  }
  nav {
    font-size: 14px;
    letter-spacing: 0.5px;
  }
  .desktop {
    display: none;
  }
  .mobile {
    display: block;
  }
}
