.whatever {
  font-size: 1.2em;
  color: #a80000;
  margin: 20px;
}

nav ul {
  list-style: none;
  /* removes bullets */
  padding: 0;
  /* removes default padding */
  margin: 0;
  /* removes default margin */
  display: flex;
  /* arranges <li> items horizontally */
  gap: 20px;
  /* optional: space between items */
}

nav li a {
  text-decoration: none;
  /* optional: removes underline */
  color: black;
  /* optional: set link color */
}

.nav-container {
  display: flex;
  position: fixed;
  justify-content: space-between;
  /* space between logo and menu */
  align-items: center;
  padding: 0px 20px;
  background-color: transparent;
  z-index: 1001;
  width: 97.86vw;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  /* space between menu items */
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  display: flex;
  align-items: center;
  /* vertical centering */
  height: 100%;
  /* ensure full height of parent */
  text-decoration: none;
  color: black;
  padding: 8px 12px;
  /* adjust as needed */
  font-size: 20px;
}

.nav-menu {
  display: flex;
  align-items: center;
  /* aligns all li's vertically */
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu li {
  display: flex;
  align-items: center;
  /* aligns anchor within li */
}

/* Fixed menu button */
.menu-button {
  position: fixed;
  z-index: 1001;
  background: none;
  border: none;
  cursor: pointer;
  width: 100px;
  height: 100px;
  padding: 0;
  display: flex;
  justify-content: center;
  align-content: center;
  filter: drop-shadow(0 0 0 black) drop-shadow(0 0 4px black);
  margin-left: calc(100% - 140px);
}

/* Links row */
.menu-links {
  display: flex;
  gap: 40px;
}

/* Link styles */
.menu-links a {
  color: white;
  text-decoration: none;
  font-size: 2rem;
  font-family: sans-serif;
  transition: opacity 0.3s ease;
}

.menu-links a:hover {
  opacity: 0.7;
}

/* Fullscreen overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Display overlay when active */
.overlay.active {
  display: flex;
}

.logo a {
  margin: 0;
  font-size: 1.5rem;
  text-decoration: none;
  color: inherit;
}

.menu-button {
  background-color: #ffffff00;
  border: none;
  cursor: pointer;
}

#menuLottie {
  width: 100px;
  height: 100px;
}

#tryMeWrapper {
  position: absolute;
  pointer-events: none;
  padding-top: 50px;
}

#tryMePlayer {
  width: 100px;
  height: 300px;
}

.menu-icon {
  width: 20px;
  height: 20px;
  fill: white;
  transition: transform 0.3s ease;
}

.scrollCon {
  width: 378px;
  overflow: hidden;
  white-space: nowrap;
  background: #1110;
  color: #fff;
  font-family: monospace;
  padding: 10px 0;
  position: relative;

  /* Fading effect on edges */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
}

@media (min-width: 768px) {
  #home {
    padding: 200px 11vw 15vh;
  }
}
@media (max-width: 1600px) {
  #home {
    padding: 100px 11vw 22vh;
  }
}

#scroll-wrapper {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
}

.scroll-text {
  display: inline-block;
}

.bullet {
  opacity: 0.4;
}

.caret {
  color: lime;
}

.caret-end {
  display: inline-block;
  background-color: white;
  animation: blink 1s step-end infinite;
  margin-left: -5px;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

body,
html {
  margin: 0;
  padding: 0;
}

.project-detail-page {
  margin: 0px;
  background: linear-gradient(to bottom, #929292, #e6e6e686, #e6e6e652);
  align-content: center;
  display: flex;
  position: relative;
  justify-content: center;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
}

.video-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.video-section video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.video-hero {
  position: relative;
  width: 70%;
  padding: 10px;
  object-fit: cover;
  z-index: 0;
}

.main-pic {
  position: relative;
  width: 40%;
  object-fit: cover;
  z-index: 0;
}

.content {
  position: relative;
  z-index: 1;
  color: white;
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.project-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 20px;
  padding: 20px;
  width: 90%;
}

.quick-facts {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  gap: 20px;
  padding: 20px;
  width: fit-content;
  height: fit-content;
  background-color: rgb(42, 42, 42);
  top: 3.5%;
  right: 13vw;
  z-index: 995;
  border-radius: 8px;
  color: white;
  font-family: monospace;
  font-size: 1rem;
}

.quick-facts-title {
  text-decoration-line: underline;
}

.quick-facts-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.project-detail-card {
  height: fit-content;
  width: 68vw;
  margin: 100px 0 60px;
  padding: 50px 100px;
  background-color: white;
  filter: drop-shadow(0 0 0 #505050) drop-shadow(0 0 12px #3a2222);
  border-radius: 12px;
  justify-content: center;
  display: flex;
}

#footer {
  position: fixed;
  bottom: -50px;
  width: 100%;
  height: 50px;
  background-color: rgb(51, 51, 51);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: bottom 0.3s;
  flex-direction: row;
  gap: 2vw;
}

#footer p,
#footer .footerSocial {
  margin: 0;
}

#footer .footer-email {
  margin: 0 2vw;
}

#footer .footerSocial {
  color: rgba(255, 255, 255, 0.66);
  text-decoration: none;
}

#footer .footerSocial:hover {
  text-decoration: underline;
}

.gallery-img {
  width: 30%;
  aspect-ratio: 4/3;
  object-fit: contain;
  border: 1px solid;
  cursor: pointer;
  border-radius: 8px;
  margin: 10px;
  transition: transform 0.3s ease;
  background-color: black;
}

.gallery-img:hover:not(.enlarged) {
  transform: scale(1.05);
}

.gallery-img.enlarged {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  z-index: 1001;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.image-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 1000;
}

#personal-photo {
  will-change: opacity;
  transition: opacity 0.3s linear;
  opacity: 1;
}
