@media (max-width: 2560px) {
  .appHeader 
  {
    height: 550px;
  }
}

@media (max-width: 768px) {
  * {
    -webkit-tap-highlight-color: transparent;
    user-select: none;
  }

  .container {
    width: 450px;

  }

  .appName {
    display: none;
  }

  .logo {
    top: 6%;
    left: 10%;
    opacity: .75;
  }

  .userLogo {
    left: 75%;
    top: 50%;
    transform: scale(0.8) translateY(-50%);
  }

  .GalleryImageIcon {
    top: 6%;
    left: 60%;
    transform: scale(0.8);
  }

  .isoImageType {
    display: none;
  }

  .isoAIEnhancement {
    display: none;
  }

  .isoImageRatio {
    display: none;
  }

  .typeOfImageTile {

    position: absolute;
    top: 18%;
    width: 55%;
    left: 15%;
    max-height: 300px;
    /* Set a maximum height */
  }

  .typeOfModelTile {
    position: absolute;
    top: 18%;
    padding: 0;
    width: 40%;
    left: 60%;
  }

  .typeOfImageTile span {
    width: 30%;
    /* 4 items per row */
    height: 80px;
    /* Adjust height as needed for mobile */
    margin-bottom: 5px;
    /* Space between items */
    margin-right: 2px;
  }

  .aspectRatioControls {
    top: 60%;
    left: 10%;
  }

  .aspectRatioTile {
    margin: 0 30px;
    /* Add horizontal spacing between tiles */
  }

  .enhanceButton {
    transform: scale(0.75);
    top: 73%;
  }

  .privateResultSection {
    transform: scale(0.75);
    top: 73%;
    left: 17%;
  }

  .aiEnhancementDesc {
    display: none;
  }

  .privatePublicResultDesc {
    display: none;
  }

  #OneImage {
    transform: scale(0.85) translateY(-50%);
    left: 4.5%;
  }

  #OneImageOpacityFirst,
  #OneImageOpacitySecond {
    transform: scale(0.45) translateY(-50%);
  }

  @keyframes swapAnimationOne {

    0%,
    100% {
      transform: translateY(-50%) scale(0.45);
    }

    25% {
      transform: translateY(-50%) scale(0.75);
    }

    50% {
      left: -0.5vw;
      transform: translateY(-50%) scale(0.45);
    }
  }

  @keyframes swapAnimationTwo {

    0%,
    100% {
      transform: translateY(-50%) scale(0.45);
    }

    25% {
      transform: translateY(-50%) scale(0.75);
    }

    50% {
      left: 4.3vw;
      transform: translateY(-50%) scale(0.45);
    }
  }


  .searchBtn {
    left: -10%;
  }

  .searchBtn .text {
    display: none;
  }

  .savedMsg.display {
    transform: translateX(-50%) scale(0.8) translateY(0px);
    z-index: 2000;
  }

  .savedMsg {
    top: 6%;
  }

  .inner {
    font-size: 0.7em;
    text-align: center;
  }

  .imageTiles {
    position: absolute;
    top: 6%;
    left: 12%;
    height: 75%;
    width: 100%;
    background: transparent;
    box-sizing: border-box;
    transform: scale(0.8);
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
  }

  .imageTiles::-webkit-scrollbar {
    display: none;
  }

  .imageTiles .maskImageTile1 {
    position: absolute;
    flex: 1;
    top: 0%;
    left: 10%;
    height: 450px;
    width: 250px;
    background: transparent;
    transition: 0.5s;
    transition-delay: 0.7s;
    transform: scale(0.8);

  }

  .imageTiles .maskImageTile2 {
    position: absolute;
    top: 63%;
    left: 10%;
    height: 450px;
    width: 250px;
    background: transparent;
    transition: 0.5s;
    transition-delay: 0.8s;
    flex: 1;
    transform: scale(0.8);

  }

  .imageTiles .maskImageTile3 {
    position: absolute;
    top: 140%;
    left: 10%;
    height: 450px;
    width: 250px;
    background: transparent;
    transition: 0.5s;
    transition-delay: 0.9s;
    flex: 1;
    transform: scale(0.8);

  }

  .imageTiles .maskImageTile4 {
    position: absolute;
    top: 205%;
    left: 10%;
    height: 450px;
    width: 250px;
    background: transparent;
    transition: 0.5s;
    transition-delay: 1s;
    flex: 1;
    transform: scale(0.8);

  }

  .showImage {
    position: absolute;
    top: 15%;
    height: 80%;
    left: 0%;
    width: 100%;
    background: rgba(24, 24, 24, 0.79);
    backdrop-filter: blur(10px);
    z-index: 200;
    opacity: 1;
    overflow: hidden;
    transform: translateY(0);
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
    transition: 0.5s;

  }

  .showImage .copyZone {
    left: 15%;
    top: 90%;
  }

  .showImage .backButton {
    top: 91%;
    left: 75%;
  }

  .showImage .imageContainer {
    width: 60%;
    height: 65%;
  }

  .enhancingMessage {
    display: none;
  }

  .acceptBtn {
    top: 72%;
    left: 15%;
    transform: scale(0.75);
  }

  .rejectBtn {
    top: 72%;
    left: 60%;
    transform: scale(0.75);
  }

  .logoutPopUp {
    width: 200px;
    left: 60%;
    top: 10%;
    z-index: 50;
    scale: 0.7;
  }



  .logoutPopUp .logoutPopUpUsername {
    font-size: 1.3em;
    top: 8%;
  }

  .loginNavBar {
    width: 90%;
    top: 3%;
  }

  .accountMode {
    font-size: 12px;
    left: 40px;
    transform: translateY(0);
    top: 15%;
    width: 100%;
  }

  .loginButton {
    top: 60%;
    left: 3%;
    transform: scale(0.8) translateY(-50%);
  }

  .serverStatus {
    top: 50%;
    left: 70%;
    transform: scale(0.8) translateY(-50%);
  }

  .navBarDocs {
    top: 50%;
    left: 60%;
    transform: scale(0.8) translateY(-50%);
  }

  .navBarGitHub {
    display: none;
  }

  .redirectHome {
    top: 50%;
    left: 50%;
    transform: scale(0.8) translateY(-50%);
  }
}

@media (max-width: 400px) {
  * {
    -webkit-tap-highlight-color: transparent;
    user-select: none;
  }

  .container {
    width: 450px;

  }

  .appName {
    display: none;
  }

  .logo {
    top: 20%;
    left: 8%;
    opacity: .75;
    font-size: 1.5rem;
  }

  .userLogo {
    left: 75%;
    top: 8%;

  }

  .GalleryImageIcon {
    top: 6%;
    left: 60%;
    transform: scale(0.8);
  }

  .isoImageType {
    display: none;
  }

  .isoAIEnhancement {
    display: none;
  }

  .isoImageRatio {
    display: none;
  }

  .typeOfImageTile {

    position: absolute;
    top: 18%;
    width: 55%;
    left: 15%;
    max-height: 300px;
    /* Set a maximum height */
  }

  .typeOfModelTile {
    position: absolute;
    top: 18%;
    padding: 0;
    width: 40%;
    left: 60%;
  }

  .typeOfImageTile span {
    width: 30%;
    /* 4 items per row */
    height: 80px;
    /* Adjust height as needed for mobile */
    margin-bottom: 5px;
    /* Space between items */
    margin-right: 2px;
  }

  .aspectRatioControls {
    top: 60%;
    left: 10%;
  }

  .aspectRatioTile {
    margin: 0 30px;
    /* Add horizontal spacing between tiles */
  }

  .enhanceButton {
    transform: scale(0.75);
    top: 73%;
  }

  .privateResultSection {
    transform: scale(0.75);
    top: 73%;
    left: 17%;
  }

  .aiEnhancementDesc {
    display: none;
  }

  .privatePublicResultDesc {
    display: none;
  }

  #OneImage {
    margin-bottom: 18%;
    transform: scale(0.85) translateY(-50%);
    left: 2%;
  }

  #OneImageOpacityFirst,
  #OneImageOpacitySecond {
    transform: scale(0.45) translateY(-50%);
  }

  @keyframes swapAnimationOne {

    0%,
    100% {
      transform: translateY(-50%) scale(0.45);
    }

    25% {
      transform: translateY(-50%) scale(0.75);
    }

    50% {
      left: -0.5vw;
      transform: translateY(-50%) scale(0.45);
    }
  }

  @keyframes swapAnimationTwo {

    0%,
    100% {
      transform: translateY(-50%) scale(0.45);
    }

    25% {
      transform: translateY(-50%) scale(0.75);
    }

    50% {
      left: 4.3vw;
      transform: translateY(-50%) scale(0.45);
    }
  }


  .searchBtn .text {
    display: none;
  }

  .savedMsg.display {
    transform: translateX(-50%) scale(0.8) translateY(0px);
    z-index: 2000;
  }

  .savedMsg {
    top: 6%;
  }

  .inner {
    font-size: 0.7em;
    text-align: center;
  }

  .imageTiles {
    position: absolute;
    top: 6%;
    left: 12%;
    height: 75%;
    width: 100%;
    background: transparent;
    box-sizing: border-box;
    transform: scale(0.8);
    overflow-x: hidden;
    overflow-y: auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
  }

  .imageTiles::-webkit-scrollbar {
    display: none;
  }

  .imageTiles .maskImageTile1 {
    position: absolute;
    flex: 1;
    top: 0%;
    left: 10%;
    height: 450px;
    width: 250px;
    background: transparent;
    transition: 0.5s;
    transition-delay: 0.7s;
    transform: scale(0.8);

  }

  .imageTiles .maskImageTile2 {
    position: absolute;
    top: 63%;
    left: 10%;
    height: 450px;
    width: 250px;
    background: transparent;
    transition: 0.5s;
    transition-delay: 0.8s;
    flex: 1;
    transform: scale(0.8);

  }

  .imageTiles .maskImageTile3 {
    position: absolute;
    top: 140%;
    left: 10%;
    height: 450px;
    width: 250px;
    background: transparent;
    transition: 0.5s;
    transition-delay: 0.9s;
    flex: 1;
    transform: scale(0.8);

  }

  .imageTiles .maskImageTile4 {
    position: absolute;
    top: 205%;
    left: 10%;
    height: 450px;
    width: 250px;
    background: transparent;
    transition: 0.5s;
    transition-delay: 1s;
    flex: 1;
    transform: scale(0.8);

  }

  .showImage {
    position: absolute;
    top: 15%;
    height: 80%;
    left: 0%;
    width: 100%;
    background: rgba(24, 24, 24, 0.79);
    backdrop-filter: blur(10px);
    z-index: 200;
    opacity: 1;
    overflow: hidden;
    transform: translateY(0);
    border-bottom-left-radius: 22px;
    border-bottom-right-radius: 22px;
    transition: 0.5s;

  }

  .showImage .copyZone {
    left: 15%;
    top: 90%;
  }

  .showImage .backButton {
    top: 91%;
    left: 75%;
  }

  .showImage .imageContainer {
    width: 60%;
    height: 65%;
  }

  .enhancingMessage {
    display: none;
  }

  .acceptBtn {
    top: 72%;
    left: 15%;
    transform: scale(0.75);
  }

  .rejectBtn {
    top: 72%;
    left: 60%;
    transform: scale(0.75);
  }

  .logoutPopUp {
    width: 200px;
    left: 60%;
    top: 10%;
    z-index: 50;
    scale: 0.7;
  }

  .logoutPopUp .logoutPopUpUsername {
    font-size: 1.3em;
    top: 8%;
  }

  .loginNavBar {
    width: 80%;
    top: 3%;
    left: 50%;
    transform: translateX(-50%);
  }

  .accountMode {
    font-size: 12px;
    left: 20px;
    transform: translateY(0);
    top: 15%;
    width: 100%;
  }

  .loginButton {
    top: 60%;
    left: 3%;
    transform: scale(0.8) translateY(-50%);
  }

  .serverStatus {
    top: 60%;
    left: 70%;
    transform: scale(0.8) translateY(-50%);
  }

  .navBarDocs {
    top: 60%;
    left: 60%;
    transform: scale(0.8) translateY(-50%);
  }

  .navBarGitHub {
    display: none;
  }

  .redirectHome {
    top: 26px;
    left: 27%;
    transform: scale(0.8) translateY(-50%);
    font-size: 2.6rem;
  }

  #redirectBlogs {
    left: 38%;
    font-size: 2.5rem;
    top: 12px;
  }

  #userCell {
    left: 63%;
  }

  #redirectGitHub {
    left: 50%;  
    font-size: 2.5rem;
  }

  .imageThemeSectionBackdropv-2 {
    width: 90%;
    left: 45%;

  }
 
  
}