/* Navigation Section */

.navigation {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

.navigation a {
  text-decoration: none;
  color: rgb(226, 226, 226);
}
nav {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 8vh;
  background-color: #5d4954;
  font-family: "Poppins", sans-serif;
}

.logo {
  color: rgb(226, 226, 226);
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 20px;
}

.nav-links {
  display: flex;
  justify-content: space-around;
  width: 70%;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  color: rgb(226, 226, 226);
  text-decoration: none;
  letter-spacing: 0.5px;
  font-weight: bold;
  font-size: 14px;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: rgb(226, 226, 226);
  margin: 5px;
  transition: all 0.3s ease;
}

@media screen and (max-width: 800px) {
  .nav-links {
    width: 90%;
  }
}

@media screen and (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }
  .nav-links {
    position: absolute;
    right: 0px;
    height: 50vh;
    top: 6vh;
    padding-right: 10px;
    background-color: #5d4954;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 55%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
  }
  .nav-links li {
    opacity: 0;
  }
  .burger {
    display: block;
  }
}

.nav-active {
  transform: translateX(0%);
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
  opacity: 0;
}

.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* CSS Design section */

/* Buttons and Clickies */
#footnotes {
  font-size: 14px;
  width: 70%;
  height: auto;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  background: white;
}
#myBtn {
  position: fixed;
  bottom: 10px;
  float: right;
  right: 3em;
  left: auto;
  max-width: 30px;
  width: 100%;
  font-size: 12px;
  border-color: rgba(85, 85, 85, 0.2);
  background-color: #5d4954;
  padding: 0.8px;
  border-radius: 4px;
}

.web-link {
  text-decoration: none;
}

/* Images */
.earth {
  width: 100%;
  height: auto;
  position: sticky;
  position: -webkit-sticky;
  top: 7vh;
  z-index: -1;
}

.perspective {
  max-width: 100%;
  max-height: auto;
  position: sticky;
  top: 8vh;
  padding-bottom: 10em;
  /* background: white; */
}
.drawingper {
  max-width: 55%;
  max-height: 55%;
  padding-top: 1em;
}

.sextant {
  position: sticky;
  top: 8vh;
  padding-top: 1em;
  width: 100%;
  height: 90%;
  /* background: white; */
}

.uccello {
  width: 100%;
  height: 92%;
  position: sticky;
  top: 8vh;
  /* background: white; */
}

.painting {
  width: 55%;
  height: auto;
  padding-top: 1em;
}

.slave {
  width: 100%;
  height: auto;
  position: sticky;
  top: 7vh;
  width: 55%;
  height: auto;
}
.ship {
  width: 100%;
  height: auto;
  padding-top: 2em;
}

.clark {
  position: sticky;
  top: 7vh;
  width: 300px;
  height: auto;
  padding-right: 2em;
  padding-top: 4px;
}

.spaceearth {
  width: 100%;
  height: 91%;
  position: sticky;
  top: 8vh;
}

.spearth {
  width: 55%;
  height: auto;
  padding-top: 1em;
}

/* Titles */

.titles {
  z-index: -1;
  position: sticky;
  top: 8vh;
  height: 20%;
  background: white;
}

titles h1 {
  font-size: 40px;
  padding-left: 40px;
  letter-spacing: 1px;
}
h1 {
  font-size: 40px;
  padding-left: 40px;
  letter-spacing: 1px;
  color: #5d4954;
}

.maintitle {
  margin-bottom: -22px;
}

h2 {
  font-size: 30px;
  padding-left: 40px;
  /* margin-top: -25px; */
  letter-spacing: 1px;
  color: #5d4954;
}

h5 {
  padding: 8px 0px 8px 40px;
  margin-top: -10px;
}

/* Text */

sup {
  vertical-align: super;
  font-size: medium;
  color: #5d4954;
}

main {
  font-family: "Crimson Text", serif;
}

.quote {
  color: rgb(226, 226, 226);
  font-size: 20px;
  font-weight: bold;
  position: sticky;
  top: 8vh;
  width: 600px;
  padding: 2em 2em 2em 2em;
  background: #5d4954;
  margin-left: 0px;
  margin-bottom: 310px;
}

.a1 p {
  font-size: 18px;
  max-width: 750px;
  margin-left: 40px;
  line-height: 1.5em;
}

.a1-2 p {
  font-size: 18px;
  max-width: 750px;
  margin-left: 40px;
  line-height: 1.5em;
}

.a2 p {
  font-size: 18px;
  max-width: 750px;
  margin-left: 40px;
  line-height: 1.5em;
}

.a2-2 p {
  font-size: 18px;
  max-width: 750px;
  margin-left: 40px;
  line-height: 1.5em;
}

.a2-3 p {
  font-size: 18px;
  max-width: 750px;
  margin-left: 40px;
  line-height: 1.5em;
}

.a2-4 p {
  font-size: 18px;
  max-width: 750px;
  margin-left: 40px;
  line-height: 1.5em;
}

.a2-5 p {
  font-size: 18px;
  max-width: 750px;
  margin-left: 40px;
  line-height: 1.5em;
}

.a3 p {
  font-size: 18px;
  max-width: 750px;
  margin-left: 40px;
  line-height: 1.5em;
}

.a3-2 p {
  font-size: 18px;
  max-width: 750px;
  margin-left: 40px;
  line-height: 1.5em;
}

.a4 p {
  font-size: 18px;
  max-width: 750px;
  margin-left: 40px;
  line-height: 1.5em;
}

.a4-2 p {
  font-size: 18px;
  max-width: 750px;
  margin-left: 40px;
  line-height: 1.5em;
}

.a5 p {
  font-size: 18px;
  max-width: 750px;
  margin-left: 40px;
  line-height: 1.5em;
}

.a6 p {
  font-size: 18px;
  max-width: 750px;
  margin-left: 40px;
  line-height: 1.5em;
}

.a6-2 p {
  font-size: 18px;
  max-width: 750px;
  margin-left: 40px;
  line-height: 1.5em;
}

.a6-3 p {
  font-size: 18px;
  max-width: 750px;
  margin-left: 40px;
  line-height: 1.5em;
}

.a7 p {
  font-size: 18px;
  max-width: 55%;
  margin-left: 40px;
  line-height: 1.5em;
}

.a8 p {
  font-size: 14px;
  background: white;
  max-width: 55%;
  padding-left: 30px;
}

.a8-2 p {
  font-size: 14px;
  background: white;
  max-width: 55%;
  padding-left: 30px;
}

.a8-3 p {
  font-size: 14px;
  background: white;
  max-width: 55%;
  padding-left: 30px;
}

/* Article Sections */

.a1 {
  /* z-index: -1; */
  padding-top: 2em;
  width: 100%;
  height: 87%;
  position: sticky;
  top: 8vh;
  background: white;
}

.a1-2 {
  padding-top: 1em;
  width: 100%;
  height: 75%;
  position: sticky;
  top: 8vh;
  background: white;
  /* width: 100%;
  height: 75%;
  position: sticky;
  top: 8vh;
  background: white;
  padding-top: 1em;
  padding-bottom: 15em; */
}

.a2 {
  padding-top: 1em;
  width: 100%;
  height: 75%;
  position: sticky;
  top: 8vh;
  background: white;
}

.a2-2 {
  padding-top: 1em;
  width: 100%;
  height: 81%;
  position: sticky;
  top: 8vh;
  background: white;
}

.a2-3 {
  padding-top: 1em;
  width: 100%;
  height: 70%;
  position: sticky;
  top: 8vh;
  background: white;
}

.a2-4 {
  padding-top: 1em;
  width: 100%;
  height: 90%;
  position: sticky;
  top: 8vh;
  background: white;
}

.a2-5 {
  padding-top: 1em;
  width: 100%;
  height: 75%;
  position: sticky;
  top: 8vh;
  background: white;
}

.a3 {
  padding-top: 1em;
  width: 100%;
  height: 90%;
  position: sticky;
  top: 8vh;
  background: white;
}

.a3-2 {
  padding-top: 1em;
  width: 100%;
  height: 86%;
  position: sticky;
  top: 8vh;
  background: white;
}

.a4 {
  padding-top: 1em;
  width: 100%;
  height: 90%;
  position: sticky;
  top: 8vh;
  background: white;
}

.a4-2 {
  padding-top: 1em;
  width: 100%;
  height: 86%;
  position: sticky;
  top: 8vh;
  background: white;
}

.a5 {
  padding-top: 1em;
  width: 100%;
  height: 90%;
  position: sticky;
  top: 8vh;
  background: white;
}

.a6 {
  padding-top: 1em;
  width: 100%;
  height: 95%;
  position: sticky;
  top: 8vh;
  background: white;
}

.a6-2 {
  padding-top: 1em;
  width: 100%;
  height: 95%;
  position: sticky;
  top: 8vh;
  background: white;
}

.a6-3 {
  padding-top: 1em;
  width: 100%;
  height: 70%;
  position: sticky;
  top: 8vh;
  background: white;
}

.a7 {
  width: 72%;
  height: 86%;
  position: sticky;
  top: 8vh;
  background: white;
  padding-top: 1em;
}
.afoot {
  position: sticky;
  top: 7vh;
  background: white;
}
.a8 {
  width: 72%;
  height: 86%;
  position: sticky;
  top: 8vh;
  background: white;
  padding-top: 1em;
}

.a8-2 {
  width: 72%;
  height: 86%;
  position: sticky;
  top: 8vh;
  background: white;
  padding-top: 1em;
}

.a8-3 {
  width: 72%;
  height: 100%;
  position: sticky;
  top: 7vh;
  background: white;
  padding-top: 1em;
}

/*On Hover Color Change*/
#myBtn:hover {
  background-color: rgb(226, 226, 226);
}

/* unvisited link */
a sup:link {
  color: #5d4954;
}

/* visited link */
a sup:visited {
  color: rgb(226, 226, 226);
}

/* mouse over link */
a sup:hover {
  color: thistle;
}

/* selected link */
a sup:active {
  color: rgb(226, 226, 226);
}
