@import '../variables';
@import '../functions';

// VARIABLES
$contentColor: #000;
$imgBorderColor: #f1f1f1;

.twofas-card-body-1 {
  display: flex;
  flex-direction: row;

  @media all and (max-width: 500px) {
    flex-direction: column;
  }

  &-content {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 24px;

    @media all and (max-width: $screen-xs-max) {
      margin-left: 15px;
    }

    @media all and (max-width: 500px) {
      margin-bottom: 20px;
      margin-left: 0;
    }

    &-stores {
      display: flex;
      flex-direction: row;

      @media all and (max-width: 640px) {
        align-items: center;
        flex-direction: column;
        width: 100%;
      }

      a {
        display: inline-block;

        &:first-of-type {
          margin-right: 10px;

          @media all and (max-width: 640px) {
            margin-bottom: 10px;
            margin-right: 0;
          }
        }
      }
    }

    h4 {
      margin-bottom: 25px;
      text-align: left;

      @media all and (max-width: 640px) {
        text-align: center;
      }
    }
  }

  > img,
  > picture {
    @media all and (max-width: 500px) {
      border-bottom: 1px solid $imgBorderColor;
      display: block;
      margin-bottom: 20px;
      margin-left: auto;
      margin-right: auto;
      max-width: 250px;
      width: 90%;
    }
  }
}
