
/* Responsive covet page stylesheet – mobile-first */

* { box-sizing: border-box; }

h1, h2, p {
  text-align: center;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  background-image: url("covetpage.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: scroll;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  overflow-x: hidden;
}

/* Make images responsive by default (IDs override as needed) */
img { max-width: 100%; height: auto; display: block; }

/* Desktop / large layout defaults */
#ImSticky {
  position: fixed;
  width: 40%;
  max-width: 500px;
  height: auto;
  top: -8%;
  left: -5%;
  z-index: 1;
}

#ImSticky2,
#ImSticky3 {
  position: fixed;
  width: 20%;
  max-width: 220px;
  height: auto;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

#ImSticky2 { bottom: 50%; }
#ImSticky3 { bottom: 35%; }

/* Tablets */
@media only screen and (max-width: 1024px) {
  #ImSticky { width: 35%; top: -5%; }
  #ImSticky2, #ImSticky3 { width: 35%; max-width: 260px; }
}

/* Mobile phones */
@media only screen and (max-width: 600px) {
  body { padding-bottom: 20px; }

  /* Stack elements in document flow for natural scrolling on phones */
  #ImSticky,
  #ImSticky2,
  #ImSticky3 {
    position: relative;
    width: 80%;
    max-width: 420px;
    margin: 10px auto;
    transform: none;
    left: auto;
    top: auto;
    bottom: auto;
  }

  /* Make background less likely to hide content on small screens */
  body { background-position: center top; background-size: cover; }
}

/* Extra small phones */
@media only screen and (max-width: 400px) {
  #ImSticky, #ImSticky2, #ImSticky3 { width: 90%; max-width: 360px; }
}