* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
    color:white;
  }
  
  /* Main Container */
  .container {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* .profile-container:hover */
  .profile-container {
    width: 300px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 5px;
    transition: 1s all ease;
    
  }
  
  .profile-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.pexels.com/photos/220453/pexels-photo-220453.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500') no-repeat center center/cover;
    z-index: -1;
    opacity: 1;  
    transition: all .5s ease-in;
  }
  
  .profile-container:hover:before {
    opacity: 0;
    transition: all .5s ease;
  }
  
  
  /* Profile Card Wrapper */
  .profile-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
  }
  
  .profile-wrapper::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #2371ae 0%, #bb47d4 100%);
    transform: skew(30deg) translateX(125%);
    opacity: 0.9;
    transition: all 0.6s ease;
  }
  
  .profile-wrapper::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #2371ae 0%, #bb47d4 100%);
    transform: skew(30deg) translateX(-125%);
    opacity: 0.9;
    transition: all 0.6s ease;
  }
  
  .profile-container:hover .profile-wrapper::after{
    transform: skew(30deg) translateX(125%);
    background: linear-gradient(to right, #bb47d4 0%, #2371ae 100%);
    
  }
  .profile-container:hover .profile-wrapper::before{
    transform: skew(30deg) translateX(-125%);
    background: linear-gradient(to right, #bb47d4 0%, #2371ae 100%);
  }
  
  /* Profile Card */
  .profile-card {
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem 10px;
    position: relative;
    opacity: 0;
    transition: all 0.3s ease;
  }
  
  .profile-container:hover .profile-card {
    opacity: 1;
    transition: all 0.6s ease;
    transition-delay: 0.2s;
  }
  
  .profile-card .fav-icon {
    color: #ec0e0e;
    position: absolute;
    top: 5px;
    left: 10px;
    font-size: 21px;
    cursor: pointer;
  } 
  
  /* Profile Picture */
  .profile-card img {
    display: block;
    margin: 0 auto;
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin: 1rem 0;
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), 
                      linear-gradient(to right, green, gold);
    background-origin: border-box;
    background-clip: content-box, border-box;
    /* border: 2px solid #1999; */
    position: relative;
  }
  
  .profile-card  h2 {
    line-height: 1.2;
    color: #222;
  }
  .profile-card  h4 {
    line-height: 1.5;
    color: #444;
  }
  
  .profile-card  p {
    line-height: 1.2;
    color: #333;
    margin: 10px 0;
  }
  
  /* Profile Icons */
  .profile-card .icons {
    display: flex;
    color: #333;
    width: 90%;
    border-radius: 50%;
    justify-content: space-evenly;
    font-size: 2.4rem;
    margin: 5px 0;
  }
  
  .profile-card .icons i:hover {
    background-image: linear-gradient(to right, #bb47d4 0%, #2371ae 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: 9px;
    border-radius: 40%;
    box-shadow: 2px 3px 4px 4px #FFFFFF;
    transition: all .4s ease;
-webkit-transition: all .4s ease;
    cursor: pointer;
  }
  
  /* Profile Button */
  .profile-card a {
    display: inline-block;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: #FFFFFF;
    padding: 8px 20px;
    margin-top: 1rem;
    background: #2371ae;
    border-radius: 50px;
    background: linear-gradient(to right, #bb47d4 0%, #2371ae 100%);
  }
  
  .box{
    background: linear-gradient(to top right, #4a626e 0.3%, #1e2130 90.2%);
    font-family: 'Raleway', sans-serif;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease 0s;
}
.box:hover{ filter: drop-shadow(5px 5px 10px #808080); }
.box:before{
    content: "";
    width: 50px;
    height: 50px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform-origin: top right;
    transform: scale(0);
    position: absolute;
    top: 20px;
    right: 20px;
    transition: all 0.4s ease;
}
.box:hover:before{ transform: scale(1); }
.box img{
    width: 100%;
    height: auto;
    transition: all 0.4s ease;
}
.box:hover img{ opacity: 0.2; }
.box .box-content{
    color: #fff;
    opacity: 0;
    position: absolute;
    bottom: 15px;
    left: 15px;
    transition: all 0.4s ease;
}
.box:hover .box-content{
    opacity: 1;
    transition-delay: 0.25s;
}
.box .title{
    font-size: 22px;
    font-weight: 600;
    text-transform: capitalize;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, .6);
    margin: 0 0 3px;
}
.box .post{
    font-size: 13px;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, .6);
    display: block;
}
.box .icon{
    padding: 0;
    margin: 0;
    list-style: none;
    transform: translateX(-50%) translateY(-50%) scale(0) rotate(0);
    position: absolute;
    top: 50%;
    left: 50%;
    transition: all 0.4s ease;
}
.box:hover .icon{ transform: translateX(-50%) translateY(-50%) scale(1) rotate(360deg); }
.box .icon li{
    margin: 0 4px;
    display: inline-block;
}
.box .icon li a{
    color: #fff;
    font-size: 16px;
    text-align: center;
    line-height: 33px;
    height: 35px;
    width: 35px;
    border: 1px solid #fff;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, .6);
    display: block;
    transition: all 0.3s;
}
.box .icon li a:hover{
    border-radius: 0 10px;
    background: #f24688;
}
@media only screen and (max-width:990px){
    .box{ margin: 0 0 30px; }
}