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;
}

.background {
    padding-top: 100px;
    padding-left: 18%;
    padding-right: 18%;
    padding-bottom: 100px;
}

.employee {
    display: flex;
}

.employee img {
    width: 188px;
    height: 219px;
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.employee_data {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-left: 80px;
}

.employee_data h1 {
    font-size: 25px;
    font-weight: 400;
}

.employee_data h2 {
    font-size: 20px;
    font-weight: 400;
    color: #6a6868;
}

.email {
    display: flex;
    margin-top: 50px;
}

.email p {
    font-size: 18px;
    color: #752f8b;
    margin-left: 15px;
}

.education {
    display: flex;
    margin-top: 80px;
}

.title h1 {
    color: #752f8b;
    font-size: 25px;
    font-weight: 500;
}

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

.container_degree {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    margin-bottom: 10px;
}

.degree {
    display: flex;
    flex-direction: column;
    margin-left: 20px;
    margin-bottom: 10px;
}

.degree h2 {
    font-size: 22px;
    margin-top: 4px;
}

.degree p {
    font-size: 18px;
    color: #666262;
    margin-bottom: 10px;
}

.academic_data {
    display: flex;
    margin-top: 20px;
}

.academic_data h3 {
    font-size: 20px;
    color: #752f8b;
    padding-left: 50px;
}

.academic_data p {
    font-size: 20px;
    padding-left: 50px;
}

@media (max-width: 768px) {
    .background {
        padding-left: 10%;
        padding-right: 10%;
    }
    .employee {
        flex-direction: column;
        align-items: center;
    }

    .employee img {
        width: 188px;
        height: 219px;
        border-radius: 10px;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .employee_data {
        justify-content: center;
        margin-top: 20px;
        margin-left: 0;
    }

    .employee_data h1 {
        text-align: center;
    }

    .employee_data h2 {
        text-align: center;
    }

    .email {
        justify-content: center;
    }

    .education {
        flex-direction: column;
    }

    .container_degree {
        margin-left: 0;
    }

    .degree {
        margin-left: 0px;
    }

    .academic_data {
        flex-direction: column;
    }

    .academic_data h3 {
        padding-left: 0px;
    }

    .academic_data p {
        padding-left: 0px;
    }
}

@media (min-width: 425px) and (max-width: 767px) {
    .employee_data h1 {
        font-size: 20px;
    }

    .employee_data h2 {
        font-size: 20px;
    }

    .email p {
        font-size: 20px;
    }

    .title h1 {
        font-size: 20px;
    }

    .degree h2 {
        font-size: 20px;
        margin-top: 4px;
    }

    .education {
        flex-direction: column;
    }

    .container_degree {
        margin-left: 0;
    }

    .degree {
        margin-left: 0px;
    }

    .academic_data h3 {
        font-size: 20px;
    }

    .academic_data p {
        font-size: 20px;
    }
}

@media (max-width: 424px) {
    .employee_data h1 {
        font-size: 16px;
    }

    .employee_data h2 {
        font-size: 16px;
    }

    .email p {
        font-size: 16px;
    }

    .title h1 {
        font-size: 16px;
    }

    .degree h2 {
        font-size: 16px;
    }

    .degree p {
        font-size: 16px;
    }

    .academic_data h3 {
        font-size: 16px;
    }

    .academic_data p {
        font-size: 16px;
    }
}
