/* -------------------- Smooth Scroll -------------------- */
html {
  scroll-behavior: smooth;
}

/* -------------------- Body & Layout -------------------- */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: white;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 0.6s ease;
}

body.loaded {
  opacity: 1;
}

/* -------------------- Menu Bar -------------------- */
.menu-bar {
  position: fixed;       /* stays on top */
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 50px;
  display: flex;
  justify-content: right; /* align items to right */
  background-color: rgba(255, 255, 255, 0.1); /* transparent glass effect */
  backdrop-filter: blur(0px); 
  -webkit-backdrop-filter: blur(10px);
  z-index: 10;           /* above everything */
  box-sizing: border-box;
}

.menu-bar nav a {
  margin-left: 30px;
  color: white;
  text-decoration: none;
  font-family: "Fira Code", monospace;
  font-size: 1.2rem;
  transition: color 0.3s, transform 0.3s;
}

.menu-bar nav a:hover {
  color: #ffd700; /* subtle hover highlight */
  transform: scale(1.1); /* slight zoom on hover */
}

/* -------------------- Landing Page Grid -------------------- */
.parent {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 1px;
  text-align: center;
  align-items: center;
  justify-items: center;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* -------------------- Video Background -------------------- */
.video-background {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1; /* behind content */
  overflow: hidden;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-background::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4); /* overlay to make text readable */
}

/* -------------------- Animations -------------------- */
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes typing {
  0% { width: 0; }
  50% { width: 7ch; } /* WELCOME = 7 letters */
  100% { width: 0; }
}

@keyframes wave {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px); /* small upward wave */
  }
}

/* -------------------- Div1 (Welcome) -------------------- */
.div1 {
  grid-column: span 5;
  grid-row-start: 2;
  font-size: 5rem;
  font-family: "Parisienne", cursive;
  text-shadow: 0 4px 10px rgba(0,0,0,0.6);
  overflow: hidden;
  white-space: nowrap;
  border-right: 4px solid white; /* typewriter cursor */
  box-sizing: border-box;
  animation: fadeSlide 1s ease forwards, typing 3s steps(100) infinite;
}

/* -------------------- Div3 (Subtext) -------------------- */
.div3 {
  grid-column: span 5;
  grid-row-start: 3;
  font-size: 2rem;
  font-family: "Parisienne", cursive;
  text-shadow: 0 4px 10px rgba(0,0,0,0.6);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlide 1s ease forwards;
  animation-delay: 1s;
}

/* -------------------- Div2 (Button) -------------------- */
.div2 {
  grid-column: 2 / span 3;
  grid-row-start: 4;
  background-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(0.5px);
  -webkit-backdrop-filter: blur(0.5px);
  border-radius: 15px;
  padding: 16px 32px;
  font-family: "Parisienne", cursive;
  font-size: 1.5rem;
  text-align: center;
  text-decoration: none;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlide 1s ease forwards;
  animation-delay: 2s;
  transition: background-color 0.3s, transform 0.3s;
}

.div2:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.div2 a {
  color: white;
  text-decoration: none;
}

/* -------------------- About Section -------------------- */
.about-section, 
.contact-section,
.more-section {
  width: 100%;
  min-height: 100vh;
  padding: 40px 20px; /* gives breathing space on small screens */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.8));
  box-sizing: border-box;
}

.contact-section {
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.7));
}

/* Containers centered with resizable width */
.about-container,
.contact-container,
.more-container {
  max-width: 800px;
  width: 100%;        /* makes it responsive */
  padding: 20px;      /* ensures content doesn’t touch edges */
  box-sizing: border-box;
}

/* Headings */
.about-section h2,
.contact-section h2,
.more-section h2 {
  font-family: "Parisienne", cursive;
  font-size: clamp(2rem, 5vw, 4rem); /* responsive font size */
  margin-bottom: 20px;
  display: inline-block;
  animation: wave 1s ease-in-out infinite;
}

/* Paragraphs */
.about-section p,
.contact-section p {
  font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.8rem;
  font-family: "Fira Code", monospace;
}

.more-section p {
  text-align: justify;
}
.contact-section p a {
  text-decoration: none;
  color: white;
}


/* Typewriter for headings */
.typewriter {
  overflow: hidden;           /* hide overflow */
  border-right: 4px solid white; /* cursor */
  white-space: nowrap;
  animation: typing 3s steps(20) infinite, blink 0.7s step-end infinite;
}

.contact-container svg.discord-icon {
  width: 1.5em;          /* scales relative to text */
  height: 1.5em;
  vertical-align: middle; /* aligns with text baseline */
  margin-right: 8px;      /* space between icon and text */
  fill: white;            /* match text color */

}






