/* Import Custom Font */
@font-face {
  font-family: 'Maladroit';
  src: url('../fonts/maladroit.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Global Styles */
body, html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Maladroit', Arial, sans-serif;
  color: white;
  background: #1c1c1c; /* Dark metallic */
  width: 100%;
  height: 100%;
  background-color: #202020; /* Dark gray background */
}

/* Make both canvas elements responsive and fill the screen */
canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw; /* Full viewport width */
  height: 100vh; /* Full viewport height */
  border: none; /* Remove borders */
}

.lowerRight {
  margin: 2px;
  font-family: serif;
  font-size: large;
  color: rgba(160, 32, 240, 1); /* Purple text */
  position: fixed;
  right: 10px;
  bottom: 10px;
}

/* Landing Screen */
.landing-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background: linear-gradient(145deg, #2e2e2e, #474747);
  color: #e0e0e0;
  text-align: center;
  font-family: 'Maladroit', Arial, sans-serif;
}

.landing-screen h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.launch-btn {
  padding: 15px 30px;
  font-size: 1.2rem;
  color: white;
  background: #7e57c2; /* Purple laser effect */
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Maladroit', Arial, sans-serif;
}

.launch-btn:hover {
  background: #b388ff;
  box-shadow: 0 0 20px #b388ff;
}

.hidden {
  display: none;
}

/* Navigation Bar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px; /* Adjusted padding to prevent overflow */
  font-size: 2EM;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: 100%; /* Prevents the navbar from extending outside the viewport */
  z-index: 10;
  font-family: 'Maladroit', Arial, sans-serif;
  overflow: hidden; /* Ensures no child elements exceed the navbar boundaries */
}

/* Ensure consistent spacing between logo and title */
.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px; /* Provides consistent spacing between elements */
  flex-shrink: 0; /* Prevents the logo section from shrinking */
}

.navbar .logo img {
  width: 40px;
  height: auto;
  margin-right: 10px;
}

/* Right-side social icons */
.navbar .social-icons {
  display: flex;
  align-items: center;
  gap: 15px; /* Space between social icons */
  flex-shrink: 0; /* Prevents the icons from shrinking or overlapping */
}

.navbar .social-icons a img {
  width: 40px;
  height: auto;
  transition: all 0.3s ease-in-out;
  filter: brightness(100%);
}

.navbar .social-icons a img:hover {
  filter: brightness(150%);
  box-shadow: 0 0 20px rgba(126, 87, 194, 0.8); /* Purple glow */
  transform: scale(1.1);
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh; /* Adjusted height to make the hero section smaller */
  background: #1c1c1c; /* Dark background */
  font-family: 'Maladroit', Arial, sans-serif;
  position: relative;
  padding: 20px; /* Optional padding for spacing */
}

/* Hero Image */
.hero-image {
  max-width: 70%; /* Restrict the size of the image */
  max-height: 70%; /* Ensure it doesn't overflow */
  object-fit: contain; /* Ensure proper scaling of the image */
  border-radius: 10px; /* Optional: Add rounded corners */
  box-shadow: 0 0 20px rgba(126, 87, 194, 0.8); /* Optional: Add a purple glow effect */
}

/* Optional: Add a centered overlay or text */
.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  font-size: 1.5rem;
}


/* Background Video */
#background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1; /* Place the video behind all content */
}

/* Main Content */
.main-content {
  position: relative;
  z-index: 1; /* Ensure content appears above the video */
}