@import "../../vars.scss";

:host {
  display: flex;
  flex-wrap: wrap;
  padding: 2rem 0;
  gap: 5rem;
}

.left, .right {
  width: 100%;
  min-width: 100%;
  display: flex;
  justify-content: space-between;

  div {
    width: 40%;
    align-self: center;
  }

  img {
    max-width: 50%;
    border-radius: 1rem;
  }
}

.right {
  flex-direction: row-reverse;
}

h2 {
  margin: 0;
}

@media only screen and (max-width: $small-screen) {
  :host {
    gap: 0;
  }

  .left, .right {
    flex-direction: column-reverse;

    img {
      max-width: 100%;
    }

    div {
      margin-top: 1rem;
      margin-bottom: 1rem;
      width: 100%;
    }
  }
}
