body {
  font-family: "Kanit", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* background-color: hsl(220, 24%, 12%); */
  color: #333;
}
#banner {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 5.5rem;
}

.container-content {
  padding-bottom: 8rem;
}

.content {
  max-width: 1920px;
  text-align: center;
  margin: 0 auto;
  padding: 4.5rem 0 2.5rem 0;
}

.content h3 {
  font-size: 34px;
}

.content p {
  font-size: 22px;
}
.content2-header {
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

.content2-header h3 {
  font-size: 42px;
  line-height: 1;
}

.content2-details {
  margin: auto;
  padding: auto;
}

.content2-details p {
  font-size: 18px;
  text-align: left;
}

.content-img {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  padding: auto;
  width: 100%;
  margin-top: 5rem;
}
.content-img img {
  max-width: 1580px;
  width: 100%;
  margin: auto;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 14px;
  max-width: 1280px;
  margin: auto;
  padding: 0;
}

.cards .card-item img {
  width: 100%;
  /* max-width: 720px; */
  width: 360px;
  border-radius: 14px;
}

.slide-show {
  width: 100%;
  /* height: 320px; */
  height: auto;
}

.splide__slide__container img {
  border-radius: 14px;
  padding: 0.5rem;
  transition: transform 0.3s;
}

.splide__slide__container img:hover {
  border-radius: 14px;
  /* transform: translateY(-10px); */
  transform: scale(1.1);
  overflow: hidden;
}

/* .splide {
        width: 100%;
    } */

:root {
  --var-col: auto;
}

.card2-container {
  display: flex;
  /* flex-wrap: wrap; */
  flex-direction: column;
  /* gap: 1.5rem; */
  padding: 2rem 0;
}

.cards2 {
  display: grid;
  /* flex-wrap: wrap; */
  grid-template-columns: 1fr 3fr;
  /* grid-template-columns: repeat(2, var(--var-col)); */
  /* grid-template-rows: 200px auto; */
  border-radius: 18px;
  gap: 10px;
  max-width: 1280px;
  width: 100%;
  height: auto;
  margin: 1.5rem auto;
  padding: 0.5rem;
}

.img-card2-header img {
  height: 320px;
  border-radius: 14px;
  padding: 0.5rem;
  /* width: 100%; */
}

.splide__slide__container img {
  width: 100%;
  /* height: 320px; */
  height: auto;
  object-fit: cover;
  border-radius: 14px;
}

/* .splide__list {
  gap: 14px
} */

/* .item-1 {
        flex-grow: 1;
    }

    .item-2 {
        flex-grow: 3;
    } */

/* ESG box */
.text-card2-header {
  display: none;
  flex-direction: column;
  font-size: 42px;
  text-align: center;
}

.text-card2-header h2 {
  /* margin: 0;
  padding: 0;
  line-height: 1.2; */
  font-size: 28px;
}

.img-icon {
  display: flex;
  justify-content: center;
}

.img-icon img {
  height: 55px;
  margin: 0.5rem auto;
}

.img-icon-all img {
  width: 200px;
}

.img-card2-header {
  display: unset;
}

.content2 {
  display: flex;
  flex-direction: row;
  gap: 14px;
  max-width: 1280px;
  margin: auto;
  padding: 1rem 1.5rem 0 1.5rem;
  text-align: center;
}

.desception {
  max-width: 1080px;
  text-align: center;
  margin: 0 auto;
  padding: 0 0.5rem 1.5rem 0.5rem;
}

.desception h4 {
  font-size: 24px;
  display: unset;
}

.desception p {
  font-size: 18px;
}

.box {
  display: flex;
  flex-direction: column;
}

/* Specific Colors */
.p1_bg {
  background-color: #e4e5f3;
  color: #6b71bf;
}
.p1_letter {
  color: #6b71bf;
}

.e_bg {
  background-color: #dcefe2;
  color: #27ae61;
}
.e_letter {
  color: #2eaf63;
}

.org_bg {
  background-color: #feead6;
  color: #f79406;
}
.org_letter {
  color: #f79406;
}

.b_bg {
  background-color: #ddecf7;
  color: #359ad8;
}
.b_letter {
  color: #359ad8;
}

.p2_bg {
  background-color: #eadeef;
  color: #8f44ad;
}
.p2_letter {
  color: #8f44ad;
}

footer {
  background-color: hsl(220, 24%, 12%);
  color: white;
  width: 100%;
  /* position: fixed; */
  left: 0;
  bottom: 0;
  z-index: 99;
}

.footer-content {
  max-width: 1920px;
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: center;
  padding: 0.5rem 0;
  margin: auto;
}

.contact {
  text-align: right;
  padding-right: 1.5rem;
}

@media screen and (max-width: 720px) {
  .cards {
    /* flex-direction: column; */
    flex-wrap: wrap;
    gap: 0;
    padding: 1rem 0 0 0;
  }

  .cards .card-item img {
    width: 100%;
    max-width: 360px;
    border-radius: 14px;
  }

  .footer-content {
    flex-direction: column;
    padding: 1rem 1rem;
  }

  .contact {
    text-align: center;
    padding: 0.3rem;
  }

  .content2 {
    padding: 3rem 1rem 0 1rem;
  }

  .card2-container {
    gap: 0rem;
    padding: 0;
  }

  .content2 {
    flex-direction: column;
  }

  .container-content {
    padding-bottom: 2rem;
  }
}

@media screen and (max-width: 1118px) {
  #banner {
    margin-top: 3.5rem;
  }

  .cards2 {
    /* flex-direction: column; */
    /* flex-wrap: wrap;
            justify-content: center; */
    /* padding: 0.5rem; */

    display: grid;
    /* flex-wrap: wrap; */
    /* grid-template-columns: repeat(2, var(--var-col)); */
    grid-template-columns: repeat(auto-fit, var(--var-col));
    /* grid-template-columns: repeat(auto-fit,minmax(320px,1fr)); */
  }

  .text-card2-header {
    display: unset;
    font-size: 22px;
  }

  .desception h4 {
    font-size: 28px;
    display: none;
  }

  .img-card2-header {
    display: none;
    text-align: center;
  }

  .content {
    padding: 2.5rem 0 1rem 0;
  }

  .content2 {
    padding: 3rem 1.5rem 2rem 1.5rem;
  }

  .container-content {
    padding-bottom: 4rem;
  }
}
