.section-wrapper {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0;
  background-color: #111;
}

.section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 320px;
  overflow: hidden;
  background-color: rgb(2, 2, 2);
}

.text {
  flex: 1;
  min-width: 280px;
  padding: 80px;
  padding-bottom: 0px;
  z-index: 2;
  position: relative;
  text-align: center;
}

.text2 {
  flex: 1;
  min-width: 280px;
  padding: 80px;
  padding-bottom: 0px;
  z-index: 2;
  position: relative;
  text-align: center;
}

.text h2 {
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 15px;
  position: relative;

  text-decoration: underline;
  -webkit-text-decoration-color: rgb(69, 155, 217); /* safari still uses vendor prefix */
  text-decoration-color: rgb(69, 155, 217);
  text-underline-offset: 12px;
}

.text p {
  font-size: 1.25rem;
  color: #ddd;
}



@media (max-width: 768px) {
  .section,
  .section.middle {
    flex-direction: column;
  }

  .text {
    padding: 20px;
  }

  .text2 {
    padding: 35px;
  }

  .image-container_1 {
    padding: 0;
  }
 .image-container_2 {
    order: 1;
  }
}


.image-container_1 {
  padding: 25px 100px 10px 100px;
}

@media (max-width: 1250px) {
 .image-container_1 {
    padding: 10px 25px 10px 10px;
    margin: auto;
  }
 .image-container_1 {
    order: 1;
  }

  .text {
    padding-top: 40px;
    padding: 0px;
  } 

  .text h2{
    padding-top: 25px;
    padding-left: 0px;
    padding-right: 0px;
  }

  .text2 h2{
    padding-left: 20px;
    padding-right: 20px;
  }

  .text p{
    padding-left: 100px;
    padding-right: 100px;
  }

  .autowrapper p{
    padding: 0px;
  } 

  .image-container_2 {
    max-width: 400px;
  }
}

.image-container_1 img {
  width: 100%;
  height: 100%;
  max-height: 350px;
  object-fit: cover;
  display: block;
  transform-origin: center;
  transition: transform 0.6s ease;
  will-change: transform;
}

.image-container_2 {
  margin-right: auto;
  margin-bottom: 30px;
}

.image-container_2 img {
  width: 100%;
  height: 100%;
  max-height: 600px;
  object-fit: cover;
  display: block;
  transform-origin: center;
  transition: transform 0.6s ease;
  will-change: transform;
}
