



#card-user {
  transition: all 0.6s ease;
  display: inline-block;
  cursor: pointer;
  width: 100%;
  height: 100%;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  background-color: #ecf0f1;
  overflow: hidden;
  color: #34495e;
}
#card-user .header {
  transition: all 0.6s ease;
  width: 100%;
  height: 80px;
  background-color: #2c3e50;
  color: white;
  text-align: right;
  font-weight: bold;
}
#card-user .header h4 {
  width: 100%;
}
#card-user .avatar {
  transition: all 0.6s ease;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #ecf0f1;
  border: 5px solid #ecf0f1;
  display: inline-block;
  margin-top: -55px;
  overflow: hidden;
}
#card-user .avatar img {
  width: 100%;
}
#card-user .text {
  padding: 0 8%;
  width: 100%;
  height: 150px;
}
#card-user .text h3 {
  margin: 7px 0;
  transition: all 0.6s ease;
}
#card-user .text p {
  line-height: 1.2em;
  text-align: justify;
  margin: 20px 0 30px 0;
}
#card-user .skills {
  display: inline;
  position: relative;
  top: -165px;
  right: -75%;
  transition: all 0.6s ease-out;
}
#card-user .social {
  padding: 5% 0;
  background-color: #2c3e50;
  color: #fff;
}
#card-user .social i {
  padding: 0 5%;
  font-size: 1.2em;
}
/* #card-user .social i:hover {
  transition: all 0.6s ease-out;
  -moz-transform: rotate(360deg);
  -ms-transform: rotate(360deg);
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}

#card-user:hover {
  height: 415px;
  transition: all 0.6s ease;
}
#card-user:hover .header {
  transition: all 0.6s ease;
}
#card-user:hover .avatar {
  background-color: #efefef;
  transition: all 0.6s ease;
} */

input[type="checkbox"]:checked + #card-user {
  width: 500px;
  height: 415px;
  transition: all 0.6s ease;
}
input[type="checkbox"]:checked + #card-user .header {
  width: 500px;
}
input[type="checkbox"]:checked + #card-user .avatar {
  margin-left: -350px;
  transition: all 0.6s ease;
}
input[type="checkbox"]:checked + #card-user .skills {
  top: -165px;
  right: -184px;
  transition: all 0.6s ease;
}
input[type="checkbox"]:checked + #card-user .text h3 {
  margin-left: -184px;
  transition: all 0.6s ease;
}
