html, body {
  border: 0;
  padding: 0;
  margin: 0;
  height: 100%;
}

body {
  background: #ddd;
  justify-content: center;
  align-items: center;
  font-size: 16px;
}

form {
    background-image: url('../img/Slider/h5.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    vertical-align: middle;
    width: 30%;
    box-shadow: -1px 8px 37px 8px rgba(160, 160, 160, 0.7);
    position: relative;
    color: #333;
    border-radius: 10px;
    /* margin-left: 34%; */
    font-family: 'Capriola', sans-serif;
    border-top: 4px solid #089e2e;
    border-left: 4px solid #089e2e;
    border-right: 1px solid #089e2e;
    border-bottom: 1px solid #089e2e;
    right: 88px;
    float: right;
}


/*form {
  background: white;
  width: 30%;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.7);
  position: relative;
  color: #333;
  border-radius: 10px;
  margin-left: 34%;
  font-family: 'Capriola', sans-serif;
}*/
    form header {
        background: transparent;      
        background-image: url('../img/Slider/output-onlinepngtools (5).png');       
        background-repeat: no-repeat;
        background-size: cover;
        position: center;
        padding: 18px 15px;
        color: white;
        font-size: 1.2em;
        font-weight: 600;
        border-radius: 10px 10px 0 0;
    }


/*form header {
  background: #FF3838;
  padding: 10px 20px;
  color: white;
  font-size: 1.2em;
  font-weight: 600;
  border-radius: 10px 10px 0 0;
}*/
form label {
    margin-left: 20px;
    display: inline-block;
    margin-top: 20px;
    position: relative;
    font-size: 14px;
}
form label span {
    color: #FF3838;
    font-size: 1em;
    position: absolute;
    left: 5.2em;
    top: 4px;
}
form input {
  display: block;
  width: 78%;
  margin-left: 20px;
  padding: 5px 5px;
  font-size: 1em;
  border-radius: 3px;
  outline: none;
  border: 1px solid #ccc;
}
form .help {
  margin-left: 20px;
  font-size: 10px;
  color: #777;
}
    form button {
        position: relative;
        width: 120px;
        height: 40px;
        line-height: 40px;
        font-size: 16px;
        border-radius: 50px !important;
        margin-top: 30px;
        margin-bottom: 30px;
        left: 50%;
        transform: translate(-50%, 0);
        font-family: inherit;
        color: white;
        outline: none;
        border: none;
        font-weight: 400;
        border-radius: 3px;
        box-shadow: 0px 0px 10px rgba(51, 51, 51, 0.4);
        cursor: pointer;
        transition: all 0.15s ease-in-out;
        background-color: #089e2e !important;
    }
form button:hover {
   background-color:#12391c !important;
   color:#fff;
}
form button:active {
  background-color: rgb(118, 197, 49);
  box-shadow: 0 2px #666;
 transform:rotate3d(5deg)
}


@media (max-width: 970px) {
    form {
       
        width: 42%;
        margin-left: 30%;
       
    }
}
@media (max-width: 768px) {
    form {
       
        width: 48%;
        margin-left: 25%;
       
    }
}
@media (max-width: 630px) {
    form {
       
        width: 68%;
        margin-left: 18%;
       
    }
}
@media (max-width: 420px) {
    form{
        width:82%;
        margin-left: 10%;
        margin-top:-10%;
        
    }
    
}
@media (max-width: 320px) {
    form{
        margin-top:-15%;
        width:92%;
        margin-left: 4%;
        
        
    }
    
}

