/*
  =========================================================
  =================MEDIA QERYS
  =========================================================
*/
/* Pantallas de escritorio */
@media (min-width: 1280px) {

  .img-mbl {
    display: none;
  }

  .container {
    max-width: 1400px;
    min-height: 100%;
    /* border: 2px solid red; */
  }

  #c-head {
    overflow-y: hidden;
  }

  #menu-mbl {
    overflow: hidden;
  }

  #navegacion-header-mb {
    display: none;
  }

  #hero-image-mbl {
    display: none;
  }

  #contacto-mbl {
    display: none;
  }

  #footer-cpc p {
    padding-right: 20px;
  }

  #c-eventos .container {
    max-width: 1000px;
  }

  .ec-1 {
    margin-right: 30px;
  }

  .ec-2 {
    margin-right: 30px;
  }

  .ec-4 {
    margin-right: 30px;
  }

  .ec-5 {
    margin-right: 30px;
  }


}

/* Pantallas de escritorio pequeñas */
@media (min-width: 1030px) and (max-width: 1280px) {  

  main {
    display: grid;
    grid-template-rows: 700px 165px 350px 500px 485px 290px 400px 330px 670px 1100px 300px;
  }

  .container {
    max-width: 900px;
    min-height: 100%;
    /* border: 2px solid yellow; */
  }

  /*
  =========================================================
  =================HEADER==================================
  =========================================================
  */

  .img-mbl {
    display: none;
  }

  #navegacion-header-mb {
    display: none;
  }

  #c-head {
    overflow-y: hidden;
  }

  #header {
    padding-left: 80px;
    padding-right: 80px;
  }

  #hero-image-mbl {
    display: none;
  }

  #head-contenido h4 {
    font-size: 25px;
  }

  #head-img-titulo {
    width: 650px;
  }

  /*
  =========================================================
  =================EVENTOS=================================
  =========================================================
  */

  .ec-1 {
    margin-right: 30px;
  }

  .ec-2 {
    margin-right: 30px;
  }

  .ec-4 {
    margin-right: 30px;
  }

  .ec-5 {
    margin-right: 30px;
  }

  /*
  =========================================================
  =================CARTILLA================================
  =========================================================
  */

  #cartilla-contenido div {
    flex-direction: column;
  }


  /*
  =========================================================
  =================CONTACTO================================
  =========================================================
  */

  #contacto-mbl {
    display: none;
  }

  /*
  =========================================================
  =================FOOTER==================================
  =========================================================
  */

  #footer-cpc p {
    padding-right: 20px;
  }

}

/* Tablet en orientación horizontal */
@media (max-width: 1024px) {

  main {
    display: grid;
    grid-template-rows: 1080px 165px 600px 530px 500px 290px 400px 330px 800px 1300px 600px;
  }

  .container {
    max-width: 750px;
    min-height: 100%;
    overflow: hidden;
    /* border: 2px solid green; */
  }

  /*
  =========================================================
  =================HEADER==================================
  =========================================================
  */

  #menu-mbl {
    overflow: hidden;
    transform: translateX(-100px);
  }

  #header {
    min-height: 80px;
    max-height: 80px;
    padding-left: 100px;
    padding-right: 100px;
    background-color: var(--bg-principal);
  }

  #c-head .container {
    max-width: 1024px;
  }

  #hero-image {
    display: none;
  }

  #navegacion-header {
    display: none;
  }

  #head-contenido {
    display: none;
  }

  .hero-img-people {
    display: none;
  }

  #hero-image-mbl {
    display: visible;
  }

  #hero-image-mbl h4 {
    max-width: 500px;
    text-align: center;
    color: var(--title);
  }

  /*
  =========================================================
  =================LOGOS PARTNERS==========================
  =========================================================
  */

  .img-pc {
    display: none;
  }

  /*
  =========================================================
  =================INFO PROGRAMA===========================
  =========================================================
  */

  #c-negocios {
    z-index: 10;
  }

  #programa-conenido {
    max-width: 400px;
  }

  /*
  =========================================================
  =============NEGOCIOS ASEN PARTE=========================
  =========================================================
  */
  #negocios-content {
    min-height: 530px;
    max-height: 530px;
  }

  #negocios-content img {
    width: 250px;
    height: 450px;
    transform: translateY(80px) translateX(130px);
  }

  #negocios-list {
    max-width:350px;
    font-size: 20px;
    transform: translateX(150px) translateY(-50px);
  }

  #negocios-title {
    width: 500px;
    max-height: 120px;
    min-height: 120px;
    font-size: 26px;
    padding: 15px;
    transform: translateY(-20px) translateX(-40px);
  }

  .negocios-cubo-pq {
    transform: translateX(150px) translateY(-180px);
  }
  .negocios-cubo-bg {
    transform: translateX(-200px) translateY(80px);
  }

  /*
  =========================================================
  =================MAS INFO DEL PROGRAMA===================
  =========================================================
  */

  #programa-dos-contenido {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

  .card {
    height: 500px;
  }

  .card img {
    width: 100px;
    height: 110px;
  }

  .card-content {
    max-height: 250px;
    max-width: 180px;
    min-height: 200px;
    min-width: 180px;
  }

  /*
  =========================================================
  =================PARTICIPA===============================
  =========================================================
  */

  #inscribete-title {
    font-size: 28px;
  }

  /*
  =========================================================
  =================EVENTOS=================================
  =========================================================
  */

  .ec-1 {
    margin-right: 30px;
  }

  .ec-3 {
    margin-right: 30px;
  }

  .ec-5 {
    margin-right: 30px;
  }

  /*
  =========================================================
  =================CARTILLA================================
  =========================================================
  */

  #cartilla-contenido div {
    flex-direction: column;
  }

  /*
  =========================================================
  =================CONTACTO================================
  =========================================================
  */

  #contacto-contenido {
    max-width: 650px;
    min-height: 700px;
    grid-template-rows: 35% 65%;
    grid-template-columns: 1fr;
  }


  #contacto-contac {
    display: none;
  }

  #contacto-mbl {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
  }

  #contacto-mbl-contacto h4 {
    margin-bottom: 10px;
    margin-top: 0;
    padding: 0;
  }

  /*
  =========================================================
  =================SIGMA===================================
  =========================================================
  */

  #sigma-content img {
    transform: translateX(-180px);
  }

  /*
  =========================================================
  =================FOOTER==================================
  =========================================================
  */

  #footer-cpc {
    max-width: 350px;
    min-height: 500px;
  }

  #footer-siguenos {
    width: 700px;
    height: 100%;
    margin: auto;
  }

}

/* Dispositivos móviles pequeños */
@media (max-width: 768px) {

  .container {
    max-width: 600px;
    max-height: 100%;
    overflow: hidden;
    /* border: 2px solid red; */
  }

  main {
    display: grid;
    grid-template-rows: 1080px 165px 600px 530px 1350px 290px 400px 400px 800px 1450px 700px;
  }

  /*
  =========================================================
  =================MAS INFO DEL PROGRAMA===================
  =========================================================
  */

  #programa-dos-contenido {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 50px;
  }

  .card {
    height: 400px;
  }

  .card img {
    width: 100px;
    height: 110px;
  }

  .card-content {
    max-height: 250px;
    min-height: 200px;
    max-width: 250px;
    min-width: 250px;
  }

  /*
  =========================================================
  =================INSCRIBETE==============================
  =========================================================
  */

  #inscribete-title {
    font-size: 24px;
    padding-left: 10px;
    padding-right: 10px;
  }

  #inscribete-contenido h3 {
    font-size: 24px;
  }

  /*
  =========================================================
  =================SIGMA===================================
  =========================================================
  */

  #c-sigma {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  #sigma-content img {
    transform: translateX(-100px);
  }

  /*
  =========================================================
  =================FOOTER==================================
  =========================================================
  */

  #footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  #footer-cpc {
    max-width: 500px;
    min-height: 300px;
  }

  #footer-siguenos {
    max-width: 500px;
    min-height: 200px;
    max-height: 200px;
    margin: auto;
  }



  .ec-1 {
    margin-right: 30px;
  }

  .ec-2 {
    margin-right: 0px;
  }

  .ec-3 {
    margin-right: 30px;
  }

  .ec-4 {
    margin-right: 0px;
  }

  .ec-5 {
    margin-right: 0px;
  }
}

@media (max-width: 650px) {


  main {
    display: grid;
    grid-template-rows: 1080px 165px 600px 530px 1350px 350px 600px 400px 1000px 1450px 700px;
  }

   /*
  =========================================================
  =================HEADER================================
  =========================================================
  */

  /* #menu-mbl {
    overflow: hidden;
    width: 110vw;
    transform: translateX(-80px);
  } */

   /*
  =========================================================
  =================INSCRIBETE================================
  =========================================================
  */

  #c-inscribete .container {
    max-width: 350px;
  }

   /*
  =========================================================
  =================EVENTOS================================
  =========================================================
  */

  #eventos-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    max-width: 400px;
    gap: 30px;
  }

   /*
  =========================================================
  =================CARTILLAS===============================
  =========================================================
  */

  #c-cartilla .container {
    max-width: 350px;
  }


   /*
  =========================================================
  =================CONTACTO================================
  =========================================================
  */

  #c-contacto {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #c-contacto .container {
    max-width: 400px;
    min-height: 900px;
  }

  #contacto-contenido {
    max-width: 650px;
    min-height: 900px;
    grid-template-rows: 35% 65%;
    grid-template-columns: 1fr;
  }


  #contacto-contac {
    display: none;
  }

  #contacto-mbl {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
  }

  #contacto-mbl-cpc {
    text-align: center;
  }

  #contacto-mbl-contacto h4 {
    margin-bottom: 10px;
    margin-top: 0;
    padding: 0;
  }

  .ec-1 {
    margin-right: 0px;
  }

  .ec-2 {
    margin-right: 0px;
  }

  .ec-3 {
    margin-right: 0px;
  }

  .ec-4 {
    margin-right: 0px;
  }

  .ec-5 {
    margin-right: 0px;
  }

}

@media (max-width: 500px) {

  .container {
    max-width: 400px;
    max-height: 100%;
    overflow: hidden;
    /* border: 2px solid blue; */
  }

  main {
    display: grid;
    grid-template-rows: 1080px 250px 600px 530px 1350px 350px 600px 400px 1000px 1800px 750px;
  }

  /*
  =========================================================
  =================HEADER==================================
  =========================================================
  */

  #header {
    padding-left: 20px;
    padding-right: 20px;
  }

  #menu-mbl {
    overflow: hidden;
    width: 110vw;
    transform: translateX(-50px);
  }

  #menu-mbl li {
    padding-left: 30px;
  }

  /*
  =========================================================
  =================PARTNERS==================================
  =========================================================
  */

  #partners-contrato {
    margin-bottom: 10px;
  }

  #partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px;
  }

  /*
  =========================================================
  =================NEGOCIOS================================
  =========================================================
  */

  #negocios-content .img-mbl {
    display: none;
  }

  #negocios-content {
    min-width: none;
    max-width: none;
  }

  #negocios-content div {
    min-width: none;
    max-width: none;
  }

  #negocios-list-content {
    transform: translateX(200px);
  }

  #negocios-title {
    max-height: 100px;
    font-size: 20px;
    padding: 0;
    text-align: center;
    transform: translateX(10px) translateY(-20px);
    margin-bottom: 20px;
  }

  /*
  =========================================================
  =================SIGMA================================
  =========================================================
  */

  #c-sigma {
    margin: 0;
    background-color: var(--bg-principal);
  }

  #c-sigma .container {
    max-width: 100vw;
  }

  #sigma-content {
    padding: 20px;
  }

  #sigma-content img {
    transform: translateX(0px);
  }

  /*
  =========================================================
  =================FOOTER=================================
  =========================================================
  */

  #cpc-map {
    max-width: 300px;
  }

  #c-footer .container {
    max-width: 100vw;
  }

  #footer-cpc {
    text-align: justify;
    padding: 20px;
  }

  #footer-siguenos {
    max-width: 400px;
    min-height: none;
    max-height: none;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  #cpc-map{
    text-align: center;
  }



  .ec-1 {
    margin-right: 0px;
  }

  .ec-2 {
    margin-right: 0px;
  }

  .ec-3 {
    margin-right: 0px;
  }

  .ec-4 {
    margin-right: 0px;
  }

  .ec-5 {
    margin-right: 0px;
  }
}


@media (max-width: 390px) {

  main {
    display: grid;
    grid-template-rows: 1080px 250px 600px 530px 1350px 350px 600px 420px 1000px 1950px 800px;
  }

  .container {
    max-width: 100vw;
  }

  #programa-conenido {
    padding-left: 20px;
    padding-right: 20px;
  }

  #cpc-map {
    text-align: center;
  }

  #footer-siguenos {
    padding: 0;
    padding-bottom: 20px;
    max-width: 100vw;
  }


  .ec-1 {
    margin-right: 0px;
  }

  .ec-2 {
    margin-right: 0px;
  }

  .ec-3 {
    margin-right: 0px;
  }

  .ec-4 {
    margin-right: 0px;
  }

  .ec-5 {
    margin-right: 0px;
  }
}

@media (max-width: 370px) {

  main {
    display: grid;
    grid-template-rows: 1080px 250px 600px 530px 1350px 350px 600px 430px 1000px 2100px 900px;
  }

  .container {
    max-width: 100vw;
  }

  #footer-cpc {
    max-width: 310px;
  }

  #footer-cpc img {
    max-width: 300px;
  }


  .ec-1 {
    margin-right: 0px;
  }

  .ec-2 {
    margin-right: 0px;
  }

  .ec-3 {
    margin-right: 0px;
  }

  .ec-4 {
    margin-right: 0px;
  }

  .ec-5 {
    margin-right: 0px;
  }

}