.containerPrin{
    width: 100%;
/*    max-width: 1366px;*/
    margin: 0 auto;
    display: grid;
    grid-template-columns:2fr 1fr;
    grid-template-rows:repeat(3,auto);
}
.bannerAGMP{
    grid-column:1/3;
    grid-row:1/2;
    position: relative;
}
.secContenido{
    background: #f8f9fa;
    grid-column:1/2;
    grid-row:2/3;
}
.secSocial{
    background: #f8f9fa;
    grid-column:2/3;
    grid-row:2/4;
    background: #ebeaea;
}
.secDetalle{
    grid-column:1/2;
    grid-row:3/4;
    background: #f8f9fa;
}
/**************** Banner **********************************/
/*.banner img{
    width: 100%;
    height: auto;
}
.banner_titulo{
    position: absolute;
    bottom: 2rem;
    left:2rem;
    padding: 5px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
   background-color: rgba(0,0,0,0.5);
    color: #fff;
}
.banner_titulo img{
    width: 100%;
    height: auto;
    display: block;
    max-width: 90px;
}*/
/*.banner{
    width: 100%;
    height: 30vw;
    background-image: linear-gradient(rgba(0, 0, 0,.5),rgba(0, 0, 0,.5)),url(../img/imag2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}*/
/*************************Seccion Contenido **********************/
.secContenido{
    padding: 1rem;
    padding-top: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.secContenido h3{
    text-align: center;
}
.secContenido p{
    line-height: 1.2;
    padding-bottom: .3rem;
    text-align: justify;
}
.secContenido span{
    color: #d0050d;
}
.banner img{
    display: block;
}
/*********************** Seccion Social ***************************/
.secSocial{
   padding: 1rem;
   padding-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

@media (min-width: 801px) and (max-width: 1200px){
    
}
@media(max-width: 800px) {
    .containerPrin{
        margin-top: 127px;
        display: grid;
        grid-template-columns:100%;
        grid-template-rows:repeat(5,auto);
    }
    .banner{
        grid-column:1/2;
        grid-row:1/2;
    }
    .secContenido{
        padding-top: 0;
        grid-column:1/2;
        grid-row:2/3;
    }
    .secSocial{
        padding-top: 0;        
        grid-column:1/2;
        grid-row:4/5;
    }
    .secDetalle{
        grid-column:1/2;
        grid-row:3/4;
    }
}

/* Team Member CSS 
===========================*/
.team-container {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 0 2rem;
  padding-bottom: 1rem;
  position: relative;
}

.team-member { 
  width: 100%;
  max-width: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 5px 2rem;
  margin-bottom: 10px;
}

.team-member:last-child {margin-right: 0;}

.team-member span,
.team-member h3 {
  max-width: 210px;
  letter-spacing: -1px;
  line-height: 1;
}
.team-member h3 {
  color: #A90F0F;
}
.email {
  color: #EA2678;
  
}
.team-member span {
  display: block;
}
.team-photo {
  border-radius: 50%;
  border: 1px solid #d0050d;
  text-align: center;
  margin: auto;
  max-width: 100%;
  height: auto;
  transition: 0.1s transform ease-in-out;
}
.team-photo:hover {
  transform: scale(0.9);
  cursor: pointer;
}

/* ENDS Team Member CSS 
===========================*/
@media(max-width:800px){
    .team-member { 
      width: 100%;
      max-width: 280px;
    }
}