@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Karla:ital,wght@0,200..800;1,200..800&display=swap');

body {
  margin: 0;
  padding: 0;
  font-family: "DM Sans", Arial, sans-serif;
  background-color: #ffffff;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  text-align: center;
}

.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  pointer-events: none; /* so clicks go through video */
}

.container {
  max-width: 600px;
  padding: 20px;
  width: 90%;
  box-sizing: border-box;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertically center content */
  margin: 0 auto;
}

.container a {
  position: relative;
  text-decoration: none;
  color: inherit; /* keep your link color */
}

.container a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px; /* adjust distance from text */
  height: 2px;
  width: 0;
  background-color: currentColor; /* underline uses the link's text color */
  transition: width 0.3s ease;
}

.container a:hover::after {
  width: 100%;
}

.logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 300px;
  height: auto;
  margin-bottom: 1.5rem;
  width: 80%;
}

.tagline {
  font-size: 1.1rem;
  line-height: 1.5;
}

.footer {
  font-size: 0.9rem;
  color: #aaa;
  text-align: center;
  width: 100%;
  padding: 10px 0;
  /* border-top: 1px solid #ddd; */
  /* stays at bottom because body is flex container with min-height: 100vh */
}

.footer a {
  position: relative;
  text-decoration: none;
  color: #ffffff; /* keep your link color */
}

.footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px; /* adjust distance from text */
  height: 2px;
  width: 0;
  background-color: currentColor; /* underline uses the link's text color */
  transition: width 0.3s ease;
}

.footer a:hover::after {
  width: 100%;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .logo {
    min-width: 180px;
    margin-bottom: 1rem;
  }
  .tagline {
    font-size: 1rem;
  }
}

@media (max-width: 320px) {
  .tagline {
    font-size: 0.9rem;
  }
}
