.section {
  position: relative;
}

.newsletter {
  background-color: $barn-black;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  &__txt {
    max-width: 450px;
  }
  &__input-wrap {
    position: relative;
    min-width: 25%;
    .btn {
      position: absolute;
      right: 0px;
      top: 1px;
    }
  }
}

.newsletter--sm {
  background-color: $barn-black;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 1000px) {
  .newsletter {
    flex-direction: column;
    &__img {
      max-width: 100%;
    }
  }
  .newsletter--sm {
    flex-direction: column;
    &__input-wrap {
      width: 100%;
    }
    .cont-md {
      text-align: center;
      padding: 16px 0;
    }
  }
  .newsletter__input-wrap {
    width: 100%;
    max-width: 500px;
  }
}
