* {
  box-sizing: border-box;
}

/* Column container */
.row {  
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  width: 60%;
  margin: 4% auto 4% auto;
  margin-top: 4%;
  align-items: center;
}

.B {  
  flex-direction: row-reverse;
}

/* left column */
.left {
  flex: 50%;
  padding: 2%;
  text-align: left;
}

/* right column */
.right {
  flex: 50%;
  padding: 2%;
  text-align: left;
}

.img {
  border-radius: 12px;
}

/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 500px) {
  .row {   
    flex-direction: column-reverse;
    width: 100% !important;
    margin: 8% auto 8% auto;
  }
  .left {
    flex: 100%;
    padding: 0 20px 0 20px;
    margin: auto;
  }
  .right {
    flex: 100%;
    padding: 0 20px 0 20px;
    margin: auto;
  }
}