.brother-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 20px;
}
.brother-printer {
  width: calc(50% - 10px);
}
.brother-printer {
  background-color: #fff;
  border-radius: 12px;
  text-align: center;
  position: relative;
}
.brother-position h2{
  position: absolute;
  left: 60%;
  top: 10%;
  font-size: 45px;
  font-weight: bold;
  text-align: left;
}
 .brother-position p {
  position: absolute;
  left: 60%;
  top: 50%;
  font-size: 22px;
  text-align: left;
  margin-top: 10px;
}
.brother-position .tankbenefit-text{
  position: absolute;
  left: 60%;
  top: 28%;
}
.brother-position .tankbenefit-head{
  position: absolute;
  left: 60%;
  top: 10%;
}
.right-arrow {
  width: 20px;
  height: 20px;
}
.brother-printer h2 span {
  display: block;
  line-height: 42px;
}
.brother-position a {
  position: absolute;
  right: 11%;
  bottom: 9%;
  transform: translate(11%, 11%);
  font-size: 14px;
  padding: 15px 30px;
  border-radius: 30px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.brother-position .inkjet-printers-text {
  right: 11%;
  bottom: 5%;
  transform: translate(11%, 5%);
}
.brother-printer:nth-child(2) .brother-position a {
  background-color: #E91E63;
}
.brother-printer:nth-child(3) .brother-position a {
  background-color: #673AB7;
}
.brother-printer:nth-child(4) .brother-position a {
  background-color: #f3f5f6;
}
.brother-printer:nth-child(4) .brother-position a span{
  color: #060606;
}
.brother-printer:nth-child(5) .brother-position a {
  background-color: #0c7da9;
}
.brother-printer:nth-child(6) .brother-position a {
  background-color: #eb6c62;
}
.brother-printer:nth-child(7) .brother-position a {
  background-color: #dd1f62;
}
.brother-printer:nth-child(2) .brother-position h2, .brother-printer:nth-child(2) .brother-position p {
  color: #E91E63;
}
.brother-printer:nth-child(3) .brother-position h2, .brother-printer:nth-child(3) .brother-position p {
  color: #673AB7;
}
.brother-printer:nth-child(4) .brother-position h2, .brother-printer:nth-child(4) .brother-position p {
  color: #edf1f3;
}
.brother-printer:nth-child(5) .brother-position h2, .brother-printer:nth-child(5) .brother-position p {
  color: #0c7da9;
}
.brother-printer:nth-child(6) .brother-position h2 {
  color: #eb6c62;
}
.brother-printer:nth-child(7) .brother-position h2 {
  color: #dd1f62;
}
.banner-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0047bb;
  padding: 40px 40px;
  width: 100%;
}
.brother-banner {
  width: 60%;
}
.brother-banner-logo img {
  max-width: 380px;
}
.brother-banner .font-style {
  font-size: 50px;
  font-weight: 900;
}
.brother-banner .text-style {
  font-size: 45px;
  margin-bottom: 16px;
}
.brother-banner h2 {
  color: rgb(255, 255, 255);
  margin: 10px 0;
  font-size: 30px;
  font-weight: 300;
}
@media (max-width: 1024px) and (min-width: 768px) {
  .brother-position h2 {
    font-size: 20px;
  }
  .brother-position h2 span {
    line-height: normal;
  }
  .brother-position a {
    font-size: 12px;
    padding: 8px 14px 8px 20px;
  }
  .brother-banner .text-style {
    font-size: 25px;
  }
  .brother-banner .font-style {
    font-size: 28px;
  }
  .brother-position p {
    top: 40%;
    font-size: 16px;
    line-height: normal;
    margin-top: 0px;
  }
}
@media (max-width: 1024px) {
  .brother-banner-logo img {
    max-width: 210px;
  }
}
@media (max-width: 768px) {
  .brother-printer {
    width: 100%;
  }
  .brother-position h2 {
    font-size: 19px;
    text-align: left;
  }
  .brother-position a {
    font-size: 10px;
    padding: 4px 7px 4px 14px;
  }
  .brother-position h2 span {
    line-height: 25px;
  }
  .brother-banner .text-style {
    font-size: 20px;
    margin-bottom: 5px;
    text-align: center;
  }
  .brother-banner .font-style {
    font-size: 25px;
    text-align: center;
  }
  .brother-banner {
    width: 100%;
  }
  .banner-container {
    flex-direction: column-reverse;
    padding: 20px 20px;
  }
  .brother-banner-logo {
    justify-content: center;
  }
  .brother-position p{
    line-height: normal;
    font-size: 12px;
    margin: 0px;
  }
}
