.about-container{
    width: 70%;
    margin: auto;
}

.section-first{
    display: flex;
    justify-content: space-around;
    margin: 20px;
}

.section-first img{
    width: 50%;
    object-fit: cover;
}

.section-first .text{
    padding: 20px;
}

.section-first .text p{
    font-size: 18px;
    line-height: 30px;
}

.grid-row{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    column-gap: 5px;
}

.grid-row h1{
    display: flex;
    font-size: 2em;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

.grid-row p{
    display: block;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-size: 20px;
    color: #6B6B6B;
}

.grid-item{
    background-color: #EFEEF2;
    display: flex;
    align-items: center;
    padding: 20px;
    justify-content: space-around;
}

.grid-icon{
    display: flex;
    font-size: 50px;
    color: #92210F;
    background-color: #fff;
    padding: 5%;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
}

.certification h2{
    text-align: center;
    color: #92210F;
    text-decoration: underline;
    font-size: 30px;
}

.certification h4{
    color: #92210F;
    font-size: 24px;
    line-height: 24px;
}

.certification h3{
    color: #92210F;
}

.certification h5{
    color: #92210F;
}

.certification li::marker {
    color: #92210F;
  }

.proffesors{
    margin: auto;
    text-align: center;
}


.proffesors h1{
    font-size: 50px;
    text-align: center;
}

.proffesors .row{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    /* column-gap: 20px; */
    row-gap: 20px;
}

.proffesors .row h4{
    font-size: 20px;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

.proffesors .row p{
    display: block;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-size: 14px;
    color: #6B6B6B;
}

.proffesors .row .row-item{
    box-shadow: 1px 1px 8px 1px #6b6b6b25;
    width: 90%;
}


.proffesors .row .row-item .desg{
    color: #92210F;
}

.proffesors .row img{
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.proffesors .text{
    text-align: center;
    padding: 10px;
}

.section-details{
    margin: 50px 0;
}

.section-details .para{

    font-size: 18px;
}

.section-details h2{
    font-size: 35px;
    color: #2b2b2b;
    text-align: left;
    text-decoration: underline;
}

.section-details .item{
    margin: 5px 0;
}

.section-details .title{
    font-weight: bold;
    font-size: 24px;
    color: #92210F;
}

ul{
    font-size: 20px;
}

@media only screen and (max-width: 600px) {

    .about-container{
        width: 100%;
        margin: auto;
    }

    .section-first{
        display: block;
    }
    .section-first img{
        width: 100%;
    }

    .section-first .text h1{
        font-size: 24px;
    }

    .grid-row{
        display: grid;
        grid-template-columns: repeat(1,1fr);
        row-gap: 10px;
    }

    .proffesors .row{
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .section-details{
        padding: 20px;
    }

    .section-details h2{
        font-size: 24px;
    }

    .section-details .title{
        font-weight: bold;
        font-size: 18px;
    }
    .section-details .para{
        text-align: justify;
        font-size: 14px;
    }

    .proffesors h1{
        font-size: 24px;
    }
}