.form_btn{
  width: 10rem;
  height: 4rem;
  background-color: #1CB67D;
  text-align: center;
  padding-top: 1.1rem;
  border-radius: 5px;
  margin-left: 3rem;
  cursor: pointer;
}
.form_btn > a{
  color:white;
  text-decoration: none;
  font-weight: bold;
}
.form_btn:hover{
  background-color: #FF5A3F;
}
/* donation form */
  body{
      margin:0;
      padding: 0;
  }
  .donate-box{
  width: 70%;
  height: auto;
  border: 1px solid lightgrey;
	  margin: 3rem auto;
	  padding-top: 3rem;
  }

  body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width:none;
  margin-left: 0; 
  margin-right:0; 
  }

  .donation-form-title{
      width: 100%;
      height:5rem;
      display: flex;
      justify-content:center;
      margin-bottom: 1rem;
  }

  .donation-form-title > h2{
      font-family: Inter;
      font-weight: 600;
      line-height: 36px;
      letter-spacing: 0em;
      text-align: left;
      color: black;
  }

  .donor-adddress-input{
      width: 94%;
      height: 6rem;
      border-radius: 5px;
      border: 1px solid lightgrey;
      outline: none;
      padding: 10px;  
  }

  .first-info{
    display: flex;
    justify-content: space-around;
    margin-bottom: 1rem;
  }
  
  .form-group {
  width: 40%;
  margin-bottom: 1rem;
  }

  .form-group > label{
    font-size: 14px;
  }

  .donor-input{
    width: 96%!important;
    height: 3rem!important;
    border-radius: 5px!important;
    border: 1px solid lightgrey!important;
    outline: none!important;
    padding-left: 10px!important;
  }

  .button-box{
      display: flex;
      justify-content: center;
      margin-top:2rem;
  }

  .form_submit_btn{
      width: 35%;
      height: 4rem;
      background-color:  #1CB67D;
      font-size:20px;
      font-weight:700;
      border: none;
      border-radius: 5px;
      color: white;
      cursor: pointer;
      margin-bottom: 2rem;
  }

  .form_submit_btn:hover{
      background-color: #FF5A3F;
  }
  
  .donation-address{
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0em;
  text-align: left;
  padding: 0 3rem;
  }

  .des-check{
      display:flex;
      text-align:center;
  }
     
     .required-symbol {
       color: red;
       margin-left: 5px; 
     }
     
     .donor-input::placeholder {
       position: absolute;
       pointer-events: none;
       transition: opacity 0.3s ease-in-out;
       opacity: 1;
       color: black;
     }
     

     .popup > h2{
       font-weight: bolder;
     }
     
     .error{
       color: red;
     }

     
    /* Style for the popup */
/* body{
} */
  .overlay {
position: absolute;
  top: 0;
  left: 0;
  width: 137%;
  height: 253vh;
  background-color: rgba(100, 100, 100, 0.7);
  margin-top: -5rem;
  margin-left: -8rem;
  z-index: 100000;
  }

  .popup {
    width: 35rem;
    height: 15rem;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 1000000; 
    display:block;
  }

  .container{
      display:flex;
      justify-content:center;
      align-items:center;
      flex-direction: column;
  }

  .container > h3{
      font-weight:bold;
      font-family: Inter;
      font-weight: 600;
  }

  .done_btn{
      text-align: center;
      margin-top:1rem;
      width: 8rem;
      padding-top: 10px;
      height:2.8rem;
      background-color: #78B598;
      font-size:20px;
      font-weight:700;
      font-size:16px;
      border:none;
      border-radius: 5px;
      color:white;
      cursor:pointer;
  }

  .done_btn{
      text-decoration: none;
      color: white;
      margin:1rem;
  }

  .done_btn:hover{
      background-color: #FF5A3F;
  }


  /* Volunteer form */
  

  .volunteer-box{
    width: 70%;
    height: auto;
    border: 1px solid lightgrey;
    margin: 5rem auto;
	padding-top:3rem;
  } 

  .volunteer-comment{
    width: 97%;
    height: 6rem;
    border-radius: 5px;
    border: 1px solid lightgrey;
    outline: none;
    padding: 10px;  
}

.divider{
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  margin-top: -1rem;
  justify-content: center;
}

.line{
  width: 38%;
  height: 2px;
  background-color: black;
}

.address_div{
  padding: 0 10px;
	width: 6rem;
	text-align: center;
}

.volunteer_select{
        width: 96%;
       height: 3rem;
       border-radius: 5px;
       border: 1px solid lightgrey;
       outline: none;
       padding-left: 10px;
}

.dropdown-wrapper {
  position: relative;
}

#state_dropdown , #city_dropdown{
  position: absolute;
  z-index: 100;  
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); 
  width: 100%;
  max-height: 5rem; 
  overflow-y: auto; 
}

.dropdown-content{
  background-color: lightgrey;
	width:18.3rem;
}
  .dropdown-content > li{
    list-style: none;
    cursor: pointer;
    padding-left:5px;
  }

  .dropdown-content > li:hover{

    background-color: lightblue;
  }

/* contact form */
.contact-message{
  width: 95.3%;
  height: 6rem;
  border-radius: 5px;
  border: 1px solid lightgrey;
  outline: none;
  padding: 10px; 
}

.contact_form_btn{
  width: 8rem;
  height: 4rem;
  background-color: #78B598;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  background-color: #1CB67D;
}

.contact_form_btn:hover{
  background-color: #FF5A3F;
}
.contact_input_div{
  margin-bottom: 2rem;
}

.contact_input_div > label{
  font-size: 14px;
}

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

  .donate-box{
    width: 100%;
    border: 1px solid lightgrey;
    }

    /* volunteer-from */
  .volunteer-box {
    width: 100%;
    border: 1px solid lightgrey;
  }

  .donation-form-title > h2{
    font-family: Inter;
    font-weight: 600;
    font-size: 30px;
    line-height: 36px;
    letter-spacing: 0em;
    text-align: left;
    color: black;
  }

  .first-info{
    flex-direction: column;
    padding-left:2rem;
  }

  .form-group {
    width: 90%;
    margin-bottom: 1rem;
    }

    .form_submit_btn{
      height: 3rem;
  }

  .popup {
    width: 70%;
  }
}