h1 {
    text-align: center;
    margin: 2rem 0;
}

.marcas {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.marcas p {
    width: 60%;
    margin-bottom: 2rem;
    text-align: center;
}

.contenedor-marcas {
    width: 80%;
    max-width: 700px;
}

.marcas-1 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.marcas-2 {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 1rem;
}

.marca {
    margin: 1rem 0;
}

.marca img {
    width: 161px;
}

@media (max-width:750px) {
    .marcas p {
        width: 80%;
    }

    .contenedor-marcas {
        width: 95%;
    }
}

@media (max-width:620px) {
    .marcas-1 {
        flex-direction: column;
    }
    
    .marcas-2 {
        flex-direction: column;
    }

    .marca {
        display: flex;
        justify-content: center;
    }
}

@media (max-width:450px) {
    .marcas p {
        width: 95%;
    }
}