.con2 {
    width: 100%;
    padding-top: 25px;
}

.con2_set1 {
    display: flex;
    margin-bottom: 25px;
    margin-right: 10px;
    width: 423px;
}

.con2_set2 {
    margin: 0 8px;
    color: #00479D;
    width: 300px;
}

.con2_teacher {
    font-size: 25px;
    margin: 2% 0 1% 10%;
    letter-spacing: 10px;
    color: #00479D;
    font-weight: 600;
}

.teacher {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    margin: 0 10%;
}

.name {
    font-size: 21px;
    margin: 0;
    font-weight: 600;
}

.roll {
    font-size: 17px;
    margin: 0;
    font-weight: 600;
}

.con2_txt {
    font-size: 15px;
    line-height: 1.5;
    font-weight: 550;
    padding-top: 8px;
}

.teacher_img {
    width: auto;
    height: auto;
    margin: 0 1% 0 0;
}
.teacher_img img {
    width: 230px;
    height: auto;
}

@media screen and (max-width: 1642px) {
    .teacher {
        display: flex;
        flex-wrap: wrap;
        justify-content: start;
        margin: 0 10%;
    }
    .con2_set1 {
        display: flex;
        margin-bottom: 25px;
        margin-right: 10px;
        width: 48%;
    }
    .con2_set2 {
        margin: 0 8px;
        color: #00479D;
        width: 380px;
    }
    .teacher_img {
        width: 30%;
        height: auto;
        margin: 0 1% 0 0;
    }
    .teacher_img img {
        width: 100%;
        height: auto;
    }

}
@media screen and (max-width: 1000px) {
    .teacher {
        display: block;
        flex-wrap: wrap;
        justify-content: start;
        margin: 0 10%;
    }
    .con2_set1 {
        display: flex;
        margin-bottom: 25px;
        margin-right: 10px;
        width: 100%;
    }
    .con2_set2 {
        margin: 0 8px;
        color: #00479D;
        width: auto;
    }
    .teacher_img {
        width: 50%;
        height: auto;
        margin: 0 1% 0 0;
    }
    .teacher_img img {
        width: 100%;
        height: auto;
    }   

}

@media screen and (max-width: 769px) {
    .con2 {
        margin: 0 auto;
        width: 90%;
        padding-top: 25px;
    }
    .teacher {
        display: block;
        margin: 0;
    }
    .teacher_img img {
        width: 100%;
    }

    .con2_bgc {
        margin: 0 2%;
    }

    .con2_set1 {
        /* align-items: center; */
        margin-top: 20px;
        margin-bottom: 30px;
        width: 100%;
    }

    .con2_set2 {
        width: 100%;
        margin: 0;
        padding-left: 8px;
    }

    .con2_teacher {
        margin: 0;
        letter-spacing: 10px;
    }
    

    /* .teacher_img {
        width: auto;
        height: auto;
        margin: 0 2% 0 0;
        width: 45%;
    } */

    .name {
        font-size: 26px;
        line-height: 38px;
    }

    .roll {
        font-size: 20px;
        line-height: 27px;
    }

    .con2_txt {
        font-size: 19px;
        font-weight: 450;
        line-height: 30px;
    }

}