﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



:root {
    --bg-color: #eee;
    --foot-bg-color: #2c4755;
    --font-color: #333;
    scroll-behavior: smooth;
   
}

h5 {
    font-size: 1em;
    color: #C2BA98;
    line-height: 1em;
    text-align: center;
    font-weight: bold;
}

.mayus_h5 {
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}





/* container */
.container_d {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
    padding: 2em;
    
}
/* container */


/* start portfolio */
#about {
    padding-top: 60px;
    padding-bottom: 60px;
    
   
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    
    
}

    .about-content .image_d {
        position: relative;
        height: 400px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        
    }

        .about-content .image_d img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .about-content .image_d::after {
            content: "";
            position: absolute;
            background-color: #A6A6A8; /*#eee*/
            width: 100px;
            height: 120%;
            left: 90px;
            z-index: -1;
        }

        .about-content .image_d::before {
            content: "";
            position: absolute;
            width: 100px;
            height: 120%;
            background-color: #C2BA98;
            right: 90px;
            top: -10%;
            z-index: -1;
        }

    .about-content .about-text {
        display: flex;
        flex-direction: column;
        gap: 50px;
        justify-content: center;
        
    }

        .about-content .about-text p {
            line-height: 1.8em;
            text-align: justify;
            color: rgb(133, 131, 131);
            
        }

            .about-content .about-text p:first-child {
                font-weight: 900;
                color: #333;
            }

        .about-content .about-text hr {
            width: 50%;
            color: var(--main-color);
        }

hr {
    width: 100%;
    height: 2px;
    border: none;
    background-color: #C2BA98;
    margin: 0;
}

/* end about*/

/* mobile-small-screen */
@media (max-width: 767px) {
    .about-content .image_d {
        flex-shrink: 1;
    }

    

    .about-content .about-text {
        align-items: center;
        text-align: justify;
    }

        .about-content .about-text p {
            text-align: justify;
        }
}

@media (min-width: 768px) {
    .container_d {
        width: 750px;
    }

    
}
/* medium-screen */
@media (min-width: 992px) {
    .container_d {
        width: 970px;
    }
}
/* large-screen */
@media (min-width: 1200px) {
    .container_d {
        width: 1170px;
    }
}

@media (max-width: 1199px) {
   

    .about-content .image_d::after {
        display: none;
    }

    .about-content .image_d::before {
        display: none;
    }
}


/*SECCION EQUIPO*/

.section-title {
    padding-bottom: 20px;
}

    .section-title .main-team-subheading {
        font-size: 1.2em;
        font-weight: 500;
        padding: 0;
        line-height: 1px;
        margin: 0 0 5px 0;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: #aaaaaa;
    }

        .section-title .main-team-subheading::after {
            content: "";
            width: 150px;
            height: 1px;
            display: inline-block;
            background: #636569;
            margin: 4px 10px;
        }

.main-team-heading {
    margin: 0;
    font-size: 1.7em;
    font-weight: 700;
    text-transform: uppercase;
    /* color: #556270; */
    color: #636569;
}

/*fin SECCION EQUIPO*/



/**********************================GERENTES====================*********************************/

/*imagenes gerentes*/

#about_2 {
    padding-top: 60px;
    padding-bottom: 60px;
}

.box {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 1em;
    padding: 10px 20px;
    background-color: wheat;
    width: 50%;
    margin: auto;
    border-radius: 10px;
}

.img_G {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

    .main p {
        text-align: justify;
        padding: 10px 0;
    }

    .main span {
        font-weight: bold;
        letter-spacing: 1px;
        padding: 20px 0;
    }

.dots {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
    margin: 1em;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background-color: white;
    cursor: pointer;
}

@media screen and (max-width: 1200px) {
    .box {
        width: 60%;
    }
}

@media screen and (max-width: 800px) {
    .box {
        flex-direction: column;
        width: 80%;
        padding-top: 15px;
    }
}

/* team section styling */
.team {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 10px;
    flex-wrap: wrap;
    margin: 20px 10px;
}

.card {
    padding: 10px;
}

    .card h4,
    .card p {
        width: 200px;
        margin: 10px auto;
    }

/*fin imagenes*/


/**********************================GERENTES====================*********************************/


/**********************================MISION VISION====================*********************************/

.wrapper_MV {
    display: grid;
    max-width: 1000px;
    margin: 0px auto;
    grid-gap: 10px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2,minmax(300px, auto));
    padding: 2em;
    /**/

    justify-content: center;
    align-items: center;
}




.box1 {
    grid-column: 1/3;
    grid-row: 1/2;
}

.box2 {
    grid-column: 1/3;
    grid-row: 2/2;
}

.box3 {
    grid-column: 3;
    grid-row: 1/3;
}




@media only screen and (max-width : 800px) {
    p {
        /* font-size: 1.5em; */
    }

    .wrapper_MV {
        grid-template-rows: repeat(2,minmax(300px, auto));
    }

    .box1 {
        grid-column: 1/3;
        grid-row: 1;
    }

    .box2 {
        grid-column: 1/3;
        grid-row: 2;
    }

    .box3 {
        grid-column: 3/4;
    }
}

@media only screen and (max-width : 768px) {
    body {
        /* font-size: 50%; */
    }

    p {
        /* font-size: 1.5em; */
    }

    .wrapper_MV {
        grid-template-rows: auto;
    }

    .box1 {
        grid-column: 1/4;
    }

    .box2 {
        grid-column: 1/4;
        grid-row: 2;
    }

    .box3 {
        grid-column: 1/4;
        grid-row: 3;
    }
}



hr {
    width: 100%;
    height: 2px;
    border: none;
    background-color: #C2BA98;
    margin: 0;
}

p {
    line-height: 1.8;
    text-align: justify;
}


.circle {
    background: #C2BA98;
    padding: 10px;
    border-radius: 50%;
}

.nested-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    width: 100%;
}

/*FIN MISION VISION*/

/**********************================MISION VISION====================*********************************/

