.my-profile-user-image {
  border: 2px solid $light-mint;
  border-radius: 4px;
  padding: 24px 53px;
  position: relative;
  z-index: 1;
  @include breakpoint(large up) {
    display: inline-block;
    max-width: 306px;
  }

  .profile-image-circle {
    border: 4px solid $light-mint;
    border-radius: 50%;
    padding: 3px;
    position: relative;
    width: 126px;
    height: 126px;
    margin: auto;
    @include breakpoint(large up) {
      width: 186px;
      height: 186px;
      margin: unset;
    }

    &:hover {
      cursor: pointer;

      .image-container {
        .initials-image-replacement {
          color: $charcoal;
        }

        .hover-effect {
          opacity: 0.8;
          visibility: visible;
        }
      }
    }

    .image-container {
      background-color: $mint;
      border-radius: 50%;
      overflow: hidden;
      background-position: center;
      background-size: cover;
      padding-bottom: 100%;
      position: relative;
      transition: all .75s;

      .hover-effect {
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        visibility: hidden;
        opacity: 0;
        font-weight: 600;
        font-size: (16em / 16);
        border-radius: 50%;
        background-color: $dark-mint;
        transition: opacity .4s ease, background-color .4s ease, visibility .4s ease;
        text-align: center;
        color: $white;
        z-index: 5;
        display: flex;
        flex-direction: column;
        justify-content: center;
      }

      .initials-image-replacement {
        position: absolute;
        color: $white;
        font-size: 40px;
        font-weight: bold;
        top: 50%;
        left: 50%;
        transition: color .45s;
        transform: translate(-50%, -50%);
        z-index: 1;
      }

    }

    .upload-progress-circle {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 100%;
      height: 100%;
      background-color: rgba(255, 255, 255, .5);
      z-index: 1;
      border-radius: 50%;
      opacity: 1;
      transition: all 0.2s ease;

      &.completed {
        opacity: 0;
      }
    }

    input#file {
      display: none;
    }

    span {
      cursor: pointer;
      display: block;
      position: absolute;
      z-index: 10;
      top: -10px;
      right: -10px;
      background-color: $white;
      color: $mint;
      padding: 10px;
      border-radius: 50%;
      box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
      @include breakpoint(large up) {
        top: 10px;
        right: 10px;
      }

      .material-icons {
        font-size: 30px;
      }
    }
  }
}