/*
  Project: Plutette Caption Generator
  Version: 1.0
  Description: Styling and layout for Plutette's glamorous poster interface
*/

body {
    font-family: 'Georgia', serif;
    background-color: #1d1d2c;
    color: #fdf5e6;
    text-align: center;
    padding: 1em;
    margin: 0;
  }
  
  h1 {
    font-size: 2.5rem;
    margin-bottom: 1em;
  }
  
  .poster-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1em;
  }
  
  #plutetteCanvas {
    max-width: 100%;
    border: 2px solid #fdf5e6;
    background-color: black;
  }
  
  #sampleToggle {
    max-width: 100%;
    border: 2px dashed #999;
    margin-top: 1em;
    cursor: zoom-in;
    transition: transform 0.3s ease;
  }
  
  #sampleToggle.zoomed {
    max-width: none;
    width: auto;
    height: auto;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.2);
    z-index: 9999;
    border: 4px solid white;
    cursor: zoom-out;
    background: black;
  }
  
  .controls {
    margin: 1em auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5em;
  }
  
  .controls input[type="text"] {
    padding: 0.5em;
    font-size: 1rem;
    width: 250px;
    border-radius: 4px;
    border: none;
  }
  
  .controls button {
    padding: 0.5em 1em;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    background-color: #ff5c8a;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .controls button:hover {
    background-color: #ff2c6d;
  }
  
  footer {
    margin-top: 2em;
    font-size: 0.9em;
    opacity: 0.75;
  }
  