.clients-main-section {
    background-image: url('/images/bcClientsSection.jpg');
    background-size: cover;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 150px;
    padding: 2% 1%;
    font-family: 'Century Gothic';
}

.tittle-clients {
    grid-column: 1/2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tittle-clients h2 {
    text-align: center;
    font-size: 50px;
    color: #fff;
    margin: 0;
}

.tittle-clients h4 {
    color: #fff;
    margin: 0;
    font-size: 20px;
}

.clients-main-box {
    grid-column: 2/3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    border-radius: 10px;
    padding: 1%;
}

.client {
    display: grid;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.client:nth-child(5){
    grid-column: 2/3;
    grid-row: 3/4;
    background-color: #d9d9d9;
    border-radius: 50%;
}

.client:last-child{
    grid-column: 3/4;
    grid-row: 2/3;
}

.client h4 {
    font-weight: normal;
}

@media(641px <= width <= 1023px){
    .clients-main-box{
        row-gap: 10px;
        column-gap: 20px;
    }

    .tittle-clients h2{
        font-size: 40px;
    }
}

@media(320px <= width <= 640px) {
    .clients-main-section {
        background-image: url('/images/bcAboutPhone.jpg');
        background-size: cover;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        row-gap: 40px;
    }

    .tittle-clients {
        grid-column: 1/2;
        grid-row: 1/2;
        text-align: center;
    }

    .tittle-clients h4 {
        text-shadow:
            2px 2px 0px black,
            /* Sombras alrededor del texto */
            -2px -2px 0px black,
            2px -2px 0px black,
            -2px 2px 0px black;
    }

    .clients-main-box {
        grid-column: 1/2;
        grid-row: 2/5;
        background-color: transparent;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, 1fr);
    }
    .client{
        width: 50%;
        justify-self: center;
        margin-bottom: 50px;
    }

    .client:first-of-type{
        grid-column: 1/2;
    }

    .client:nth-of-type(2){
        grid-column: 1/2;
    }
    .client:nth-of-type(3){
        grid-column: 1/2;
    }
    .client:nth-of-type(4){
        grid-column: 1/2;
    }
    .client:nth-of-type(5){
        grid-column: 1/2;
    }

    .client:last-of-type{
        grid-column: 1/2;
    }
    .client h4{
    background: rgba(0, 0, 0, 0.3); /* Fondo semi-transparente */
    backdrop-filter: blur(2px); /* Desenfoca el fondo detrás del elemento */
    border-radius: 10px;
    padding: 5px;
    filter: brightness(1.2);
    }
}