@media (max-width: 1024px) {
  .container {
    display: block;
    max-width: 1024px;
    width: 100%;
  }

  .text1 {
    margin-left: 160px;
  }

  h1 {
    margin-left: -493px;
    margin-top: 1000px;
    text-align: center;
  }

  .logo_text {
    margin-left: -490px;
    margin-top: 1000px;
    text-align: center;
  }

  .img1 {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* 1300 screen */

@media (max-width: 1300px) {
  .container {
    position: relative;
  }

  h1 {
    position: absolute;
    left: 680px;
  }

  .logo_text {
    position: absolute;
    top: 250px;
    left: 680px;
  }
}

/*screen 834*/

@media (max-width: 835px) {
  .container {
    position: relative;
    width: 900px;
  }
  .logo_text {
    position: absolute;
    top: 80px;
    padding-left: 100px;
  }
  .section,
  .section2 {
    width: 900px;
  }
  .text1 {
    margin-left: -1px;
    text-align: center;
  }

  h1 {
    position: absolute;
    top: 20px;
  }
  .section4,
  .section3,
  .about_text,
  .smalltext,
  .icon_image,
  .footer_text {
    width: 900px;
  }
}

/* screen 710 */

@media (max-width: 711px) {
  .container {
    position: relative;
    width: 800px;
  }

  h1 {
    margin-top: 900px;
    margin-left: -550px;
  }

  .logo_text {
    position: absolute;
    top: -30px;
    left: 650px;
  }

  .text1 {
    padding-left: 3px;
  }
  p {
    display: none;
  }

  .section,
  .section2 {
    display: block;
    width: 800px;
  }

  .img2,
  .img3 {
    width: 800px;
    height: 1000px;
  }

  .image_iheb1,
  .image_dom,
  .image_lamine {
    width: 800px;
    height: 950px;
    object-fit: cover;
  }

  .section4,
  .about_text,
  .smalltext,
  .icon_image,
  .footer_text {
    width: 800px;
    display: block;
  }

  .section3 {
    width: 800px;
  }
}

/* screen 375 */

@media (max-width: 376px) {
  .image_iheb1,
  .image_dom,
  .image_lamine {
    width: 800px;
    height: 1200px;
  }

  .Inhab,
  .DOM,
  .lamine {
    margin-top: 40px;
  }

  .img2,
  .img3 {
    width: 800px;
    height: 1100px;
    margin-top: 20px;
  }
  .text1 {
    font-size: 30px;
  }

  .section7 {
    display: block;
    width: 900px;
    padding-left: 120px;
    border: 1px dashed gray;
  }
}

/* screen 751 */

@media (max-width: 752px) {
  .image_iheb1,
  .image_dom,
  .image_lamine,
  .image_ali,
  .image_elena {
    width: 900px;
    height: 1000px;
  }

  .Inhab,
  .DOM,
  .lamine,
  .ali,
  .elena {
    margin-top: 40px;
  }

  .img2,
  .img3 {
    width: 900px;
    height: 1100px;
  }

  .container {
    position: relative;
    width: 900px;
  }

  h1 {
    margin-top: 900px;
    margin-left: -550px;
  }

  .logo_text {
    position: absolute;
    top: -30px;
    left: 650px;
  }

  .text1 {
    padding-left: 3px;
    padding-top: -20px;
  }

  .section,
  .section2 {
    display: block;
    width: 900px;
  }
  .section4,
  .section3,
  .about_text,
  .smalltext,
  .icon_image,
  .footer_text {
    width: 900px;
  }
}
