body {
    font-family: "Kanit", sans-serif;
}

.our_team_header {
    background-image: linear-gradient(
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.1)
        ),
        url("/images/Background_header_companyProfile.jpg");
    display: flex;
    background-size: cover;
    min-height: 100%;
}

.our_team_header h1 {
    color: #ffffff;
    font-size: 34px;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 10%;
    font-family: "Mitr", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.kind_core_team_background_img {
    background: linear-gradient(
            rgba(255, 255, 255, 0.5),
            rgba(255, 255, 255, 0.5)
        ),
        url(/images/background_arrow.png);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-size: cover;
    background-position: center;
    min-height: min-content;
    align-items: center;
}

.kind_core_team_background_img h1 {
    color: #752f8b;
    font-weight: 300;
    font-style: normal;
    padding-top: 40px;
    padding-bottom: 40px;
    display: block;
    text-align: center;
    font-weight: 400;
    font-size: 32px;
    width: 100%;
}

.kind_core_team_background {
    background-color: #ffffff;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    width: auto;
    min-height: min-content;
    border-radius: 5px;
    width: 80%;
    margin-bottom: 80px;
    transition: background-color 0.3s ease;
}

.kind_core_team_description1 img {
    width: 125px;
    height: 160px;
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin-top: 20px;
}

.kind_core_team_description1 p {
    color: #752f8b;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 20px;
}

.kind_core_team_underline {
    background-color: #752f8b;
    width: 90%;
    height: 5px;
    margin-bottom: 50px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.kind_core_team_background:hover {
    background-color: #752f8b;
}

.kind_core_team_background:hover .kind_core_team_underline {
    background-color: white;
}

.kind_core_team_description2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.kind_core_team_description2 img {
    width: 125px;
    height: 160px;
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.kind_core_team_description2 p {
    color: #752f8b;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 20px;
}

.kind_core_team_description3_img {
    display: grid;
    grid-template-columns: auto auto auto;
}

.kind_core_team_description3 img {
    margin-left: 10px;
    margin-right: 10px;
    width: 125px;
    height: 160px;
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.kind_core_team_description3 {
    display: flex;
    grid-template-columns: auto auto auto;
    gap: auto;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    margin-bottom: 50px;
}

.kind_core_team_description3 p {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 20px;
    color: #752f8b;
}

.kind_core_team_description3_position1,
.kind_core_team_description3_position2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50%;
}

.kind_core_team_description3_header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.kind_core_team_background:hover p {
    color: #ffffff;
}

.kind_team_background {
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.5); /* สีขาวโปร่งใส 50% */
    justify-content: center;
    align-items: center;
    min-height: min-content;
    border-radius: 5px;
    width: 80%;
    margin-bottom: 100px;
    padding-bottom: 30px;
}

.kind_team_header1 {
    display: flex;
    flex-direction: column;
    width: 90%;
}

.kind_team_container {
    display: flex;
    flex-wrap: wrap; /* ทำให้ข้อมูลจัดเรียงในหลายแถว */
    gap: 10px;
    justify-content: center; /* จัดตำแหน่งให้อยู่ตรงกลาง */
    border-bottom: 5px solid #752f8b; /* เส้นใต้ */
    margin-bottom: 30px;
}

.kind_team_header1 h1 {
    font-size: 32px;
    color: #752f8b;
    padding-top: 20px;
    padding-bottom: 20px;
    font-weight: 400;
}

.kind_team_container h2 {
    font-size: 17;
    color: #752f8b;
}

.kind_team_container h3 {
    font-size: 18px;
}

.kind_team_container h4 {
    font-size: 16px;
    color: #ffa800;
}

.data_team {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 350px;
    margin-bottom: 20px;
}

.data_team img {
    width: 125px;
    height: 160px;
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
    display: block;
}
