
body {
  background: linear-gradient(to bottom, #000000, #000000);
  font-family: Arial, sans-serif;
}

.upload-form {
  background-color: transparent;
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.button {
  padding: 25px 50px;
  font-size: 42px;
  font-weight: bold;
  background-color: #292929;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: inline-block;
}

.submit-button {
  padding: 35px 70px;
  font-size: 42px;
  font-weight: bold;
  background-color: rgb(11, 135, 48);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: none;
}

#image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.image-thumbnail {
  max-width: 100%;
  max-height: 80vh;
  height: auto;
  display: block;
}

input[type="file"], .submit-button {
  display: none;
}

.heart-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
}

.heart-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
  margin-top: 10px; /* Adjust as needed */
}

.heart {
  width: 100px;
  height: 100px;
  background: url("https://cssanimation.rocks/images/posts/steps/heart.png") no-repeat;
  background-position: 0 0;
  cursor: pointer;
  transition: background-position 1s steps(28);
  transition-duration: 0s;
}

.heart.is-active {
  animation: animate-heart 1s steps(28);
  background-position: -2800px 0;
}

.heart.unlike {
  animation: animate-heart-reverse 1s steps(28);
}

@keyframes animate-heart {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: -2800px 0;
  }
}

@keyframes animate-heart-reverse {
  0% {
    background-position: -2800px 0;
  }
  100% {
    background-position: 0 0;
  }
}

.like-counter {
  font-size: 18px;
  color: grey;
  font-weight: bold;
}

.like-counter.liked {
  color: #ff6b6b;
}

.time-element {
  font-size: 20px;
  color: grey;
  text-align: right;
}

.caption {
  font-size: 25px;
  color: white;
  text-align: left;
  word-wrap: break-word; /* Ensure long captions break to next line */
}

.text-box {
  width: calc(100% - 40px); /* Adjust this value to match the width of the button */
  padding: 15px ; /* Match the padding of the button */
  margin: 20px 0; /* Adjust the margin to align with the button */
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 42px; /* Match the font size of the button */
  background-color: #292929;
  color: white;
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  outline: 2px solid #1a1a1a;
}

.text-box:focus {
  outline: 2px solid #1a1a1a; /* Set the outline color when focused */
}

.char-Counter {
 text-align: left;
 color: lightblue;
 font-size: 100px;
}
