.banner {
  .banner__container {
    display: flex;
    align-items: center;

    &.revert {
      flex-direction: row-reverse;

      @media (max-width: 990px) {
        flex-direction: column;
      }
    }

    @media (max-width: 990px) {
      flex-direction: column;
      padding: 0;
    }

    .banner__content {
      flex: 1;
      padding-right: 5rem;

      @media (max-width: 1280px) {
        padding-right: 2rem;
      }
      
      @media (max-width: 990px) {
        width: 100%;
        padding: 2.5rem 2rem 0 2rem;
      }

      .banner__title {
        font-size: 4.8rem;
        line-height: 1;
        margin-bottom: 3rem;
        font-weight: 600;

        @media (max-width: 1280px) {
          font-size: 2.9rem;
          margin-bottom: 1.6rem;
        }
      }

      .banner__description {
        font-weight: 500;
        font-size: 1.8rem;
        line-height: 140%;
        color: #656565;
        margin-bottom: 3rem;

        @media (max-width: 1280px) {
          font-size: 1.7rem;
          margin-bottom: 1.6rem;
        }
      }

      .link-button {
        @media (max-width: 990px) {
          width: 100%;
          padding: 2rem;
          line-height: 24px;
          justify-content: center;
        }
      }
    }

    .banner__image {
      width: 50%;
      border-radius: 40px;
      overflow: hidden;

      @media (max-width: 990px) {
        width: 100%;
        border-radius: 0 0 24px 24px;
      }

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
  }
}