@mixin whiteBox() {
  border: 1px solid var(--color-box);
  border-radius: var(--borderRadius);
  background-color: var(--color-light);

  @media (max-width: 450px) {
    background-color: transparent;
    border: 0;
  }
}

@mixin contentBlock() {
  flex-grow: 1;
  justify-content: center;
  margin-top: 12px;
  max-width: 350px;
  width: 100%;

  @media (max-width: 450px) {
    margin-top: 0;
    justify-content: space-between;
    max-width: 100%;
  }
}

@mixin smallLink() {
  font-size: var(--small-font);
  line-height: 14px;
  margin-top: 12px;
  text-align: center;
  color: var(--color-accent-dark);
  text-decoration: none;
}

@mixin link() {
  color: var(--color-accent);
  font-weight: 600;
}

@mixin animationInputLabel() {
  transition: transform ease-out .1s;
}

@mixin logoInstagram() {
  display: block;
  overflow: hidden;
  margin: 22px auto 12px;
  height: 51px;
  width: 175px;

  img {
    width: 100%;
    height: 100%;
  }
}

@mixin notificationCountLabel() {
  position: absolute;
  background-color: var(--color-danger);
  font-size: 11px;
  border-radius: 100%;
  height: 18px;
  min-width: 18px;
  justify-content: center;
  align-items: center;
  z-index: 2;

  span {
    color: white;
    font-weight: 600;
    padding: 0 3px;
  }
}

@mixin SkeletonAnimation() {
  background: linear-gradient(-90deg, var(--color-light) 0%, var(--color-border-02) 50%, var(--color-light) 100%);
  background-size: 400% 400%;
  animation: pulse 1.2s ease-in-out infinite;
  @keyframes pulse {
    0% {
      background-position: 0% 0%;
    }
    100% {
      background-position: -135% 0%;
    }
  }
}
