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

/* html {
  font-size: 10px;
} */

body {
  overflow-x: hidden;
}

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

section {
  padding: 2rem 0;
}

.heading {
  text-transform: uppercase;
  font-size: 3.5rem;
  letter-spacing: 3px;
  margin-right: -1px;
  margin-bottom: 5rem;
  text-align: center;
  color: #333;
  position: relative;
}

.heading::after {
  content: "";
  width: 10rem;
  height: 0.8rem;
  background-color: #45E19F;
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2rem;
}

.container {
    clear: both;
    display: table;
}

.card-wrapper {
  display: flex;
  justify-content: space-evenly;
  align-items: left;
  align-content: left;
  flex-direction: column;
}

.card {
  /*width: 30rem;*/
  width: 33.33%;
  /*height: 50%;*/
  background-color: #ebeef8;
  display: flex-basis;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
  box-shadow: 0.5rem 0.5rem 3rem rgba(0, 0, 0, 0.2);
  translate: scale(0.5, 0.5);
}

.card .card-img {
  width: 100%;
  height: 26rem;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 0% 100%);
}

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

.card h1 {
  font-size: 2.5rem;
  color: #333;
  margin: 1.5rem 0;
}

.job-title {
  color: #777;
  font-size: 1.5rem;
  font-weight: 300;
}

.about {
  font-size: 1.5rem;
  margin: 1rem 0;
  /*font-style: italic; */
  text-align: center;
  color: #333;
}

.card .btn {
  padding: 1rem 2.5rem;
  background-color: #007FFF;
  border-radius: 2rem;
  margin: 1rem 0;
  text-transform: uppercase;
  color: #eee;
  font-size: 1.4rem;
}

.card .btn:hover {
  cursor: pointer;
  background: #3B55C3;
}

.social-media i{
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: space-evenly;
  /* padding: 2rem 0; */
  padding: 10px;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.social-media i{
  font-size: 3rem;
}
.fa-graduation-cap {
  color: #9D2235;
}

.fa-linkedin {
  color: #0E76A8;
}
.fa-facebook-square {
  color: #3B5999;
}

.fa-twitter-square {
  color: #55ACEE;
}

.fa-google-plus-square {
  color: #DD4B39;
}
.scumedia{
  width: 80%;
}

@media screen and (min-width: 600px) {
  .card-wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;

  }

  .card {

    margin: 2rem;
    transition: transform 0.5s
  }

  @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:hover {
    transform: scale(1.05);
  }
}
