.modal {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #c4e1ff6b;
  z-index: 1111;
  backdrop-filter: blur(1px);
  overflow: hidden;
  transition: 0.3s;
  visibility: hidden;
  opacity: 0;
}
.modal.active {
  visibility: visible;
  opacity: 1;
}
.modalContent {
  width: 714px;
  background-color: #e6f2ff;
  min-height: 400px;
  height: 650px;
  display: flex;
  justify-content: space-between;
  border-radius: 14px;
  gap: 12px;
  padding: 10px;
  box-shadow: 0 16px 24px 0 rgba(33, 104, 176, 0.24);
  position: relative;
}
.leftArrow,
.rightArrow {
  width: 45px;
  border-radius: 12px;
  border: none;
  outline: none;
  background-color: #e3e3e3;
  background: rgb(33, 104, 176);
  background: linear-gradient(126deg, #1631ef 0%, #0d1a73 100%);
  font-size: 52px;
  color: #fff;
  flex-shrink: 0;
  cursor: pointer;
  transition: 0.3s;
  cursor: pointer;
}
.leftArrow:hover:not(.notAllowed),
.rightArrow:hover:not(.notAllowed) {
  opacity: 0.8;
}
.leftArrow.notAllowed,
.rightArrow.notAllowed {
  opacity: 0.6;
  cursor: not-allowed;
}
.leftArrow svg,
.rightArrow svg {
  width: 18px;
  fill: #fff;
}
.modalContent img {
  /* width: 100%; */
  width: calc(100% - 115px);
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.closeIcon {
  position: absolute;
  width: 38px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background-color: #ffffff;
  right: -38px;
  top: -33px;
  border: 1px dashed transparent;
  cursor: pointer;
  transition: 0.3s;

  &:hover {
    border-color: #79bbff;
  }
}
.closeIcon svg {
  width: 18px;
  fill: #233df3;
}

/* Media Query */
/* =========== */
@media screen and (max-width: 600px) {
  .modalContent {
    height: 50dvh;
    min-height: unset;
    width: 90%;
    border-radius: 10px;
    padding: 10px;
  }
  .closeIcon {
    width: 32px;
    height: 32px;
    right: 4px;
    top: 4px;
  }
  .closeIcon svg {
    width: 14px;
  }
  .modalContent img {
    width: 100%;
  }
  .leftArrow,
  .rightArrow {
    position: absolute;
    bottom: -58px;
    height: 50px;
    width: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 38px;
  }
  .rightArrow {
    right: 0;
  }
  .leftArrow svg,
  .rightArrow svg {
    width: 16px;
  }
}
