#drop-area {
    height: 300px;
    border: 2px dashed #000;
    border-radius: 6px;
    background-color: lightgray;
    text-align: center;
    font-size: 24px;
    line-height: 30px;
    padding: 20px;
    margin: 20px auto;
    align-content: center;

    flex-direction: column;
    align-items: center;
    display: flex;
    position: relative;
    overflow: hidden;
}
.demo-image {
    border-radius: 4px;
    padding: 20px;
    margin: 0 auto;
}
.image-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.image-container img {
    max-width: 100%;
    height: auto;
}
.demo-container {
  min-height: 100vh;
  background-color: var(--tristesse);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px;
}
.text-block {
  flex: 1;
  padding: 10px;
}
.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border-left-color: #09f;
  animation: spin 1s ease infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.form-input-demo {
  width: 100%;
  height: 140px;
  color: var(--narwhale-grey);
  border-radius: 10px;
  align-self: center;
  margin-bottom: 0;
  padding: 10px 12px;
  font-size: 18px;
  line-height: 150%;
}

.image-container-multiple {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.image-container-multiple img {
    max-width: 300px;
    height: auto;
}

/* Style for the image grid on the right */
.image-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 30px;
    align-items: center;
}

/* Style for individual images */
.image {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

#drop-area img {
    max-width: 100%;
    max-height: 100%;
}

.ml3 {
  font-weight: 900;
  font-size: 3.5em;
}

#item-info-demo {
  margin-left: 20px;
  clear: both;
}

.drop-area-mobile {
    display: none;
}

.drop-area-desktop {
    display: block;
}
.lds-spinner {
  color: official;
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-spinner div {
  transform-origin: 40px 40px;
  animation: lds-spinner 1.2s linear infinite;
}
.lds-spinner div:after {
  content: " ";
  display: block;
  position: absolute;
  top: 3px;
  left: 37px;
  width: 6px;
  height: 18px;
  border-radius: 20%;
  background: #fff;
}
.lds-spinner div:nth-child(1) {
  transform: rotate(0deg);
  animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
  transform: rotate(30deg);
  animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
  transform: rotate(60deg);
  animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
  transform: rotate(90deg);
  animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
  transform: rotate(120deg);
  animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
  transform: rotate(150deg);
  animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
  transform: rotate(180deg);
  animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
  transform: rotate(210deg);
  animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
  transform: rotate(240deg);
  animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
  transform: rotate(270deg);
  animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
  transform: rotate(300deg);
  animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
  transform: rotate(330deg);
  animation-delay: 0s;
}
@keyframes lds-spinner {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@media (max-width: 768px) {
    .image-container {
        flex-direction: column;
        align-items: center;
    }

  .drop-area-mobile {
      display: block;
  }
  .drop-area-desktop {
      display: none;
  }
}