/* Loading Screen Styles */
#loadingScreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffde6b;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
  }
  
  #loadingScreen h1 {
    font-family: 'Amatic SC', sans-serif;
    font-size: 5vw; /* Adjusted for responsiveness */
    color: #333;
    margin-bottom: 2vw;
  }
  
  #cooking {
    position: relative;
    width: 40vh; /* Adjusted size */
    height: 40vh; /* Adjusted size */
    overflow: hidden;
  }
  
  .bubble {
    position: absolute;
    border-radius: 100%;
    box-shadow: 0 0 .25vh lighten(#333, 10%);
    opacity: 0;
  }
  
  .bubble:nth-child(1) {
    margin-top: 2.5vh;
    left: 58%;
    width: 2.5vh;
    height: 2.5vh;
    background-color: lighten(#333, 7%);
    animation: bubble 2s cubic-bezier(.53, .16, .39, .96) infinite;
  }
  
  .bubble:nth-child(2) {
    margin-top: 3vh;
    left: 52%;
    width: 2vh;
    height: 2vh;
    background-color: lighten(#333, 4%);
    animation: bubble 2s ease-in-out .35s infinite;
  }
  
  .bubble:nth-child(3) {
    margin-top: 1.8vh;
    left: 50%;
    width: 1.5vh;
    height: 1.5vh;
    background-color: #333;
    animation: bubble 1.5s cubic-bezier(.53, .16, .39, .96) .55s infinite;
  }
  
  .bubble:nth-child(4) {
    margin-top: 2.7vh;
    left: 56%;
    width: 1.2vh;
    height: 1.2vh;
    background-color: darken(#333, 3%);
    animation: bubble 1.8s cubic-bezier(.53, .16, .39, .96) .9s infinite;
  }
  
  .bubble:nth-child(5) {
    margin-top: 2.7vh;
    left: 63%;
    width: 1.1vh;
    height: 1.1vh;
    background-color: darken(#333, 6%);
    animation: bubble 1.6s ease-in-out 1s infinite;
  }
  
  #area {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    height: 50%;
    background-color: transparent;
    transform-origin: 15% 60%;
    animation: flip 2.1s ease-in-out infinite;
  }
  
  #sides {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-origin: 15% 60%;
    animation: switchSide 2.1s ease-in-out infinite;
  }
  
  #handle {
    position: absolute;
    bottom: 18%;
    right: 80%;
    width: 35%;
    height: 20%;
    background-color: transparent;
    border-top: 1vh solid #333;
    border-left: 1vh solid transparent;
    border-radius: 100%;
    transform: rotate(20deg) rotateX(0deg) scale(1.3, .9);
  }
  
  #pan {
    position: absolute;
    bottom: 20%;
    right: 30%;
    width: 50%;
    height: 8%;
    background-color: #333;
    border-radius: 0 0 1.4em 1.4em;
    transform-origin: -15% 0;
  }
  
  #pancake {
    position: absolute;
    top: 24%;
    width: 100%;
    height: 100%;
    transform: rotateX(85deg);
    animation: jump 2.1s ease-in-out infinite;
  }
  
  #pastry {
    position: absolute;
    bottom: 26%;
    right: 37%;
    width: 40%;
    height: 45%;
    background-color: #333;
    box-shadow: 0 0 3px 0 #333;
    border-radius: 100%;
    transform-origin: -20% 0;
    animation: fly 2.1s ease-in-out infinite;
  }
  
  /* Animations (unchanged) */
  @keyframes jump {
    0% {
      top: 24%;
      transform: rotateX(85deg);
    }
    25% {
      top: 10%;
      transform: rotateX(0deg);
    }
    50% {
      top: 30%;
      transform: rotateX(85deg);
    }
    75% {
      transform: rotateX(0deg);
    }
    100% {
      transform: rotateX(85deg);
    }
  }
  
  @keyframes flip {
    0% {
      transform: rotate(0deg);
    }
    5% {
      transform: rotate(-27deg);
    }
    30%, 50% {
      transform: rotate(0deg);
    }
    55% {
      transform: rotate(27deg);
    }
    83.3% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(0deg);
    }
  }
  
  @keyframes switchSide {
    0% {
      transform: rotateY(0deg);
    }
    50% {
      transform: rotateY(180deg);
    }
    100% {
      transform: rotateY(0deg);
    }
  }
  
  @keyframes fly {
    0% {
      bottom: 26%;
      transform: rotate(0deg);
    }
    10% {
      bottom: 40%;
    }
    50% {
      bottom: 26%;
      transform: rotate(-190deg);
    }
    80% {
      bottom: 40%;
    }
    100% {
      bottom: 26%;
      transform: rotate(0deg);
    }
  }
  
  @keyframes bubble {
    0% {
      transform: scale(.15, .15);
      top: 80%;
      opacity: 0;
    }
    50% {
      transform: scale(1.1, 1.1);
      opacity: 1;
    }
    100% {
      transform: scale(.33, .33);
      top: 60%;
      opacity: 0;
    }
  }
  
  /* Main Content Styles */
  body {
    font-family: Arial, sans-serif;
    background-color: #f3f4f6;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
  }
  
  .container {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
  }
  
  .title {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
    color: #1f2937;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  label {
    display: block;
    font-size: 0.875rem;
    color: #4b5563;
    margin-bottom: 0.5rem;
  }
  
  input,
  textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 1rem;
    color: #374151;
    background: #f9fafb;
  }
  
  input:focus,
  textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: #ffffff;
  }
  
  .btn {
    width: 100%;
    background-color: #3b82f6;
    color: #ffffff;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .btn:hover {
    background-color: #2563eb;
  }
  
  .menu-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 1rem 0 0.5rem;
    color: #1f2937;
  }
  .meal-group {
    display: flex;
    align-items: center; /* Align items vertically */
    justify-content: space-between; /* Spread items horizontally */
    margin-bottom: 0.5rem;
  }
  
  .meal-group label {
    font-size: 1rem;
    color: #374151;
    flex-grow: 1; /* Allow the label to take up space */
    margin-left: 0.5rem; /* Add space between checkbox and label */
  }
  
  .meal-group input[type="checkbox"] {
    margin-right: 0.5rem; /* Add space between checkbox and label */
  }
  .quantity-input {
    width: 60px;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 1rem;
    color: #374151;
    background: #f9fafb;
  }
  
  .quantity-input:focus {
    outline: none;
    border-color: #3b82f6;
    background: #ffffff;
  }
  
  .file-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 1rem;
    color: #374151;
    background: #f9fafb;
  }
  
  .file-input:focus {
    outline: none;
    border-color: #3b82f6;
    background: #ffffff;
  }
  
  #statusMessage {
    margin-top: 1rem;
    font-size: 0.875rem;
    text-align: center;
  }