/* Your existing CSS */
.resp-textarea {
  width: 90%;
  min-height: 100px; /* Minimum height */
  height: auto; /* Allow textarea to expand based on content */
}

.itt-resp-textarea {
  width: 100%;
  min-height: 350px; /* Minimum height */
  height: auto; /* Allow textarea to expand based on content */
}

.tt-resp-textarea, 
.tt-source-textarea {
  width: 100%;
  min-height: 350px; /* Minimum height */
  height: auto; /* Allow textarea to expand based on content */
}
.start-over {
  display: none;
}

@media(max-width:1440px) {
  .main-heading {
      font-size: 40px;
  }

  .drag-heading {
      font-size: 20px;
  }

  .dropbox .card .innerbox {
      height: 300px;
  }
}

#response {
  display: none; /* Hidden by default */
}

.home1 {
  justify-content: center;
}

#img-preview,
#translated-preview {
  margin: 0 2%;
  object-fit: contain;
}

@media (max-width: 500px) {
  #img-preview,
  #translated-preview {
      width: 50% !important;
      object-fit: contain;
      margin: 0 1%;
  }

  .dropbox .card .innerbox {
      height: 400px;
  }
}

.color-picker-container {
  text-align: center;
}

#colorPicker {
  margin-top: 10px;
  padding: 5px;
}

#colorValue {
  margin-top: 20px;
  font-size: 1.2em;
}

/* New CSS for draggable and resizable text box */
/* Text box styles */
.text-box {
  position: absolute;
  cursor: move;
  background: rgba(255, 255, 255, 0); /* Transparent background by default */
  transition: background 0.3s;
}

.text-box:hover {
  background: rgba(255, 255, 255, 0.8); /* Background on hover */
  border: 1px solid #ccc;
}

/* Resizer styles */
.resizer {
  width: 10px;
  height: 10px;
  background: #ccc;
  position: absolute;
  border: 1px solid #000;
  cursor: nwse-resize;
}

.resizer.bottom-right {
  right: -5px;
  bottom: -5px;
}

.resizer.bottom-left {
  left: -5px;
  bottom: -5px;
}

.resizer.top-right {
  right: -5px;
  top: -5px;
}

.resizer.top-left {
  left: -5px;
  top: -5px;
}


