@import url('https://fonts.googleapis.com/css2?family=Orbitron&display=swap');

html, body {
  max-width: 100vw;
  max-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #000;
  color: aqua;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  text-align: center;
}

h1 {
  font-family: 'Orbitron', sans-serif;
}

.middle-text {
  margin: 60px 0 20px;
  font-size: 30px;
  margin-top: 6vh;
  font-family: 'Orbitron', sans-serif;
  color: rgb(255, 255, 255);
}

.bottom-text {
  margin-top: auto;
  margin-bottom: 20px;
  font-size: 1.2em;
  color: aqua;
  text-shadow: 0 0 8px aqua;
}

#fileInput {
  display: none;
}

/* GLOWING BUTTON */
.btn {
  padding: 15px 40px;
  border: none;
  outline: none;
  color: aqua;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 12px;
  font-size: 16px;
  margin-top: 25px;
  margin-bottom: 40px; /* Added spacing below choose file button */
  background-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.btn::after {
  content: "";
  z-index: -1;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #333;
  left: 0;
  top: 0;
  border-radius: 10px;
}

.btn::before {
  content: "";
  background: linear-gradient(45deg, #002BFF, #FF00C8, aqua);
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 600%;
  z-index: -1;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  filter: blur(8px);
  animation: glowing 20s linear infinite;
  transition: opacity .3s ease-in-out;
  border-radius: 10px;
  opacity: 1;
}

@keyframes glowing {
  0% {background-position: 0 0;}
  50% {background-position: 400% 0;}
  100% {background-position: 0 0;}
}

.btn svg {
  width: 50px;
  height: 60px;
}

/* LOADING ANIMATION */
.loading {
  height: 50px;
  width: 50px;
  border: 6px solid aqua;
  box-shadow: 0 0 80px aqua, 0 0 8px aqua inset;
  border-radius: 4px;
  position: fixed;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: 9999;
  animation: load 3s ease-in-out 0s infinite;
  background-color: transparent;
}

#loader-container {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
}

.upload-btn, .cancel-btn {
  margin-left: 10px;
  padding: 5px 10px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
}

.upload-btn {
  background-color: #28a745;
  color: white;
}

.cancel-btn {
  background-color: #dc3545;
  color: white;
}

@keyframes load {
  0%   { transform: rotateX(0) rotateY(0) rotateZ(0); }
  33%  { transform: rotateX(180deg) rotateY(0) rotateZ(0); }
  67%  { transform: rotateX(180deg) rotateY(180deg) rotateZ(0); }
  100% { transform: rotateX(180deg) rotateY(180deg) rotateZ(180deg); }
}

.contact-text {
  margin-bottom: 30px;
  font-size: 12px;
  color: white;
  text-align: center;
  line-height: 1.9em;
  border-radius: 12px;
  background-color: rgba(128, 128, 128, 0.233);
  width: 90vw;
}

.contact-text a {
  color: aqua;
  text-decoration: none;
  font-weight: bold;
} 

.head {
  margin-top: 15em;
  background-color: rgb(180 178 178 / 48%);
  width: 85vw;
  text-align: center;
  border-radius: 15px;
}

.btn2 {
  background-color: black;
  margin-top: 34px;
  color: white;
  border: none;
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
}

.loader {
  width: 80px;
  height: 80px;
}

.spinner {
  animation: circle-rotate 1s linear infinite;
  transform-origin: center;
}

@keyframes circle-rotate {
  100% {
    transform: rotate(360deg);
  }
}

.circle-loader {
  width: 80px;
  height: 80px;
  animation: spin 1s linear infinite;
}

.circle-spinner {
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

.file-type-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 0;
  margin-bottom: 40px;
  flex-wrap: wrap;
  padding: 20px;
}

.file-icon {
  width: 100px; /* Made it exactly match the viewBox */
  height: 100px;
  cursor: pointer;
  transition: all 0.3s ease;

  background: rgba(0, 255, 255, 0.1);
  border-radius: 12px;
  border: 2px solid transparent;
  display: flex; /* Added flex to center the SVG */
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
  padding: 0; /* Removed padding since we're using flex centering */
}

.file-icon:hover {
  border-color: aqua;
  background: rgba(0, 255, 255, 0.2);
}

/* Make the SVG itself smaller so it fits nicely in the container */
.file-icon svg {
  width: 80px;
  height: 80px;
}
  .recent{
    font-family: 'Orbitron', sans-serif;
    color: white;
    
  }
