/* Este es el contenedor de la pagina principal */
.layout {
  width: 100%;
  height: 4500px;
  border: 0px solid blueviolet;
}

/* Este es el contenedor de la página principal, que va en la capa segunda o intermedia */
.principal {
  width: 100%;
  height: 4500px;
  border: 0px solid red;
  background-color: var(--color-background);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  position: absolute;
  z-index: 10;
}

/* Este es el header de la pagina principal */
#headerprimario {
  width: 100%;
  height: 5%;
  border: 0px solid blue;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
}

#tituloportada {
  width: 85%;
  height: 90%;
  border: 0px solid violet;
  text-align: center;
  margin-left: 14%;
  line-height: 0.8;
}
#titulo {
  font-family: "verdanabold";
  color: var(--color-principal);
  font-size: 3rem;
}

/* Marquesina de frases */
#marquesina {
  width: 73%;
  height: 1%;
  border: 0px solid orangered;
  position: absolute;
  margin-top: 20rem;
  margin-left: 11rem;
}
#titulofrases {
  font-family: "verdana";
  color: black;
  font-size: 2rem;
}

/* cuerpo de titulo de entrenamiento y descripcion */
main {
  width: 75%;
  height: 43%;
  border: 0px solid blueviolet;
  margin-top: 15%;
  margin-left: 12%;
}
#tituloentrenamientos {
  width: 100%;
  height: 5%;
  border: 0px solid yellow;
  text-align: center;
}
h1 {
  font-family: "verdanabold";
  font-size: 2.3rem;
  color: var(--color-principal);
}
#cajatexto {
  width: 98%;
  height: 93%;
  border: 0px solid greenyellow;
  text-align: justify;
  line-height: 1.5;
  padding: 1%;
}
#texto {
  font-family: "cambria";
  font-size: 1.5rem;
}

.fundamento {
  font-family: "cambriabold";
  font-size: 1.5rem;
  color: var(--color-principal);
}

/* Contenedor de los contenedores superior e inferior de IDENTIFICAR, REINVENTAR Y LOGRAR */
section {
  width: 85%;
  height: 18%;
  border: 0px solid yellowgreen;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: column;
  margin-left: 12%;
}
/* Contenedor superior que contiene el "tipo de nivel" */
#superior {
  width: 90%;
  height: 18%;
  border: 0px solid red;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
}
#cajatituloniveles {
  width: 100%;
  height: 50%;
  border: 0px solid blueviolet;
  text-align: center;
  line-height: 0.8;
}
#tituloniveles {
  font-family: "verdanabold";
  font-size: 2.7rem;
  color: var(--color-principal);
}
#cajatextoniveles {
  width: 88%;
  height: 35%;
  border: 0px solid greenyellow;
  text-align: center;
}
#textoniveles {
  font-family: "cambria";
  font-size: 1.5rem;
}

/* Contenedo inferior con los contenedores de IDENTIFICAR, REINVENTAR Y LOGRAR" */
#inferior {
  width: 90%;
  height: 75%;
  border: 0px solid red;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: row;
}

/* Contenedores de IDENTIFICAR, REINVENTAR Y LOGRAR */
article {
  width: 25%;
  height: 80%;
  border: 3px solid var(--color-principal);
  border-radius: 20px;
  background-color: var(--color-background);
  box-shadow: 5px 5px 5px gray;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: column;
  transition: transform 500ms ease-in-out;
}

article:hover {
  width: 26%;
  height: 83%;
  background-color: var(--color-niveleshover);
}

#metodo {
  width: 80%;
  height: 10%;
  border: 0px solid orange;
  text-align: center;
  font-family: "verdanabold";
  font-size: 1.8rem;
  color: var(--color-principal);
}

#caja {
  width: 80%;
  height: 8%;
  border: 0px solid orange;
  border-bottom: 2px solid rgb(194, 191, 191);
  text-align: center;
  padding: 1rem;
  font-family: "cambria";
  font-size: 1.2rem;
  color: black;
}
#informacion {
  width: 70%;
  height: 8%;
  border: 2px solid black;
  border-radius: 10rem;
  background: var(--color-principal);
  box-shadow: 5px 5px 5px gray;
  text-align: center;
}
#tituloinfo {
  font-family: "verdana";
  font-size: 1.3rem;
  color: white;
}
#informacion:hover {
  border: 2px solid var(--color-principal);
  background-color: var(--color-background);
}
#informacion:active {
  scale: 0.92;
  box-shadow: 0px 0px 0px;
}
#tituloinfo:hover {
  color: var(--color-principal);
}
/* Texto inferior de condiciones */
#contenedorcondiciones {
  width: 75%;
  height: 20%;
  border: 0px solid black;
  text-align: justify;
  margin-left: 10rem;
}
#textocondiciones {
  font-family: "cambria";
  font-size: 1.5rem;
  line-height: 1.5;
}
#li2 {
  font-family: "cambria";
  font-size: 1.5rem;
  line-height: 1.5;
  color: black;
}
li::marker {
  color: var(--color-principal);
}
#advertencia {
  font-family: "cambriabold";
  font-size: 1.6rem;
  color: var(--color-principal);
}

/* Para dispositivos de escritorio con resolución superior a 1450px de ancho */

@media screen and (min-width: 1450px) {
  /* Este es el contenedor de la pagina principal */
  .layout {
    width: 100%;
    height: 4300px;
  }

  /*Este es el contenedor de la página principal, que va en la capa segunda o intermedia */

  .principal {
    width: 100%;
    height: 4300px;
  }
}

/* PARA DISPOSITIVOS CON RESOLUCION HASTA  1200PX DE ANCHOo */
@media screen and (max-width: 1200px) {
  .layout {
    width: 100%;
    height: 4500px;
  }

  /* Este es el contenedor de la página principal, que va en la capa segunda o intermedia */
  .principal {
    height: 4500px;
  }

  /* Este es el header de la pagina principal */
  #headerprimario {
    height: 5%;
  }

  #tituloportada {
    width: 85%;
    height: 90%;
    margin-left: 14%;
    line-height: 0.8;
  }
  #titulo {
    font-size: 2.5rem;
  }

  /* Marquesina de frases */
  #marquesina {
    width: 73%;
    height: 1%;
    margin-top: 20rem;
    margin-left: 11rem;
  }
  #titulofrases {
    font-size: 1.6rem;
  }
  /* cuerpo de titulo de entrenamiento y descripcion */
  main {
    height: 36%;
    margin-top: 15%;
    margin-left: 12%;
  }
  #tituloentrenamientos {
    height: 3%;
  }
  h1 {
    font-size: 2rem;
  }
  #cajatexto {
    width: 98%;
    height: 93%;
    line-height: 1.5;
    padding: 1%;
  }
  #texto {
    font-size: 1.3rem;
  }

  .fundamento {
    font-size: 1.5rem;
  }

  /* Contenedor de los contenedores superior e inferior de IDENTIFICAR, REINVENTAR Y LOGRAR */
  section {
    width: 85%;
    height: 18%;
    margin-left: 12%;
  }
  /* Contenedor superior que contiene el "tipo de nivel" */
  #superior {
    width: 90%;
    height: 18%;
  }
  #cajatituloniveles {
    width: 100%;
    height: 50%;
    line-height: 0.8;
  }
  #tituloniveles {
    font-size: 2.7rem;
  }
  #cajatextoniveles {
    width: 88%;
    height: 35%;
  }
  #textoniveles {
    font-size: 1.3rem;
  }

  /* Contenedo inferior con los contenedores de IDENTIFICAR, REINVENTAR Y LOGRAR" */
  #inferior {
    width: 90%;
    height: 75%;
  }

  /* Contenedores de IDENTIFICAR, REINVENTAR Y LOGRAR */
  article {
    width: 25%;
    height: 80%;
  }

  article:hover {
    width: 26%;
    height: 83%;
  }

  #metodo {
    width: 80%;
    height: 10%;
  }

  #caja {
    width: 80%;
    height: 8%;
    padding: 1rem;
    font-size: 1.2rem;
  }
  #informacion {
    width: 70%;
    height: 8%;
  }
  #tituloinfo {
    font-size: 1.3rem;
  }
  /* Texto inferior de condiciones */
  #contenedorcondiciones {
    width: 75%;
    height: 20%;
    margin-left: 10rem;
  }
  #textocondiciones {
    font-size: 1.3rem;
    line-height: 1.5;
  }
  #li2 {
    font-size: 1.5rem;
    line-height: 1.5;
  }
  #advertencia {
    font-size: 1.6rem;
  }
}

/* PARA DISPOSITIVOS CON RESOLUCION HASTA 1200PX DE ANCHO */
@media screen and (max-width: 1024px) {
  .layout {
    height: 4500px;
  }
  /* Este es el contenedor de la página principal, que va en la capa segunda o intermedia */
  .principal {
    height: 4500px;
  }

  /* Este es el header de la pagina principal */

  #tituloportada {
    width: 85%;
    height: 90%;
    margin-left: 14%;
    line-height: 0.8;
  }
  #titulo {
    font-size: 2.2rem;
  }

  /* Marquesina de frases */
  #marquesina {
    width: 73%;
    height: 1%;
    margin-top: 20rem;
    margin-left: 11rem;
  }
  #titulofrases {
    font-size: 1.4rem;
  }
  /* cuerpo de titulo de entrenamiento y descripcion */
  main {
    height: 34%;
    margin-top: 15%;
    margin-left: 12%;
  }
  #tituloentrenamientos {
    height: 3%;
  }
  h1 {
    font-size: 1.7rem;
  }
  #cajatexto {
    width: 96%;
    height: 93%;
    line-height: 1.5;
    margin-left: 5%;
    padding: 1%;
  }
  #texto {
    font-size: 1.2rem;
  }

  .fundamento {
    font-size: 1.3rem;
  }

  /* Contenedor de los contenedores superior e inferior de IDENTIFICAR, REINVENTAR Y LOGRAR */
  section {
    width: 85%;
    height: 18%;
    margin-left: 12%;
  }
  /* Contenedor superior que contiene el "tipo de nivel" */
  #superior {
    width: 90%;
    height: 18%;
  }
  #cajatituloniveles {
    width: 100%;
    height: 40%;
    line-height: 0.5;
  }
  #tituloniveles {
    font-size: 2.3rem;
  }
  #cajatextoniveles {
    width: 88%;
    height: 45%;
    line-height: 1.5;
  }
  #textoniveles {
    font-size: 1.2rem;
  }

  /* Contenedo inferior con los contenedores de IDENTIFICAR, REINVENTAR Y LOGRAR" */
  #inferior {
    width: 90%;
    height: 75%;
  }

  /* Contenedores de IDENTIFICAR, REINVENTAR Y LOGRAR */
  article {
    width: 25%;
    height: 80%;
  }

  article:hover {
    width: 26%;
    height: 83%;
  }

  #metodo {
    width: 80%;
    height: 10%;
    font-size: 1.5rem;
  }

  #caja {
    width: 80%;
    height: 8%;
    padding: 1rem;
    font-size: 1.1rem;
  }
  #informacion {
    width: 70%;
    height: 7%;
  }
  #tituloinfo {
    font-size: 1.1rem;
  }
  /* Texto inferior de condiciones */
  #contenedorcondiciones {
    width: 75%;
    height: 20%;
    margin-left: 10rem;
  }
  #textocondiciones {
    font-size: 1.1rem;
    line-height: 1.5;
  }
  #li2 {
    font-size: 1.2rem;
    line-height: 1.5;
  }
  #advertencia {
    font-size: 1.2rem;
  }
}
/* PARA DISPOSITIVOS CON RESOLUCION HASTA 900PX DE ANCHO  */
@media screen and (max-width: 900px) {
  .layout {
    height: 3800px;
  }
  /* Este es el contenedor de la página principal, que va en la capa segunda o intermedia */
  .principal {
    height: 3800px;
  }

  #tituloportada {
    width: 85%;
    height: 90%;
    margin-left: 14%;
    line-height: 0.8;
  }
  #titulo {
    font-size: 1.7rem;
  }

  /* Marquesina de frases */
  #marquesina {
    width: 73%;
    height: 1%;
    margin-top: 17rem;
    margin-left: 11rem;
  }
  #titulofrases {
    font-size: 1rem;
  }
  /* cuerpo de titulo de entrenamiento y descripcion */
  main {
    height: 40%;
    margin-top: 15%;
    margin-left: 12%;
  }
  #tituloentrenamientos {
    height: 3%;
  }
  h1 {
    font-size: 1.5rem;
  }
  #cajatexto {
    width: 96%;
    height: 97%;
    line-height: 1.5;
    margin-left: 5%;
    padding: 1%;
  }
  #texto {
    font-size: 1.1rem;
  }

  .fundamento {
    font-size: 1.2rem;
  }

  /* Contenedor de los contenedores superior e inferior de IDENTIFICAR, REINVENTAR Y LOGRAR */
  section {
    width: 85%;
    height: 18%;
    margin-left: 12%;
  }
  /* Contenedor superior que contiene el "tipo de nivel" */
  #superior {
    width: 90%;
    height: 18%;
  }
  #cajatituloniveles {
    width: 100%;
    height: 40%;
    line-height: 0.5;
  }
  #tituloniveles {
    font-size: 2rem;
  }
  #cajatextoniveles {
    width: 88%;
    height: 45%;
    line-height: 1.5;
  }
  #textoniveles {
    font-size: 1.1rem;
  }

  /* Contenedo inferior con los contenedores de IDENTIFICAR, REINVENTAR Y LOGRAR" */
  #inferior {
    width: 90%;
    height: 75%;
  }

  /* Contenedores de IDENTIFICAR, REINVENTAR Y LOGRAR */
  article {
    width: 25%;
    height: 80%;
  }

  article:hover {
    width: 26%;
    height: 83%;
  }

  #metodo {
    width: 80%;
    height: 10%;
    font-size: 1.2rem;
  }

  #caja {
    width: 80%;
    height: 8%;
    padding: 1rem;
    font-size: 1.1rem;
  }
  #informacion {
    width: 70%;
    height: 7%;
  }
  #tituloinfo {
    font-size: 1.1rem;
  }
  /* Texto inferior de condiciones */
  #contenedorcondiciones {
    width: 75%;
    height: 20%;
    margin-left: 10rem;
  }
  #textocondiciones {
    font-size: 1.1rem;
    line-height: 1.5;
  }
  #li2 {
    font-size: 1.1rem;
    line-height: 1.5;
  }
  #advertencia {
    font-size: 1.1rem;
  }
}

/* PARA DISPOSITIVOS CON RESOLUCION HASTA  767PX DE ANCHO  */
@media screen and (max-width: 768px) {
  /* Este es el contenedor de la pagina principal */
  .layout {
    height: 4100px;
  }

  /* Este es el contenedor de la página principal, que va en la capa segunda o intermedia */
  .principal {
    height: 4100px;
    margin-top: 5rem;
  }

  /* Este es el header de la pagina principal */
  #headerprimario {
    height: 3%;
  }
  #tituloportada {
    width: 100%;
    height: 35%;
    margin-left: 0;
  }
  #titulo {
    font-size: 1.3rem;
  }

  /* Marquesina de frases */
  #marquesina {
    width: 70%;
    height: 0.7%;
    margin-top: 30%;
    margin-left: 0;
  }
  #titulofrases {
    font-size: 0.9rem;
  }

  /* cuerpo de titulo de entrenamiento y descripcion */
  main {
    width: 90%;
    height: 27%;
    margin-top: 15%;
    margin-left: 0;
  }
  #tituloentrenamientos {
    height: 2%;
  }
  h1 {
    font-size: 1.1rem;
  }
  #cajatexto {
    width: 95%;
    height: 93%;
    padding: 2%;
    line-height: 1.2;
    margin-left: 1%;
  }
  #texto {
    font-size: 1.1rem;
  }
  .fundamento {
    font-size: 1rem;
  }
  /* Contenedor de los contenedores superior e inferior de IDENTIFICAR, REINVENTAR Y LOGRAR */
  section {
    width: 90%;
    height: 35%;
    margin-left: 0;
  }
  /* Contenedor superior que contiene el "tipo de nivel" */
  #superior {
    width: 90%;
    height: 15%;
  }
  #cajatituloniveles {
    width: 100%;
    height: 25%;
    padding-bottom: 4%;
  }
  #tituloniveles {
    font-size: 1.5rem;
  }
  #cajatextoniveles {
    width: 88%;
    height: 70%;
    line-height: 1.2;
  }
  #textoniveles {
    font-size: 1.1rem;
    padding-top: 5%;
  }

  /* Contenedo inferior con los contenedores de IDENTIFICAR, REINVENTAR Y LOGRAR" */
  #inferior {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
  }

  /* Contenedores de IDENTIFICAR, REINVENTAR Y LOGRAR */
  article {
    width: 50%;
    height: 28%;
  }

  article:hover {
    width: 31%;
    height: 97%;
  }

  #metodo {
    width: 80%;
    height: 10%;
    font-size: 1.3rem;
  }

  #caja {
    width: 85%;
    height: 8%;
    padding: 2%;
    font-size: 1.1rem;
  }
  #informacion {
    width: 70%;
    height: 7%;
  }

  #tituloinfo {
    font-size: 0.9rem;
  }

  /* Texto inferior de condiciones */
  #contenedorcondiciones {
    width: 90%;
    height: 12%;
    margin-left: 0;
  }
  #textocondiciones {
    font-size: 0.9rem;
    line-height: 1.2;
  }
  #li2 {
    font-size: 0.9rem;
    line-height: 1.2;
  }
  #advertencia {
    font-size: 0.9rem;
  }
}

/* PARA DISPOSITIVOS  MOVILES CON RESOLUCION HASTA  600PX DE ANCHO  */

@media screen and (max-width: 600px) {
  /* Este es el contenedor de la pagina principal */
  .layout {
    height: 4200px;
  }
  /* Este es el contenedor de la página principal, que va en la capa segunda o intermedia */
  .principal {
    width: 100%;
    height: 4200px;
  }

  /* Este es el header de la pagina principal */
  #headerprimario {
    width: 100%;
    height: 8rem;
  }

  #tituloportada {
    width: 85%;
    height: 25%;
    margin-left: 10%;
  }
  #titulo {
    font-size: 1rem;
  }

  /* Marquesina de frases */
  #marquesina {
    width: 70%;
    height: 0.5%;
    margin-top: 10rem;
    margin-left: 3%;
  }
  #titulofrases {
    font-size: 0.8rem;
  }

  /* cuerpo de titulo de entrenamiento y descripcion */
  main {
    width: 92%;
    height: 42%;
    margin-left: 3%;
    margin-top: 8rem;
  }
  #tituloentrenamientos {
    width: 95%;
    height: 3%;
  }
  h1 {
    font-size: 0.8rem;
  }
  #cajatexto {
    width: 90%;
    height: 90%;
    padding: 0.8rem;
    line-height: 1.5;
  }
  #texto {
    font-size: 1rem;
  }
  .fundamento {
    font-size: 1rem;
  }
  /* Contenedor de los contenedores superior e inferior de IDENTIFICAR, REINVENTAR Y LOGRAR */
  section {
    width: 90%;
    height: 40%;
    margin-left: 3%;
  }
  /* Contenedor superior que contiene el "tipo de nivel" */
  #superior {
    width: 95%;
    height: 13%;
  }
  #cajatituloniveles {
    width: 100%;
    height: 24%;
  }
  #tituloniveles {
    font-size: 1.3rem;
  }
  #cajatextoniveles {
    width: 93%;
    height: 70%;
    line-height: 1.5;
  }
  #textoniveles {
    font-size: 1rem;
  }

  /* Contenedor inferior con los contenedores de IDENTIFICAR, REINVENTAR Y LOGRAR" */
  #inferior {
    width: 99%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
  }

  /* Contenedores de IDENTIFICAR, REINVENTAR Y LOGRAR */
  article {
    width: 70%;
    height: 30%;
  }

  article:hover {
    width: 77%;
    height: 30%;
  }

  #metodo {
    width: 75%;
    height: 10%;
    font-size: 1.2rem;
  }

  #caja {
    width: 75%;
    height: 10%;
    padding: 1.5%;
    font-size: 1rem;
  }
  #informacion {
    width: 60%;
    height: 7%;
  }
  #tituloinfo {
    font-size: 0.8rem;
  }

  /* Texto inferior de condiciones */
  #contenedorcondiciones {
    width: 88%;
    height: 18%;
    margin-left: 4%;
    margin-top: 2rem;
  }
  #textocondiciones {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  #li2 {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  #advertencia {
    font-size: 0.9rem;
  }
}

/* PARA DISPOSITIVOS  MOVILES CON RESOLUCION HASTA  480PX DE ANCHO  */

@media screen and (max-width: 480px) {
  /* Este es el contenedor de la pagina principal */
  .layout {
    height: 4300px;
  }
  /* Este es el contenedor de la página principal, que va en la capa segunda o intermedia */
  .principal {
    height: 4300px;
  }

  /* Este es el header de la pagina principal */
  #headerprimario {
    height: 8rem;
  }

  #tituloportada {
    width: 85%;
    height: 25%;
    margin-left: 5%;
  }
  #titulo {
    font-size: 1rem;
  }

  /* Marquesina de frases */
  #marquesina {
    height: 0.5%;
    margin-top: 8rem;
    margin-left: 3%;
  }
  #titulofrases {
    font-size: 0.7rem;
  }

  /* cuerpo de titulo de entrenamiento y descripcion */
  main {
    width: 92%;
    height: 50%;
    margin-left: 3%;
    margin-top: 8rem;
  }
  #tituloentrenamientos {
    width: 95%;
    height: 1.5%;
  }
  h1 {
    font-size: 0.8rem;
  }
  #cajatexto {
    width: 90%;
    height: 94%;
    padding: 0.8rem;
    line-height: 1.5;
  }
  #texto {
    font-size: 0.9rem;
  }
  .fundamento {
    font-size: 0.9rem;
  }
  /* Contenedor de los contenedores superior e inferior de IDENTIFICAR, REINVENTAR Y LOGRAR */
  section {
    width: 90%;
    height: 40%;
    margin-left: 3%;
  }
  /* Contenedor superior que contiene el "tipo de nivel" */
  #superior {
    width: 95%;
    height: 13%;
  }
  #cajatituloniveles {
    width: 100%;
    height: 24%;
  }
  #tituloniveles {
    font-size: 1.2rem;
  }
  #cajatextoniveles {
    width: 93%;
    height: 70%;
    line-height: 1.5;
  }
  #textoniveles {
    font-size: 0.9rem;
  }

  /* Contenedor inferior con los contenedores de IDENTIFICAR, REINVENTAR Y LOGRAR" */
  #inferior {
    width: 99%;
    height: 90%;
  }

  /* Contenedores de IDENTIFICAR, REINVENTAR Y LOGRAR */
  article {
    width: 70%;
    height: 30%;
  }

  article:hover {
    width: 77%;
    height: 30%;
  }

  #metodo {
    width: 75%;
    height: 10%;
    font-size: 1.2rem;
  }

  #caja {
    width: 75%;
    height: 10%;
    padding: 1.5%;
    font-size: 1rem;
  }
  #informacion {
    width: 60%;
    height: 7%;
  }
  #tituloinfo {
    font-size: 0.9rem;
  }

  /* Texto inferior de condiciones */
  #contenedorcondiciones {
    width: 88%;
    height: 25%;
    margin-left: 4%;
  }
  #textocondiciones {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  #li2 {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  #advertencia {
    font-size: 0.9rem;
  }
}
