@use "../custom" as *;

.notification {
  padding: 1.5rem;
  border-radius: 1rem;
  position: fixed !important;
  bottom: 1.5rem;
  left: 1.5rem;
  background-color: $white;
  overflow: hidden;
  z-index: 999;

  @media (max-width: 48rem) {
    padding: 1rem;
    left: 1rem;
    bottom: 1rem;
    max-width: calc(100% - 2rem);
  }

  &__wrapper {
    display: flex;
    align-items: center;
    gap: 1rem 1.5rem;

    @media (max-width: 550px) {
      flex-direction: column;
      align-items: start;
      justify-content: start;
      text-align: start;
    }
  }

  &__icon {
    min-width: 5.625rem;
    height: 5.625rem;
    width: 5.625rem;
    background-color: $twitch;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;

    @media (max-width: 48rem) {
      min-width: 3.125rem;
      height: 3.125rem;
      width: 3.125rem;

      img {
        width: 2rem;
        height: 2rem;
      }
    }
  }

  &__title {
    font-weight: 600;
    font-size: 1.12rem;
    letter-spacing: -0.03em;
    color: #183b56;
    font-family: $roobert;
    display: block;
    margin-bottom: 2px;
    max-width: 19.875rem;
    width: 100%;
  }

  &__description {
    font-weight: 400;
    font-size: 0.88rem;
    color: #7c8499;
    font-family: $roobert;
    margin: 0;
    width: 100%;
    max-width: 19.875rem;
  }
}
