* {
  margin: 0;
  padding: 0;
  line-height: 100%;
}

:host {
  position: relative;
  font-size: 1.5rem;
  z-index: 1;
}

:host([avatar-150]) {
  font-size: 4rem;
}

:host([avatar-100]) {
  font-size: 3rem;
}

:host([avatar-70]) {
  font-size: 2.5rem;
}

#wrapper {
  position: relative;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;

  border-radius: 50%;
}

:host([avatar-150]) #wrapper {
  height: 150px;
  width: 150px;
}

:host([avatar-100]) #wrapper {
  height: 100px;
  width: 100px;
}

:host([avatar-70]) #wrapper {
  height: 70px;
  width: 70px;
}

:host([avatar-40]) #wrapper {
  height: 40px;
  width: 40px;
}

:host([avatar-35]) #wrapper {
  height: 35px;
  width: 35px;
}

:host([avatar-100]) #img {
  height: 100px;
  width: 100px;
}

:host([avatar-70]) #img {
  height: 70px;
  width: 70px;
}

:host([avatar-40]) #img {
  height: 40px;
  width: 40px;
}

:host([avatar-35]) #img {
  height: 35px;
  width: 35px;
}

#img {
  width: 100%;
  height: 100%;

  max-width: 100%;
  position: relative;
  border-radius: 50%;

  object-fit: cover;
}

#i:empty {
  display: none;
}

#i {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  color: #fff;

  font-weight: 400;
}

#premium {
  display: none;
  background: url('../../css/img/userpremium.svg') no-repeat;
  width: 35%;
  height: 35%;
  position: absolute;
  right: -4%;
  background-size: contain;
  top: -2%;
}

#premium.premium-1 {
  display: block;
}

:host([avatar-150]) #premium {
  width: 24px;
  height: 24px;
  right: 6px;
  top: 10px;
}

#indicator.online {
  width: 11%;
  height: 11%;
  max-width: 10px;
  max-height: 10px;
  min-width: 5px;
  min-height: 5px;
  background-color: var(--color-green);
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 3px;
  display: none;
  position: absolute;
  bottom: 15%;
  left: 85%;
  border: solid 1px #fff;
  right: 0;
}

#indicator.online {
  display: block;
}

:host([fulltitle]) #indicator.online:after {
  content: attr(data-title);
  color: var(--color-dark-grey);
  font-size: 12px;
  font-style: normal;
  position: absolute;
  top: -14px;
  margin-left: 14px;
}

#bday{
  width: 50%;
  height: 50%;
  position: absolute;
  left: -7%;
  bottom: 0;
  background-repeat: no-repeat;
  background-size: contain;
  display: none;
}

#bday.stiker-1{
  background-image:url(stikers/bday.svg);
  display: block;
}


@media (max-width: 414px) {
  :host([avatar-x-100]) #wrapper {
    height: 100px;
    width: 100px;
  }

  :host([avatar-x-100]) #premium {
    right: 2px;
    top: 5px;
  }
}
