<div class="frame">
  <div class="center">
    <div class="left-side">
      <div class="profile">
        <div class="img"></div>
        <h1> Ai </h1>
        <p> Creative Developer </p>
      </div>
      
      <div class="buttons">
        <button class="follow">Follow</button>
        <button class="message">Message</button>
      </div>
    </div>
    
    <div class="right-side">
      <div class="wrap">
        <h3>3241</h3>
        <p>Points</p>
      </div>
      <div class="wrap">
        <h3>7329</h3>
        <p>Likes</p>
      </div>
      <div class="wrap">
        <h3>2024</h3>
        <p>Followers</p>
      </div>
    </div>
  </div>
</div>
*,
body,
html {
  padding:0;
  margin: 0;
  box-sizing: border-box;
}


@import url(https://fonts.googleapis.com/css?family=Open+Sans:700,300);

// use only the available space inside the 400x400 frame
.frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  margin-top: -200px;
  margin-left: -200px;
  border-radius: 5px;
  box-shadow: 4px 8px 16px 0 rgba(0,0,0,0.1);
  overflow: hidden;
  background: radial-gradient(lightcoral, lightsteelblue);
  background-image: url('https://www.thisiscolossal.com/wp-content/uploads/2014/03/130810.gif');
  color: #fff;
  text-shadow: 0 0 15px rgba(255, 255, 255, .5);
  font-family: 'Open Sans', Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display:flex;
  align-items: center;
  justify-content: center;
}

.center {
  display:flex;
  align-items: center;
  justify-content: center;
  height: 350px;
  width: 350px;
  border-radius: 20px;
  background-color: rgba(200,200,200, .3);
  box-shadow: 0 0 10px rgba(0, 0, 0, .2);
  backdrop-filter: blur(4px);
  overflow: hidden;
}

.left-side {
  flex: 2;
  background-color: rgba(0, 0, 0, .3);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  padding: 1rem;
  
  .profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content:flex-end;
    line-height: 1;
    .img {
      height: 100px;
      width: 100px;
      border-radius: 50%;
      background-image: url('https://www.thisiscolossal.com/wp-content/uploads/2014/03/120430.gif');
      background-position:center;
      background-size: contain;
      transition: all .3s ease-in-out;
      position: relative;
      
      &::before {
        content: '';
        position: absolute;
        height:110px;
        width: 110px;
        right: -6px;
        top:-6px;
        border-radius: 50%;
        border: 1px solid;
        border-color: transparent lightblue lightblue lightblue;
      }
      &::after {
        content: '';
        position: absolute;
        height:120px;
        width: 120px;
        right: -11px;
        top:-11px;
        border-radius: 50%;
        border: 1px solid;
        border-color: lightblue lightblue transparent lightblue;
      }
      
      &:hover {
        box-shadow: 0 0 40px rgba(255,255,255,.7);
        transform: rotate(180deg);
        cursor: pointer;
      }
    }
    h1 {
      font-size: 2rem;
      padding-top: .5rem;
      margin: .2em;
    }
  }
  
  .buttons {
    display: flex;
    flex-direction: column;
    justify-content:flex-start;
    gap: .5rem;
    
    button {
      border-radius: 20px;
      padding:.5rem 1rem;
      cursor: pointer;
      background-color: rgba(134, 222, 222, .7);
      color: #fff;
      font-weight: bold;
      border: none;
      transition: all .3s ease-in-out;
      
      &:hover {
        background-color: rgba(134, 222, 222, .9);
        box-shadow: 0 0 40px rgba(255,255,255,.7);
      }
    }
  }
}

.right-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  gap: 1px;
  
  .wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(134, 222, 202, 0.7);
    transition: all .3s ease-in-out;
    width: 100%;
    
    p {
      font-weight: bolder;
    }
    
    &:hover {
      cursor: pointer;
      background-color: rgba(134, 222, 222, .9);
      box-shadow: 0 0 40px rgba(255,255,255,.7);
    }
  }
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.