@import '../../theme/mixins';

.Navigation {
  position: fixed;
  top: auto;
  bottom: 0;
  bottom: env(safe-area-inset-bottom);
  width: 100%;
  height: 44px;
  background-color: var(--color-light);
  border-top: 1px solid var(--color-border);
  user-select: none;
  z-index: 4;

  @media (min-width: 735px) {
    display: none;
  }
}

.Container {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: 975px;
  margin: 0 auto;
  height: 100%;
  width: 100%;
}

.Button {
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  min-width: 0;

  button {
    background-color: transparent;
    outline: 0;
    border: 0;
  }

  @media (max-width: 735px) {
    .Link {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 100%;
    }
  }
}

.UserProfile {
  display: flex;
  width: 100%;
  height: 100%;
  background-color: var(--color-light);
  flex: 0 0 auto;
  justify-content: center;
  align-items: center;

  &Link {
    border-radius: 50%;
    width: 22px;
    height: 22px;
    overflow: hidden;
    position: relative;
  }

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

.NewNotificationsCount {
  right: -12px;
  top: -7px;
  @include notificationCountLabel();
}

.iOS11fix {
  position: absolute;
  bottom: -43px;
  background-color: var(--color-light);
  height: 100%;
  width: 100%;
}

@media (min-width: 735px) {
  .Home, .Explore, .Activity, .User {
    display: none;
  }
}

.UploadPhotoForm {
  input {
    display: none!important;
  }
}
