* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 10px;
  font-family: 'Roboto', sans-serif;
}

a {
  text-decoration: none;
  color: #fff;
}

.row2 {
  padding: 10rem 0;
  background-color: #666;
}
.row2 h1 {
  font-size: 2.5rem;
  color: #666;
  margin: 1.5rem 0;
}

.row2 p {
  font-size: 1.2rem;
  padding: 5px 10px;
  text-align: justify;
}
.row2 .heading2 {
  text-transform: uppercase;
  font-size: 3.5rem;
  letter-spacing: 3px;
  margin-right: -3px;
  margin-bottom: 5rem;
  text-align: center;
  color: #000;
  position: relative;
}
.row2 .heading2::after {
  content: '';
  width: 10rem;
  height: 0.8rem;
  background-color: #00c2ec;
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2rem;
}

.heading3 {
   text-align: center;
   color: #0f0f0f;
   margin-top: -40px;
}
.card-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 30px;
}
.card {
  width: 32rem;
  background-color: #ebeef8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 1.5rem;
  box-shadow: 0.5rem 0.5rem 0.3rem rgba(0, 0, 0, 0.2);
}
.card .card-img {
  width: 100%;
  height: 26rem;
  object-fit: cover;
  -webkit-clip-path: polygon(0 0, 100% 2%, 100% 60%, 0% 100%);
  clip-path: polygon(0 0, 100% 0%, 100% 60%, 0% 100%);
}

.profile-img {
  width: 15rem;
  height: 15rem;
  object-fit: cover;
  border-radius: 50%;
  margin-top: -11rem;
  z-index: 999;
  border: 1rem solid #ebeef8;
}

.job-title {
  color: #000;
  font-size: 2rem;
  font-weight: 300;
}

.card .btn {
  padding: 1rem 2.5rem;
  background-color: #3176d8;
  border-radius: 2rem;
  margin: 1rem 0 2rem 0;
  text-transform: uppercase;
  color: #eee;
  font-size: 1.4rem;
  transition: all 0.5s;
}
.card .btn:hover {
  background-color: #f5b041;
  transform: translateY(-2px);
  box-shadow: 0.5rem 0.5rem 2rem rgba(0, 0, 0, 0.2);
}
.card .btn:active {
  transform: translateY(0);
  box-shadow: none;
}

@media screen and (max-width: 700px) {
  .card-wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  .card {
    margin: 2rem;
  }
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  .card:nth-child(1) {
    animation: fadeIn 0.5s 0.5s backwards;
  }
  .card:nth-child(2) {
    animation: fadeIn 0.5s 1s backwards;
  }
  .card:nth-child(3) {
    animation: fadeIn 0.5s 1.5s backwards;
  }
  .card:nth-child(4) {
    animation: fadeIn 0.5s 2s backwards;
  }
  .card:nth-child(5) {
    animation: fadeIn 0.5s 2.5s backwards;
  }
  .card:nth-child(6) {
    animation: fadeIn 0.5s 3s backwards;
  }
}
