#messageForm {
  position: fixed;
  top: 10vh;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  height: 90vh;
  width: 100vw;
  font-family: 'Patrick Hand', cursive;
}

#messageForm::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(22, 18, 22, 0.9); /* Slightly transparent */
  z-index: -1;
}


#fileIcon {
  color: white;
  position: absolute;
  top: -50px;
  left: 23vw;
  transform: translateX(-50%);
  width: 35px;
  height: 35px;
  cursor: pointer;
  z-index: 999999;
}


#scanIcon {
  color: white;
  position: absolute;
  top: -50px;
  left: 35vw;
  transform: translateX(-50%);
  width: 35px;
  height: 35px;
  cursor: pointer;
  z-index: 999999;
}

#camera {
  color: white;
  position: absolute;
  top: -50px;
  left: 47vw;
  transform: translateX(-50%);
  width: 35px;
  height: 35px;
  cursor: pointer;
  z-index: 999999;
}

#copyText {
  color: white;
  position: absolute;
  top: -50px;
  left: 59vw;
  transform: translateX(-50%);
  width: 35px;
  height: 35px;
  cursor: pointer;
  z-index: 999999;
}


#uploadedImage {
 max-width: 300px;
 margin: 0 auto;
 display: block;
 margin-bottom: 20px;
}

#messageInput {
  margin: 0 auto;
  width: 90vw;
  height: 300px;
  font-size: 16px;
  background-color: #000000;
  color: white;
  border: 1px dashed white;
  border-radius: 3px;
  margin-bottom: 10px;
  z-index: 9999;
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 20px;
  animation: color-animation 8s infinite;
  font-family: 'Patrick Hand', cursive;
}

/* Define the keyframes for the color animation */
@keyframes color-animation {
  0% {
    border: 2px solid #FF0000;
    color: #FF0000;
  }
  25% {
    border: 2px solid #00FF00;
    color: #00FF00;
  }
  50% {
    border: 2px solid #0000FF;
    color: #0000FF;
  }
  75% {
    border: 2px solid #FFFF00;
    color: #FFFF00;
  }
  100% {
    border: 2px solid #FF0000;
    color: #FF0000;
  }
}

#inputPhoto {
  position: absolute;
  top: 20px;
  left: 7%;
  width: 20px;
  height: 20px;
  cursor: pointer;
  z-index: 999999;

}


#sendMessage {
  margin-top: 10px;
  /* Adjust the value as needed */
  margin-bottom: 20px;
  /* Adjust the value as needed */
  width: 90vw;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  border-radius: 5px;
  z-index: 9999;
  font-family: 'Patrick Hand', cursive;
}


.image-container {
 position: relative;
 text-align: center;
 margin: 0 auto;
}

#deleteImage {
 color: white;
  position: absolute;
  top: -50px;
  left: 71vw;
  transform: translateX(-50%);
  width: 35px;
  height: 35px;
  cursor: pointer;
  z-index: 999999;
}
#deleteImage:hover {
 color: red;
}






#stop-recording {
  display: none;
}

.recording-blink {
  animation: colorCycle 2s infinite;
  font-weight: bold;
  font-size: 18px;
  z-index: 99999999999;
  padding: 20px;
  border-radius: 10px;
  background-color: black;
  box-shadow: 0 0 10px rgb(255, 255, 255, 0.5);;
 text-align: center;
}

@keyframes colorCycle {
  0% { color: #FF0000; } /* Red */
  25% { color: #00FF00; } /* Green */
  50% { color: #0000FF; } /* Blue */
  75% { color: #FFD700; } /* Gold */
  100% { color: #FF0000; } /* Back to red */
}

#toggleIcon {
  position: fixed;
  bottom: 60px;
  right: 20px;
  font-size: 24px;
  color: #888;
  cursor: pointer;
  z-index: 1;
}

