/* General Styling */
* {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}
 
html {
  scroll-behavior: smooth;
}
 
body {
  background: #080808;
  color: #fff;
}
 
/* Header Styling */
#header {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
 
 
 
#background-video {
  position: fixed; /* Change to fixed to ensure it stays in place */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures video covers the entire container */
  z-index: -1;
   /* Fallback color if video fails to load */
}
 
.container {
  padding: 10px 10%;
}
 
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: -180px; /* Adjust this value as needed */
}
 
.logo {
  width: 200px;
  background-image: url('logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  height: 150px;
}
 
nav ul {
  display: flex;
  align-items: center;
}
 
nav ul li {
  display: inline-block;
  list-style: none;
  margin: 10px 15px;
}
 
nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 25px;
  position: relative;
}
 
nav ul li a::after {
  content: '';
  width: 0;
  height: 3px;
  background: #ff004f;
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.5s;
}
 
nav ul li a:hover::after {
  width: 100%;
}
 
.header-text {
  margin-top: 20%;
  font-size: 40px;
  color: #fff;
}
 
 
.header-text h1 {
  font-size: 80px;
  margin-top: 20px;
}
 
.header-text h1 span {
  color: #ff004f;
}
 
/* Upload Section */
#upload {
  background-image: url('images.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
 
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
 
}
 
.upload-box {
  background-color: #3f024b;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 8px rgba(12, 12, 12, 0.1);
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}
 
#upload h1.sub-title {
  font-size: 30px;
  margin-bottom: 20px;
  color: #f8f3f8;
}
 
#upload p {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.6;
}
 
#upload-form input[type="file"] {
  padding: 12px;
  background-color: #ee72e8;
  color: #fff;
  font-size: 20px;
  border-radius: 6px;
  margin-bottom: 20px;
  max-width: 100%;
  width: 300px;
  display: inline-block;
  border: none;
}
 
#upload-form .btn {
  padding: 16px 70px;
  border-radius: 6px;
  background-color: #ee72e8;
  color: white;
  font-size: 20px;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}
 
.sub-title h1 span {
  color: #f8f3f8;
}
 
.card span {
  color: #f1edf1;
}
 
/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  font-size: 40px;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
 
.overlay.show {
  display: flex;
}

.overlay-text {
  font-size: 70px;
}

.spanner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  animation: spin 2s linear infinite;
}
 
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
 
.card {
  margin-top: 50px;
}
 
.card-body {
  text-align: center;
}
 
/* Responsive Design */
nav .fas {
  display: none;
}
 
@media only screen and (max-width: 600px) {
  #header {
    background-image: url('images/phone-background.png');
  }
 
  .header-text {
    margin-top: 100%;
    font-size: 16px;
  }
 
  .header-text h1 {
    font-size: 30px;
  }
 
  nav .fas {
    display: block;
    font-size: 25px;
  }
 
  nav ul {
    background: #ff004f;
    position: fixed;
    top: 0;
    right: -200px;
    width: 200px;
    height: 100vh;
    padding-top: 50px;
    z-index: 2;
    transition: right 0.5s;
  }
 
  nav ul li {
    display: block;
    margin: 20px 0;
    text-align: center;
  }
 
  nav ul li a {
    font-size: 20px;
  }
 
  nav ul li a:hover::after {
    width: 100%;
  }
 
  nav .fas.fa-times {
    display: block;
  }
 
  nav .fas.fa-times:hover {
    color: #fff;
  }
}