/* === Global Styles === */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #a053d3;
  background: url('assets_lady/background2.jpg') no-repeat center center fixed;
  background-size: cover;
  overflow-x: hidden;
}

/* For Chrome Mobile viewport fix */
html {
  height: -webkit-fill-available;
}

body {
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

/* === GIF Container === */
.gif-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 5px;
  z-index: 2;
}

.gif-container img {
  max-width: 500px;
  height: auto;
}

/* === Clickable Image === */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  height: 100%;
  width: 100%;
}

.clickable-image {
  height: 90vh;
  width: auto;
  max-height: 90vh;
  max-width: 100%;
  cursor: pointer;
  transition: none !important;
  display: block;
  object-fit: contain;
}

/* === Mobile Layout Fixes === */
@media (max-width: 900px) {
  html, body {
    margin: 0;
    padding: 0;
    /* Tweak: Combined background properties for neatness */
    background: url('assets_lady/mobilebackground.jpg') no-repeat center center;
    background-color: #a053d3;
    background-size: cover;
    background-attachment: scroll;
    height: 100%;
    width: 100%;
    overflow: hidden;
  }

  .gif-container {
    padding-top: 30px;
  }

  .gif-container img {
    max-width: 90vw;
    height: auto;
  }

  .container {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    height: auto;
    padding-bottom: 8px;
    z-index: 1;
  }

  .clickable-image {
    max-height: 70vh;
    width: auto;
    margin: 0;
  }
}

@media (max-width: 600px) {
  .clickable-image {
    max-height: 60vh;
  }

  .gif-container img {
    max-width: 85vw;
  }
}