/* Background + Layout */
body, html {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background-image: url(https://img1.wsimg.com/isteam/stock/111882);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #f2f2f2;
  overflow-y: auto;
}

/* Navigation Bar */
.TopNavBackground {
  background-color: #333;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.TopNav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px;
}

.TopNav a {
  color: #f2f2f2;
  text-decoration: none;
  font-size: 24px;
  padding: 6px 8px;
}

.TopNav a:hover {
  background-color: #ddd;
  color: #000;
}

.TopNav a.active {
  background-color: rgb(154, 0, 0);
  color: #fff;
}

.left-nav a {
  margin-right: 30px;
}

/* Main Content */
.TitleHeader {
  font-size: 48px;
  font-weight: bold;
  margin-top: 140px;
  text-align: center;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

.Selfie {
  display: block;
  margin: 30px auto 20px auto;
  width: 200px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.TextHeader {
  font-size: 18px;
  max-width: 900px;
  margin: 20px auto 60px auto;
  text-align: center;
  line-height: 1.8;
  padding: 0 20px;
}

/* Footer Links */
.footer-links {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
}

.footer-links a {
  color: #f2f2f2;
  text-decoration: none;
  margin: 0 8px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Fade In */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-1,
.fade-in-2,
.fade-in-3 {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-1 { animation-delay: 0.2s; }
.fade-in-2 { animation-delay: 0.5s; }
.fade-in-3 { animation-delay: 0.8s; }

/* Mobile Tweaks */
@media (max-width: 768px) {
  .TopNav a {
    font-size: 18px;
  }

  .TitleHeader {
    font-size: 36px;
  }

  .TextHeader {
    font-size: 16px;
  }

  .Selfie {
    width: 150px;
  }
}

.about-wrapper {
  margin-top: 0px;
  padding: 0px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(0, 0, 0, 0.65); /* dark translucent box */
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  color: #f2f2f2;
}
