@import url(https://fonts.googleapis.com/css?family=Roboto:400,900italic,900,700italic,700,500italic,500,400italic,300italic,300,100italic,100);

body{
  overflow-Y: scroll;
}

.profile-card, .profile-card *{
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

.profile-card{
  position: relative;
  width: 400px;
  height: auto;
  background: #F0F0F0;
  border-radius: 5px;
  margin: 25px auto;
}

.profile-card header{
  position: relative;
  width: 100%;
  height: 260px;
  margin: 0;
  padding: 25px;
  background-color: #81AA21;
  background-blend-mode: darken;
  background-position: 50% 0%;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  transition: all 600ms;
  font-size: 0;
}

.profile-card header:hover{
  background-image: url(https://i.ibb.co/WFW6Kyk/274143310-111560658118152-7412564099732365435-n.jpg);
  background-size: cover;
  background-position: 50% 50%;
  background-color: #81AA21;
  background-blend-mode: normal;
}

.profile-card header a{
  width: 100px;
  height: 100px;
  margin: 25px auto;
  display: block;
  border-radius: 50%;
  overflow: hidden;
  transition: all 400ms;
  z-index: 5;
}

.profile-card header a img{
  position: relative;
  width: 100%;
}

.profile-card header:hover a{
  transform: translateY(-100%) scale(0,0);
}


.profile-card header a:before{
  position: absolute;
  content: '';
  top: 165px;
  left: 150px;
  width: 100px;
  height: 6px;
  background: #6C901A;
  border-radius: 50%;
  z-index: 5;
  transition: all 400ms;
}

.profile-card header h1{
  position: relative;
  width: auto;
  padding: 5px;
  margin: 0;
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  color: #F0F0F0;
  transition: all 250ms;
  vertical-align: top;
  z-index: 1;
}

.profile-card header h1:before{
  position: absolute;
  top: 0;
  left: 0;
  content:'';
  width: 100%;
  height: 100%;
  background: #81AA21;
  transition: all 250ms;
  z-index: -1;
  transform: scale(0,1);
}

.profile-card header:hover h1{
  margin: 25px 50px;
  font-size: 16px;
  color: #f0f0f0;
  transform: translateY(53px);
  z-index: 2;
}
.profile-card header:hover h1:before{
  transform: scale(1,1);
}

.profile-card header h2{
  position: relative;
  width: auto;
  padding: 0px;
  text-align: center;
  font-size: 16px;
  font-weight: 300;
  color: #F0F0F0;
  transition: all 250ms;
  margin: 0;
  z-index: 1;
}

.profile-card header h2:before{
  position: absolute;
  top: 0;
  left: 0;
  content:'';
  width: 100%;
  height: 100%;
  background: #81AA21;
  transition: all 250ms 0.05s;
  z-index: -1;
  transform: scale(0,1);
}

.profile-card header h2:after{
  position: absolute;
  top: 0px;
  left: 75px;
  content:'';
  width: 100px;
  border-top: 1px solid #f0f0f0;
  transition: all 250ms 0.05s;
  z-index: 1;
  transform: scale(0,1);
}

.profile-card header:hover h2{
  margin: 0px 50px;
  padding: 2px;
  font-size: 14px;
  color: #F0F0F0;
  transform: translateY(28px);
}

.profile-card header:hover h2:before{
  transform: scale(1,1);
}

.profile-card header:hover h2:after{
  transform: scale(1,1);
}

.profile-card .profile-bio{
  position: relative;
  width: auto;
  margin: 0;
  height: 0;
  overflow: hidden;
  transition: all 250ms;
}

.profile-card header:hover+.profile-bio{
  height: 250px;
}

.profile-card .profile-bio p{
  position: relative;
  width: auto;
  margin: 0;
  text-indent: 1.5em;
  text-align: justify;
  color: #1B2024;
  padding: 35px 25px 25px 25px;
  transform: translateY(-100%);
  opacity: 0;
}

.profile-card header:hover+.profile-bio p{
  transition: all 600ms;
  transform: translateY(0%);
  opacity: 1;
}

.profile-card .profile-social-links{
  position: relative;
  margin: 0;
  padding: 0;
  list-style-type: none;
  border-top: 1px solid #FFFFFF;
  font-size: 0;
}

.profile-card .profile-social-links li{
  position: relative;
  width: 33.333%;
  margin: 0;
  padding: 0;
  display: inline-block;
  text-align: center;
  transition: all 250ms;
}

.profile-card .profile-social-links li:hover{
  transform: prespective(800px) rotateX(5deg);
  box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
}

.profile-card .profile-social-links li:nth-child(1){
  border-bottom-left-radius: 5px;
}

.profile-card .profile-social-links li:nth-child(2){
  border-left: 1px solid #FFFFFF;
  border-right: 1px solid #FFFFFF;
}

.profile-card .profile-social-links li:nth-child(3){
  border-bottom-right-radius: 5px;
}

.profile-card .profile-social-links li a{
  position: relative;
  display: block;
  padding: 25px 50px;
}

.profile-card .profile-social-links li a:before{
  position: absolute;
  content: '';
  bottom: 10px;
  left: 50px;
  width: 25%;
  height: 6px;
  background: #ddd;
  border-radius: 50%;
}

.profile-card .profile-social-links li a img{
  position: relative;
  display: block;
  width: 100%;
}


.profile-card .profile-social-links li a:hover:before,
.profile-card .profile-social-links li a:hover img{

  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-name: rubberBandY;
  animation-name: rubberBandY;
}

@-webkit-keyframes rubberBandY {
  0% {
    transform: scale3d(1, 1, 1);
  }

  30% {
    transform: scale3d(0.75, 1.25, 1);
  }

  40% {
    transform: scale3d(1.25, 0.75, 1);
  }

  50% {
    transform: scale3d(0.85, 1.15, 1);
  }

  65% {
    transform: scale3d(1.05, 0.95, 1);
  }

  75% {
    transform: scale3d(0.95, 1.05, 1);
  }

  100% {
    transform: scale3d(1, 1, 1);
  }
}

@keyframes rubberBandY {
  0% {
    transform: scale3d(1, 1, 1);
  }

  30% {
    transform: scale3d(0.75, 1.25, 1);
  }

  40% {
    transform: scale3d(1.25, 0.75, 1);
  }

  50% {
    transform: scale3d(0.85, 1.15, 1);
  }

  65% {
    transform: scale3d(1.05, 0.95, 1);
  }

  75% {
    transform: scale3d(0.95, 1.05, 1);
  }

  100% {
    transform: scale3d(1, 1, 1);
  }
}