.modal {
 margin-top:50px;
}

    .image-container {
      position: relative;
      display: inline-block;
    }

    .hover-buttons {
      position: absolute;
      top: 10px;
      left: 10px;
      display: none;
      z-index: 10;
    }

    .hover-buttons button {
      margin-right: 5px;
      padding: 6px 12px;
      font-size: 14px;
      cursor: pointer;
    }

    .image-container img {
  max-width: 450px;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  margin-top: 10px;

      display: block;
    }

    #carousel {
      width: 400px;
      height: 400px;
      overflow: hidden;
      position: relative;
    }
    .carousel-track {
      display: flex;
      transition: transform 1s ease;
      width: max-content;
    }
    .carousel-track img {
      width: 400px;
      height: 400px;
      object-fit: cover;
    }

    .overlay-modal {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background-color: rgba(0, 0, 0, 0.85);
      z-index: 9999;
      overflow: auto;
    }

    .modal-content {
      position: relative;
      width: 90%;
      max-height: 90%;
      margin: 5% auto;
      background-color: #fff;
      border-radius: 8px;
      overflow: auto;
      box-shadow: 0 0 10px #000;
    }

    .modal-content iframe,
    .modal-content img {
      width: 100%;
      border: none;
      display: block;
    }

    .close-btn {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 32px;
      color: #fff;
      cursor: pointer;
      z-index: 10001;
    }



.generated-image {
  max-width: 450px;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  margin-top: 10px;
 border: 2px solid white;
}


@keyframes zoomInOut {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}

.zoom-bg {
  position: relative;
  overflow: hidden;
}

.zoom-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(https://my.ollama.cloud/uploads/1743899640_abstract-dark-background-with-line-grid-gradient-color-applicable-website-banner-poster-corporate-social-media-template-billboard-business-sign-video-film-in-channel-backdrop-techno-background-free-vector.jpg);
  background-size: cover;
  background-position: center;
  transform-origin: center;
  animation: zoomInOut 15s ease-in-out infinite;
  z-index: -1;
}

.login-title-box {
 container-type: inline-size;
 width: 430px;
}
login-title {
 font-size: 5cqw;
 text-shadow: 1px 1px #4c1d1d;
}

#bottom_line {
 position: absolute; 
 bottom: 0; 
 left: 0; 
 width: 100%; 
 text-align: center;
 margin-bottom: 0px;
 color: white;
 font-size: 16px;
 background-color: black;
 background-color: hsla(0, 100%, 30%, 0.5);
}

