.aboutHome {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6rem 2rem 2rem;
}

.aboutHome-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  margin-bottom: 2rem;
  min-height: 300px;
}


.aboutHome-section.reverse {
  flex-direction: row-reverse;
}

.aboutHome-img {
  flex: 0 0 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.aboutHome-img img {
  width: 100%;
  height: auto;
  max-height: 100%;
}

.aboutHome-content {
  flex: 0 0 65%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 1rem;
  box-sizing: border-box;
  text-align: left;
}

.aboutHome-content h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.aboutHome-content p {
  font-size: 1.6rem;
  line-height: 1.5;
  margin: 0;
}

.returnBtn .btn {
    display: none;
    margin-bottom: 1rem;
}


@media (max-width: 768px) {
  .aboutHome {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6rem 2rem 2rem;
  }

  .aboutHome-section {
    flex-direction: column;
    width: 100%;
    align-items: center;
    min-height: auto;
    text-align: center;
    margin-bottom: 2rem;
  }

  .aboutHome-section.reverse {
    flex-direction: column;
  }

  .aboutHome-img {
    flex: 0 0 auto;
    width: 80%;
    margin-bottom: 1rem;
  }

  .aboutHome-img img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  .aboutHome-content {
    width: 90%;
    text-align: center;
  }

  .aboutHome-content h3 {
    font-size: 2.4rem;
  }

  .aboutHome-content p {
    font-size: 1.5rem;
    line-height: 1.4;
  }
  
  .returnBtn .btn {
    display: block;
  }
}

@media (max-width: 365px) {
  .aboutHome-img {
    width: 90vw;
  }
}
