.layout {
  width: 100%;
  height: 2500px;
  border: 0px solid black;
  display: flex;
  align-items: left;
  justify-content: space-between;
  flex-direction: column;
}

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

/* Este es el header primario */
#headerprimario {
  width: 100%;
  height: 28%;
  border: 0px solid blue;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
}
#tituloportada {
  width: 70%;
  height: 9%;
  border: 0px solid orangered;
  text-align: center;
  margin-left: 20%;
  padding-bottom: 3%;
}
#titulo {
  font-family: "verdanabold";
  color: var(--color-principal);
  font-size: 2.7rem;
}

/* Marquesina de frases */
#marquesina1 {
  width: 60%;
  height: 5%;
  border: 0px solid orangered;
  margin-left: 18%;
}
#titulofrases {
  font-family: "verdana";
  color: black;
  font-size: 1.7rem;
}

/* sección principal con parrafo */
#sectionprincipal {
  width: 65%;
  height: 30%;
  border: 0px solid blue;
  margin-left: 18%;
  text-align: justify;
}
#textoportada {
  font-family: "verdanabold";
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--color-principal);
}

/* Marquesina con fotos */
#marquesina2 {
  width: 75%;
  height: 25%;
  border: 0px solid orangered;
  margin-left: 15%;
}
#foto1,
#foto2,
#foto3,
#foto4,
#foto5,
#foto6,
#foto7,
#foto8,
#foto9 {
  width: auto;
  height: 200px;
}

/* contenedor donde va el resto de la página */
#secundario {
  width: 100%;
  height: 60%;
  border: 0px solid aqua;
  background-color: var(--color-background);
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: column;
  margin-bottom: 5%;
}

/* Contenedor de "QUE VAS A CONSEGUIR" */
main {
  width: 80%;
  height: 50%;
  border: 0px solid red;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  margin-left: 10%;
  margin-top: 8rem;
}
/* contenedor del titulo "QUE VAS A CONSEGUIR" */
#cajatituloconseguir {
  width: 85%;
  height: 6%;
  border: 0px solid violet;
  text-align: center;
  margin-top: 4%;
  padding-bottom: 2%;
}
#tituloconseguir {
  font-family: "verdanabold";
  font-size: 1.7rem;
  color: var(--color-principal);
}

/* Contenedor del texto "QUE VAS A CONSEGUIR" */
#cajatextoconseguir {
  width: 85%;
  height: 85%;
  border: 0px solid blueviolet;
  border-radius: 2%;
  padding-top: 1%;
  text-align: justify;
}

#texto {
  font-family: "verdana";
  font-size: 1.4rem;
  line-height: 2;
}

/* Contenedor de los logros a conseguir */
#sectionsecundario {
  width: 80%;
  height: 65%;
  border: 0px solid black;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: column;
  margin-left: 12%;
  margin-top: 2rem;
  margin-bottom: 5rem;
}
#cajasubtitulo {
  border: 0px solid blue;
  width: 90%;
  height: 2rem;
}
#textosubtitulo {
  font-family: "verdanabold";
  font-style: italic;
  font-size: 1.3rem;
  color: var(--color-principal);
}
/* Contenedor izquierdo y derecho de logros */
article {
  width: 100%;
  height: 96%;
  border: 0px solid orange;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* texto de logros */
#cajatexto {
  width: 57%;
  height: 92%;
  border: 3px solid var(--color-principal);
  border-radius: 15px;
  background-color: var(--color-background);
  box-shadow: 5px 5px 5px rgb(129, 126, 126);
  margin: 2%;
  line-height: 1.5;
}
/* lista de logros */
li {
  font-family: "cambria";
  font-size: 1.7rem;
}
li::marker {
  color: var(--color-principal);
}
/* "Comentario" */
aside {
  width: 100%;
  height: 7%;
  border: 0px solid blue;
  text-align: center;
  padding-top: 3%;
}
#texto3 {
  font-family: "verdanabold";
  font-size: 1.8rem;
  color: var(--color-principal);
}

/* PARA DISPOSITIVOS DE ESCRITORIO CON RESOLUCION superior A 1451PX DE ANCHO
@media (min-width: 1451px) { */
/* contenedor de la pagina principal , que va abajo del todo
  .paginaprincipal {
    width: 100%;
    height: 100%;
  }
 */
/* Este es el contenedor de la página principal, que va en la capa segunda o intermedia 
    #principal{
        width:1900px;
        height: 2650px;
    }
*/
/* Este es el header primario
    #headerprimario{
        width:1900px;
        height: 1050px;
    }  
  */
/* Marquesina de frases   
        #marquesina{
            margin-top: 200px;
        }
   */
/* sección principal con parrafo  
        #sectionprincipal{
            margin-top: 350px;
        }
    */
/* Marquesina con fotos 
        #marquesina2{
            margin-top: 730px;
        }
}*/

/* PARA DISPOSITIVOS (IPAD) CON RESOLUCION HASTA  1200PX DE ANCHO  */

@media screen and (max-width: 1200px) {
  .principal {
    width: 100%;
    height: 2800px;
  }
  #titulo {
    font-size: 2.3rem;
  }
  #titulofrases {
    font-size: 1.6rem;
  }
  #textoportada {
    font-size: 1.4rem;
  }
  #tituloconseguir {
    font-size: 1.5rem;
  }
  #texto {
    font-size: 1.2rem;
    line-height: 2;
  }
  li {
    font-size: 1.4rem;
  }
  #texto3 {
    font-size: 1.6rem;
  }
}
/* PARA DISPOSITIVOS (IPAD) CON RESOLUCION HASTA  1024PX DE ANCHO  */

@media screen and (max-width: 1024px) {
  /* Contenedor de la página principal */
  .layout {
    width: 100%;
    height: 2200px;
  }

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

  /* Este es el header primario */
  #headerprimario {
    height: 32%;
  }
  #tituloportada {
    width: 65%;
    height: 1rem;
    margin-top: 1.8rem;
    line-height: 1;
  }
  #titulo {
    font-size: 1.8rem;
  }

  /* Marquesina de frases */
  #marquesina1 {
    width: 55%;
    height: 2rem;
    margin-left: 20%;
    margin-top: 4rem;
  }
  #titulofrases {
    font-size: 1.2rem;
  }

  /* sección principal con parrafo */
  #sectionprincipal {
    height: 35%;
    margin-top: 3rem;
  }
  #textoportada {
    font-size: 1.3rem;
  }

  /* Marquesina con fotos */
  #marquesina2 {
    width: 70%;
    margin-left: 20%;
    margin-top: 3rem;
  }

  /* contenedor donde va el resto de la página */
  #secundario {
    height: 70%;
  }

  /* Contenedor de "QUE VAS A CONSEGUIR" */
  main {
    width: 75%;
    margin-left: 20%;
    margin-top: 2rem;
  }
  /* contenedor del titulo "QUE VAS A CONSEGUIR" */
  #cajatituloconseguir {
    width: 75%;
    margin-top: 2%;
    padding-bottom: 3%;
  }
  #tituloconseguir {
    font-size: 1.2rem;
  }

  /* Contenedor del texto "QUE VAS A CONSGUIR" */
  #cajatextoconseguir {
    width: 90%;
  }

  #texto {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  /* Contenedor de los logros a conseguir */
  #sectionsecundario {
    width: 75%;
    height: 95%;
    margin-left: 25%;
  }
  #cajasubtitulo {
    margin-right: 8%;
  }
  #textosubtitulo {
    font-size: 1rem;
  }
  /* Contenedor izquierdo y derecho de logros */
  article {
    height: 90%;
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }
  /* texto de logros */
  #cajatexto {
    width: 90%;
    height: 90%;
  }
  /* lista de logros */
  li {
    font-size: 1.2rem;
  }

  /* "Comentario" */
  aside {
    height: 4%;
  }
  #texto3 {
    font-size: 1.2rem;
  }
}

/* PARA DISPOSITIVOS (IPAD) CON RESOLUCION HASTA  767PX DE ANCHO  */

@media screen and (max-width: 768px) {
  /* Contenedor de la página principal */
  .layout {
    width: 100%;
    height: 2100px;
  }

  /* Este es el contenedor de la página principal, que va en la capa segunda o intermedia */
  .principal {
    width: 100%;
    height: 2200px;
    z-index: 25;
  }

  /* Este es el header primario */
  #headerprimario {
    height: 35%;
    margin-top: 4rem;
  }
  #tituloportada {
    width: 90%;
    height: 6%;
    margin-left: 10%;
    margin-top: 3%;
    padding-bottom: 3%;
  }

  /* Marquesina de frases */
  #marquesina1 {
    width: 75%;
    height: 5%;
    margin-top: 3rem;
    margin-left: 5%;
  }
  #titulofrases {
    font-size: 1rem;
  }

  /* sección principal con parrafo */
  #sectionprincipal {
    width: 90%;
    margin-top: 5%;
    margin-left: 4%;
  }
  #textoportada {
    font-size: 1.1rem;
  }

  /* Marquesina con fotos */
  #marquesina2 {
    width: 90%;
    margin-left: 4%;
  }

  /* contenedor donde va el resto de la página */
  #secundario {
    height: 85%;
  }

  /* Contenedor de "QUE VAS A CONSEGUIR" */
  main {
    width: 95%;
    height: 40%;
    margin-left: 5%;
    margin-top: 3rem;
  }

  /* Contenedor del texto "QUE VAS A CONSGUIR" */
  #cajatextoconseguir {
    height: 90%;
  }
  #texto {
    line-height: 1.5;
  }

  /* Contenedor de los logros a conseguir */
  #sectionsecundario {
    width: 95%;
    height: 60%;
    margin-left: 4%;
    line-height: 1.2;
  }
  #cajasubtitulo {
    margin-right: 5%;
  }
  #tetxosubtitulo {
    font-size: 0.9rem;
  }
  #tituloconseguir {
    font-size: 0.9rem;
  }
  /* Contenedor izquierdo y derecho de logros */
  article {
    height: 95%;
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 1rem;
  }
  /* texto de logros */
  #cajatexto {
    margin: 1rem;
  }
  /* lista de logros */
  li {
    font-size: 1.1rem;
  }

  /* "Comentario" */
  #texto3 {
    font-size: 1rem;
  }
}

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

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

  .principal {
    width: 100%;
    height: 2050px;
    margin-top: 1rem;
  }

  /* Este es el header primario */
  #headerprimario {
    height: 25%;
  }
  #tituloportada {
    width: 80%;
    margin-right: 10%;
    padding-bottom: 1%;
  }
  #titulo {
    font-size: 1rem;
  }

  /* Marquesina de frases */
  #marquesina1 {
    width: 80%;
    margin-top: 1%;
  }
  #titulofrases {
    font-size: 0.6rem;
  }

  /* sección principal con parrafo */
  #sectionprincipal {
    width: 80%;
    height: 40%;
    margin-top: 1%;
  }
  #textoportada {
    font-size: 0.7rem;
  }

  /* Marquesina con fotos */
  #marquesina2 {
    margin-top: 2%;
    margin-left: 1%;
  }
  #foto1,
  #foto2,
  #foto3,
  #foto4,
  #foto5,
  #foto6,
  #foto7,
  #foto8,
  #foto9 {
    height: 105px;
  }
  /* contenedor donde va el resto de la página */
  #secundario {
    height: 70%;
  }

  /* Contenedor de "QUE VAS A CONSEGUIR" */
  main {
    height: 35%;
    margin-top: 2%;
  }
  /* contenedor del titulo "QUE VAS A CONSEGUIR" */
  #cajatituloconseguir {
    width: 85%;
    margin-right: 2rem;
    margin-top: 4%;
    padding-bottom: 2%;
  }
  #tituloconseguir {
    font-size: 0.8rem;
  }

  /* Contenedor del texto "QUE VAS A CONSEGUIR" */
  #cajatextoconseguir {
    width: 95%;
    height: 85%;
  }

  #texto {
    font-size: 0.7rem;
    line-height: 0.5;
  }

  /* Contenedor de los logros a conseguir */
  #sectionsecundario {
    width: 90%;
    height: 70%;
    margin-left: 5%;
  }

  #textosubtitulo {
    line-height: 2;
    font-size: 0.8rem;
  }
  /* Contenedor izquierdo y derecho de logros */
  article {
    height: 80%;
    display: grid;
    grid-template-columns: 1fr;
  }
  /* texto de logros */
  #cajatexto {
    width: 92%;
    height: 92%;
    margin: 2%;
  }
  /* lista de logros */
  li {
    font-size: 0.8rem;
  }

  /* "Comentario" */
  aside {
    height: 2%;
  }
  #texto3 {
    font-size: 0.7rem;
  }
}
