@import url('https://fonts.googleapis.com/css2?family=Cabin&family=Cabin+Condensed&family=Dancing+Script:wght@600&family=Montserrat:wght@500&display=swap'); 
 /* THIS IS THE NEW CHATGPT LAYOUT */
 
  body {
    box-sizing: border-box;
  }

  .rate-sheet {
    max-width: 1080px;
    margin: 20px auto;
    background-color: var(--contentBorder);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .rate-option-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; /* Center the content */
    align-items: center; /* might not need*/
  }

  .rate-option {
    flex: 1;
    min-width: 200px; /* ORIGINAL CODE: flex-basis: 48%; This is for having a 2 by 2 layout. */
    padding: 15px;
    border-radius: 5px;
    background-color: var(--contentBackground);
    box-sizing: border-box; /* Ensure padding is included in the width */
  }

   /* Add shadows on hover */
   .rate-option:hover {
    box-shadow: 0 8px 12px 0 rgba(0,0,0,0.2)
  }

  .rate-sheet h2 {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    font-size: 1.45em;
    font-weight: 500;
    color: var(--bodyh2Text);
    text-align: center;
    margin: 2px;
  }

  .rate-option p {
    color: var(--bodyText);
  }

  /* Uniqe style options for ID containters */
#rate {
  font-family: 'Poppins', sans-serif;
  color: var(--rateText);
  font-weight: 500;
  font-size: 1.1em;
  margin-bottom: 2px;
}

#boarding {
  flex-basis: 100%; /* Full width for E1 */
}

#overnight,
#dropin {
  flex-basis: calc(50% - 20px); /* Half width for both elements (subtracting margin) */
  height: 250px; /* Set a fixed height for both elements */
  overflow: hidden;
}

#farm {
  flex-basis: 100%; /* Full width for E4 */
}


@media only screen and (max-width: 800px) {
  .rate-sheet {
    margin: 20px 10px; /* Adjust this value as needed for narrow screens */
    padding: 20px 20px; /* Adjust padding */
    box-sizing: border-box; /* Ensure padding is included in the width */
  }

  .rate-option {
    flex-basis: calc(100% - 20px);
  }

  #overnight,
  #dropin {
    flex-basis: calc(100% - 20px); /* Reset center elements to flow with top and bottom (subtracting margin) */
    height: revert;
  }
}