.contact {
  background: #EAF2FD;
  display: flex;
  flex-direction: column;
}

.contact h2 {
  text-align: center;
  margin: 1rem 0;
}

.contact__container {
  display: flex;
  margin: 1.5rem 0;
  flex-direction: column;
}

.form {
  padding: 0 1rem;
}

.form__container {
  display: flex;
  flex-direction: column;
}

#name {
  border: none;
  border-radius: 5px;
  margin: 1rem auto;
  padding: 10px 0;
  width: 328px;
}

#textarea {
  margin: 1rem auto;
  border: none;
  border-radius: 5px;
  width: 328px;
  resize: none;
}

.form button {
  background: #2a7ae4;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  color: #fff;
  margin: 1rem auto;
  padding: 1rem 0;
  width: 7rem;
}

.about__company .logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 4rem;
}

.about__company .logo img {
  width: 3.5rem;
}

.about__company ul {
  text-align: center;
  margin: 10px 0;
  padding: 10px 0;
}

.about__company ul li {
  margin: 20px 0;
}

.about__company li a {
  cursor: pointer;
}

/* Validate style start */

.form .fail input {
  border: 0.1px solid;
  border-color: #fe5f55;
}

.form .ok input {
  border: 0.1px solid;
  border-color: #08ffc8;
}

.form p {
  visibility: hidden;
  position: relative;
  text-align: left;
  margin-top: -.5rem;
}

.form .fail p {
  visibility: visible;
  color: #fe5f55;
}

/* Validate style end */

/*      Responsive Design       */

/* Tablet */

@media screen and (min-width: 767px) and (max-width: 1023px) {

  .contact__container {
    display: flex;
    justify-content: space-evenly;
    flex-direction: row-reverse;
  }

  .form {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border: 1px solid aliceblue;
    border-radius: 10px;
    box-shadow: 5px 4px 5px 5px #ccc;
  }

  .about__company {
    margin: 0;
  }

  .about__company .logo {
    margin: 0 4rem;
  }
}

/* Desktop */

@media screen and (min-width: 1024px) {

  .contact h2 {
    text-align: center;
    margin: 3rem 0;
  }

  .contact__container {
    display: flex;
    justify-content: space-evenly;
    flex-direction: row-reverse;
  }

  .form {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border: 1px solid aliceblue;
    border-radius: 10px;
    box-shadow: 5px 4px 5px 5px #ccc;
  }

  .about__company {
    align-items: center;
  }

  .about__company .logo {
    margin: 1rem;
  }

  .logo a img {
    width: 2rem;
  }

  .about__company ul {
    margin: 10% 0;
    font-size: 18px;
  }

  .about__company ul li {
    transition: 600ms;
  }

  .about__company ul li:hover {
    color: #2a7ae4;
  }

  .form button {
    transition: 600ms;
  }

  .form button:hover {
    background: #fff;
    color: #2a7ae4;
    transform: scale(1.08);
    box-shadow: 4px 5px 5px 5px #ccc;
  }
}