.committees {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 4rem 0;
}

.committees-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
}

.committee {
    margin: 13px;
    height: 310px;
    width: 370px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    transition: 0.3s ease-in;
}

.committee img {
    display: block;
    height: 200px;
    width: 500px;
    margin: auto;
    border-radius: 4px;
    /*max-width: 240px;*/
    max-height: 300px;
    grid: flex;
    margin-bottom: 25px;

}

.comm-img{
    filter: grayscale(100%);
}

.comm-text {
    text-align: center;
    font-weight: 900;
    color: white;
    font-size: 1.2rem;
    transition: all .5s ease;
    cursor: pointer;
}

.committee a{
    text-decoration: none;
    font-weight: lighter;
    text-align: center;
    margin-top: 24px;
    font-size: 15px;
    color: rgb(0, 0, 0); /*blog kart yazı */
}


.committee:hover {
    transform: scale(1.075);
    transition: 0.3s ease-in;
    cursor: pointer;
}
.committee:hover .comm-img{
    filter: grayscale(0%);
}
.committee:hover .comm-text{
   transform: translateY(-140px);
}


@media screen and (max-width: 1300px) {
    .committees-wrapper {
        grid-template-columns: 1fr 1fr 1fr;
    }         
    .committee img{
        width: 350px;
    }
}

@media screen and (max-width: 1150px) {
    .committees-wrapper {
        grid-template-columns: 1fr 1fr;
    }         
}
@media screen and (max-width: 770px) {
    .committee{
        width: 250px;
    }
    .committee img{
        width: 250px;
    }     
}
@media screen and (max-width: 550px) {
    .committees-wrapper {
        grid-template-columns: 1fr;
    }      
    .committee{
        width: 250px;
    }
    .committee img{
        width: 350px;
    }     
}

