@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300&family=Prompt:wght@200;300;400;500&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
}

body {
  font-family: 'Kanit', sans-serif;
  /* margin: 0;
    padding: 0;
    width: 100%; */
  overflow-x: hidden;
}

a {
  text-decoration: none;
}

.container {
  width: 100%;
}

/* Font Setting */
.red-text {
  color: #AD1828;
}

.small-text {
  font-size: 16px;
}

.center-point {
  display: flex;
  justify-content: center;
  padding: 2rem 0 4rem 0;
}

.right-point {
  display: flex;
  justify-content: right;
  padding: 2rem 0 4rem 0;
}

.line-h {
  line-height: 30px;
}

/* Navbar */
.navbar {
  position: absolute;
  top: 2rem;
  /* left: 0px; */
  right: 1.5rem;
  z-index: 99;
}

.topnav {
  overflow: hidden;
  margin-right: 0.5rem;
  /* background-color: #333; */
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.topnav a,
.dropdown .dropbtn {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  text-transform: uppercase;
}

/* .topnav a::after, .dropdown .dropbtn::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    height: 50%;
    width: 3px;
    background-color: #f2f2f2;
    transform: translateY(-50%);
  } */

.highlight {
  margin-left: 14px;
  content: '';
  position: absolute;
  top: 50%;
  height: 50%;
  width: 2px;
  background-color: #f2f2f2;
  transform: translateY(-50%);
}

.topnav a:last-child::after,
.dropdown .dropbtn:last-child::after {
  display: none;
}

.active {
  /* background-color: #04AA6D;
    color: white; */
}

.topnav .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 17px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  text-transform: uppercase;
  /* transition: 0.5s ease-out, */
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  /* min-width: 160px; */
  width: 100%;
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a:hover,
.dropdown:hover .dropbtn {
  /* background-color: #555; */
  color: white;
}

.dropdown .dropbtn:hover {
  transition: 1s ease-in-out;
}

.dropdown-content a:hover {
  background-color: #c2c2c2;
  color: black;
}

.dropdown:hover .dropdown-content {
  margin-top: 2.5rem;
  display: block;
  width: 240px;
}

/* Content */
.content_container {
  padding: 5rem 8rem;
}

.content_container2 {
  padding: 5rem 4rem;
}

.content_container3 {
  padding: 5rem 0rem;
}

.content_container4 {
  padding: 1rem 1rem;
}

.content_container4 table {
  border-collapse: collapse;
  width: 100%;
}

.content_container4 table td,
th {
  border: 1px solid #999;
  padding: 0.8rem;
}

.content_container4 table th {
  color: #fff;
  background-color: #792c34;
}

.content_container4 img {
  width: 100%;
  padding: 6rem 6rem;
  opacity: 0.5;
}

.center {
  text-align: center;
}

.link {
  /* position: relative; */
  top: 1rem;
  color: #AD1828;
  font-weight: bold;
}

.link i {
  color: black;
  margin-left: 10px;
}

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

.content2 {
  margin: 3rem;
}

.content2 p {
  color: #AD1828;
  /* font-style: italic; */
  font-style: oblique;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px #2020202a;
}

.content3 {
  padding: 0 5rem;
}

.content3 p {
  font-size: 18px;
  line-height: 30px;
}

.content3 h3 {
  color: #AD1828;
  text-align: center;
  padding: 3rem 0;
  font-size: 20px;
}

.content3-sp p {
  font-size: 18px;
  width: 600px;
  color: #AD1828;
  font-style: italic;
}

.content4 h2 {
  color: #AD1828;
  padding: 2rem 0;
}

.content4 li {
  font-size: 18px;
  padding: 0.5rem 1.5rem;
}

.content6 {
  width: 100%;
  max-width: 1920px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.content6 .content6_item {
  padding: 1.5rem;
}

.content6 .img_content {
  border-radius: 10px;

}

.content6 .img_content img {
  width: 300px;
  height: 300px;
  border: #00000023 solid 5px;
  border-radius: 10px;
}

.content6 .img_zoom img {
  width: 350px;
  height: 350px;
  border: #00000023 solid 5px;
  border-radius: 10px;
}

.content6 p {
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  text-transform: uppercase;
  color: #AD1828;
}

.content6_item .img_content .detail {
  position: absolute;
  width: 350px;
  height: 350px;
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.content6_item .img_content .detail h2 {
  color: black;
  font-weight: bold;
  font-size: 42px;
  text-transform: uppercase;
  /* text-shadow: rgb(255, 255, 255) 1px 0 10px; */
  text-shadow: 2px 2px 1px rgba(255, 255, 255, 0.621);
}

.content6_item .img_content .detail p {
  color: black;
  font-weight: 300;
  font-size: 18px;
  text-transform: none;
  text-shadow: 0.5px 0.5px 3px rgba(255, 255, 255, 0.697);
}

.img_zoom {
  overflow: hidden;
}

.img_zoom img {
  /* transform-origin: 0 0; */
  transition: transform .25s, visibility .25s ease-in;
  /* filter: grayscale(100%); */
}

.img_zoom:hover img {
  transform: scale(1.5);
}

.content7 .wapper {
  margin-left: auto;
  margin-right: auto;
  padding-top: 1.5rem;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  max-width: 1080px;
}

.content8 h2 {
  color: #AD1828;
  padding: 0 5rem;
  line-height: 40px;
}

.content8 .p_text_content8 {
  padding: 3rem 0rem 2rem 14rem;
  font-size: 22px;
  line-height: 30px;
}

.content8 h1 {
  text-align: center;
  color: #AD1828;
  padding: 2rem 0 0 0;
}

.content9 .head {
  background: #792c34;
  color: #fff;
  padding: 0.8rem 2rem;
  width: 100%;
}

.content9 .head h3 {}

.content9 .list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem 2rem;
  color: #AD1828;
  font-weight: bold;
  font-style: italic;
  font-size: 16px;
}

/* img_content1 */

.img_content1  {
  margin: auto;
  text-align: center;
}
.img_content1 img {
  width: 100%;
  /* max-width: 1280px; */
  padding: 1rem 1rem;
  font-weight: 100;
}

.fb-page-container {
  width: 100%; /* หรือความกว้างที่คุณต้องการ */
  /* max-width: 500px; */
  position: relative;
  margin: auto;
}

#fb-page-iframe {
  width: 500px;
  height: 100%; /* กำหนดความสูงให้เต็ม container */
  margin: auto;
  text-align: center;
}


/* .img_content1 iframe {
  width: 500px;
  height: 720px;
} */

/* img_content2 */

.img_content2 {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-top: 2rem;
  gap: 1rem;
}

.img_content2_item {
  flex: 1;
  /* ขนาดเท่ากันทั้งหมดในตอนแรก */
}

.img_content2_item.larger {
  flex: 2;
  /* กำหนดขนาดให้ใหญ่ขึ้น 2 เท่า */
}

.img_content2_item.largers {
  flex: 3;
  /* กำหนดขนาดให้ใหญ่ขึ้น 2 เท่า */
}

.img_content2_item img {
  width: 100%;
  height: auto;
}

/* img_content3 */

.img_content3 {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  padding-top: 2rem;
  gap: 2rem;
}

.img_content3_item {
  flex: 1;
  /* ขนาดเท่ากันทั้งหมดในตอนแรก */
}

.img_content3_item.larger {
  flex: 3;
  /* กำหนดขนาดให้ใหญ่ขึ้น 3 เท่า */
}

.img_content3_item img {
  max-width: 1080px;
  width: 100%;
  height: auto;
}

.img_small_resp {
  max-width: 420px;
}

.content_header1 {
  margin-bottom: 1.5rem;
}

.content_header1 p {
  font-size: 32px;
  text-transform: uppercase;
}

.content_header1 h1 {
  font-size: 32px;
  color: #AD1828;
  text-transform: uppercase;
}

/* Contact */

.position_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: row;
  aligin-items: center;
  gap: 50px;
  /* width: 100%; */
  /* background-color: #B80A0A; */
  /* color: #ffffff; */
}

.position_content {
  display: flex;
  flex-wrap: wrap;
  /* flex-direction: row; */
  /* padding: 3rem 5rem 6rem 5rem; */
  justify-content: center;
  /* max-width: 800px; */
  margin: auto;
  gap: 50px;
}

.maps_content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.maps_content iframe{
  /* content: "";
  flex: 50%; */
  /* width: 100%; */
  width: 500px;
  height: 400px;
}

.maps_content h2 {
  font-size: 28px;
  font-weight: bold;
  /* color: #fff; */
}

.address_content {
  max-width: 450px;
}

.address_content h2 {
  font-size: 28px;
  font-weight: bold;
  /* color: #fff; */
}

.address_content h5 {
  font-size: 22px;
  font-weight: lighter;
}

.address_content .contact_actmc {
  font-size: 16px;
  padding: 1.5rem 0;
  font-style: italic;
  font-weight: lighter;
  letter-spacing: 1px;
  line-height: 26px;
}

.contact_detail {
  padding-bottom: 1.5rem;
}

.contact_detail p {
  padding-top: 8px;
  font-size: 16px;
  /* font-style: italic; */
  font-weight: lighter;
  letter-spacing: 1px;
  line-height: 26px;
}

.contact_detail a {
  color: black;
  font-weight: bold;
}

.contact_detail p a {
  display: flex;
  flex-direction: row;
  gap: 0;
}

.act_mc_brand {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 0.8rem;
}

.act_mc_brand img {
  width: 70px;
}

/* Tab */

.tab-wrap {
  transition: 0.3s box-shadow ease;
  border-radius: 6px;
  max-width: 1280px;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  list-style: none;
  background-color: #fff;
  margin: auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}

.tab-wrap:hover {
  box-shadow: 0 12px 23px rgba(0, 0, 0, 0.23), 0 10px 10px rgba(0, 0, 0, 0.19);
}

.tab {
  display: none;
}

.tab:checked:nth-of-type(1)~.tab__content:nth-of-type(1) {
  opacity: 1;
  transition: 0.5s opacity ease-in, 0.8s transform ease;
  position: relative;
  top: 0;
  z-index: 100;
  transform: translateY(0px);
  text-shadow: 0 0 0;
}

.tab:checked:nth-of-type(2)~.tab__content:nth-of-type(2) {
  opacity: 1;
  transition: 0.5s opacity ease-in, 0.8s transform ease;
  position: relative;
  top: 0;
  z-index: 100;
  transform: translateY(0px);
  text-shadow: 0 0 0;
}

.tab:checked:nth-of-type(3)~.tab__content:nth-of-type(3) {
  opacity: 1;
  transition: 0.5s opacity ease-in, 0.8s transform ease;
  position: relative;
  top: 0;
  z-index: 100;
  transform: translateY(0px);
  text-shadow: 0 0 0;
}

.tab:checked:nth-of-type(4)~.tab__content:nth-of-type(4) {
  opacity: 1;
  transition: 0.5s opacity ease-in, 0.8s transform ease;
  position: relative;
  top: 0;
  z-index: 100;
  transform: translateY(0px);
  text-shadow: 0 0 0;
}

.tab:checked:nth-of-type(5)~.tab__content:nth-of-type(5) {
  opacity: 1;
  transition: 0.5s opacity ease-in, 0.8s transform ease;
  position: relative;
  top: 0;
  z-index: 100;
  transform: translateY(0px);
  text-shadow: 0 0 0;
}

.tab:first-of-type:not(:last-of-type)+label {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.tab:not(:first-of-type):not(:last-of-type)+label {
  border-radius: 0;
}

.tab:last-of-type:not(:first-of-type)+label {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.tab:checked+label {
  background-color: #fae2e4;
  box-shadow: 0 -1px 0 #fff inset;
  color: black;
  cursor: default;
}

.tab:checked+label:hover {
  box-shadow: 0 -1px 0 #fff inset;
  background-color: #fae2e4;
}

.tab+label {
  box-shadow: 0 -1px 0 #eee inset;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: #fff;
  flex-grow: 3;
  text-align: center;
  background-color: #792c34;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-align: center;
  transition: 0.3s background-color ease, 0.3s box-shadow ease;
  height: 50px;
  box-sizing: border-box;
  padding: 15px;
  font-weight: bold;
  font-size: 20px;
}

.tab+label:hover {
  background-color: #fae2e4;
  color: #792c34;
  box-shadow: 0 1px 0 #f4f4f4 inset;
}

.tab__content {
  padding: 40px 25px;
  background-color: #fae2e4;
  position: absolute;
  width: 100%;
  z-index: -1;
  opacity: 0;
  left: 0;
  transform: translateY(-3px);
  border-radius: 6px;
  line-height: 26px;
}

.tab_content h5 {
  color: black;
}

/* .tab_content h4 {
  color: black;
} */

.tab__content table p {
  font-size: 16px;
  text-align: left;
  padding: 0;
}

.application_content {
  text-align: left;
  padding: 1rem 3rem 0 3rem;
}

.sub_table {
  display: flex;
  width: 250px;
}

table th,
td {
  /* border: 5px solid; */
  padding: 0.8rem 0;
}

table tr {
  padding: 1rem 0;
}

.tb_content_right {
  padding-left: 0rem;
}

.tb_content_right ul li {
  
}

/* Tab V.2 */

/* Style the tab */
.tab2 {
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 2rem;
  /* border: 1px solid #ccc; */
  /* background-color: #f1f1f1; */
}

/* Style the buttons inside the tab */
.tab2 button {
  background-color: inherit;
  /* float: left; */
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0px 16px;
  transition: 0.3s;
  font-size: 16px;
  font-weight: bold;
  color: #ad1828;
  text-align: center;
  text-transform: uppercase;
  /* border: 3px solid #ad1828; */
  /* border-right: 3px solid #ad1828; */
}

.tab2 button:not(:last-child) {
  border-right: 3px solid #ad1828;
  border-bottom: unset;
}


/* Change background color of buttons on hover */
.tab2 button:hover {
  /* background-color: #ddd; */
  font-weight: bold;
  font-size: 18px;
  /* scale: 1.1; */
}

/* Create an active/current tablink class */
.tab2 button.active {
  /* font-weight: bold;
  font-size: 18px; */
  /* scale: 1.1; */
}

.tab2 button.active p {
  background-color: #ad1828;
  color: #fff;
  padding: 0.3rem 0.5rem;
  border-radius: 8px;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 3rem 3rem;
  /* border: 1px solid #ccc; */
  border-top: none;
}

/* Show the first tab by default */
.tabcontent:first-of-type {
  display: block;
}

.tabcontent h3 {
  color: #ad1828;
  text-align: center;
  font-size: 22px;
  text-transform: uppercase;
}

/* Our_team */

.our_team_container {
  /* max-width: 720px; */
  max-width: 1080px;
  margin: auto;
}

.our_team_container2 {
  display: flex;
  flex-direction: column;
  max-width: 1280px;
  margin: auto;
}

.our_team_container3 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: start;
  /* max-width: 1280px; */
  max-width: 1920px;
  margin: auto;
  gap: 3rem;
  flex-wrap: wrap;
}

.our_team_content {
  margin-top: 3rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2rem;
}

.our_team_content2 {
  margin-top: 3rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.our_team_content3 {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.our_team_img {
  margin: auto;
}

.our_team_img img {
  /* width: 240px;
  height: 280px; */
  width: 300px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.our_team_img2 img {
  width: 300px;
  height: 420px;
  border-radius: 10px;
  object-fit: cover;
}

/* text_content */
.text_content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 650px;
  height: auto;
  margin: 2rem;
  padding: 1.5rem;
  border: 3px solid #ad1828;
  border-radius: 10px;
}

.text_content p {
  color: #ad1828;
  padding-bottom: 20px;
  /* font-size: ; */
}

.text_content h2 {
  color: #cdad7d;
  font-size: 18px;
}

.text_content h4 {
  color: #cdad7d;
  font-size: 16px;
  font-weight: 300;
}

/* text_content2 */
.text_content2 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 320px;
  height: 400px;
  margin: 2rem;
  padding: 1.5rem;
  border: 3px solid #ad1828;
  border-radius: 10px;
  font-size: 18px;
}

.text_content2 p {
  color: #ad1828;
  /* font-size: ; */
}

.text_content2 h5 {
  color: #cdad7d;
  font-weight: lighter;
}

/* text_content3 */
.text_content3 {
  max-width: 300px;
  text-align: center;
  font-size: 18px;
}

.text_content3 p {
  font-weight: lighter;
  color: #454545;
  font-size: 14px;
  padding-top: 8px;
  line-height: 20px;
}

.text_content3 h5 {
  color: #272727;
  font-weight: bold;
  font-size: 18px;
}

.contact_us {
  padding: 1.5rem 0;
}

.facebook_page {
  padding: 1rem 0;
}

/* Footer */
#footer {
  /* position:fixed; */
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 300px;
}

/* #footerContainer {
  position: relative;
  width: 100%;
  height:100px;
} */

/* #imginthefooter {
  background: url(../img/bg/bg_footer.png) no-repeat;
  width: 100%;
  height: 100vh;
  max-height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  z-index: -1;
} */

.footer_content {
  width: 100%;
  position: absolute;
  z-index: 2;
  padding: 2rem 0;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: 3rem;
  background-image: url(../img/bg/bg_footer.png);
  background-repeat: no-repeat;
  background-size: cover;
}

.footer_item img {
  width: 250px;
  padding-top: 0;
}

.footer_item {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer_items h4 {
  text-transform: uppercase;
}

.footer_contact a {
  color: black;
}

.footer_contact .web {
  display: flex;
  /* justify-content: center; */
  align-items: center;
  
  
}


/* Responsive */
@media screen and (max-width: 567px) {

  .act_mc_brand {
    justify-content: center;
}

  .maps_content iframe{
    width: 100%;
  }

  .content8 h2 {
    padding: 0 0;
    line-height: 30px;
  }
/* 
  .img_content1 iframe {
    width: 400px;
  } */

}

@media screen and (max-width: 768px) {

  /* Content */
  .content_container {
    padding: 2rem 2rem;
  }

  .content_container2 {
    padding: 2rem 2rem;
  }

  .content_container3 {
    padding: 2rem 0rem;
  }

  .content_container4 img {
    padding: 3rem 0rem;
  }

  .content2 {
    margin: 2rem;
  }

  .img_content1 img {
    padding: 1rem 0 2rem 0;
  }

  .content3 {
    padding: 0 1rem;
  }

  .img_content2 {
    flex-direction: column;
    padding-top: 1rem;
    gap: 1rem;
  }

  .img_content3 {
    flex-direction: column;
    padding-top: 1rem;
    gap: 1rem;
  }

  .img_small_resp {
    max-width: 220px;
  }

  .content9 .list {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 2rem 0rem;
    font-size: 16px;
  }

  .sub_table {
    display: flex;
    width: 100px;
  }

  .content8 .p_text_content8 {
    padding: 3rem 0rem 2rem 0;
  }

  .content8 h1 {
    font-size: 24px;
    padding: 0 0 1rem 0;
  }


  /* Footer */

  /* .footer_content {
    background-size: cover;
  } */

  /* #imginthefooter {
    height: 700px;
    height: 100vh;
    max-height: 100vh;
  } */

  .footer_content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 1rem;
  }

  .footer_items .img_mc_footer {
    width: 220px;
    padding-top: 2rem;
  }

  .footer_contact .web {
    align-items: center;
    justify-content: center;
  }

}

@media screen and (max-width: 1080px) {

  /* Navbar */

  .navbar {
    top: 1.5rem;
  }

  .topnav {
    flex-direction: column;
  }

  .topnav a,
  .dropdown .dropbtn {
    display: none;
    background-color: #333;
    color: #fff;
  }

  .topnav a.icon {
    float: right;
    display: block;
    padding: 0;
  }

  .topnav.responsive {
    position: relative;
    width: 240px;
  }

  /* .topnav.responsive {
      position: unset;
      margin-top: 3rem;
    } */
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

  .dropdown-content a {
    background-color: #ddd;
    color: #333;
  }

  .topnav.responsive .dropdown {
    float: none;
  }

  .topnav.responsive .dropdown-content {
    /* position: relative; */
    position: unset;
    margin-top: 2.9rem;
  }

  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }

  .topnav.responsive a::after,
  .topnav.responsive .dropdown .dropbtn::after {
    display: none;
  }

  .highlight {
    display: none;
  }

  .our_team_content {
    margin: 1rem;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .our_team_content2 {
    margin-top: 1rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
  }
  
  .tabcontent {
    padding: 0 0;
  }

  .our_team_content:not(:last-child) {
    flex-direction: column-reverse;
  }

  .text_content {
    width: 100%;
    margin: 1.5rem 0rem;
    padding: 1.5rem;
  }

  .text_content2 {
    width: 100%;
    margin: 1.5rem 0;
    padding: 1.5rem;
  }

  .tab2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* border: 1px solid #ccc; */
    /* background-color: #f1f1f1; */
  }

  .tab2 button {
    max-width: 300px;
    text-align: center;
    padding: 14px 16px;
    /* margin:auto; */
  }

  .tab2 button:not(:last-child) {
    border-right: unset;
    border-bottom: 3px solid #ad1828;
    width: 18rem;
  }

  .our_team_container3 {
    gap: 0.6rem;
  }

}

/* header */

.bg img {
  width: 100%;
}
@media screen and (max-width: 1255px) {
  .position_container {
    align-items: center;
    flex-direction: column-reverse;
  }
}
@media only screen and (max-width: 600px) {}

/* Animation */

/* ANIMATION START */
@keyframes fadeInUp {
  from {
      transform: translate3d(0,50px,0)
  }

  to {
      transform: translate3d(0,0,0);
      opacity: 1
  }
}

@-webkit-keyframes fadeInUp {
  from {
      transform: translate3d(0,50px,0)
  }

  to {
      transform: translate3d(0,0,0);
      opacity: 1
  }
}

.animated {
  animation-duration: 1.2s;
  animation-fill-mode: both;
  -webkit-animation-duration: 1.2s;
  -webkit-animation-fill-mode: both
}

.animatedFadeInUp {
  opacity: 0
}

.fadeInUp {
  opacity: 0;
  animation-name: fadeInUp;
  -webkit-animation-name: fadeInUp;
}



/* TASK ANIMATION */

@keyframes inLeft {
	0% {
		transform: translateX(-100vmin);
    opacity: 0;
	}
	50% {
    opacity: 0;
	}
	
	100% {
		transform: translateX(0);
    opacity: 1;
	}
}

.left {
  /* font-weight: 700;
  font-size: 0.9em; */
  grid-column: 1;
  animation: inLeft;
  animation-duration: 0.8s;
}

/* IMG FADEIN */
.fade-in {
  animation: fadeIn ease 0.8s;
  -webkit-animation: fadeIn ease 0.8s;
  -moz-animation: fadeIn ease 0.8s;
  -o-animation: fadeIn ease 0.8s;
  -ms-animation: fadeIn ease 0.8s;
}
@keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-moz-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-webkit-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-o-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}

@-ms-keyframes fadeIn {
  0% {opacity:0;}
  100% {opacity:1;}
}


/* ANIMATION START fadeInUp_scroll_down  */
@keyframes fadeInUp_scroll_down {
  0% {
      transform: translate3d(0,300px,0);
      opacity: 0;
  }
  	30% {
    opacity: 0;
	}
  	40% {
    opacity: 1;
	}

  100% {
      transform: translate3d(0,0,0);
      opacity: 1;
  }
}

@-webkit-keyframes fadeInUp_scroll_down {
  0% {
      transform: translate3d(0,300px,0);
      opacity: 0;
  }
  	30% {
    opacity: 0;
	}
  	40% {
    opacity: 1;
	}

  100% {
      transform: translate3d(0,0,0);
      opacity: 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .animated_scroll_down {
    animation-duration: 1.2s;
    animation-fill-mode: both;
    -webkit-animation-duration: 1.2s;
    -webkit-animation-fill-mode: both
  }
  
  .animatedFadeInUp_scroll_down {
    opacity: 0
  }
  
  .fadeInUp_scroll_down {
    opacity: 0;
    animation-name: fadeInUp_scroll_down;
    -webkit-animation-name: fadeInUp_scroll_down;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
  }
}

/* ANIMATION START fadeInleft_scroll_down  */
@keyframes inUpLeft {
	0% {
		transform: translateX(-50vmin);
    opacity: 0;
	}
	30% {
    opacity: 1;
    transform: translateX(0);
	}

	100% {
    opacity: 1;
	}
}

.Upleft {
  /* font-weight: 700;
  font-size: 0.9em; */
  grid-column: 1;
  animation: inUpLeft;
  animation-duration: 0.8s;
  animation-play-state: paused;
  animation-delay: calc(var(--scroll) * -1s);
}

/* ANIMATION START fadeInUpright_scroll_down  */
@keyframes inUpRight {
	0% {
		transform: translateX(50vmin);
    opacity: 0;
	}
	30% {
    transform: translateX(0);
    opacity: 1;
	}

	100% {
    opacity: 1;
	}
}

.UpRight {
  /* font-weight: 700;
  font-size: 0.9em; */
  grid-column: 1;
  animation: inUpRight;
  animation-duration: 0.8s;
  animation-play-state: paused;
  animation-delay: calc(var(--scroll) * -1s);
}

/* ANIMATION END */