.codepen-box {
  position: relative;
  border-radius: 6px;
  padding: 15px;
  overflow: hidden;
  margin: 0 auto;
  margin-top: 17px;
}
.codepen-box::before {
  content: "";
  position: absolute;
  left: 40px;
  border-radius: 10px;
  right: 0;
  bottom: 40px;
  top: 31px;
  background-color: #456574;
  transform-origin: right 40%;
  z-index: 2;
  transition: 0.5s ease-in-out all;
}
.codepen-box:hover::before {
  top: 0;
  bottom:30px;
  right: 0;
  left: 0;
  transition: 0.5s ease-in-out all;
}
.codepen-box .top {
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
  height: 240px;
}
.codepen-box .top .top-image {
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
}
.codepen-box .top .top-image img {
  width: 100%;
  border-radius: 6px;
  height: 100%;
  z-index: 3;
  position: relative;
}
.codepen-box .top .top-image img:hover {
 transform: scale(1.1);
 transition: 0.3s ease-in-out all;
}
.codepen-box .top .profile {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: left;
  padding: 5px 0;
}
.codepen-box .top .profile .profile-pic {
  display: block;
  margin-right: 10px;
}
.codepen-box .top .profile .profile-pic img {
  border-radius: 10px;
  height: 50px;
  -o-object-fit: cover;
     object-fit: cover;
  width: 50px;
}
.codepen-box .top .profile .profile-info {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
}
.codepen-box .top .profile .profile-info h3 {
  font-size: 15px;
  margin: 0;
}
.codepen-box .top .profile .profile-info p {
  font-size: 12px;
  margin: 0;
  color: antiquewhite;
  font-family: inherit;
  position: absolute;
  z-index: 999;
  text-align: justify;
}
.codepen-box .bottom {
  height: 40px;
  padding: 5px 0;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
}
.codepen-box .bottom .bottom-item:nth-child(1) {
  transition-delay: 0.1s;
}
.codepen-box .bottom .bottom-item:nth-child(2) {
  transition-delay: 0.15s;
}
.codepen-box .bottom .bottom-item:nth-child(3) {
  transition-delay: 0.2s;
}
.codepen-box .bottom .bottom-item {
  transition: 0.3s ease-in-out all;
  height: 25px;
  padding: 5px;
  color: white;
  margin: 0 5px 0 0;
  background-color: #133342;
  display: flex;
  justify-content: center;
  font-size: 12px;
  align-items: center;
  border-radius: 5px;
  opacity: 0;
  transform: translateY(-20px);
  position: relative;
  z-index: 999;
}
.codepen-box .bottom .bottom-item span:first-child {
  margin-right: 5px;
}

.codepen-box:hover .bottom-item {
  transition: 0.3s ease-in-out all;
  opacity: 1;
  transform: translateY(0px);
}
