/* General Reset */
html, body {
  height: 100%;
  margin: 0;
  overflow: auto; /* Prevent scrolling */
  scroll-behavior: smooth;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1.6;
  box-sizing: border-box;
}

/* Background Video */
#bgVideo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  opacity: 1;
  animation: fadeIn 5s;
}

/* Font Imports */
@font-face {
  font-family: "Aileron";
  src: url("../Assets/Ailerons/Ailerons-Typeface.otf");
}

@font-face {
  font-family: "Arame";
  src: url("../Assets/Arame/Arame-Mono/Arame-Mono.ttf");
}

@font-face {
  font-family: "Vdub";
  src: url("../Assets/Vdub/V Dub.otf");
}

/* Container Styling */
.container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  padding: 40px;
  width: 800px;
  max-width: 90%;  /* Ensure it fits smaller screens */
  text-align: center;
  animation: fadeIn 1.5s ease-in-out;
  position: relative;  
  z-index: 10;
  transform: translateY(-20px);
  box-sizing: border-box; 
}

/* Heading */
h2 {
  margin-bottom: 20px;
  color: #ffffff;
  font-family: "Arame";
  font-size: 70px;
  transform: translateY(-20px);
}

/* Text Boxes */
input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  font-size: 30px;
  font-family: "Roboto Mono", monospace;
  letter-spacing: 8px;
  border: 2px solid #ccc;
  border-radius: 0;
  outline: none;
  background: transparent;
  color: #ffffff;
  transition: backdrop-filter 0.3s, background 0.3s;
  transform: translateY(-20px);
}

/* Blurred Effect on Click */
input:focus {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid #ffffff;
}

/* Buttons */
#search-button, #upload-button {
  background: transparent;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  width: 100px;
  border: 2px solid black;
  position: fixed;
  filter: invert(1);
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 11;
}

/* Button Positioning */
#search-button {
  right: 5%;
  top: 45%;
  transform: translateY(-50%);
}

#upload-button {
  right: 5%;
  top: 60%;
  transform: translateY(-50%);
}

/* Button Image Styling */
#search-button img, #upload-button img {
  object-fit: contain; 
  width: 120%; 
  height: 120%;
  transition: transform 0.3s ease-in-out;
}

/* Hover Effects */
#search-button:hover, #upload-button:hover {
  background: black;
}

#search-button:hover img, #upload-button:hover img {
  filter: invert(1);
}

/* ✅ Credits Styling */
.credits, .ceo {
  position: fixed;
  color: white;
  font-family: "Roboto Mono", monospace;
  font-size: 16px;
  opacity: 0.7;
  z-index: 12;
  white-space: nowrap;  /* Prevents wrapping */
}

/* Dynamically positioned credits */
.credits {
  left: 10px;
  bottom: 10px;
}

.ceo {
  right: 10px;
  bottom: 10px;
}


#status-box {
  z-index: 9999;
  position: fixed;
  bottom: 0px;  /* Move it further down */
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-family: "Roboto Mono", monospace;
  letter-spacing: 2px;
  transition: backdrop-filter 0.3s, background 0.3s;
  display: none; 
  box-sizing: border-box; 

  /* Use flexbox for perfect alignment */
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  align-items: center;
  padding: 15px;  
  gap: 10px;  
} 