.main {
  height: auto;
}

body {
  background-color: rgb(241, 233, 222);
}
.main-section {
  width: auto;
  padding: 0px 80px;
  margin-top: -20px;
}

.main-section h1 {
  font-size: 50px;
  font-weight: 500;
  margin-bottom: 50px;
}

.bg {
  width: auto;
  display: flex;
  flex-direction: column;
  text-align: center;
  background-image: url("https://images.pexels.com/photos/2391/dirty-industry-stack-factory.jpg?cs=srgb&dl=pexels-life-of-pix-2391.jpg&fm=jpg");
  background-size: cover;
  height: 90vh;
  justify-content: center;
  align-items: center;
  color: white;
  background-attachment: fixed;
}

.bg h1 {
  word-break: break-all;
}

.bg-p {
  background-image: url("https://wallpapers.com/images/hd/elevator-pictures-1802-x-1054-14i2q1e40b1i0mnx.jpg");
}

.bg2 {
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background-color: white;
  min-height: 50vh;
  padding: 40px;
}

.merit {
  border: 1px solid rgb(113, 106, 93);
  width: 200px;
  height: auto;
  padding: 10px 50px;
}

.merit i {
  font-size: 40px;
  margin-top: 40px;
  color: rgb(113, 106, 93);
}

.merit h1 {
  font-size: 22px;
  font-weight: 500;
  margin: 20px 0px;
}

.merit p {
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 160%;
}

.bg3 {
  width: auto;
  background-color: rgba(180, 180, 180, 0.543);
  padding: 10px 80px;
}

.align {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  width: 100%;
}

.test {
  background-color: rgb(88, 82, 82);
  color: white;
  text-align: center;
  display: flex;
  max-width: 300px;
  flex-direction: column;
  padding: 30px 20px;
}

.test p {
  font-size: 16px;
  margin-top: 20px;
}

.test h1 {
  margin: 40px 0px;
  font-size: 30px;
}

.test i {
  font-size: 30px;
  margin-bottom: 30px;
}

.bg3 > h1 {
  font-size: 38px;
  text-align: center;
  margin: 70px 0px;
}

.bg p {
  width: 60%;
}

@media (max-width: 1000px) {
  .main-section {
    padding: 0px 50px;
  }
  .main-section h1 {
    font-size: 35px;
    text-align: center;
    line-height: 100%;
  }
  .bg {
    padding: 30px 0px;
    text-align: left;
    /* justify-content: start; */
  }

  .merit {
    width: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .bg3 {
    padding: 10%;
  }
}
