body {
  margin-left: 5%;
  margin-right: 5%;
  background: linear-gradient(rgb(15, 15, 15), rgb(5, 34, 53));
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.navbar {
  position: fixed;
  left: 0px;
  top: 0px;
  display: block;
  width: 100%;
  height: 70px;
  border-bottom: 3px solid rgb(3, 198, 214);
  background-color: rgb(15, 15, 15);
}

.home-row {
  width: 90%; /* Width of the home row */
  position: relative;
  z-index: 999;
  top: 3%;
  left: 5%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.nav-link {
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  color: white;
  margin-right: 4%; /* Width of the margin */
}

.nav-link:hover {
  color: rgb(3, 198, 214);
  text-decoration: underline;
}

.nav-link:active {
  text-shadow: 0px 0px 5px aqua;
}

.selected-page {
  color: rgb(3, 198, 214);
  text-decoration: underline;
  text-shadow: 0px 0px 5px blue;
}

#homeButton {
  float: left;
  user-select: none;
}

#homeButton:hover {
  animation: 5s linear 0s infinite running logoRotate forwards;
  cursor: pointer;
}

@keyframes logoRotate {
  100% {
    transform: rotateZ(360deg);
  }
}

h1{
  color: white;
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 75px;
  padding-bottom: 10px;
}

h2 {
  color: white;
  font-family: "Poppins", sans-serif;
  font-size: 40px;
}

h3 {
  color: white;
  font-family: "Poppins", sans-serif;
  font-size: 25px;
}

p {
  color: whitesmoke;
  font-family: "Lato", sans-serif;
  font-size: 20px;
}

.normal-link {
  color: rgb(3, 198, 214);
  font-family: "Lato", sans-serif;
  font-size: 20px;
}

.normal-link:hover {
  color: aqua;
}

.normal-link:active{
  text-shadow: 0px 0px 10px aqua;
}

.normal-link:visited {
  color: rgb(204, 230, 255);
}

@media (max-width: 768px) {
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 30px;
  }
}

@media screen and (min-width: 768px) {
  .nav-link {
    margin-right: 2%;
  }
}

.image-caption {
  font-size: 18px;
  color: rgb(191, 191, 191);
  margin-top: 0px;
}