html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: "Raleway";
}

.cont1_m, .cont2_m {
  display: none;
}

.cont1 {
  position: relative;
  width: 100%;
  height: 650px;
  background: url(dots1.png), url(dots2.png),url(contact.png);
  background-position: left top, right top, 17% 50%;
  background-size:  14%, 35%,28%;
  background-repeat: no-repeat;
}

.input {
  font-size: x-large;
  font-family: FontAwesome;
}

.input-fields1 {
    display: flex;
    flex-direction: column;
    margin-right: 0%;
}

.input-fields1,
.msg {
    text-align: center;
    align-items: center;
    width: 100%;
}

.input-fields1 .input,
.msg textarea {
    margin: 10px 0;
    background: #bac3ba;
    border: 2px solid black;
    padding: 10px;
    color: rgb(0, 0, 0);
    width: 300px;
}

.wrapper3 {
    position: relative;
    float: left;
    width: 100%;
    border-radius: 0.313em;
}

.Form1 {

    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: rgb(0, 0, 0);
    top: 122px;
    right: 10%;
    width: 650px;
    height: auto;
    background-size: cover;
}

.Form1 img {
    position: absolute;
    left: 0;
}

.title1 h1 {
    font-family: sans-serif;
    margin: -107px auto;
    color: #012101;
    text-align: center;
    font-weight: normal;
    font-size: 30px;
    max-width: 984px;
    position: relative;
}

.title1 h1:before {
    content: "";
    display: block;
    width: 382px;
    height: 2px;
    background: #000;
    left: 0;
    top: 50%;
    position: absolute;
}

.title1 h1:after {
    content: "";
    display: block;
    width: 382px;
    height: 2px;
    background: #000;
    right: 0;
    top: 50%;
    position: absolute;
}

.cont2 {
  position: relative;
  width: 100%;
  height: 460px;
  
}
.contact-form .input{
  font-family: monospace;
}
.btn {
  background: #011902;
  text-align: center;
  padding: 13px;
  border-radius: 5px;
  top: 0em;

  position: relative;
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
}
.cont2 .one {
  position: absolute;
  width: 25%;
  left: 0;
  height: 400px;
  top:  150px;
  padding: 20px;
  color: #011902;
  text-align: center;
}

.cont2 .two {
  position: absolute;
  width: 25%;
  left: 25%;
  height: 400px;
  top:  150px;
  padding: 20px;
  color: #011902;
  text-align: center;
}

.cont2 .three {
  position: absolute;
  width: 25%;
  right: 25%;
  height: 400px;
  top:  150px;
  padding: 20px;
  color: #011902;
  text-align: center;
}


.cont2 .four {
  position: absolute;
  width: 25%;
  right: 0;
  height: 400px;
  top:  150px;
  padding: 20px;
  color: #011902;
  text-align: center;
}

@media only screen and (max-width: 786px) {

  .cont1, .cont2 {
    display: none;
  }

  .cont1_m {
    display: block;
    position: relative;
    width: 100%;
    height: 850px;
    background: url(contact.png);
    background-position: bottom;
    background-size: 60%;
    background-repeat: no-repeat;
  }

  .cont1_m .btn {
  background: #011902;
  text-align: center;
  padding: 13px;
  border-radius: 5px;
  top: 0em;
  right: -45%;
  position: relative;
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
}

  .input {
    font-size: x-large;
    font-family: FontAwesome;
  }

  .input-fields1 {
      display: flex;
      flex-direction: column;
      margin-right: 0%;
  }

  .input-fields1,
  .msg {
      text-align: center;
      align-items: center;
      width: 100%;
  }

  .input-fields1 .input,
  .msg textarea {
      margin: 10px 0px 10px 60px;
      background: #bac3ba;
      border: 2px solid black;
      padding: 10px;
      color: rgb(0, 0, 0);
      width: 200px;
  }

  .wrapper3 {
      position: relative;
      float: left;
      width: 100%;
      border-radius: 0.313em;
  }

  .Form1 {

      position: absolute;
      display: flex;
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      color: rgb(0, 0, 0);
      top: 80px;
      right: 10%;
      width: 90%;
      height: auto;
      background-size: cover;
  }

  .Form1 img {
      position: absolute;
      left: 0;
    }

  .cont2_m .title1 h1 {
    font-family: sans-serif;
    margin: 0px auto;
    color: #012101;
    text-align: center;
    font-weight: normal;
    font-size: 20px;
    max-width: 984px;
    position: relative;
  }

  .cont2_m .title1 h1:before {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    background: #000;
    left: 10px;
    top: 50%;
    position: absolute;
  }

  .cont2_m .title1 h1:after {
    content: "";
    display: block;
    width: 80px;
    height: 2px;
    background: #000;
    right: 10px;
    top: 50%;
    position: absolute;
  }

  .title {
                            
    position: relative;
    width: 21em;
    left: 10px;
    font-size: 20px;
    font-weight: lighter;
    color: #012101;
  }

  .title h1 {
    font-size: 20px;
  }

  .title h1:before {
    top: -4px;
    position: relative;
    right: 7px;
    content: url(ellipse.png);
  }

  .title h1:after {
    top: -7px;
    right: -9px;
    position: relative;
    content: url(ellipse.png);
  }

  .cont2_m {
    display: block;
    position: relative;
    width: 100%;
    height: 750px;
  }

  .cont2_m .one {
    position: relative;
    color: #011902;
    text-align: center;
    width: 100%;
    height: auto;
    top:  40px;
  }

  .cont2_m .two {
    position: relative;
    color: #011902;
    text-align: center;
    width: 100%;
    height: auto;
    top: 60px;
  }

  .cont2_m .three {
    position: relative;
    color: #011902;
    text-align: center;
    width: 100%;
    height: auto;
    top: 60px;
  }

  .cont2_m .four {
    position: relative;
    color: #011902;
    text-align: center;
    width: 100%;
    height: auto;
    top:  60px;
  }

}