@font-face {
    font-family: 'BetterSat';
    src: url('/bettersat.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Atteron';
    src: url('/atteron.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
  body {
    margin: 0;
    font-family: "Georgia", serif;
    color: #333;
    scroll-behavior: smooth;
    position: relative; /* required for absolute positioning */
    min-height: 100vh;  /* allow page to grow naturally */
  }
  
  #can_head {
    font-family: "BetterSat", sans-serif;
  }
  
  #time_section {
    margin-top: 15px;
  }

  * {
    text-align: center;
    color: #333;
  }
  
  nav {
    position: sticky;
    top: 0;
    background: #ffffff;
    padding: 1rem;
    text-align: center;
  }
  
  nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
  }
  
  nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    position: relative;
  }
  
  nav a.active,
  nav a:hover {
    color: #333;
  }
  
  .welcome_msg {
    padding:0rem;
    font-size: 30px;
    font-weight: normal;
  }

  #mw5 {
    align-self: center;
    width: 500px;
    max-width: 500px;
  }

  .date, #dresscodea {
    font-weight: normal;
  }
  .venue {
    margin:0rem;
    font-weight: normal;
  }
  
  section {
    padding: 0rem 2rem;
    max-width: 800px;
    margin: auto;
  }
  
  h1 {
    font-family: "Great Vibes", cursive;
    font-size: 3rem;
    color: #333;
    margin-top: 0px;
  }
  
  h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
    font-family: "BetterSat", sans-serif;
    font-size: 35px;
  }
  
  form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  form input,
  form select,
  form textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
  }
  
  form button {
    background: #ffffff;
    color: #000000;   /* fixed typo (was w333) */
    padding: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    outline: 1px solid #333;
  }
  
  form button:hover {
    background: #ffffff;
    outline: 2px solid #333;
  }
  
  footer {
    text-align: center;
    padding: 1.5rem;
    background: #f7f7f7;
    color: #333;
    font-size: 0.9rem;
    position: relative; /* needed so flowers align correctly */
  }
  
  /* === Flower Decorations === */
  .flower {
    position: absolute;
    width: 350px;  /* adjust size */
    z-index: -1;   /* behind text */
  }
  
  .top-left {
    top: 0;
    left: 0;
    transform: scaleX(1); /* keep normal, faces right */
  }
  
  .top-right {
    top: 0;
    right: 0;
    transform: scaleX(-1); /* mirror horizontally, faces left */
  }
  
  .bottom-left {
    bottom: 0;
    left: 0;
    transform: scaleY(-1); /* flip vertically, faces right */
  }
  
  .bottom-right {
    bottom: 0;
    right: 0;
    transform: scale(-1, -1); /* flip both ways, faces left */
  }
  
  /* Mobile adjustments */
@media (max-width: 768px) {
  .flower {
    width: 120px;  /* much smaller on phones */
  }
  .welcome_msg {
    padding-top:100px;
    font-size: 30px;
    font-weight: normal;
  }
  .submit {
    padding-bottom: 100px;
  }
}
