/* style.css */

/* Body styles */
body {
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
  background-image: url('images/Fartwide.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

/* Container styles */
.container {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  text-align: center;
  width: 300px;
}

/* Title styles */
.container .title {
  margin-bottom: 20px;
  color: #333333;
  font-size: 24px;
  font-weight: bold;
}

/* Input field styles */
.container input[type="text"] {
  width: 90%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Submit button styles */
.container button {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
  background-color: #007bff;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
}

.container button:hover {
  background-color: #0056b3;
}

/* Download and Twitter share buttons */
.container a {
  display: none; /* Hide by default */
  margin-top: 10px;
  padding: 10px 20px;
  border-radius: 5px;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
}

/* Download button styles */
#downloadSoundButton {
  background-color: #28a745;
}

#downloadSoundButton:hover {
  background-color: #218838;
}

/* Twitter share button styles */
#twitterShareButton {
  background-color: #1DA1F2;
}

#twitterShareButton:hover {
  background-color: #1A91DA;
}

/* Show the buttons when the class is added */
#downloadSoundButton.show-download,
#twitterShareButton.show-download {
  display: inline-block; /* Use inline-block for buttons */
}

/* Loading bar container */
#loadingBar {
  width: 100%;
  height: 40px;
  background-color: #e0e0e0;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 20px;
  position: relative;
  display: none; /* Hide by default */
}

/* Fart cloud filling */
#loadingProgress {
  height: 100%;
  width: 0%;
  background-image: url('images/fart-cloud.png');
  background-repeat: repeat-x;
  background-size: cover; /* Adjust as needed */
  position: absolute;
  left: 0;
  top: 0;
  transition: width 0.1s linear;
}
