@import url('https://api.fontshare.com/css?f[]=satoshi@400,500,600,700&display=swap');

body {
  font-family: 'Satoshi', monospace;
  font-weight: 400;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background: #f8f8f8;
  color: #3B2C29;
  font-size: 20px; /* <-- Add this line */
}

/* Shared layout wrapper for consistent left alignment */
.content-wrapper {
  padding-left: 4rem;   /* <<< THIS controls how far content is from left */
  padding-right: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Header sticks and is aligned using .content-wrapper inside it */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #7095f3ac;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.sticky-header .content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

#glitter-name {
  position: relative;
  cursor: pointer;
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
  font-family: 'Satoshi',  sans-serif;

}

#glitter-name:hover {
  animation: wiggle 0.3s ease-in-out;
}

#glitter-name-link {
  text-decoration: none;
}

#glitter-name-link:hover {
  text-decoration: none;
}

.glitter-dot {
  position: absolute;
  width: var(--size, 3px);
  height: var(--size, 3px);
  border-radius: 50%;
  background: radial-gradient(circle at center, #fff, #bbb);
  filter: drop-shadow(0 0 4px #fff);
  opacity: var(--opacity, 0.8);
  pointer-events: none;
  animation: glitter-up 1.2s forwards;
}

@keyframes glitter-up {
  0% {
    opacity: var(--opacity, 0.8);
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--x, 0), var(--y, -20px)) scale(0.3);
  }
}

.profile-photo-header img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .profile-photo-header img {
    width: 40px;
    height: 40px;
  }
}

/* Nav styles */
#main-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

#main-nav a {
  font-weight: 300;
  color: #ffffff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.3s;
}

#main-nav a.active {
  font-weight: 700;
  text-decoration: underline;
}

#main-nav a:hover {
  background-color: #7095F3;
}

/* Hero section with image and text */
#home-hero {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}


.intro-text {
  max-width: 800px;
  flex: 1;
}
.intro-container img {
  width: 250px; /* or any size you like */
  height: auto; /* keeps the aspect ratio */
}

.intro-text h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.intro-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.intro-photo img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.intro-photo img:hover {
  transform: scale(1.08);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.15);
}

.intro-container {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap; /* allow stacking on smaller screens */
}

@media (max-width: 768px) {
  .intro-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .intro-photo img {
    width: 100%;
    max-width: 300px;
  }

  .intro-text {
    text-align: left;
    width: 100%;
  }
}

.intro-photo img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.intro-photo img:hover {
  transform: scale(1.08);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.15);
}

.intro-text {
  flex: 1;
  min-width: 250px;
}


/* Section content spacing */
section {
  padding: 2rem 0;
}

/* Align sections too using the same wrapper */
section .content-wrapper {
  display: block;
}

/* Footer and misc */
footer {
  text-align: center;
  padding: 2rem;
  background: #ffef9e;
  font-size: 0.9em;
}

a {
  color: #cb3b21;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#contact-icons {
  padding: 2rem;
  display: flex;
  justify-content: center;
}

.icon-row {
  display: flex;
  gap: 20px; /* adjust spacing here */
}

.icon-row a {
  color: #cb3b21;
  transition: transform 0.2s ease;
}

.icon-row a:hover {
  transform: scale(1.2);
  color: #7095f3ac; /* optional darker hover color */
}

.italic-tagline {
  opacity: 0.9;
  color: #cb3b21;
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeInLeft 1.5s ease-out forwards;
  font-style: italic;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#contact-form form {
  max-width: 600px;
  margin-top: 1rem;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  color: #000;
}

#contact-form button {
  padding: 12px 24px;
  background-color: #cb3b21;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

#contact-form button:hover {
  background-color: #7095f3ac;
}

.glitter-name-with-moon {
  display: flex;
  align-items: center;
  gap: 12px; /* spacing between name and moon */
  text-decoration: none;
}

.moon-gif {
  width: 45px;
  height: auto;
  object-fit: contain;
  border-radius: 50%;
  animation: float 4s ease-in-out infinite;
}

/* Optional: gentle float animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-4px);
  }
}

.resume-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #7095F3;
  color: #ffffff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.resume-link:hover {
  background-color: #cb3b21;
}
.resume-download {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.resume-link {
  display: inline-block;
  padding: 12px 24px;
  background-color: #3B2C29;
  color: #ffffff;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.resume-link:hover {
  background-color: #3B2C29;
}

.resume-link i {
  margin-right: 8px;
}

.icon-row a {
  color: #cb3b21;
  transition: transform 0.4s ease;
  animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}