@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap');



/* General Body Styles */
html, body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: rgb(27, 27, 27);
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  overflow: hidden; /* Prevents scrollbars from appearing */
  scroll-behavior: smooth; /* Smooth scrolling */
}

/* Hide scrollbar for all browsers */
body::-webkit-scrollbar {
  display: none;
}

body {
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
  scrollbar-width: none;  /* Firefox */
}

/* Container Styles */
.container {
  background-color: rgba(20, 11, 24, 0); /* Transparent background */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(12, 13, 36, 0); /* Transparent shadow */
  max-width: 100%; /* Full width */
  max-height: 100%; /* Full height */
  display: flex;
  flex-direction: column;
  overflow: auto; /* Scrollable content */
  color: #ffffff;
  position: relative; /* Positioning for back button */
  font-family: 'Roboto', sans-serif;

}

/* Back Button */
#back-button {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: #292929;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 1.5rem;
}

#back-button:hover {
  background-color: #303031;
}

/* Thumbnail Box Styles */
#thumbnail-box {
  position: relative;
  width: 100%;
  height: 200px;
  background-color: #2e2e2e;
  margin-bottom: 20px;
  font-family: 'Roboto', sans-serif;

}

#thumbnail-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  font-family: 'Roboto', sans-serif;

}

#thumbnail-box .cover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
  font-family: 'Roboto', sans-serif;

}

#thumbnail-box:hover .cover {
  opacity: 1;
  font-family: 'Roboto', sans-serif;

}

/* Form Elements */
textarea, input[type="file"], input[type="text"], button {
  margin: 10px 0;
  padding: 10px;
  width: calc(100% - 20px); /* Adjust width for padding */
  background-color: rgba(46, 46, 46, 0.47);
  border-radius: 15px;
  color: #ffffff;
  border: 1px solid #444;
  font-family: 'Roboto', sans-serif;
  position: static;


}

textarea {
  height: 100px;
  resize: vertical; /* Allow vertical resizing */
  font-family: 'Roboto', sans-serif;
  position: static;


}

input[type="text"] {
  height: 40px;
  font-family: 'Roboto', sans-serif;
  position: static;

}

button {

  background-color: #292929;
  color: #ffffff;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  padding: 10px 20px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Roboto', sans-serif;
}

button:hover {
  background-color: #303031;
  font-family: 'Roboto', sans-serif;

}

/* Poll Section */
#poll-section {
  margin-top: 20px;
  font-family: 'Roboto', sans-serif;


}

#poll-question {
  margin-bottom: 10px;
  font-family: 'Roboto', sans-serif;


}

.poll-option {
  display: block;
  margin: 5px 0;
  font-family: 'Roboto', sans-serif;
  position: fixed;


}

#poll-section .hidden {
  display: none;
  font-family: 'Roboto', sans-serif;
  position: fixed;


}

/* Progress Bar Styles */
#progress-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  font-family: 'Roboto', sans-serif;


}
#progress-container div {
  margin-top: 15px;
  font-family: 'Roboto', sans-serif;

}

 
#progress-bar {
  width: 100%; /* Full width of the container */
  height: 10px;
  background-color: rgba(0, 81, 255, 0.466); /* Semi-transparent background for blur effect */
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.7); /* Stronger glow for a better visual effect */
  font-family: 'Roboto', sans-serif;

}

#progress-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%; /* Start off-screen */
  width: 100%;
  height: 100%;
  background-color: #000c50; /* Green progress color */
  filter: blur(5px); /* Blur effect */
  animation: progress-animation 3s linear infinite; /* Infinite animation with linear timing */
  font-family: 'Roboto', sans-serif;

}

@keyframes progress-animation {
  0% {
    left: -100%;
  }
  50% {
    left: 0;
  }
  100% {
    left: 100%;
  }
}






/* Hide Overlay */
.hidden {
  display: none;
}
