* {
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  box-sizing: border-box;
}

body{
  margin: 0;
  padding: 0;
}

.about {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  margin-bottom: 70px;
}

.about .heading {
  font-weight: 100;
  font-size: 1.2rem;
  width: 80%;
  text-align: center;
  margin-top: 50px;
}

.about .heading h1 {
  padding: 20px;
  text-align: center;
  margin: 0px;
}

.about .top-row {
  background-color: #c8dcff;
  border-radius: 20px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  margin: 10px 0px;
  width: 80%;
  display: flex;
  flex-direction: row;
}

.about .top-row .description {
  flex-basis: 40%;
}

.about .top-row .description p {
  line-height: 25px;
}

.about .top-row .image {
  flex-basis: 60%;
}

.about .top-row .image img {
  display: block;
  width: 100%;
}

.about .cards {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 80%;
  margin: 20px 0px;
}

.about .cards .card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-basis: 20%;
  padding: 10px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 2px 2px 10px #c8dcff;
}

.about .cards .card h3 {
  text-align: center;
  width: 100%;
  border-bottom: 1px solid #c8dcff;
  margin: 0px;
  padding: 10px 0px;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 50px;
}

.contact .top {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("images/contact.png");
  background-repeat: no-repeat;
  background-size: cover;
  width: 60%;
  padding: 20px;
  margin: 20px 0px;
  border-radius: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 100px;
}

.contact .top h1 {
  color: #ffffff;
  font-weight: 600;
  font-size: 2rem;
}

.contact .info-cards {
  display: flex;
  flex-direction: row;
  width: 60%;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0px;
}

.contact .info-cards .info-card {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  cursor: pointer;
}

.contact .info-cards .info-card img {
  display: block;
  width: 40px;
}

.contact .contact-form {
  margin: 10px 0px;
  width: 60%;
  background-color: #c8dcff;
  border-radius: 10px;
  padding: 10px;
}

.contact .contact-form h2 {
  width: 100%;
  text-align: center;
  font-size: 1.8rem;
}

.contact .contact-form label {
  width: 100%;
  font-weight: 600;
}

.contact .contact-form input[type="text"],
.contact .contact-form input[type="email"],
.contact .contact-form textarea {
  width: 100%;
  font-weight: 600;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px;
  border: none;
  outline: none;
}

.contact .contact-form button {
  color: #ffffff;
  background-color: #000e27;
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  margin: 10px 0px;
}

@media screen and (min-width: 769px) and (max-width: 1080px) {
  .about .heading,
  .about .top-row,
  .about .cards,
  .contact .top,
  .contact .info-cards,
  .contact .contact-form {
    width: 80%;
  }

  .about .cards .card {
    flex-basis: 25%;
  }
}

@media screen and (max-width: 768px) {
  .about .heading,
  .about .top-row,
  .about .cards,
  .contact .top,
  .contact .info-cards,
  .contact .contact-form {
    width: 95%;
  }

  .contact .info-cards {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .contact .info-cards .info-card {
    margin-bottom: 20px;
  }

  .about .top-row,
  .about .cards {
    flex-direction: column;
  }

  .about .cards .card {
    margin-bottom: 20px;
  }
}
