.image-modal {
  margin: auto;
  border: none;
  outline: none;
  box-shadow: 0px 2px 8px 0px #482C7714;
  border-radius: 12px;
}

.image-modal[open] {
  animation: fade-in 0.3s forwards;
    padding: unset;
    background: transparent;
    box-shadow: unset;
}
.image-modal::backdrop {
    background: rgba(0, 0, 0, 0.5);  /* Add a semi-transparent backdrop */
}
.image-modal[closing] {
  display: block;
  pointer-events: none;
  inset: 0;
  animation: fade-out 0.3s forwards;
}

.modal-conatiner {
position: relative;
    z-index: 1;
    width: 630px;
    height: 430px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-conatiner .modal-img {
  width: 100%;
  height: 100%;
  border-radius: 12px;

  object-fit: cover;
}

.modal-conatiner .cross-icon {
  position: absolute;
  top: 5px;
  right: 5px;
    background: white;
    border-radius: 50%;
}

.modal-conatiner .cross-icon img {
  cursor: pointer;
  width: 28px;
  height: auto;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fade-out {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@media screen and (max-width : 768px) {
  .image-modal {
    box-shadow: unset;
  }
  .modal-conatiner{
    width: 100%;
    height: 100%;
  }
    .modal-conatiner .cross-icon {
    background: #cfdbce;
    left: 5px;
    top: 5px;
    right: unset;
}
}