.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
  }
  
  .modal-content {
    background-color: #fefefe;
    margin: 12% auto;
    padding: 80px;
    padding-top: 40px;
    padding-bottom: 40px;
    border: 1px solid #888;
    width: 15.5%;
    border-radius: 8px;
    box-shadow: 0px 3px 0px rgba(133, 131, 131, 0.1);
    z-index: 200;

  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  form {
    width: auto; /* Set the width to auto */
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  
  input:required::after {
    content: none !important;
  }

  .input_fields {
    border: 1px solid #510059;
    background-color: #ffffff; 
    color: black; 
    padding: 8px; 
    border-radius: 4px; 
    width: 300px; 
    height: 50px;
    font-size: 14px; 
    margin-bottom: 30px;

}

.select_field{
    border: 1px solid #510059;
    background-color: #510059; 
    color: #ffffff; 
    padding: 12px; 
    border-radius: 4px; 
    width: 300px; 
    height: 50px;
    font-size: 14px; 
  
  }

  .product_button{
    margin-top: 30px;
  }

  @media screen and (max-width: 1600px) {

    .modal-content {
      background-color: #fefefe;
      margin: 12% auto;
      padding: 80px;
      padding-top: 40px;
      padding-bottom: 40px;
      border: 1px solid #888;
      width: 25%;
      border-radius: 8px;
      box-shadow: 0px 3px 0px rgba(133, 131, 131, 0.1);
  
    }

  }

  @media screen and (max-width: 1200px) {

    .modal {
      display: none;
      position: fixed;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.5);
    }
    
    .modal-content {
      background-color: #fefefe;
      margin: 12% auto;
      padding: 30px;
      padding-top: 40px;
      padding-bottom: 40px;
      border: 1px solid #888;
      width: 30%;
      border-radius: 8px;
      box-shadow: 0px 3px 0px rgba(133, 131, 131, 0.1);
  
    }
    
    .close {
      color: #aaa;
      float: right;
      font-size: 28px;
      font-weight: bold;
    }
    form {
      width: auto; /* Set the width to auto */
    }
    
    .close:hover,
    .close:focus {
      color: black;
      text-decoration: none;
      cursor: pointer;
    }
    
    input:required::after {
      content: none !important;
    }
  
    .input_fields {
      border: 1px solid #510059;
      background-color: #ffffff; 
      color: black; 
      padding: 8px; 
      border-radius: 4px; 
      width: 200px; 
      height: 30px;
      font-size: 14px; 
      margin-bottom: 30px;
  
  }
  
  .select_field{
      border: 1px solid #510059;
      background-color: #510059; 
      color: #ffffff; 
      padding: 4px; 
      border-radius: 4px; 
      width: 200px; 
      height: 40px;
      font-size: 14px; 
      
    
    }

    .product_button{
      margin-top: 30px;
    }



  }

  @media screen and (max-width: 784px) {

    .modal-content {
      background-color: #fefefe;
      margin: 12% auto;
      padding: 30px;
      padding-top: 40px;
      padding-bottom: 40px;
      border: 1px solid #888;
      width: 40%;
      border-radius: 8px;
      box-shadow: 0px 3px 0px rgba(133, 131, 131, 0.1);
  
    }


  }


  @media screen and (max-width: 600px) {

    .modal-content {
      background-color: #fefefe;
      margin: 12% auto;
      padding: 30px;
      padding-top: 40px;
      padding-bottom: 40px;
      border: 1px solid #888;
      width: 60%;
      border-radius: 8px;
      box-shadow: 0px 3px 0px rgba(133, 131, 131, 0.1);
  
    }


  }