.about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  margin: 5.5rem 0;
}

.heading {
  background-color: #0d8584;
  width: 70%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 1.5rem;
  border-radius: 38px 38px 0 0;
  text-transform: uppercase;
  font-family: MontyB;
  letter-spacing: 1.5px;
  box-shadow: 0px 3px 6px #00000087;
  height: 200px;
  opacity: 0.9;
  z-index: -1;
}

.heading h1 {
  font-size: 2rem;
}

.txt {
  margin-top: -100px;
  background-color: #1f1f22;
  z-index: 3;
  width: 70%;
  line-height: 1.3;
  padding: 3rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  box-shadow: 0px 6px 12px #00000087;
  border-radius: 38px;
  opacity: 1;
}

.txt p {
  width: 85%;
}

.txt p:first-of-type {
  margin-bottom: 2rem;
}

.bg {
  position: absolute;
  right: 0;
  top: 10%;
  z-index: -10;
}

.founder {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  border: solid 1px #125c5b;
  border-radius: 39px;
  padding: 2rem;
  width: 40%;
}

.name {
  background-color: #0d8584;
  padding: 1rem;
  text-align: center;
  box-shadow: 8px -15px 5px #00000087;
  border-radius: 38px;
  opacity: 0.73;
}

.name h2 {
  text-transform: uppercase;
  font-family: MontyB;
  font-size: 2rem;
}

.name span {
  font-size: 1.1rem;
}

.card p {
  font-family: MontyL;
  margin: .875rem
}

.picture {
  position: relative;
  margin: 6rem;
  width: fit-content;
}

.icon-el {
  position: absolute;
  z-index: -2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.icon-bg {
  position: absolute;
  z-index: -3;
  cursor: pointer;
}

.employee {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.profile {
  padding: 0 2rem 2rem 2rem;
}

.history {
  border-radius: 35px;
  border: 1px solid #125c5b;
  padding: 3rem;
  height: fit-content;
  margin: 1rem;
}

.history p {
  max-width: 570px;
}

.emp-bg {
  width: 100%;
  z-index: -10;

  opacity: .5;
}

.emp-bg img {
  width: 100%;
  max-height: 80px;
}

.name h3 {
  font-size: 1.625rem;
}

.contact {
  align-items: center;
  background: center / cover no-repeat url("../img/about-bg.png");
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem;
  width: 100%;
}

.contact h4 {
  font-size: 1.5rem;
  font-family: MontyB;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

@keyframes nahover {
  from {
    width: 100%;
  }

  to {
    width: 50%;
  }
}

.picture:hover+.icon-bg {
  animation-name: nahover;
  animation-duration: 3s;
}

@media only screen and (max-width: 992px) {

  .heading,
  .txt {
    width: 90%;
  }

  .bg {
    top: 50%;
  }

  .txt {
    margin-top: -130px;
  }

  .founder,
  .employee {
    flex-direction: column-reverse;
    width: 100%;
  }

  .card {
    max-width: 100%;
    min-width: 90%;
    margin-bottom: 1rem;
  }

  .founder .picture {
    margin: 0 auto;
    width: 100%;
  }

  .icon-bg {
    position: relative;
    left: 50%;
    transform: translate(-50%);
  }

  .profile-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .card,
  .history {
    padding: 2rem;
  }

  .card p {
    margin: 0.875rem 0;
  }

  .employee .profile {
    order: 1;
  }

  .contact {
    text-align: center;
    padding: 2rem;
  }
}

@media only screen and (min-width: 600px) {}