@charset "UTF-8";
.photo {
  position: relative;
  &__img {
    position: relative;
    width: 16em;
    height: 16em;
    // border: 1px solid red;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    img {
      display: block;
      object-fit: cover;
      object-position: center;
      width: 100%;
      height: 100%;
    }
  }
  &__icon {
    width: 4em;
    position: absolute;
    bottom: 0;
    left: 61%;
    img {
      width: 100%;
      height: auto;
    }
  }
  .fileInput {
    display: none;
  }
  .load-wrapp {
    display: none;
    position: absolute;
    width: 16em;
    height: 16em;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background-color: rgba($c-white, 0.2);
    pointer-events: none;
  }
  .load {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      width: 40%;
      height: 40%;
  }
  .spinner {
      position: relative;
      width: 100%;
      height: 100%;
      margin: 0 auto;
      animation: loadingI 2s linear infinite;
  }
  .bubble-1,
  .bubble-2 {
      position: absolute;
      top: 0;
      width: 3em;
      height: 3em;
      border-radius: 100%;
      background-color: $c-blue-active;
      animation: bounce 2s ease-in-out infinite;
  }
  .bubble-2 {
      top: auto;
      bottom: 0;
      animation-delay: -1s;
  }
  @keyframes loadingI {
      100% {
          transform: rotate(360deg);
      }
  }

  @keyframes bounce {
      0%,
      100% {
          transform: scale(0);
      }
      50% {
          transform: scale(1);
      }
  }
}