body {
  font-family: Arial, sans-serif;
  background-color: #3D348B;
  color: white;
  text-align: center;
  margin: 0;
  padding: 0;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.logo {
  max-width: 700px;
  height: auto;
  cursor: pointer;
}

/* Responsive Logo */
@media (max-width: 768px) {
  .logo {
    max-width: 80%;
  }
}

.container {
  width: 90%;
  max-width: 600px;
  margin: auto;
  padding-top: 20px;
}

.download-form {
  background-color: #5A4FCF;
  padding: 20px;
  border-radius: 10px;
}

/* Responsive Form */
@media (max-width: 768px) {
  .download-form {
    padding: 15px;
  }
}

.input-container {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  margin: auto;
  border-radius: 5px;
  overflow: hidden;
  background: white;
  padding: 3px;
  padding-bottom: 0px;
}

.input-container input {
  flex: 1;
  border: none;
  padding: 10px;
  font-size: 16px;
  outline: none;
  height: 100%;
}

.paste-btn {
  flex-shrink: 0;
  background-color: #007bff;
  color: white;
  padding: 8px 15px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  margin-left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50%;
  margin-top: 1px;
}

.paste-btn:hover {
  background-color: #0056b3;
}

/* Responsive Input & Buttons */
@media (max-width: 480px) {
  .input-container {
    flex-direction: column;
  }

  .input-container input {
    width: 100%;
    padding: 12px;
  }

  .paste-btn {
    width: 100%;
    margin: 5px 0;
  }
}

button {
  background-color: #FF9F1C;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 15px;
}

button:hover {
  background-color: #F77F00;
}

/* Responsive Buttons */
@media (max-width: 480px) {
  button {
    width: 100%;
  }
}

.download-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.download-button {
  display: block;
  margin: 10px;
  padding: 10px;
  text-align: center;
  background-color: #1ce5ff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  width: 200px;
}

/* Responsive Download Buttons */
@media (max-width: 480px) {
  .download-button {
    width: 100%;
  }
}

#result {
  margin-top: 20px;
}

video {
  width: 100%;
  max-width: 250px;
  border-radius: 5px;
  margin-top: 10px;
}

/* Responsive Video */
@media (max-width: 480px) {
  video {
    max-width: 100%;
  }
}

.slideshow-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px;
  border-radius: 10px;
  background: #282449;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  scrollbar-width: thin;
  scrollbar-color: #888 #f9f9f9;
}

/* Custom scrollbar for WebKit browsers */
.slideshow-scroll::-webkit-scrollbar {
  height: 8px;
}

.slideshow-scroll::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.slideshow-scroll::-webkit-scrollbar-track {
  background: #f9f9f9;
}

/* Style for each image */
.slideshow-scroll img {
  height: 150px;
  border-radius: 8px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.slideshow-scroll img:hover {
  transform: scale(1.1);
}

/* Responsive Images */
@media (max-width: 480px) {
  .slideshow-scroll img {
    height: 100px;
  }
}

/* Style for selected images */
.slideshow-scroll input[type="checkbox"]:checked + img {
  border: 3px solid #007bff;
  opacity: 0.8;
}

#result:empty {
  display: none;
}

#progress-container {
  width: 100%;
  background: #ddd;
  height: 10px;
  border-radius: 5px;
  margin-top: 10px;
  overflow: hidden;
}

#progress-bar {
  width: 0%;
  height: 100%;
  background: #4CAF50;
  transition: width 0.5s ease-in-out;
}

#error-message {
  color: red;
  font-weight: bold;
  margin-top: 10px;
  display: none;
}

/* About Section */
.about {
  padding: 30px;
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer */
.footer a {
  color: #FF9F1C;
  text-decoration: none;
  font-weight: bold;
}

.footer a:hover {
  text-decoration: underline;
}

/* Hide elements */
.hidden {
  display: none !important;
}
