/* Centered floating intro box */
.intro-box {
  position: fixed; /* Fixed to viewport */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center horizontally and vertically */
  background-color: rgba(66, 66, 66, 0.965); /* Dark translucent background */
  color: rgb(255, 255, 255);
  padding: 50px 150px;
  min-height: 150px;
  max-width: 800px;
  width: 90%;
  border-radius: 15px;
  box-shadow: 0 8px 25px #00aaff;
  z-index: 1001;
}

/* Headings */
.intro-box h1 {
  margin: 0 0 25px;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
}

.intro-box h2 {
  margin: 0 0 20px;
  font-size: 1.5rem;
  font-weight: 400;
  color: #00aaff; /* Accent color */
  text-align: center;
}

.intro-box h3 {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff; /* Accent color */
}

.intro-box p {
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: 200;
}

.intro-box ul {
  list-style-type: square;
  padding-left: 20px;
}

p.resume-link-note {
  font-size: 0.8rem;
  color: #ffffff;
  text-align: center;
}

/* Background video styling */
#background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover; /* Cover entire viewport */
  z-index: -2; /* Behind everything */
  pointer-events: none; /* Allow clicks through */
}

/* Overlay to dim the video */
#video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(165, 165, 165, 0.07);
  z-index: -1; /* Above video but behind content */
  pointer-events: none;
}
