/*************/

/* SECTION 1 */

/*************/
#section1 {
  width: 80%;
  margin: auto;
  padding: 70px 0 50px 0;
  max-width: 1080px;
}
#section1 h1 {
  text-align: center;
  font-size: 45px;
  margin-bottom: 20px;
}
#section1 p {
  text-align: center;
  margin: auto;
}
/*************/

/* SECTION 2 */

/*************/
#section2 {
  width: 90%;
  max-width: 1400px;
  margin: auto;
}
#section2 h2 {
  font-size: 30px;
}
#section2 p {
  margin-bottom: 30px;
}

/*************/

/* SECTION 3 */

/*************/
#section3 {
  width: 90%;
  max-width: 1400px;
  margin: 50px auto;
}
#section31 {
  /* display: flex; */
  column-gap: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
#section311 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#section312 img {
  width: 100%;
}
#section3111 h2 {
  margin: 0;
}
#section3111 p {
  margin: 10px 0 0 0;
}
#section3112 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  /* align-items: center; */
  column-gap: 30px;
  row-gap: 30px;
  margin-top: 30px;
}
.section31121 {
  display: flex;
  flex-direction: column;
}
.section31121 h3 {
  color: #6db52d;
  font-size: 15px;
}
.section311212 {
  font-size: 30px;
  font-weight: bold;
  margin: 10px 0;
  padding: 0;
}
.section31121 img {
  max-width: 46.5px;
}
/*************/

/* SECTION 4 */

/*************/
#section4 {
  background-color: #ebf0f0;
  padding: 70px 0;
}
#section41 {
  width: 90%;
  max-width: 1400px;
  margin: auto;
  text-align: center;
}
#section41 p {
  margin-bottom: 30px;
  padding: 0 20px;
}

/*************/

/* SECTION 5 */

/*************/
#section5-1 {
  width: 90%;
  max-width: 1400px;
  margin: auto;
  padding: 50px 0;
}
#section5-1cont {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
#section5-1 p {
  margin-bottom: 0;
}
#section5-1-1 {
  line-height: 1.3em;
  font-size: 30px;
}
#section5-2-cont {
  margin-bottom: 130px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: 32px;
  column-gap: 32px;
  max-width: 1400px;
  margin: auto;
  width: 90%;
  margin-bottom: 0;
}
.referenceCont {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.reference {
  height: 335px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.7s ease-in-out;
  transform: scale(1);
  will-change: transform;
}
.reference:hover {
  transform: scale(1.1);
}
.reference-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#section5-2-1-1 {
  grid-column: span 2;
}
#section5-2-1-2 {
  grid-column: span 1;
}
#section5-2-2-1 {
  grid-column: span 1;
  grid-row: 2 / span 2;
}
#section5-2-2-1 > div {
  height: 702px !important;
}
#section5-2-2-2 {
  grid-column: span 1;
}
#section5-2-2-3 {
  grid-column: span 1;
}
#section5-2-3-1 {
  grid-column: span 2;
}

/*************/

/* @MEDIA */

/*************/
@media (max-width: 1300px) {
  #section6 {
    padding: 0px 9%;
  }
  #section61 {
    margin: 50px 0;
  }
}
@media (max-width: 1199px) {
  /*************/
  /* SECTION 3 */
  /*************/
  #section31 {
    /* flex-direction: column-reverse; */
    grid-template-columns: repeat(1, minmax(0, 1fr));
    align-items: center;
  }
  #section311 {
    margin-top: 50px;
  }
  #section3112 {
    margin-top: 50px;
    column-gap: 30px;
  }
  .section31121 {
    align-items: center;
  }
}
@media (max-width: 991px) {
  /*************/
  /* SECTION 2 */
  /*************/
  #section21 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /*************/
  /* SECTION 3 */
  /*************/
  #section3112 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    row-gap: 30px;
  }
}
@media (max-width: 767px) {
  /*************/
  /* SECTION 2 */
  /*************/
  #section21 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  /*************/
  /* SECTION 5 */
  /*************/
  #section5-1cont {
    flex-direction: column;
  }
  #section5-1-1 {
    margin-bottom: 30px;
  }
  #section5-1 p {
    margin-top: 30px;
  }
  #section5-2-cont {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  #section5-2-1-1 {
    grid-column: span 1;
  }
  #section5-2-1-2 {
    grid-column: span 1;
  }
  #section5-2-2-1 {
    grid-column: span 1;
    grid-row: span 1;
  }
  #section5-2-2-1 > div {
    height: 260px !important;
  }
  #section5-2-2-2 {
    grid-column: span 1;
  }
  #section5-2-2-3 {
    grid-column: span 1;
  }
  #section5-2-3-1 {
    grid-column: span 1;
  }
}
