#sobre-nosotros{
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 80px 5vw 50px 5vw;
}

#sobre-nosotros h1 {
    font-size: 4rem;
    font-weight: 900;
    color: var(--main-color);
}

#sobre-nosotros p{
    font-size: 1.25rem;
    text-align: justify;
}

#sobre-textos {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#sobre-tarjetas{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media screen and (min-width: 500px) {
    #sobre-nosotros p{
        font-size: 1.75rem;
    }

    #sobre-tarjetas h2{
        font-size: 2rem;
    }

    #sobre-tarjetas p{
        text-align: left;
    }

    #sobre-tarjetas{
        flex-direction: row;
    }
    
}

@media screen and (min-width: 1023px) {
    #sobre-nosotros {
        padding-top: 150px;
        padding-bottom: 150px;
    }
        
    #sobre-nosotros h1{
        font-size: 5.5rem;
    }

    #sobre-nosotros p{
        font-size: 2.5rem;
    }

    #sobre-tarjetas h2{
        font-size: 3rem;
    }

    #sobre-tarjetas a{
        font-size: 2.5rem;
    }
}

@media screen and (min-width: 1082px) {
    #sobre-nosotros {
        flex-direction: row;
        justify-content: center;
        padding: 80px 9vw 100px 9vw;
    }

    #sobre-nosotros h1{
        font-size: 6rem;
    }

    #sobre-nosotros p {
        font-size: 1.5rem;
        width: 90%;
    }

    #sobre-tarjetas p {
        font-size: 1.5rem;
    }

    #sobre-tarjetas a {
        font-size: 1.5rem;
    }

    #sobre-tarjetas h2 {
        font-size: 2;
    }

    #sobre-tarjetas{
        margin-top: 50px;
        height: auto;
        box-sizing: border-box;
        height: 500px;
        justify-content: space-between;
        flex-direction: column;
    }
}