* {
  margin: 0;
  padding: 0;
  font-family: "Lato", Arial, sans-serif;
  background-color: #faf7f4;
  color: black;
}
p,
a,
h1,
h2,
h3 {
  color: black;
  background-color: transparent;
}
h1,
h2 {
  color: #061a15;
}
button {
  cursor: pointer;
}
/* --- NAV BAR --- */
nav {
  display: flex;
  position: absolute;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  background-color: transparent;
  z-index: 3;
}
.n-left {
  padding-left: 50px;
}
.n-left img {
  max-width: 100px;
  background-color: transparent;
}
nav .n-middle {
  gap: 35px;
  display: flex;
}
.n-right {
  padding-right: 25px;
}
.n-right a {
  position: relative;
  padding: 10px 20px;
  display: inline-block;
}
nav a {
  font-weight: 700;
  text-decoration: none;
  color: black;
}
nav p {
  font-size: 1.2em;
  font-weight: 1000;
  color: black;
}
.mobile-menu-icon {
  display: none;
}
.mobile-menu-icon svg {
  width: 45px;
  height: 45px;
  color: black;
  cursor: pointer;
}
.n-left,
.n-middle,
.n-right,
nav a,
nav p {
  background-color: transparent;
}

@media (max-width: 768px) {
  .mobile-menu-icon {
    display: block;
    padding-right: 20px;
  }
  .n-middle a,
  .n-right a {
    display: none;
  }
  .mobile-menu {
    display: none;
    position: absolute;
    top: 70%;
    right: 0;
    background: #1e1e1e;
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    border-radius: 6px;
    margin-right: 4%;
    font-size: 1.4em;
  }
  .mobile-menu.open {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
}
/* Hide mobile menu on desktop */
.mobile-menu {
  display: none;
}

footer {
  width: 100%;
  height: 60px;
  background-color: #040e0a;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10%;
}
footer p,
footer a {
  color: #fff;
  font-size: 1.125rem;
}
.footer-icons {
  display: flex;
  gap: 20px;
  background-color: transparent;
}
.footer-icons img {
  width: 20px;
  height: 20px;
  border-radius: 50px;
  padding: 10px;
  cursor: pointer;
}
@media(max-width:768px) {
  footer{
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 10px;
    padding: 20px 0;
  }
}
/* --- FADE IN --- */
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
 
.fade-in.show,
.fade-in-left.show,
.fade-in-right.show {
  opacity: 1;
  transform: translate(0);
}
.fade-in-late {
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.25, 0, 0.25, 1);
  will-change: opacity;
}
.fade-in-late.show {
  opacity: 1;
}