@font-face {
  font-family: 'Easy Grotesk';
  src: url('https://cdn.glitch.global/9d81061a-ea12-44e1-a29c-69b46c84604f/EasyGrotesk-Regular.woff2?v=1747430409209') format('woff2'),
       url('https://cdn.glitch.global/9d81061a-ea12-44e1-a29c-69b46c84604f/EasyGrotesk-Regular.woff?v=1747430395799') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Easy Grotesk';
  src: url('https://cdn.glitch.global/9d81061a-ea12-44e1-a29c-69b46c84604f/EasyGrotesk-Medium.woff2?v=1747430404811') format('woff2'),
       url('https://cdn.glitch.global/9d81061a-ea12-44e1-a29c-69b46c84604f/EasyGrotesk-Medium.woff?v=1747430373545') format('woff');
  font-weight: 500;
  font-style: normal;
}



html, body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 100%;
  background: #f4f4f4;
  font-family: 'Easy Grotesk', sans-serif;
}

strong {
  font-weight: 500; /* Medium */
}


#container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* ---------------------------------- */
/* Core shape styles                  */
/* ---------------------------------- */

.shape {
  position: absolute;
  pointer-events: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  margin: 6px;
  box-sizing: border-box;
  font-size: 1rem;
  user-select: none;
  /*box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);*/
  background-color: white;
  will-change: transform;
  transform-origin: center;
  min-width: 100px;
  min-height: 100px;
  max-width: 360px;
  max-height: 400px;
  overflow: hidden;
  border-radius: 0;
  transition: box-shadow 0.2s ease;
}

.shape.dragging {
  z-index: 1000 !important;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
}

/* Circle shapes */
.circle {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
}

/* Hexagon shapes */
.hexagon {
  clip-path: polygon(
    50% 0%,
    93% 25%,
    93% 75%,
    50% 100%,
    7% 75%,
    7% 25%
  );
}

/* Inner text wrapper for clean spacing */
.shape-content {
  max-width: 90%;
  word-break: break-word;
  text-align: left;
}

.shape.circle .shape-content {
  max-width: 90%;
  text-align: center;
}

.shape-content .inner {
  padding: 1rem;
  box-sizing: border-box;
}

.shape.hexagon .shape-content .inner {
  padding: 1.5rem;
}

/* Headings */
.shape h2,
.shape h3,
.shape strong {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0.2rem 0;
  line-height: 1.3;
}

.shape p {
  margin: 0.4rem 0;
  font-size: 1rem;
  line-height: 1.4;
}

/* ---------------------------------- */
/* Mobile Styles                      */
/* ---------------------------------- */
@media (max-width: 768px) {
  .shape {
    font-size: 0.9rem;
    padding: 0.6rem;
    max-width: 280px;
    max-height: 320px;
  }

  .shape h2 {
    font-size: 1.1rem;
  }

  .shape h3,
  .shape strong {
    font-size: 1rem;
  }

  .shape p {
    font-size: 0.9rem;
  }

  .shape-content .inner {
    padding: 0.8rem;
  }

  .shape.hexagon .shape-content .inner {
    padding: 1rem;
  }
}


.link-box {
  display: inline-block;
  padding: 0.01em 0.08em;
  border: none;
  background: black;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.link-box:hover {
  background: #ffbcbc; /* soft red or coral pink */
  color: black;
}
