.checkout-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    gap: 20px;
  }

  .cart-items {
    width: 40%;
    padding: 30px;
    background: white;
    box-shadow: 0 8px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
  }
h1{
    margin-left: 20px;
    color: #000000;
    align-items: center;
  
}
  h2 {
    color: #ff007f;
    margin-bottom: 15px;
    text-align: center;
  }

  label {
    display: block;
    margin: 8px 0 5px;
    font-weight: bold;
  }

  input, select, button {
    width: 90%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
  }

  #btn button {
    width:120px;
    height: 40px;
    background-color: #ff007f;
    color: white;
    cursor: pointer;
    font-size: 16px;
    border: none;
    padding: 5px;
    margin-top: 10px;
    align-items: center;
    margin-left: 180px;
  }

  button:hover {
    background-color: #af7291;
  }


  /* For screens up to 768px */
@media (max-width: 768px) {
  .checkout-container {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }

  .cart-items, .checkout-form {
    width: 100%;
    padding: 15px;
  }

  h1 {
    margin-left: 10px;
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  input, select, button {
    width: 100%;
    padding: 8px;
  }

  #btn button {
    width: 120px;
    height: 35px;
    margin-left: 0;
    font-size: 14px;
  }
}

/* For screens up to 480px */
@media (max-width: 480px) {
  .checkout-container {
    padding: 5px;
  }

  .cart-items, .checkout-form {
    width: 100%;
    padding: 10px;
  }

  h1 {
    margin-left: 5px;
    font-size: 1.2rem;
  }

  h2 {
    font-size: 1rem;
  }

  input, select, button {
    width: 100%;
    padding: 6px;
  }

  #btn button {
    width: 100px;
    height: 30px;
    font-size: 12px;
    margin-left: 0;
  }
}

/* For small screens up to 360px */
@media (max-width: 360px) {
  .checkout-container {
    padding: 5px;
  }

  .cart-items, .checkout-form {
    width: 100%;
    padding: 8px;
  }

  h1 {
    margin-left: 5px;
    font-size: 1rem;
  }

  h2 {
    font-size: 0.9rem;
  }

  input, select, button {
    width: 100%;
    padding: 5px;
  }

  #btn button {
    width: 80px;
    height: 25px;
    font-size: 10px;
    margin-left: 0;
  }
}
