.contenido {
  margin-top: 5px;
  padding: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.portada_capacita { 
    background-image: url('../img/we-3.png');
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    width: 900px;
    height: 450px;
    margin: 0 auto;
}
.content-capacita{ 
    display: flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}
.caja_capacitacion{

  display: flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:8rem;
}
.container-capacita { 
    display:flex;
    flex-direction:row;
    justify-content:center;
    align-items:center;
    text-align: justify;
    gap:4rem;

}
.descripcion_capacita { 
    color:#858585;
    width:900px;
    font-size: 16px;
    line-height: 1.8rem;
    white-space: pre-line;
    text-align: justify;
    padding: 15px;
}
.Titulo_capacita{ 
    color:#003752;
    font-size: 40px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 200;
}  
.titulo_capacita{ 
    color:#003752;
    font-size:20px;
    text-transform: uppercase;
    /* margin-top: 10px; */
    text-align: center;
    font-weight: 200;
    gap:10px 30px;
}
  .caja_capacita {
    width: 100%;
    max-width: 450px;
    box-sizing: border-box;
}
.imagen_capacita {
  width: 100%;
  max-width: 450px;
  height: auto;
  display: block;
  margin: 0 auto;
}
  .container_capacitacion { 
      background-color:#4A4A4A;;
      color:#858585;
      display:flex;
      flex-direction:row;
      justify-content:center;
      align-items:center;
      text-align: justify;
      gap:4rem;
      margin-top:20px;;
      
      /* width: 800px; */
  }
  .information_capacita { 
    text-align:justify;
    padding: 10px;
    color:#858585;

  }
  .caja { 
      width: 450px;
      padding: 40px;
      text-align:justify;
      line-height: 2.0rem;
  }

.lista {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap:10px 30px;
  list-style: none;
  text-align: justify;
  padding: 0;
  margin: 0;
  margin-bottom:30px;

}

.lista li {
  font-size: 1.1em;
  display: flex;
  align-items: center;
  color:#858585;
}

.lista li i {
  color: #2d9cdb;
  margin-right: 10px;
  font-size: 1.2em;
}
@media screen and (max-width: 750px) {
  .container-capacita,
  .container_capacitacion {
    flex-direction: column;
    width: 370px;;
    padding: 5px;
    gap: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .portada_capacita {
    width: 100%;
    height: auto;
    aspect-ratio: 2/1;
    background-size: cover;
  }

  .descripcion_capacita,
  .caja_capacita,
  .caja {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
  }
  .information_capacita {
    padding: 15px 20px;
    margin-bottom: 20px;
    background-color: #ffffff; /* opcional: fondo blanco para destacar el texto */
    border-radius: 8px; /* opcional: bordes redondeados */
    box-sizing: border-box;
  }
  .lista li {
    grid-template-columns: 1fr;
    margin: 20px 0;
    background-color: #ffffff; /* opcional para visual separada */
    border-radius: 8px;         /* opcional: redondear bordes */
    box-sizing: border-box;
  }
  .lista li i {
    color: #2d9cdb;
    margin-right: 10px;
    font-size: 1.2em;
  }
  .titulo_capacita {
    text-align: center;
    font-size: 20px;
  }

  .imagen_capacita {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}
@media screen and (max-width: 991px) and (min-width: 751px) {
  .portada_capacita{ 
    background-image: url('../img/we-3.png');
    width: 100%;
    height: auto;
    aspect-ratio: 2/1;
}
.descripcion_capacita{
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
  .imagen_capacita {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .container-capacita,
  .container_capacitacion {
    flex-direction: column;
    width: 600px;;
    padding: 5px;
    gap: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .container_capacitacion{ 
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
