/* Fonts */
@font-face {
  font-family: 'GrotesqueMTStdLight';
  src: url('grotesquemtstd-light.eot');
  src: url('grotesquemtstd-light.eot?#iefix') format('embedded-opentype'),
       url('grotesquemtstd-light.woff') format('woff'),
       url('grotesquemtstd-light.ttf') format('truetype'),
       url('grotesquemtstd-light.svg#GrotesqueMTStdLight') format('svg');
}

/* Reset */
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  font-family: 'GrotesqueMTStdLight', sans-serif;
}

/* Background Videos */
#myVideo1,
#myVideo2 {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -1;
  display: none;
  pointer-events: none; /* <-- add this line */
}

#myVideo1 {
  display: block;
}

@media (max-width: 697px) {
  #myVideo1 {
    display: none;
  }
  #myVideo2 {
    display: block;
  }
}

/* Centering the container */
.center-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
z-index: 1; /* <<< THIS LINE IS MISSING */
}

/* Logo Styles */
.logo,
.logo2 {
  width: 520px;
  max-width: 90vw;
}

@media (max-width: 997px) {
  .logo,
  .logo2 {
    width: 430px;
  }
}

@media (max-width: 697px) {
  .logo,
  .logo2 {margin-top:20px;
    width: 360px;
  }
.fade-in.logo {
    margin-top: 100px;
}
}

/* Fade-in Animations */
.fade-in {
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
}

.fade-in.logo {
  animation-delay: 0.5s;
}

.fade-in.logo2 {
  animation-delay: 2s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.center-wrapper a {
  display: inline-block;
  cursor: pointer;
}

/* Login Overlay */
.login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.login-overlay.show {
  opacity: 1;
  pointer-events: all;
}

/* Close Button */
.close-button {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  z-index: 1000;
}

/* Login Form */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background: #111;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
width: 400px; /* <<< add this */
  max-width: 90%;
}

.login-form h2 {
  color: white;
  margin-bottom: 20px;
  text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 3px;
}

.login-form input {
  padding: 10px;text-align: center;
  border: none;
  border-radius: 5px;
  outline: none;
  font-size: 12px; /* smaller text */
  text-transform: uppercase; /* all caps */
  background: #222;letter-spacing: 2px;
  color: white;
}

.login-form button {
  padding: 10px;
  background: grey;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  text-transform: uppercase;
}


