/*SOBRE*/
#sobre{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #faedcd;
}

#sobre #sobre-content{
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content:space-between;
    align-items: center;
    margin: 40px;
}

#sobre #sobre-content h1{
    font-size: 52px;
    color: #344e41;
    width: 100%;
    line-height:1.2em;
    margin-bottom: 20px;
}

#sobre #sobre-content p{
    color: #344e41;
    width: 100%;
    line-height:1.2em;
    text-align: left;
}



#sobre #sobre-content h4{
    color: #344e41;
    margin: 20px 0;
    width: 90%;
    line-height:1.2em;
    text-align: center;
    font-size: 22px;
}

#sobre #sobre-content nav{
    display: flex;
    flex-wrap: wrap;
    flex-direction:row;
    width: 90%;
    justify-content: center;
    margin-top: 20px;
}

#sobre #sobre-content nav span{
    border: 2px solid #344e41;
    margin: 5px;
    padding: 10px 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

#sobre #sobre-content a{
    font-size: 22px;
    background-color: #344e41;
    color: #fff;
    width: 90%;
    display: flex;
    justify-content: center;
    border-radius: 50px;
    padding: 10px;
    margin-top: 20px;
}

#sobre #sobre-content a:hover{
    background-color: #fff;
    color: #344e41;
    transition: background-color 0.2s ease-in;
}

/*PILARES*/
#pilares{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

#pilares #pilares-content{
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content:space-between;
    margin: 60px;
    align-items: center;
}

#pilares #pilares-content h1{
    font-size: 52px;
    color: #344e41;
    width: 100%;
    line-height:1.2em;
    margin-bottom: 20px;
}

#pilares #pilares-content p{
    color: #344e41;
    width: 100%;
    line-height:1.2em;
    text-align: left;
}

#pilares #pilares-content div{
    display: flex;
    justify-content: space-between;
}

#pilares #pilares-content div nav{
    display: flex;
    flex-wrap: wrap;
    flex-direction:row;
    width: 70%;
    justify-content: center;
    margin-top: 20px;
}

#pilares #pilares-content div img{
    width: 20%;
    margin: 20px;
}

#pilares #pilares-content div nav span{
    border: 2px solid #344e41;
    margin: 5px;
    padding: 10px 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#pilares #pilares-content a{
    font-size: 22px;
    background-color: #344e41;
    color: #fff;
    width: 90%;
    display: flex;
    justify-content: center;
    border-radius: 50px;
    padding: 10px;
    margin-top: 20px;
}

#pilares #pilares-content a:hover{
    background-color: #fff;
    color: #344e41;
    transition: background-color 0.2s ease-in;
}

/*RESPONSIVO*/

@media(max-width: 1085px) {

    body{
        font-size: 14px;
    }

    #sobre #sobre-content, #pilares #pilares-content {
        width: 85%;
    }
}

@media (max-width: 1022px) {
    #sobre #sobre-content, #pilares #pilares-content  {
        width: 90%;
    }
}

@media(max-width: 902px) {

    body{
        font-size: 14px;
    }

    #sobre #sobre-content, #pilares #pilares-content {
        margin: 40px 0 50px;
    }
}

@media(max-width: 902px) {

    body{
        font-size: 14px;
    }

    #sobre #sobre-content, #pilares #pilares-content {
        width: 90%;
        margin: 40px 0 50px;
    }
}

@media(max-width: 840px) {

    #sobre #sobre-content h1, #pilares #pilares-content h1{
        font-size: 45px;
    }
}

@media(max-width: 710px) {
    #sobre #sobre-content h1, #pilares #pilares-content h1{
        font-size: 40px;
    }
}

@media(max-width: 700px) {
    #pilares #pilares-content div{
        flex-direction: column;
        align-items: center;
    }

    #pilares #pilares-content div nav{
        width: 100%;
        margin: 0;
    }
}

@media(max-width: 550px) {
    #sobre #sobre-content a, #pilares #pilares-content a {
        font-size: 20px;
        width: 95%;
    }

    #sobre #sobre-content h4{
        font-size: 18px;
    }
}

@media(max-width: 470px) {
    #sobre #sobre-content h1, #pilares #pilares-content h1{
        font-size: 35px;
    }

    #sobre #sobre-content a, #pilares #pilares-content a {
        font-size: 18px;
        width: 100%;
    }

    #sobre #sobre-content h4{
        font-size: 16px;
    }
}

@media(max-width: 420px) {
    #sobre #sobre-content a, #pilares #pilares-content a {
        font-size: 16px;
    }

}


@media(max-width: 355px) {
    #sobre #sobre-content, #pilares #pilares-content {
        margin: 20px 0 30px;
    }

    #sobre #sobre-content a, #pilares #pilares-content a {
        font-size: 14px;
        text-align: center;
        width: 95%;
    }
    
}

@media(max-width: 280px) {
    #banner #banner-content h1, #services #services-content h1, #testimony #testimony-content h1, #sobre #sobre-content h1{
        font-size: 20px;
    }
}