@import url('https://fonts.googleapis.com/css2?family=Ballet:opsz@16..72&display=swap');

html, body {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #BD9B46;

  /* BACKGROUND MOVED HERE */
  background-image: url("printprint.jpeg");
  background-position: center center fixed;
  background-repeat: no-repeat;
  background-size: cover;   /* always fill the screen */
  background-attachment: scroll;  /* <- important: NO “fixed” (that’s what causes pixelation on phones) */
}









.background-text {
  position: fixed;
  text-align: center;
  left: 50%;
  transform: translate(-49%, 10%);
  font-family: 'Ballet';
  color: #BD9B46;
  pointer-events: none;
  z-index: -1;
  font-size: 220pt;
  width: 100vw;
  cursor: url('cursor1_imresizer.png'), auto;
/* match homepage spacing */
}




#nav {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;     
    height: 5vh;
    padding: 0 10px;
    font-family: sans-serif;
    background-color: white;
    color: #BD9B46;
    font-size: 18pt;
    position: fixed;
    cursor: url('cursor1_imresizer.png'), auto;
    width: 100vw;
    box-sizing: border-box;
    top: 0;
    z-index: 100;
}

#nav p {
    margin: 0;
}

#place { text-align: left; }
#name  { text-align: center; }
#year  { text-align: right; }
.star {
    color: white;
    font-size: 20px;
    transition: color 0.3s;
    cursor: default;
    cursor: url('cursor2_imresizer.png'), auto;
}  

.star:hover {
    color: #BD9B46;
}

.star1:hover {
    color: #BD9B46;
    transition: color 0.3s;
    cursor: default;
}

.star1 {
    color: white;
    font-size: 20px;
    cursor: url('cursor2_imresizer.png'), auto;
    margin-top: 35px;
}  

#maincolumn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin-top: 5vh; 
}

.photodiv {
    border: white 4px solid;
    cursor: pointer !important;
    transition: border 0.1s;
    max-height: auto;
    display: block;
    cursor: url('cursor2_imresizer.png'), auto;
    line-height: 0;
    position: relative; 
}

.photodiv:hover {
    border: #BD9B46 4px solid !important; 
}

.photodiv img {
    display: block;     
    width: 100%;       
    cursor: url('cursor2_imresizer.png'), auto;
    height: auto;
    vertical-align: top;
}

.photodiv p {
    margin: 0;
    padding: 0;
    line-height: 0;
    height: 0;
    overflow: hidden;
}

.product {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px; 
    margin-top: 50px;
    padding-bottom: 50px;
    max-width: 480px;
    max-height: auto;
}



p {
    transition: color 0.3s;
    cursor: default;
}

p:hover {
    color: #E55DB8;
}

/* centered star between products with extra breathing room */
.star--between{
  width:100%;
  display:flex;
  justify-content:center;
    cursor: url('cursor2_imresizer.png'), auto;
  align-items:center;
  margin:50px 0;      /* space above/below the star */
  line-height:1;
}
.star--between span{
  display:inline-block;
  font-size:20px;     /* adjust if you want it bigger/smaller */
  color:white;
  transition:color .3s;
}
.star--between span:hover{ color:#BD9B46; }

/* keep these – they apply ONLY to the home page cards */
.page-home .product .photodiv { position: relative; }
.page-home .product .photodiv > .product-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  text-align: center;
  color: white;
  font-size: 12pt;
  font-family: Arial, Helvetica, sans-serif;
  margin: 20px;
  height: 53px;
  line-height: 1.3;
  transition: all 0.3s;
  cursor: default;
}

/* Hide product info overlay until hover */
.page-home .product .photodiv > .product-info {
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none; /* prevent accidental hover on text */
}

/* Reveal name and price only when hovering over the image */
.page-home .product .photodiv:hover > .product-info {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Mobile scaling tweaks ---------- */
@media (max-width: 700px) {

  /* shrink the big background title a bit on phones */
  .background-text {
    font-size: 120pt;         /* down from 220pt — tweak to taste */
  }

  /* shrink nav text */
  #nav {
    font-size: 10pt;
    height: 6vh;              /* a bit taller for touch */
    padding: 0 9px;
  }

  /* give main content a bit more top margin so it clears the nav */
  #maincolumn {
    margin-top: 0vh;
  }

  /* optionally, make product column breathe a bit */
  .product {
    max-width: 300px;
    gap: 32px;
  }
}

.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;

  background-image: url("printprint.jpeg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;

  z-index: -2;
  pointer-events: none;
  image-rendering: auto;

  /* Prevent iOS pixelation */
  transform: translateZ(0);
  will-change: transform;
}

@media (max-width: 900px) {
  .bg-image {
    height: 100vh;       
    width: 100vw;        
    background-size: cover; /* Keep it filling screen */
    background-attachment: scroll; /* iOS-safe */
  }
}

@media (max-width: 600px) {
  #star-modal {
    font-size: 12pt;
  }

  #star-modal p {
    font-size: 12pt;
  }

  #star-modal .modal-tab {
    font-size: 12pt !important;
  }
}