/* ========================================
   CSS CUSTOM PROPERTIES
   ======================================== */
   :root {
    --gap: 16px;
    --wrap-max: 1400px;
    --box-padding: 12px;
    --border-radius: 10px;
    --color-mauve: #73415a;
    --color-mauve-dark: #4f3d46;
    --color-mauve-light: #c9b8c4;
    --color-text: #73415a;
    --color-cream: rgba(222, 206, 184, 0.94);
  }
  
  /* ========================================
     RESET & BASE
     ======================================== */
  *, *::before, *::after {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    padding: 0 20px 20px;
    background: url(bgimages/22bdayflower.JPG) center/cover no-repeat;
    background-attachment: fixed;
    font-size: 11px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: var(--color-text);
  }
  
  
  body::after {
    content: "";
    position: fixed;
    inset: 0;
   /* background: rgba(115, 65, 90, 0.3);*/
    pointer-events: none;
    z-index: 0;
  }
  
  audio { max-width: 100%; }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  /* ========================================
     FONTS
     ======================================== */
  @font-face {
    font-family: 'chelsea';
    src: url(fonts/chelsea.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: 'kodemono';
    src: url(fonts/kodemono.ttf) format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: 'SUPERCAR';
    src: url(fonts/SUPERCAR.TTF) format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
  
  @font-face {
    font-family: 'dotmatri';
    src: url(fonts/DOTMATRI.TTF) format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
  
  /* ========================================
     WRAPPER
     ======================================== */
  .wrapper {
    max-width: var(--wrap-max);
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
  }
  
  /* ========================================
     HEADER
     ======================================== */
  .header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 20px auto 0;
    padding: 10px 0;
    text-align: center;
  }
  
  .header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin: 0;
    padding: 0;
    line-height: 1.2;
    text-align: center;
  }
  
  .header h1.home-title {
    font-family: 'SUPERCAR', monospace;
    color: rgb(203, 144, 36);
    text-shadow:
      2px 2px 0 rgba(255, 255, 255, 0.8),
      4px 4px 0 rgba(0, 0, 0, 0.2),
      0 0 20px rgba(79, 61, 70, 0.3);
  }
  
  /* ========================================
     MENU / NAVBAR
     ======================================== */
  .menu {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 20px auto;
    padding: 0;
  }
  
  .menu ul {
    list-style-type: none;
    text-align: center;
    background-color: rgba(237, 230, 220, 0);
    border-radius: var(--border-radius);
    border-style: dotted; 
    border-color: rgb(203, 144, 36);
    box-shadow: 1px 1px 5px rgb(23, 23, 23);
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 650px;
    padding: 10px;
    margin: 0;
    gap: 5px;
  }
  
  .menu li {
    display: flex;
    flex: 1 1 auto;
    min-width: fit-content;
  }
  
  .menu a {
    font-family: 'dotmatri', 'Verdana', Geneva, Tahoma, sans-serif;
    color: rgba(248, 244, 244, 0.9);
    font-size: clamp(13px, 1.5vw, 14px);
    font-weight: bold;
    text-decoration: none;
    display: block;
    padding: 10px 15px;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
    white-space: nowrap;
    text-align: center;
    width: 100%;
  }
  
  .menu a:hover {
    transform: scale(1.3);
  }
  
  /* ========================================
     MAIN CONTENT CONTAINER
     ======================================== */
  .main-content-container {
    width: 100%;
    max-width: var(--wrap-max);
    margin: 24px auto;
    padding: var(--gap);
    position: relative;
    z-index: 1;
  }
  
  /* ========================================
     BOXES
     ======================================== */
  .box {
    border: 3px double;
    background: var(--color-cream);
    padding: 0;
    border-radius: var(--border-radius);
    font-family: 'kodemono', 'Verdana', Geneva, Tahoma, sans-serif;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }
  
  .box:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.3);
  }
  
  .box .inner {
    padding: 0.25em 1em 0.8em 1em;
    font-size: clamp(10px, 1.2vw, 11px);
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .box h1, .box h2, .box h3, .box h4 {
    font-family: 'chelsea', 'Verdana', Geneva, Tahoma, sans-serif;
    display: block;
    margin: 0;
    padding: 0.35em 0.25em 0.3em 0.25em;
    text-align: center;
    border-bottom: 3px double;
    font-size: clamp(15px, 2vw, 17px);
    border-radius: 0;
    color: rgb(247, 235, 220);
    text-shadow: 0 0 3px rgba(119, 106, 106, 0.7);
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  /* ========================================
     SCROLLBAR
     ======================================== */
  ::-webkit-scrollbar { width: 8px; height: 8px; }
  ::-webkit-scrollbar-track { background: rgba(143, 142, 142, 0.1); border-radius: 4px; }
  ::-webkit-scrollbar-thumb { background: rgba(148, 148, 148, 0.4); border-radius: 4px; }
  ::-webkit-scrollbar-thumb:hover { background: rgba(125, 125, 124, 0.6); }
  * { scrollbar-width: thin; scrollbar-color: rgba(82, 83, 82, 0.4) rgba(135, 134, 134, 0.1); }
  
  /* ========================================
     ARMOIRE PAGE OVERRIDES
     ======================================== */
  .armoire-page .main-content-container {
    background-color: rgba(255, 255, 255, 0);
    background-image: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 520px;
  }
  
  .armoire-page .box {
    background: rgba(255, 255, 255, 0.97);
    background-image: url(bgimages/armoire-bg-3.jpeg);
    background-size: contain;
  }
  
  .armoire-page .box h1,
  .armoire-page .box h2,
  .armoire-page .box h3,
  .armoire-page .box h4 {
    background: var(--color-mauve-light);
    color: #3d2b35;
  }
  
  /* ========================================
     SPINNING CIRCLE
     ======================================== */
  .orbit-stage {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 30px auto 20px auto;
    flex-shrink: 0;
  }
  
  .orbit-center {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
  }
  
  .orbit-center h2 {
    font-family: 'SUPERCAR', monospace;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--color-mauve);
    background-color: rgb(197, 131, 10);
    margin: 0;
    text-align: center;
    line-height: 1.25;
    letter-spacing: 0.03em;
    text-shadow:
      2px 2px 0 rgba(255, 255, 255, 0.8),
      4px 4px 0 rgba(0, 0, 0, 0.1);
  }
  
  .orbit-center p {
    font-family: 'kodemono', monospace;
    font-size: clamp(9px, 1.2vw, 11px);
    color: #ffffff;
    font-weight: bolder;
    margin: 8px 0 0 0;
    text-align: center;
    text-shadow:
      2px 2px 0 rgba(40, 34, 34, 0.8),
      4px 4px 0 rgba(0, 0, 0, 0.2),
      0 0 20px rgba(79, 61, 70, 0.3);
  }
  
  .orbit-ring {
    position: absolute;
    inset: 0;
    animation: spin 22s linear infinite;
    transform-origin: center center;
  }
  
  @keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
  }
  
  .orbit-item {
    position: absolute;
    width: 120px;   /* was 80px */
    height: 120px;  /* was 80px */
    top: 50%;
    left: 50%;
    margin: -60px 0 0 -60px;  
  }

  .orbit-item .orbit-inner {
    width: 100%;
    height: 100%;
    animation: counter-spin 22s linear infinite;
  }

  @keyframes counter-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(-360deg); }
  }
  
  .orbit-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }
  
  
  /* ========================================
     RESPONSIVE
     ======================================== */
  @media (max-width: 720px) {
    body { padding: 0 10px 20px; }
  
    .menu ul { flex-wrap: wrap; justify-content: center; gap: 8px; }
    .header h1 { font-size: 2.5rem; }
  }
  
  @media (max-width: 560px) {
    .orbit-stage { width: 300px; height: 300px; }
    .orbit-item { width: 80px; height: 80px; margin: -40px 0 0 -40px; }  /* was 54px */
    .orbit-center h2 { font-size: 1.2rem; }
  }
  
  @media (max-width: 480px) {
    .menu ul { flex-direction: column; max-width: 300px; width: 100%; }
    .menu li { width: 100%; }
    .menu a { width: 100%; text-align: center; }
  }