@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&family=Fira+Mono:wght@400;500;700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
  margin: 0;
  padding: 0;
}

.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden; /* Prevent scroll bars */
}

body {
  /* font-family: Arial, sans-serif; */
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
}

/* .sketch-container {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 20px;
  margin-bottom: 30px;
} */

#sketch1-container {
  width: 100%;
  height: calc(150vh + 200px);
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* #sketch2-container {
  width: 100vw;
  height: calc(120vh);
  margin: 0;
  padding: 0;
  overflow: hidden;
} */

.sketch-container h2 {
  color: #333;
  margin-top: 0;
}

/* Make sure the sketch container allows positioning */
.background-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* Ensure p5 canvas is in the background */
.background-container canvas {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 0;
}

.linebucket {
  width: 100%;
  height: 3px;
  background-color: black;
  border: none;
  margin-top: 1.5rem;
  z-index: 5;
  position: absolute; /* <-- Add this */
}



.painttext {
  text-align: left;
  margin-top:4rem; /* adjust as needed */
  margin-left: 2.5rem;
  font-family: "Fira Mono", monospace;
  font-size: 2.2rem;
  font-weight: bold;
  color: black; /* match your background */
  z-index: 5;
  position: relative;
}



br.mobile-only {
  display: none;
}

/* Position hover content over canvas */
.hover-content {
  position: relative;
  z-index: 2;
  height: 100%;
  pointer-events: none; /* allows canvas to remain interactive if needed */
}

/* Arc layout using flex + transform */
.arc-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding-top: 10vh; /* move the group up */
  padding-left: 2rem;
  padding-right: 2rem;
}

.image-hover {
  position: relative;
  width: 300px; /* Try 160-200px depending on your image quality */
  height: auto;
  pointer-events: auto;
}
/* Create arc with slight vertical offsets */
.arc-layout .image-hover:nth-child(1) { transform: translateY(-60px); }
.arc-layout .image-hover:nth-child(2) { transform: translateY(90px); }
.arc-layout .image-hover:nth-child(3) { transform: translateY(0); }
.arc-layout .image-hover:nth-child(4) { transform: translateY(-50px); }
.arc-layout .image-hover:nth-child(5) { transform: translateY(40px); }

.default-img,
.hover-img {
  width: 100%;
  height: auto;
  display: block;
}

.hover-img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.image-hover:hover .hover-img {
  opacity: 1;
}

#sketch3-container {
  width: 100%;
  height: 130vh; /* Or whatever height you prefer */
  position: relative;
  overflow: hidden;
  background-color: #000000;
}

#sketch4-container {
  width: 100%;
  height: 100vh; /* Or whatever height you prefer */
  position: relative;
  overflow: hidden;
  background-color: #000000;
  z-index: 0;
}

/* Base container for all overlay text */
.text {
  position: absolute;
  font-family: 'Montserrat', sans-serif;
  font-size: 9rem;
  color: white;
  transform: translateY(-30%);
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0 0vw;
  letter-spacing: 2px;
  pointer-events: none;
  z-index: 2;
}

/* Top right text */
.top-right {
  top: 2rem;
  right: 2rem;
  font-size: 15rem;
  text-align: right;
}

/* Bottom left wrapper (for text + button) */
.bottom-left {
  top: 15rem;
  left: 2rem;
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  pointer-events: none;
}

/* The SWEETER text itself */
.sweeter-text {
  font-size: 15rem;
  margin: 0;
  pointer-events: none;
}

/* The clickable image button */
.sweet-button {
  width: 50px;
  height: 50px;
  pointer-events: auto;
  cursor: pointer;
  /* Optional nudge for perfect vertical alignment */
  transform: translateY(-50%);
}

.button-link {
  pointer-events: auto;
}



#purchase-page{
  *{
    margin: 0;
    padding: 0;
  }

  .header {
    text-align: center;
    padding: 0 0vw;
    margin: 0;
    transform: translateY(-22%);
  }

  .logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 14rem;
    font-weight: 400;
    letter-spacing: 8px;
  }

  .title-section {
    display: flex;
    flex-direction: column;
    padding: 3rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
  }
  
  .title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  .left-title h2 {
    font-size: 2.5rem;
    margin: 0;
  }
  
  .right-date {
    text-align: right;
    font-size: 1rem;
    line-height: 1.4;
    padding-right: 1rem;
  }
  
  .section-divider {
    width: 100%;
    height: 2px;
    background-color: black;
    border: none;
    margin-top: 1.5rem;
  }

  .product-section {
    display: flex;
    justify-content: space-between;  /* Pushes image and table apart */
    align-items: flex-end;         /* Aligns tops */
    gap: 3rem;                       /* Controls spacing between image and table */
    padding: 0 3rem;
    flex-wrap: wrap;                 /* Keeps it responsive */
  }
  .product-image img {
    max-width: 39vw;
    width: 300%;
  }
  .product-info table {
    font-family: 'Fira Mono', monospace;
    border-collapse: collapse;
  }
  .product-info td {
    padding: 1.25rem 1rem;
    border-bottom: 2px solid black;
  }
  .product-info td:first-child {
    padding-right: 6rem; /* Increase spacing between title and content */
    white-space: nowrap; /* Optional: keeps titles on one line */
    font-weight: 700; /* title column */
    font-size: 1.25rem;
  }
  .product-info td:last-child {
    font-weight: 500; /* content column */
    font-size: 1.25rem;
  }

  .cta-section {
    margin-top: 3rem;
    margin-left: 3rem;
    font-family: 'Fira Mono', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: left;
  }
  
  .btn-line-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: -0.5rem; /* 🔼 Pull everything up slightly */
  }
  
  .btn-line {
    flex: 1;
    height: 2px;
    background-color: black;
    border: none;
    margin: 0;
    margin-top: -5rem;
  }
  
  .buy-btn {
    padding: 0.75rem 1.5rem;
    background: black;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    border: none;
    cursor: pointer;
    white-space: nowrap; /* Keeps the button text in one line */
    margin-top: -1rem;
    margin-right: 3rem;
  }
  
  .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 3rem;
    margin-bottom: 5rem;
  }
  .gallery-item {
    text-align: center;
  }
  .gallery-item img {
    width: 100%;
    max-width: 600px;
  }
  .gallery-item p {
    margin-top: 0.5rem;
    font-family: 'Fira Mono', monospace;
  }


  .full-width-image {
    width: 100%;
    margin-top: 3rem;
    position: relative;
  }

  .line-title-wrapper {
    text-align: left;
    margin-bottom: 1rem;
  }
  
  .line-title {
    font-family: 'Fira Mono', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    margin-left: 3rem;
    margin-bottom: -8rem;
    z-index: 0;
  }

  .curve-top-line {
    position: absolute;
    top: 22%;
    height: 2px;
    width: calc(100% - 6rem); /* subtracting 3rem from both sides */
    margin: 0 3rem;
    background-color: black;
    z-index: 0;
  }

  
  .curve-divider {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    position: relative;
    z-index: 1; /* Above the line */
  }

/* SECTION: Instructions */
.instructions-section {
  background-color: #000;
  color: #fff;
  padding: 4rem 2rem 2rem;
  text-align: center;
  font-family: 'Fira Mono', monospace;
}

.steps-image-wrapper {
  text-align: center;
  margin-bottom: 2rem;
}

.steps-full-img {
  width: 100%;
  max-width: 62rem; /* Or whatever works best */
  height: auto;
}

.ender {
  text-align: center;
  padding: 0 0vw;
  margin: 0;
  transform: translateY(0%);
  background-color: #000;
  color: #fff;
}

.ending {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.65rem;
  font-weight: 400;
  letter-spacing: 3px;
  transform: translateY(22%);
}

.back-home-wrapper {
  margin: 0rem 0 0rem;
}

.back-home-btn {
  font-family: 'Fira Mono', monospace;
  font-size: 1.5rem;
  text-decoration: none;
  color: white;
  background-color: white;
  padding: 1rem 0;
  border: none;
  border-radius: 0;
  display: block;         /* Make it a block-level element */
  width: 100%;           /* Full viewport width */
  text-align: center;     /* Center the text */
  transition: background-color 0.3s ease;
}

.back-home-btn:hover {
  background-color: #000000;
}


}
  



@media (max-width: 768px) {
  .arc-layout {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0.1vh;
    height: auto;
    gap: 1.25rem;
  }

  .image-hover {
    width: 120px;
    height: auto;
  }

  .arc-layout .image-hover:nth-child(1) { transform: translateX(20px); }
  .arc-layout .image-hover:nth-child(2) { transform: translateX(-50px); }
  .arc-layout .image-hover:nth-child(3) { transform: translateX(0); }
  .arc-layout .image-hover:nth-child(4) { transform: translateX(50px); }
  .arc-layout .image-hover:nth-child(5) { transform: translateX(-30px); }

  .painttext p {
    font-size: 1.25rem;
    margin-top: -4rem;
  }

  br.mobile-only {
    display: block;
  }

  .top-right {
    font-size: 3rem;
    padding-top: 9rem;
  }

  .sweeter-text {
    font-size: 3rem;
  }

  .sweet-button {
    width: 36px;
    height: 36px;
    transform: translateY(70%);
  }

  .bottom-left {
    gap: 1rem;
  }

  #purchase-page{

    *{
      margin: 0;
      padding: 0;
    }
    .header {
      text-align: center;
      padding: 0 0vw;
      margin: 0;
      transform: translateY(-22%);
    }
  
    .logo {
      font-size: 4.5rem;
      font-weight: 400;
      letter-spacing: 6px;
    }
  
    .title-row {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 0.75rem;
    
    }

    .product-image img {
      max-width: 77vw;
      width: 300%;
      align-content: center;
    }
  
    .left-title h2 {
      font-size: 1.25rem;
      text-align: center;
    }
  
    .right-date {
      text-align: center;
      padding: 0;
      font-size: 0.75rem;
    }
  
    .section-divider {
      width: 100%;
      margin: 1rem auto;
    }

    .product-section {
      padding: 0 3rem;
      gap: 0.75rem; 
    }

    .product-info td {
      padding: 0.75rem 0.25rem;
      border-bottom: 2px solid black;
    }

    .product-info td:first-child {
      padding-right: 1rem; /* Increase spacing between title and content */
      white-space: nowrap; /* Optional: keeps titles on one line */
      font-weight: 700; /* title column */
      font-size: 0.85rem;
    }

    .product-info td:last-child {
      font-weight: 500; /* content column */
      font-size: 0.85rem;
    }

    .cta-section {
      margin-top:2rem;
      margin-left: 3rem;
      margin-right: 3rem;
      font-family: 'Fira Mono', monospace;
      font-size: 1rem;
      font-weight: 700;
      text-align: center;
    }
    
    .btn-line-wrapper {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 1rem;
      margin-top: -0.5rem; /* 🔼 Pull everything up slightly */
    }
    
    .btn-line {
      flex: 1;
      height: 2px;
      background-color: black;
      border: none;
      margin: 0;
      margin-top: 3rem;
      
    }
    
    .buy-btn {
      padding: 0.5rem 1rem;
      margin-top: -1rem;
      margin-right:0rem;
      align-content: center;
    }

    .gallery {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
      padding: 3rem;
      margin-bottom: 1rem;
    }
    .gallery-item p {
      margin-top: 0.5rem;
      font-family: 'Fira Mono', monospace;
    }

    .line-title-wrapper {
      text-align: left;
      margin-bottom: 1rem;
    }
    
    .line-title {
      font-family: 'Fira Mono', monospace;
      font-size: 1rem;
      margin-left: 3rem;
      margin-bottom: -4rem;
    }

    .instructions-section {
      background-color: #000;
      color: #fff;
      padding: 1rem 2rem 2rem;
      transform: translateY(-1%);
    }
    
    .steps-full-img {
      width: 100%;
      max-width: 20rem; /* Or whatever works best */
      height: auto;
    }

    .ender {
      transform: translateY(-53%);
    }
    
    .ending {
      font-family: 'Montserrat', sans-serif;
      font-size: 1rem;
      font-weight: 400;
      letter-spacing: 3px;
      transform: translateY(22%);
    }

    .back-home-wrapper {
      margin: 0rem 0 0rem;
      transform: translateY(-10%);
    }
    
    .back-home-btn {
      font-family: 'Fira Mono', monospace;
      font-size: 1rem;
      text-decoration: none;
      color: white;
      background-color: white;
      padding: 0.5rem 0;
      border: none;
      border-radius: 0;
      display: block;         /* Make it a block-level element */
      width: 100%;           /* Full viewport width */
      text-align: center;     /* Center the text */
      transition: background-color 0.3s ease;
    }
    
    .back-home-btn:hover {
      background-color: #000000;
    }




  }


  
  
} /* 👈 Close first media query properly */

/* ✅ Now start the iPad/tablet view */
@media (min-width: 768px) and (max-width: 1280px) {
  .painttext p {
    font-size: 1.75rem;
    margin-top: -1rem;
  }

  /* br.mobile-only {
    display: block;
  } */

  .top-right {
    font-size: 8rem;
    padding-top: 6rem;
  }

  .sweeter-text {
    font-size: 8rem;
  }

  .sweet-button {
    width: 42px;
    height: 42px;
    transform: translateY(10%);
  }

  .bottom-left {
    gap: 1.2rem;
  }

  #purchase-page{

    .header {
      text-align: center;
      padding: 0 0vw;
      margin: 0;
      transform: translateY(-22%);
    }
  
    .logo {
      font-family: 'Montserrat', sans-serif;
      font-size: 13rem;
      font-weight: 400;
      letter-spacing: 8px;
    }

    .product-section {
      padding: 0 3rem;
    }

    .product-info td {
      padding: 1.1rem 1rem;
      border-bottom: 2px solid black;
    }

    .product-info td:first-child {
      padding-right: 5rem; /* Increase spacing between title and content */
      white-space: nowrap; /* Optional: keeps titles on one line */
      font-weight: 700; /* title column */
      font-size: 1.1rem;
    }

    .product-info td:last-child {
      font-weight: 500; /* content column */
      font-size: 1.1rem;
    }

    .ending {
      font-family: 'Montserrat', sans-serif;
      font-size: 3rem;
      font-weight: 400;
      letter-spacing: 3px;
      transform: translateY(22%);
    }
  }
}

@media (min-width: 1400px) {

  #purchase-page{

    *{
      margin: 0;
      padding: 0;
    }
    .header {
      text-align: center;
      padding: 0 0vw;
      margin: 0;
      transform: translateY(-22%);
    }
  
    .logo {
      font-family: 'Montserrat', sans-serif;
      font-size: 22rem;
      font-weight: 400;
      letter-spacing: 8px;
    }

    .left-title h2 {
      font-size: 3.5rem;
      margin: 0;
    }
    
    .right-date {
      text-align: right;
      font-size: 1.5rem;
      line-height: 1.4;
      padding-right: 1rem;
    }

    .product-section {
      padding: 0 3.5rem;
    }

    .product-info td {
      padding: 1.5rem 1rem;
      border-bottom: 2px solid black;
    }

    .product-info td:first-child {
      padding-right: 6rem; /* Increase spacing between title and content */
      white-space: nowrap; /* Optional: keeps titles on one line */
      font-weight: 700; /* title column */
      font-size: 2.2rem;
    }

    .product-info td:last-child {
      font-weight: 500; /* content column */
      font-size: 2.2rem;
    }

    .cta-section {
      margin-top: 4rem;
      font-size: 2.2rem;
    }

    .btn-line-wrapper {
      margin-top: -1.5rem; /* 🔼 Pull everything up slightly */
    }
    

    .buy-btn {
      padding: 1.2rem 2.5rem;
      font-size: 20px;
    }

    .line-title {
      font-size: 2.2rem;
      margin-bottom: -10rem;
    }

    .steps-full-img {
       max-width: 85rem; /* Or whatever works best */
     }

    
    .ending {
      font-family: 'Montserrat', sans-serif;
      font-size: 5.65rem;
      font-weight: 400;
      letter-spacing: 3px;
      transform: translateY(22%);
    }
    
    

  }

}
