.layout {
  width: 100%;
  height: 6500px;
  border: 0px solid black;
}

/* Este es el contenedor principal , que esta dentro del cuerpo principal*/

.principal {
  width: 100%;
  height: 6500px;
  border: 0px solid red;
  background: var(--color-background);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
}

/* Este es el header primario */

#headerprimario {
  width: 100%;
  height: 20rem;
  border: 0px solid blue;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
}
#tituloportada {
  width: 80%;
  height: 5%;
  border: 0px solid orangered;
  text-align: center;
  margin-left: 15%;
  line-height: 2rem;
}
#titulo {
  font-family: "verdanabold";
  color: var(--color-principal);
  font-size: 3.5rem;
}

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

/* contenedor donde va el resto de la página */
main {
  width: 100%;
  height: 90%;
  border: 0px solid greenyellow;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: column;
  margin-top: 1rem;
}
.sectalleres {
  width: 75%;
  height: 18%;
  border: 0px solid blueviolet;
  margin-left: 15%;
  text-align: justify;
  padding-left: 0.7rem;
}
#textotaller {
  font-family: "cambria";
  font-size: 1.3rem;
  line-height: 1.5;
}

#titulotalleres {
  width: 70%;
  height: 2%;
  border: 0px solid orange;
  text-align: center;
  margin-left: 20%;
  line-height: 0.8;
}
#textotitulotalleres {
  font-family: "verdanabold";
  color: var(--color-principal);
  font-size: 3.3rem;
}
.sectionvideos {
  width: 77%;
  height: 40%;
  border: 0px solid red;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 5% 14%;
  margin-left: 12%;
}
#contenedorvideo {
  width: 37rem;
  height: 23rem;
  border: 0px solid blue;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-left: 22%;
}

video {
  width: 37rem;
  height: 22rem;
}

#contenedortitulotaller {
  width: 25rem;
  height: 10%;
  border: 0px solid black;
  text-align: center;
  margin-top: 1rem;
}
#titulodeltaller {
  font-family: "verdanabold";
  font-size: 1.1rem;
  color: var(--color-principal);
}

.secempresas {
  width: 70%;
  height: 31%;
  border: 0px solid black;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: column;
  margin-left: 10%;
}
#cajatituloempresas {
  width: 80%;
  height: 3%;
  border: 1px solid blue;
}
#tituloempresas {
  font-family: "verdanabold";
  font-size: 2.8rem;
  color: var(--color-principal);
  text-align: center;
}
#cajatextoempresas {
  width: 90%;
  height: 15%;
  border: 0px solid aqua;
}
#textoempresas {
  font-family: "cambria";
  font-size: 1.4rem;
  text-align: justify;
  line-height: 1.5;
}

#caracteristicasempresa {
  width: 100%;
  height: 14%;
  border: 0px solid red;
}
#textool {
  font-family: "cambriabold";
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--color-principal);
}
li {
  font-family: "cambria";
  font-size: 1.3rem;
  line-height: 1.5;
}
li::marker {
  color: var(--color-principal);
}
/* PARA DISPOSITIVOS (IPAD) CON RESOLUCION HASTA  1200PX DE ANCHO  */
@media screen and (max-width: 1200px) {
  /* Contenedor de la página principal */

  .layout {
    width: 100%;
    height: 6500px;
  }

  /* Este es el contenedor principal , que esta dentro del cuerpo principal*/
  .principal {
    width: 100%;
    height: 6500px;
  }

  /* Este es el header primario */

  #headerprimario {
    width: 100%;
    height: 20rem;
  }
  #tituloportada {
    width: 80%;
    height: 5%;
    margin-left: 15%;
    line-height: 2rem;
  }
  #titulo {
    font-size: 3.3rem;
  }

  /* Marquesina de frases */
  #marquesina {
    width: 70%;
    height: 2.5rem;
    margin-top: 13rem;
    margin-left: 20%;
  }
  #titulofrases {
    font-size: 1.5rem;
  }

  /* contenedor donde va el resto de la página */
  main {
    width: 100%;
    height: 90%;
    margin-top: 1rem;
  }
  .sectalleres {
    width: 75%;
    height: 20%;
    margin-left: 15%;
    padding-left: 0.7rem;
  }
  #textotaller {
    font-size: 1.3rem;
    line-height: 1.5;
  }

  #titulotalleres {
    width: 70%;
    height: 2%;
    margin-left: 20%;
    line-height: 0.8;
  }
  #textotitulotalleres {
    font-size: 3rem;
  }
  .sectionvideos {
    width: 75%;
    height: 38%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5% 14%;
    margin-left: 17%;
  }
  #contenedorvideo {
    width: 35rem;
    height: 22rem;
    margin: auto auto;
  }

  video {
    width: 35rem;
    height: 20rem;
  }

  #contenedortitulotaller {
    width: 25rem;
    height: 10%;
    margin-top: 1rem;
  }
  #titulodeltaller {
    font-size: 1.1rem;
  }

  .secempresas {
    width: 70%;
    height: 31%;
    margin-left: 15%;
  }
  #cajatituloempresas {
    width: 80%;
    height: 3%;
  }
  #tituloempresas {
    font-size: 2.8rem;
  }
  #cajatextoempresas {
    width: 90%;
    height: 15%;
  }
  #textoempresas {
    font-size: 1.4rem;
    line-height: 1.5;
  }

  #caracteristicasempresa {
    width: 100%;
    height: 14%;
  }
  #textool {
    font-size: 1.3rem;
    line-height: 1.5;
  }
  li {
    font-size: 1.3rem;
    line-height: 1.5;
  }
}

/* PARA DISPOSITIVOS (IPAD) CON RESOLUCION HASTA  900PX DE ANCHO  */
@media screen and (max-width: 900px) {
  /* Contenedor de la página principal */
  .layout {
    width: 100%;
    height: 5500px;
  }

  /* Este es el contenedor principal , que esta dentro del cuerpo principal*/

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

  /* Este es el header primario */

  #headerprimario {
    height: 6%;
  }
  #tituloportada {
    width: 60%;
    height: 5rem;
  }
  #titulo {
    font-size: 2.5rem;
  }

  /* Marquesina de frases */
  #marquesina {
    height: 2rem;
    margin-top: 20%;
  }
  #titulofrases {
    font-size: 1.3rem;
  }

  /* contenedor donde va el resto de la página */
  main {
    width: 95%;
    height: 98%;
  }
  .sectalleres {
    width: 75%;
    height: 21%;
    margin-left: 20%;
  }
  #textotaller {
    font-size: 1.1rem;
    line-height: 1.5;
  }

  #titulotalleres {
    width: 80%;
    height: 1.5%;
    padding-bottom: 1rem;
  }
  #textotitulotalleres {
    font-size: 2.3rem;
  }
  .sectionvideos {
    width: 70%;
    height: 40%;
    margin-left: 20%;
  }
  #contenedorvideo {
    width: 30rem;
    height: 20rem;
    margin: auto auto;
  }
  video {
    width: 100%;
  }

  #contenedortitulotaller {
    width: 80%;
    height: 2rem;
    margin-top: 1.5rem;
  }
  #titulodeltaller {
    font-size: 1rem;
  }

  .secempresas {
    width: 75%;
    height: 27%;
    margin-left: 20%;
  }
  #cajatituloempresas {
    width: 75%;
    height: 2rem;
  }
  #tituloempresas {
    font-size: 2rem;
  }
  #cajatextoempresas {
    width: 80%;
    height: 14%;
  }
  #textoempresas {
    font-size: 1.1rem;
    line-height: 1.4;
  }

  #caracteristicasempresa {
    width: 80%;
    height: 14%;
  }
  #textool {
    font-size: 1.1rem;
    line-height: 1.4;
  }
  li {
    font-size: 1.1rem;
    line-height: 1.4;
  }
}

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

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

  /* Este es el contenedor principal , que esta dentro del cuerpo principal*/

  .principal {
    width: 100%;
    height: 5700px;
    position: absolute;
    z-index: 25;
  }

  /* Este es el header primario */
  #headerprimario {
    height: 3%;
    margin-top: 4rem;
  }

  #tituloportada {
    width: 70%;
    height: 35%;
    margin-left: 10%;
    line-height: 1.5;
  }
  #titulo {
    font-size: 2rem;
  }

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

  /* contenedor donde va el resto de la página */
  main {
    width: 90%;
    height: 95%;
    margin-left: 2%;
    margin-top: 1rem;
  }
  .sectalleres {
    width: 80%;
    height: 23%;
    margin-left: 0;
  }
  #textotaller {
    line-height: 1.3;
  }

  #titulotalleres {
    width: 70%;
    height: 1%;
    margin-left: 10%;
  }

  #textotitulotalleres {
    font-size: 1.7rem;
  }
  .sectionvideos {
    width: 80%;
    height: 40%;
    margin-left: 0;
    gap: 0;
  }
  #contenedorvideo {
    width: 30rem;
    margin-left: 0;
  }

  video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #contenedortitulotaller {
    width: 95%;
    height: 8%;
  }
  #titulodeltaller {
    font-size: 0.9rem;
  }

  .secempresas {
    width: 85%;
    height: 33%;
    margin-left: 5%;
  }
  #cajatituloempresas {
    height: 5%;
  }
  #tituloempresas {
    font-size: 1.7rem;
  }
  #cajatextoempresas {
    width: 90%;
    height: 13%;
  }
  #textoempresas {
    line-height: 1.5;
  }

  #caracteristicasempresas {
    width: 90%;
    height: 70%;
  }
  #textool {
    line-height: 1.5;
  }
  li {
    line-height: 1.5;
  }
}

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

@media screen and (max-width: 600px) {
  .layout {
    width: 100%;
    height: 5500px;
  }

  /* Este es el contenedor principal , que esta dentro del cuerpo principal*/

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

  /* Marquesina de frases */
  #marquesina {
    margin-top: 20%;
  }

  /* contenedor donde va el resto de la página */
  main {
    margin-top: 0;
  }
  .sectalleres {
    width: 95%;
    height: 22%;
    margin-left: 0;
  }
  #textotaller {
    font-size: 1rem;
    line-height: 1.3;
  }
  .sectionvideos {
    height: 38%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3%;
  }
  #contenedorvideo {
    width: 100%;
    height: 100%;
  }
  #contenedortitulotaller {
    height: 5%;
  }

  .secempresas {
    height: 29%;
  }
  #cajatituloempresas {
    width: 75%;
    height: 5%;
  }
  #tituloempresas {
    font-size: 1.7rem;
  }
  #textoempresas {
    font-size: 1rem;
  }
  #textool {
    font-size: 0.9rem;
    line-height: 1.2;
  }
  li {
    line-height: 1.3;
    font-size: 0.9rem;
  }
}

/* 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: 4900px;
  }

  /* Este es el contenedor principal , que esta dentro del cuerpo principal*/

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

  /* Este es el header primario */
  #headerprimario {
    height: 10rem;
  }
  #titulo {
    font-size: 1.5rem;
  }

  /* Marquesina de frases */
  #marquesina {
    width: 85%;
    margin-top: 5rem;
    margin-left: 4%;
  }
  #titulofrases {
    font-size: 0.9rem;
  }

  /* contenedor donde va el resto de la página */
  main {
    width: 98%;
    height: 90%;
  }
  .sectalleres {
    width: 90%;
    height: 50%;
    margin-left: 3%;
  }
  #textotaller {
    font-size: 1rem;
    line-height: 1.5;
  }

  #titulotalleres {
    height: 3%;
    margin-left: 5%;
  }

  .sectionvideos {
    width: 75%;
    height: 80%;
    gap: 3%;
    margin-left: 3%;
  }
  video {
    width: 90%;
    height: 90%;
  }

  #contenedortitulotaller {
    height: 15%;
  }
  #titulodeltaller {
    font-size: 0.8rem;
  }

  .secempresas {
    height: 45%;
    margin-left: 3%;
    margin-top: 2rem;
    margin-bottom: 1rem;
  }
  #tituloempresas {
    font-size: 1rem;
  }
  #cajatextoempresas {
    width: 92%;
    height: 15%;
    text-align: justify;
  }
  #caracteristicasempresas {
    width: 100%;
    height: 83%;
    margin-right: 2%;
    margin-top: 2rem;
  }
  #textool {
    font-size: 1rem;
    line-height: 1.2;
  }
  li {
    line-height: 1.3;
    font-size: 1rem;
  }
}
