html,
body {
  margin: 0;
  height: 100%;
  width: 100%;
  font-family: "Red Hat Display", sans-serif;
  background-color: rgb(77, 47, 2);
  color: white;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-image: url("imgs/500MainBackground.png");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.navbar {
  position: fixed;
  display: flex;
  height: 100px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.head-text {
  margin-left: 20px;
  font-size: 20px;
  font-family: "Pinyon Script", cursive;
}

.nav {
  display: flex;
  margin-left: auto;
  margin-right: 20px;
  align-items: center;
  gap: 80px;
}

.nav a {
  text-decoration: none;
  font-size: 25px;
  color: white;
  font-weight: bold;
}

.nav a:hover {
  transition: 0.3s ease-in-out;
  color: rgba(218, 135, 12, 0.7);
  font-size: 28px;
}

.title-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 0vh;
  font-size: 45px;
  font-family: "Aref Ruqaa", serif;
  text-align: center;
}

heroku domains -a miller-building-site


footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 30px;
  display: flex;
  align-items: center;
  border-top: 2px solid black;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 3; /* ABOVE overlay and background */
}


#footer-r {
  margin-left: auto;
  margin-right: 20px;
}

#footer-l {
  margin-left: 20px;
}

footer a {
  text-decoration: none;
  color: white;
  font-weight: bold;
}

.overlay {
  position: relative;
  z-index: 2;
}



.rotate-warnning img {
  background-color: white;
}

#intro-animation {
  position: fixed;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background-color: black;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family: "Red Hat Display", sans-serif;
  text-align: center;
  overflow: hidden;
}

.intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  opacity: 0;
  animation: introFadeIn 2s ease-in forwards;
  animation-delay: 1s;
}

@keyframes introFadeIn {
  to {
    opacity: 1;
  }
}

.intro-line {
  margin-top: 40px;
  font-weight: bold;
  font-size: 50px;
  opacity: 0;
  animation: fadeInItem 2s forwards;
  animation-delay: 1.5s;
  margin-bottom: 20px;
}

.intro-line.dev-credit {
  font-weight: bold;
  font-size: 50px;
  animation-delay: 4.5s;
}

.intro-images {
  display: flex;
  gap: 60px;
  opacity: 0;
  animation: fadeInItem 1s forwards;
  animation-delay: 3s;
  align-items: center;
}

.intro-images img {
  height: 400px;
  width: auto;
  object-fit: contain;
}

#geraldImg {
  filter: brightness(0) invert(1);
  height: 250px;
  width: 500px;
}

@keyframes fadeInItem {
  to {
    opacity: 1;
  }
}

.fade-out-intro {
  animation: fadeOut 2s forwards;
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@media (max-width: 900px) {

    .background {
  background-image: url("imgs/500MainBackgroundMobile.png");
    }

    .navbar {
        height: 80px;
        flex-direction: column;
    }
    
    .head-text {
        font-size: 15px;
        margin: auto;
          margin-top: 5px;
          text-align: center;
    }

    .nav {
      margin: 0px 0px;
      gap: 40px;
      justify-content: center;
    }
    .nav a {
        font-size: 20px;
    }

    .nav a:hover {
      font-size: 22px;
    }

    .title-text {
        font-size: 25px;
        margin-top: 100px;
    }

    .title-text p {
        margin-top: 0;
    }

    footer {
      display: none;
    }

    .intro-images {
      gap: 50px;
      flex-direction: column;
    }

    .intro-images img {
       height: 300px;
       width: auto;
    }

    #geraldImg {
      width: 300px;
      height: auto;
    }

    .intro-line {
      font-size: 22px;
      margin-bottom: 10px;
      margin-top: 5px;
    }

    .intro-line.dev-credit {
      font-size: 20px;
      margin-top: 0;
      margin: 0;
    }
}
