.container {
  position: absolute;
  height: 85%;
  width: 85%;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  z-index: 100;
  box-sizing: border-box;
  overflow: hidden;
  transform-origin: center;
}

.container.hidden {
  opacity: 0;
  scale: 0;
  transform: translateY(100%);
}

.feedImageWrapper {
  padding: 15px;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.feedImageWrapper::-webkit-scrollbar {
  width: 8px;
}

.feedImageWrapper::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.feedImageWrapper::-webkit-scrollbar-thumb {
  background: #d1a803;
  border-radius: 4px;
}

.feedImageWrapper::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.feedContent {
  width: calc(23% - 10px);
  background: #111;
  padding: 12px;
  border-radius: 20px;
  transition: all 0.4s ease-in-out;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
  overflow: hidden;
  margin-bottom: 12px;
  break-inside: avoid;
}

.feedContent:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(175, 64, 255, 0.3);
  border-color: rgba(175, 64, 255, 0.4);
}

.feedContent img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
  display: block;
  border-radius: 15px;
  margin-bottom: 0px;
  transition: opacity 0.4s ease-in-out;
}

.feedContent:hover img {
  transform: scale(1.02);
  transition: transform 0.4s ease;
}

.prompt {
  margin-top: 8px;
  font-size: 0.85em;
  line-height: 1.4;
  color: #fff;
  max-height: 80px;
  overflow-y: auto;
  overflow-x: hidden;
  font-family: 'salsa', sans-serif;
  text-align: left;
  padding: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
}

.prompt::-webkit-scrollbar {
  width: 8px;
}

.prompt::-webkit-scrollbar-thumb {
  background: #d1a803;
  border-radius: 4px;
}

.prompt::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.loading {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.loadMore.hidden {
  opacity: 0;
  scale: 0;
  pointer-events: none;
  transition: 0.5s;
  transform-origin: center;
}

.loadMore {
  position: absolute;
  top: 50%;
  border: none;
  outline: none;
  left: 50%;
  transform: translate(-50%, -50%);
  align-items: center;
  background-image: linear-gradient(144deg, #af40ff, #5b42f3 50%, #00ddeb);
  border-radius: 8px;
  box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
  box-sizing: border-box;
  color: #ffffff;
  display: flex;
  font-size: 18px;
  justify-content: center;
  line-height: 1em;
  padding: 3px;
  cursor: pointer;
  transition: all 0.3s;
  transform-origin: center;
  z-index: 1000;
}

.loadMore span {
  background-color: rgb(5, 6, 45);
  padding: 16px 24px;
  border-radius: 6px;
  width: 100%;
  height: 100%;
  transition: 300ms;
  font-family: 'salsa', sans-serif;
  font-size: 1.3em;
}

.loadMore:hover span {
  background: none;
}

.loadMore:active {
  transform: scale(0.9) translate(-50%, -50%);
  transform-origin: center;
}

.controls {
  position: absolute;
  top: 90%;
  width: 95%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  height: 10%;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  background-color: #11111195;
  backdrop-filter: blur(10px);
  transition: 0.5s;
  overflow: hidden;
  scale: 1;
  opacity: 1;
}

.controls.hidden {
  opacity: 0;
  scale: 0;
  transition: 0.5s;
}

.logo {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 2%;
  height: 40px;
  width: 40px;
  background-image: url(https://firebasestorage.googleapis.com/v0/b/videolize-3563f.appspot.com/o/website%20logo.png?alt=media&token=e3409e2d-d827-430d-b0b8-1345567525d5);
  background-size: cover;
  user-select: none;
}

.appName {
  position: absolute;
  top: 10%;
  transform: translateY(-50%);
  left: 5%;
  font-family: 'Salsa', monospace;
  color: #fff;
  margin-left: 10px;
  font-size: 2em;
  user-select: none;
  cursor: pointer;
}

.closeStream {
  position: absolute;
  top: 53%;
  left: 95%;
  transform: translateY(-50%);
  color: #c97dff;
  font-size: 2em;
  cursor: pointer;
}

.createArt {
  position: absolute;
  top: 50%;
  left: 90%;
  transform: translateY(-50%);
  color: #f2ff7d;
  font-size: 2em;
  cursor: pointer;
}

.visitGallery {
  position: absolute;
  top: 50%;
  left: 85%;
  transform: translateY(-50%);
  color: #ff7d7d;
  font-size: 2em;
  cursor: pointer;
}

.homePage {
  position: absolute;
  top: 50%;
  left: 80%;
  transform: translateY(-50%);
  color: #7dff7d;
  font-size: 2em;
  cursor: pointer;
}

@media screen and (max-width: 1400px) {
  .feedContent {
    width: calc(33.333% - 12px);
  }
}

@media screen and (max-width: 1024px) {
  .feedContent {
    width: calc(50% - 12px);
  }

  @media screen and (max-width: 798px) {
    .feedContent {
      width: calc(50% - 12px);
    }

    .feedImageWrapper {
      padding: 15px;
    }

    .container {
      width: 50%;
    }

    .logo {
      left: 25%;
    }

    .appName {
      left: 28%;
    }

    .closeStream {
      left: 60%;
    }

    .createArt {
      left: 64%;
    }

    .visitGallery {
      left: 68%;
    }

    .homePage {
      left: 72%;
    }
  }

  @media screen and (max-width: 600px) {
    .feedContent {
      width: calc(100% - 10px); 
    }

    .feedImageWrapper {
      padding: 10px;
    }

    .container {
      width: 25%;
    }

    .logo {
      left: 35%;
      display: none;
    }

    .appName {
      left: 37%;
      font-size: 1.8em;
      visibility: hidden;
      display: none;
    }

    .closeStream {
      left: 53%;
      font-size: 2em;
    }

    .createArt {
      left: 56%;
      font-size: 2em;
    }

    .visitGallery {
      left: 59%;
      font-size: 2em;
    }

    .homePage {
      left: 50%;
      font-size: 2em;
    }

    .loadMore {
      left: 45%;
    }

    .loadMore span {
      padding: 8px 12px;
      font-size: 1.2em;
    }

    .controls {
      top: 87%;
    }
  }
}
