:root {
    --color1: rgb(239, 165, 0);
    --color2: rgb(5, 5, 4);
    --color3: rgba(183, 118, 0, 0.888);
    --color4: rgb(43, 88, 12);
    --color5: rgb(255, 214, 73);
}


.main-img {
    width: 100%;
    height: 500px;
    background: url(../images/banners/about.jpg);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;

}

.textos {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    text-align: center;
    z-index: -100;
    background: rgba(0, 0, 0, .688);



}

.textos>h1 {
    font-size: 80px;
    color: #efefef;

}

.textos>h2 {
    font-size: 30px;
    font-weight: 300;
    color: rgb(239, 165, 0);

}

section {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 30px;


}

h2 {
    color: var(--color1);
    text-align: center;
    font-size: 33px;
}


.text {
    width: 95%;
    margin: auto;
    padding: 40px 0;
    display: flex;
    justify-content: space-evenly;
    align-content: center;
    flex-wrap: wrap;
}

.text img{
    width: 640px;
    height: 426px;
    object-fit: cover;
}

.about {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 500px;
    height: 300px;
    margin-bottom: 60px;

}


.about>p {
    width: 80%;
    margin-left: 70px;
    text-align: justify;
}

.about span {
    color: var(--color4);
    font-weight: bold;
    font-size: 25px;
    line-height: 1.8;
}

.texto1>h2 {
    margin-top: 100px;
}

.cont-text {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 333px;
    height: 300px;
    background: #395C0D;
    margin-bottom: 60px;

}

.cont-text:nth-last-child(3) {
    background: #487510;
}

.cont-text:nth-last-child(2) {
    background: #508212;
}

.cont-text:nth-last-child(1) {
    background: #3E650E;
}

.cont-text p {
    color: #efefef;
    font-size: 20px;
    text-align: center;
    margin: auto;


}

.cont-text img {
    height: 100px;
    margin: 80px 80px 0;

}

@media screen and (max-width:760px) {
    section{
        margin-top: 30px;
    }
    .textos>h1 {
        font-size: 3em;
    }

    .textos>h2 {
        font-size: 2em;
        


    }
    .text {
        width: 95%;
        margin: auto;
        padding: 0;
    }


    .text img {
        margin: auto;
        max-width: 70%;
        height:50%;
        
    }
    .about {
    
        width: 333px;
        height: 500px;
        margin-bottom: 0;
    
    }

    .about>p {
        width: 90%;
        margin-left: 0;
        


    }

    .about>h2 {
        margin-top: 15px;
        text-align: center;
        display: block;
        font-size: 2em;
        height: 50px;
        

    }

    .texto1 {
        display: block;
        align-content: space-between;
        object-position: center;
        margin-top: 0;


    }

    .texto1>h2 {
        margin-top: 0;
        text-align: center;
        font-size: 2.2em;


    }

    .cont-text {
        width: 300px;
        height: 330px;
        margin: 30px auto;
    }




}

@media screen and (max-width:580px) {
    .textos>h1 {
        font-size: 2em;
    }

    .textos>h2 {
        font-size: 1.5em;
        


    }
    .text{
        width:90%;

    }
    
    .text img {
        max-width: 60%;
        height:50%;
        
    }
    .about {
        width:400px;

    }
    .about span {
        width: 85%;
        height: 50px;
        font-size: 1.2em;
        display: block;
        padding-bottom: 20px;
    }
    
    .about>p {
        width: 250px;
        height: 200px;
        font-size: .8em;
        margin: 0;

    
    
    }
    .about>h2 {
       
        font-size: 1.5em;

    }
    
    .texto1 {
        display: block;
        align-content: space-between;
        object-position: center;
    }
    .texto1>h2 {
    
        font-size: 1.5em;


    }
    
    .texto1 .after {
        display: block;
        margin: auto;
    }
    
    .cont-text {
        margin: 30px auto;
        width: 250px;
        height: 250px;
    }

    .cont-text> p{
        font-size: .9em;

    }
        
    
    
    
    
    
    
}


