#eventModal {
  position: fixed;
  bottom: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: 100%;
  transition: bottom 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  opacity: 0;
  visibility: hidden;
}
@media (min-width: 1024px) {
  #eventModal {
    border-radius: 12px 12px 0 0;
    width: -moz-fit-content;
    width: fit-content;
  }
}

#eventModal.show {
  bottom: 0;
  opacity: 1;
  visibility: visible;
}

#eventModal .img-container {
  display: flex;
  position: relative;
  text-decoration: none;
  justify-content: center;
  width: 100%;
}

#eventModal .img-container img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  max-height: 130px;
}
@media (min-width: 1024px) {
  #eventModal .img-container img {
    width: auto;
    border-radius: 8px;
    -o-object-fit: contain;
       object-fit: contain;
  }
}
@media (min-width: 1440px) {
  #eventModal .img-container img {
    max-height: 140px;
  }
}

#eventModal .close-icon {
  position: absolute;
  top: 5px;
  right: 5px;
  border: none;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10000;
}
@media (min-width: 576px) {
  #eventModal .close-icon {
    width: 20px;
    height: 20px;
  }
}
@media (min-width: 768px) {
  #eventModal .close-icon {
    top: 8px;
  }
}
@media (min-width: 1024px) {
  #eventModal .close-icon {
    width: 30px;
    height: 30px;
  }
}

#eventModal .close-icon:hover {
  transform: rotate(90deg);
}

#eventModal .close-icon svg {
  width: 16px;
  height: 16px;
  fill: white;
}
@media (min-width: 768px) {
  #eventModal .close-icon svg {
    width: 22px;
    height: 22px;
  }
}
