*{
  padding: 0;
  margin: 0;
  font-family: Arial, sans-serif;
  max-width: 100%;
}
*, *::before, *::after {
  box-sizing: border-box;
}






@media(min-width: 1120px){

/* -------------------------HEADER-------------------------- */
.bi-list{
  display: none;
  font-size: 25px;
  cursor: pointer;
}

.bi-x-lg{
  display: none;
}

.contenedorHeader {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  padding: 10px 20px;
}


.contenedorEnlaces{
  display: flex;
  flex-direction: row;
  gap: 40px;
}
.enlaces{
  color: black;
  text-decoration: none;
  font-size: 18px;
}

.enlaces:hover{
  color: #ff0000;
}

.contenedorFolleto{
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
}

.bi-chevron-down{
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}
.contenedorFolleto:hover{
  color: #ff0000;
}








/* ----------------MAIN----------------------- */
.container {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  width: 750px;
  margin: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  margin-top: 100px;
}

h1 {
  text-align: center;
  color: #b30000;
}

label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

input, select {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.botonCalcular{
  margin-top: 20px;
  width: 100%;
  padding: 10px;
  background-color: #b30000;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btnToggleGrafico{
    margin-top:15px;
    width :100%;
    padding : 10px;
   background-color : #b30000;
    color :white;
    font-size : 16px;
    border :none;
    border-radius :5px;
  cursor :pointer;
}

#resultados {
  margin-top: 50px;
}
.contenedor-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
  padding: 0 10px;
}

.card-nutriente {
  position: relative;
  background: white;
  border-radius: 12px;
 height: 200px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  padding: 20px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.5s ease, transform 0.5s ease;
  cursor: pointer;
}

.bi-plus-circle {
  position: absolute;
  top: 15px;
  right: 15px;
  color: rgb(252, 66, 66);
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 1;
  transition: transform 0.3s ease;
}

.bi-plus-circle:hover{
  color: red;
}



.card-nutriente:hover {
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  transform: translateY(-6px);
}

.card-nutriente.voltear{
  transform: rotateY(180deg);
}

.parrafoCardVolteado{
  transform: rotateY(180deg);
  font-size: 5px;
}


.card-volteada {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transform: rotateY(180deg);
}

.contenedorTitulo{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap:5px;
 
}
.contenedorNumAtomicoYSig{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.numeroAtomico{
  font-size: xx-small;
  font-weight: bold;
  color: #c1121f;
}
.signoPeriodicoCard{
  font-weight: bold;
  color: #0a2f5c;
}


.titulo-volteado{
  font-size: 1.25rem;
   color: #1d3557;
  text-align: start;
  margin-top: 0;
}


.contenido-volteado {
  font-size: 14px;
  color: rgb(49, 49, 49);
  line-height: 1.3;
  margin-top: 7px;
}


.tituloCard {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #1d3557;
}

.pCardNutriente{
   font-size: 0.95rem;
  margin: 6px 0;
  color: #555;
}


.aporte {
  color:  #ff0000;
  font-weight: 600;
}

.requerido {
  color: rgb(49, 49, 49);
  font-weight: 600;
}

.toxicidad {
  color: grey;
  font-weight: 600;
}



.graficoComparacion{
  margin-top: 50px;
}

.graficoToxicidad{
  margin-top: 50px;
}



.toxico {
  background-color: #ffe5e5;
}

.alerta-tox {
  background-color: #ffdb58;
  color: #333;
  padding: 1rem;
  margin-bottom: 1rem;
  border-left: 6px solid #d9534f;
  border-radius: 8px;
  font-size: 1rem;
}

.contenedorImagen{
  text-align: center; 
  margin-top: 10px;
}

.imagen-producto{
   display: inline-block;
    background-color: #fff;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.imagen-producto:hover {
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  transform: translateY(-6px);
}
.imagen{
  width: 250px; 
  height: auto;
  border-radius: 12px;
}
.imagenEsele{
  width: 200px; 
  height: auto;
  border-radius: 12px;
}

.imagenChinfoodNF{
  width: 160px;
  height: auto;
  border-radius: 12px;
}
.parrafoAminosuc{ 
  color: #c0392b;
  font-weight: bold;
  background-color: #e6ebfa;
  padding: 2px 6px;
  border-radius: 4px;
}

.parrafoChinfood{
  color: #1f3aa6;
  font-weight: bold;
  background-color: #e6ebfa;
  padding: 2px 6px;
  border-radius: 4px;
}

.parrafoEsele {
  color: #d92626;
  font-weight: bold;
  background-color: #fceaea;
  padding: 2px 6px;
  border-radius: 4px;
}

.contenedorProducto{
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 25px;
}


.titulo-gradient-esele {
 background: linear-gradient(90deg, #e53935, #b71c1c);
  color: white;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 1.8rem;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  margin-bottom: 25px;
}

.titulo-gradient-aminosuc {
 background: linear-gradient(90deg, #ff6f00, #d4620c);
  color: white;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 1.8rem;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  margin-bottom: 25px;
}

.titulo-gradient-chinfood {
background: linear-gradient(90deg, #0d47a1, #001f54);
  color: white;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 1.8rem;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  margin-bottom: 25px;
}


.disclaimer {
  margin-top: 30px;
  padding: 15px;
  background: #fff3cd;
  border: 1px solid #ffeeba;
  border-radius: 5px;
  color: #856404;
  text-align: center;
  font-size: 15px;
}
.disclaimer a {
  color: #b30000;
  font-weight: bold;
}






/* ---------FOOTER------------------- */
.contenedorPadreFooter{
  display: flex;
  flex-direction: column;
  margin-top: 75px;
  height: 100%;
  width: 100%;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  padding-top: 50px;
}

.tituloFooter{
  margin-bottom: 45px;
  color: black;
  font-size: 40px;
}

.contenedorContenido{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  padding: 35px;
}

.contenedorFooterIzquierda{
  display: flex;
  flex-direction: column;
  gap: 35px;
}
.contenedorFooterIzquierda2{
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.subtituloFooter{
  color:#ff0000;
  font-size: 20px;
}

.contenedorTelefono{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.bi-telephone{
  font-size: 25px
}

.contenedorMail{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}

.bi-envelope{
  font-size: 25px
}

.contenedorFooterIzquierda3{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contenedorRedesSociales{
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.contenedorRedesSociales i{
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  width: 40px;
  height: 40px;
  color: white;
  background-color: black;
  border-radius: 50%;
  cursor: pointer;
}

.contenedorRedesSociales i:hover{
  background-color: #fa3131;
}

.contenedorFooterMedio{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.inputEmailFooter{
  height: 20px;
  padding: 10px;
  border: none;
  outline: none;
  width: 250px;
}

.inputBoton{
 background-color: black;
 width: 100px;
 height: 40px;
 font-size: small;
 padding-bottom: 10px;
 margin-bottom: 20px;
 margin-right: 10px;
}

.contenedorInput{
  display: flex;
  align-items: center;
  height: 50px;
  width: 350px;
  border: 1px black solid;
  border-radius: 5px;
  overflow: hidden;
}

.inputEmailFooter2{
  height: 35px;
  width: 335px;
  border: 1px solid black;
}
.contenedorFooterDerecha{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.iframeFooter{
  height: 250px;
  width: 325px;
}

.contenedorGeo{
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.bi-geo-alt{
  font-size: 25px;
}

.contenedorPadreFooter p{
  font-size: 17px;
}


.contenedorAbajoFooter{
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  gap: 15px;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  margin-bottom: 50px;
}

.contenedorAbajoImg{
  display: flex;
  justify-content: center;
  align-items: center;
}

}


@media(min-width:700px) and (max-width: 1119px){

/* -------------------------HEADER-------------------------- */

.bi-list{
  display: none;
  font-size: 25px;
  cursor: pointer;
}
.bi-x-lg{
  display: none;
}

.contenedorHeader {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  padding: 10px 20px;
}


.contenedorEnlaces{
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.enlaces{
  color: black;
  text-decoration: none;
  font-size: 15px;
}

.enlaces:hover{
  color: #ff0000;
}

.contenedorFolleto{
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
}

.bi-chevron-down{
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}
.contenedorFolleto:hover{
  color: #ff0000;
}


.img-logo{
  height: 50px;
  width: 50px;
}





/* ----------------MAIN----------------------- */
.container {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  width: 750px;
  margin: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  margin-top: 100px;
}

h1 {
  text-align: center;
  color: #b30000;
}

label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

input, select {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

button {
  margin-top: 20px;
  width: 100%;
  padding: 10px;
  background-color: #b30000;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btnToggleGrafico{
    margin-top:20px;
   
    padding : 10px;
    background-color : #b30000;
    color :white;
    font-size : 16px;
    border :none;
    border-radius :5px;
    cursor :pointer;
}

#resultados {
  margin-top: 50px;
}
.contenedor-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
  padding: 0 10px;
}

.card-nutriente {
   position: relative;
  background: white;
  border-radius: 12px;
 height: 200px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  padding: 20px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.5s ease, transform 0.5s ease;
  cursor: pointer;
}

.card-nutriente:hover {
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  transform: translateY(-6px);
}

.card-nutriente.voltear{
  transform: rotateY(180deg);
}

.parrafoCardVolteado{
  transform: rotateY(180deg);
  font-size: 5px;
}

.bi-plus-circle {
  position: absolute;
  left: 145px;
  top: 5px;
  color: rgb(252, 66, 66);
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 1;
  transition: transform 0.3s ease;
}

.bi-plus-circle:hover{
  color: red;
}


.card-volteada {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: rotateY(180deg);
}

.contenedorTitulo{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap:5px;
 
}
.contenedorNumAtomicoYSig{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.numeroAtomico{
  font-size: xx-small;
  font-weight: bold;
  color: #c1121f;
}
.signoPeriodicoCard{
  font-weight: bold;
  color: #0a2f5c;
}



.titulo-volteado {
  font-size: 18px;
  text-align: center;
}

.contenido-volteado {
  font-size: 14px;
  color: rgb(49, 49, 49);
  line-height: 1.5;
}


.card-nutriente h4 {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #1d3557;
}

.pCardNutriente{
   font-size: 0.95rem;
  margin: 6px 0;
  color: #555;
}


.aporte {
  color:  #ff0000;
  font-weight: 600;
}

.requerido {
  color: rgb(49, 49, 49);
  font-weight: 600;
}

.toxicidad {
  color: grey;
  font-weight: 600;
}



.graficoComparacion{
  margin-top: 50px;
}

.graficoToxicidad{
  margin-top: 50px;
}



.toxico {
  background-color: #ffe5e5;
}

.alerta-tox {
  background-color: #ffdb58;
  color: #333;
  padding: 1rem;
  margin-bottom: 1rem;
  border-left: 6px solid #d9534f;
  border-radius: 8px;
  font-size: 1rem;
}

.contenedorImagen{
  text-align: center; 
  margin-top: 10px;
}

.imagen-producto{
   display: inline-block;
    background-color: #fff;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.imagen-producto:hover {
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  transform: translateY(-6px);
}
.imagen{
  width: 250px; 
  height: auto;
  border-radius: 12px;
}
.imagenEsele{
  width: 200px; 
  height: auto;
  border-radius: 12px;
}

.imagenChinfoodNF{
  width: 160px; 
  height: auto;
  border-radius: 12px;
}
.parrafoAminosuc{ 
  color: #c0392b;
  font-weight: bold;
  background-color: #e6ebfa;
  padding: 2px 6px;
  border-radius: 4px;
}

.parrafoChinfood{
  color: #1f3aa6;
  font-weight: bold;
  background-color: #e6ebfa;
  padding: 2px 6px;
  border-radius: 4px;
}

.parrafoEsele {
  color: #d92626;
  font-weight: bold;
  background-color: #fceaea;
  padding: 2px 6px;
  border-radius: 4px;
}

.contenedorProducto{
  display: flex;
  flex-direction: column;
  gap: 25px;
}


.titulo-gradient-esele {
 background: linear-gradient(90deg, #e53935, #b71c1c);
  color: white;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 1.8rem;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  margin-bottom: 25px;
}

.titulo-gradient-aminosuc {
 background: linear-gradient(90deg, #ff6f00, #d4620c);
  color: white;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 1.8rem;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  margin-bottom: 25px;
}

.titulo-gradient-chinfood {
background: linear-gradient(90deg, #0d47a1, #001f54);
  color: white;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 1.8rem;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  margin-bottom: 25px;
}


.disclaimer {
  margin-top: 30px;
  padding: 15px;
  background: #fff3cd;
  border: 1px solid #ffeeba;
  border-radius: 5px;
  color: #856404;
  text-align: center;
  font-size: 15px;
}
.disclaimer a {
  color: #b30000;
  font-weight: bold;
}










/* ---------FOOTER------------------- */
.contenedorPadreFooter{
  display: flex;
  flex-direction: column;
  margin-top: 75px;
  height: 100%;
  width: 100%;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  padding-top: 50px;
}

.tituloFooter{
  margin-bottom: 45px;
  color: black;
  font-size: 40px;
}

.contenedorContenido{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 90px;
  padding: 35px;
}

.contenedorFooterIzquierda{
  display: flex;
  flex-direction: column;
  gap: 35px;
}
.contenedorFooterIzquierda2{
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.subtituloFooter{
  color:#ff0000;
  font-size: 20px;
}

.contenedorTelefono{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.bi-telephone{
  font-size: 25px
}

.contenedorMail{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}

.bi-envelope{
  font-size: 25px
}

.contenedorFooterIzquierda3{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contenedorRedesSociales{
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.contenedorRedesSociales i{
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  width: 40px;
  height: 40px;
  color: white;
  background-color: black;
  border-radius: 50%;
  cursor: pointer;
}

.contenedorRedesSociales i:hover{
  background-color: #fa3131;
}

.contenedorFooterMedio{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.inputEmailFooter{
  height: 20px;
  padding: 10px;
  border: none;
  outline: none;
  width: 250px;
}

.inputBoton{
 background-color: black;
 width: 100px;
 height: 40px;
 font-size: small;
 padding-bottom: 10px;
 margin-bottom: 20px;
 margin-right: 10px;
}

.contenedorInput{
  display: flex;
  align-items: center;
  height: 50px;
  width: 350px;
  border: 1px black solid;
  border-radius: 5px;
  overflow: hidden;
}

.inputEmailFooter2{
  height: 35px;
  width: 335px;
  border: 1px solid black;
}
.contenedorFooterDerecha{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.iframeFooter{
  height: 250px;
  width: 325px;
}

.contenedorGeo{
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.bi-geo-alt{
  font-size: 25px;
}

.contenedorPadreFooter p{
  font-size: 17px;
}


.contenedorAbajoFooter{
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  gap: 15px;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.contenedorAbajoImg{
  display: flex;
  justify-content: center;
  align-items: center;
}


}


@media(min-width:400px) and (max-width: 699px){

/* -------------------------HEADER-------------------------- */
@keyframes deslizarDesdeDerecha {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.contenedorHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  padding: 10px 20px;
}

.bi-list{
  font-size: 25px;
  cursor: pointer;
  margin-right: 75px;
}
.bi-list.oculto{
  display: none;
}




.contenedorEnlaces.modo-responsive {
  position: fixed;
  top: 0;
  right: -230px;
  width: 70vh;
  height: 100vh;
  background-color: white;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  transition: right 0.4s ease-in-out;
  z-index: 1000;
  animation: deslizarDesdeDerecha 0.4s ease-out forwards;
}

.contenedorEnlaces{
  display: none;
}
.enlaces{
  color: black;
  text-decoration: none;
  font-size: 12px;
}

.enlaces:hover{
  color: #ff0000;
}

.contenedorFolleto{
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
}

.bi-chevron-down{
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}
.contenedorFolleto:hover{
  color: #ff0000;
}


.img-logo{
  height: 50px;
  width: 50px;
  margin-left: 75px;
}



/* ----------------MAIN----------------------- */
.container {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  width: 450px;
  margin: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  margin-top: 100px;
}

h1 {
  text-align: center;
  color: #b30000;
  font-size: 25px;
}

label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

input, select {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

button {
  margin-top: 20px;
  width: 100%;
  padding: 10px;
  background-color: #b30000;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.btnToggleGrafico{
    margin-top:20px;
    width :100%;
    padding : 10px;
    background-color : #b30000;
    color :white;
    font-size : 16px;
    border :none;
    border-radius :5px;
    cursor :pointer;
}

#resultados {
  margin-top: 50px;
}
.contenedor-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 20px;
 
}

.card-nutriente {
  position: relative;
  background: white;
  border-radius: 12px;
 height: 200px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  padding: 20px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.5s ease, transform 0.5s ease;
  cursor: pointer;
}

.card-nutriente:hover {
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  transform: translateY(-6px);
}

.card-nutriente.voltear{
  transform: rotateY(180deg);
}

.parrafoCardVolteado{
  transform: rotateY(180deg);
  font-size: 5px;
}

.bi-plus-circle {
 position: absolute;
  left: 145px;
  top: 5px;
  color: rgb(252, 66, 66);
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 1;
  transition: transform 0.3s ease;
}

.bi-plus-circle:hover{
  color: red;
}


.card-volteada {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: rotateY(180deg);
}

.contenedorTitulo{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap:5px;
 
}
.contenedorNumAtomicoYSig{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.numeroAtomico{
  font-size: xx-small;
  font-weight: bold;
  color: #c1121f;
}
.signoPeriodicoCard{
  font-weight: bold;
  color: #0a2f5c;
}



.titulo-volteado {
  font-size: 18px;
  text-align: center;
}

.contenido-volteado {
  font-size: 12px;
  color: rgb(49, 49, 49);
  line-height: 1.5;
}


.card-nutriente h4 {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #1d3557;
}

.pCardNutriente{
   font-size: 0.95rem;
  margin: 6px 0;
  color: #555;
}


.aporte {
  color:  #ff0000;
  font-weight: 600;
}

.requerido {
  color: rgb(49, 49, 49);
  font-weight: 600;
}

.toxicidad {
  color: grey;
  font-weight: 600;
}



.graficoComparacion{
  margin-top: 50px;
}

.graficoToxicidad{
  margin-top: 50px;
}



.contenedorImagen{
  text-align: center; 
  margin-top: 10px;
}

.imagen-producto{
   display: inline-block;
    background-color: #fff;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.imagen-producto:hover {
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  transform: translateY(-6px);
}
.imagen{
  width: 250px; 
  height: auto;
  border-radius: 12px;
}
.imagenEsele{
  width: 200px; 
  height: auto;
  border-radius: 12px;
}
.imagenChinfoodNF{
   width: 160px; 
  height: auto;
  border-radius: 12px;
}
.parrafoAminosuc{ 
  color: #c0392b;
  font-weight: bold;
  background-color: #e6ebfa;
  padding: 2px 6px;
  border-radius: 4px;
}

.parrafoChinfood{
  color: #1f3aa6;
  font-weight: bold;
  background-color: #e6ebfa;
  padding: 2px 6px;
  border-radius: 4px;
}

.parrafoEsele {
  color: #d92626;
  font-weight: bold;
  background-color: #fceaea;
  padding: 2px 6px;
  border-radius: 4px;
}

.contenedorProducto{
  display: flex;
  flex-direction: column;
  gap: 25px;
}


.titulo-gradient-esele {
 background: linear-gradient(90deg, #e53935, #b71c1c);
  color: white;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  margin-bottom: 15px;
  margin-top: 15px;
}

.titulo-gradient-aminosuc {
 background: linear-gradient(90deg, #ff6f00, #d4620c);
  color: white;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  margin-bottom: 15px;
  margin-top: 15px;
}

.titulo-gradient-chinfood {
background: linear-gradient(90deg, #0d47a1, #001f54);
  color: white;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 20px;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  margin-bottom: 15px;
  margin-top: 15px;
}



.disclaimer {
  width: auto;
  margin-top: 30px;
  padding: 15px;
  background: #fff3cd;
  border: 1px solid #ffeeba;
  border-radius: 5px;
  color: #856404;
  text-align: center;
  font-size: 12px;
}
.disclaimer a {
  color: #b30000;
  font-weight: bold;
}






/* ---------FOOTER------------------- */
.contenedorPadreFooter{
  display: flex;
  flex-direction: column;
  margin-top: 75px;
  height: 100%;
  width: 100%;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  padding-top: 50px;
}

.tituloFooter{
  margin-bottom: 45px;
  color: black;
  font-size: 40px;
}

.contenedorContenido{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 90px;
  padding: 35px;
}

.contenedorFooterIzquierda{
  display: flex;
  flex-direction: column;
  gap: 35px;
}
.contenedorFooterIzquierda2{
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.subtituloFooter{
  color:#ff0000;
  font-size: 20px;
}

.contenedorTelefono{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.bi-telephone{
  font-size: 25px
}

.contenedorMail{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}

.bi-envelope{
  font-size: 25px
}

.contenedorFooterIzquierda3{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contenedorRedesSociales{
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.contenedorRedesSociales i{
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  width: 40px;
  height: 40px;
  color: white;
  background-color: black;
  border-radius: 50%;
  cursor: pointer;
}

.contenedorRedesSociales i:hover{
  background-color: #fa3131;
}

.contenedorFooterMedio{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.inputEmailFooter{
  height: 20px;
  padding: 10px;
  border: none;
  outline: none;
  width: 250px;
}

.inputBoton{
 background-color: black;
 width: 100px;
 height: 40px;
 font-size: small;
 padding-bottom: 10px;
 margin-bottom: 20px;
 margin-right: 10px;
}

.contenedorInput{
  display: flex;
  align-items: center;
  height: 50px;
  width: 350px;
  border: 1px black solid;
  border-radius: 5px;
  overflow: hidden;
}

.inputEmailFooter2{
  height: 35px;
  width: 335px;
  border: 1px solid black;
}
.contenedorFooterDerecha{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.iframeFooter{
  height: 250px;
  width: 325px;
}

.contenedorGeo{
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.bi-geo-alt{
  font-size: 25px;
}

.contenedorPadreFooter p{
  font-size: 17px;
}


.contenedorAbajoFooter{
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  gap: 15px;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.contenedorAbajoImg{
  display: flex;
  justify-content: center;
  align-items: center;
}


}


@media (max-width: 399px){

/* -------------------------HEADER-------------------------- */
@keyframes deslizarDesdeDerecha {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.contenedorHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  padding: 10px 20px;
}

.bi-list{
  font-size: 25px;
  cursor: pointer;
  margin-right: 25px;
}
.bi-list.oculto{
  display: none;
}




.contenedorEnlaces.modo-responsive {
  position: fixed;
  top: 0;
  right: -160px;
  width: 50vh;
  height: 100vh;
  background-color: white;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  transition: right 0.4s ease-in-out;
  z-index: 1000;
  animation: deslizarDesdeDerecha 0.4s ease-out forwards;
}

.contenedorEnlaces{
  display: none;
}
.enlaces{
  color: black;
  text-decoration: none;
  font-size: 12px;
}

.enlaces:hover{
  color: #ff0000;
}

.contenedorFolleto{
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
}

.bi-chevron-down{
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}
.contenedorFolleto:hover{
  color: #ff0000;
}


.img-logo{
  height: 50px;
  width: 50px;
  margin-left: 25px;
}



/* ----------------MAIN----------------------- */
.container {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  width: 450px;
  margin: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  margin-top: 100px;
}

h1 {
  text-align: center;
  color: #b30000;
  font-size: 25px;
}

label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

input, select {
  width: 100%;
  padding: 8px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

button {
  margin-top: 20px;
  width: 100%;
  padding: 10px;
  background-color: #b30000;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btnToggleGrafico{
    margin-top:20px;
    width :100%;
    padding : 10px;
    background-color : #b30000;
    color :white;
    font-size : 14px;
    border :none;
    border-radius :5px;
    cursor :pointer;
}

#resultados {
  margin-top: 50px;
}
.contenedor-cards {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  margin-top: 20px;
  padding: 0 10px;
}

.card-nutriente {
  position: relative;
  background: white;
  border-radius: 12px;
 height: 200px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  padding: 20px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: box-shadow 0.5s ease, transform 0.5s ease;
  cursor: pointer;
}

.card-nutriente:hover {
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  transform: translateY(-6px);
}

.card-nutriente.voltear{
  transform: rotateY(180deg);
}

.parrafoCardVolteado{
  transform: rotateY(180deg);
  font-size: 5px;
}

.bi-plus-circle {
  position: absolute;
  left: 210px;
  top: 5px;
  color: rgb(252, 66, 66);
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 1;
  transition: transform 0.3s ease;
}

.bi-plus-circle:hover{
  color: red;
}


.card-volteada {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: rotateY(180deg);
}

.contenedorTitulo{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap:5px;
 
}
.contenedorNumAtomicoYSig{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}

.numeroAtomico{
  font-size: xx-small;
  font-weight: bold;
  color: #c1121f;
}
.signoPeriodicoCard{
  font-weight: bold;
  color: #0a2f5c;
}



.titulo-volteado {
  font-size: 18px;
  text-align: center;
}

.contenido-volteado {
  font-size: 14px;
  color: rgb(49, 49, 49);
  line-height: 1.5;
}


.card-nutriente h4 {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #1d3557;
}

.pCardNutriente{
   font-size: 0.95rem;
  margin: 6px 0;
  color: #555;
}


.aporte {
  color:  #ff0000;
  font-weight: 600;
}

.requerido {
  color: rgb(49, 49, 49);
  font-weight: 600;
}

.toxicidad {
  color: grey;
  font-weight: 600;
}



.graficoComparacion{
  margin-top: 50px;
}

.graficoToxicidad{
  margin-top: 50px;
}



.contenedorImagen{
  text-align: center; 
  margin-top: 10px;
}

.imagen-producto{
   display: inline-block;
    background-color: #fff;
    padding: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.imagen-producto:hover {
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  transform: translateY(-6px);
}
.imagen{
  width: 200px; 
  height: auto;
  border-radius: 12px;
}
.imagenEsele{
  width: 200px; 
  height: auto;
  border-radius: 12px;
}

.imagenChinfoodNF{
   width: 160px; 
  height: auto;
  border-radius: 12px;
}
.parrafoAminosuc{ 
  color: #c0392b;
  font-weight: bold;
  background-color: #e6ebfa;
  padding: 2px 6px;
  border-radius: 4px;
}

.parrafoChinfood{
  color: #1f3aa6;
  font-weight: bold;
  background-color: #e6ebfa;
  padding: 2px 6px;
  border-radius: 4px;
}

.parrafoEsele {
  color: #d92626;
  font-weight: bold;
  background-color: #fceaea;
  padding: 2px 6px;
  border-radius: 4px;
}

.contenedorProducto{
  display: flex;
  flex-direction: column;
  gap: 25px;
}


.titulo-gradient-esele {
 background: linear-gradient(90deg, #e53935, #b71c1c);
  color: white;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  margin-bottom: 15px;
  margin-top: 15px;
}

.titulo-gradient-aminosuc {
 background: linear-gradient(90deg, #ff6f00, #d4620c);
  color: white;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  margin-bottom: 15px;
  margin-top: 15px;
}

.titulo-gradient-chinfood {
background: linear-gradient(90deg, #0d47a1, #001f54);
  color: white;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: bold;
  font-family: 'Roboto', sans-serif;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  margin-bottom: 15px;
  margin-top: 15px;
}

.disclaimer {
  width: 300px;
  margin-top: 30px;
  padding: 15px;
  background: #fff3cd;
  border: 1px solid #ffeeba;
  border-radius: 5px;
  color: #856404;
  text-align: center;
  font-size: 12px;
}
.disclaimer a {
  color: #b30000;
  font-weight: bold;
}













/* ---------FOOTER------------------- */
.contenedorPadreFooter{
  display: flex;
  flex-direction: column;
  margin-top: 75px;
  height: 100%;
  width: 100%;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  padding-top: 50px;
}

.tituloFooter{
  margin-bottom: 45px;
  color: black;
  font-size: 26px;
}

.contenedorContenido{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 90px;
  padding: 35px;
}

.contenedorFooterIzquierda{
  display: flex;
  flex-direction: column;
  gap: 35px;
}
.contenedorFooterIzquierda2{
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.subtituloFooter{
  color:#ff0000;
  font-size: 15px;
}


.contenedorTelefono{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.bi-telephone{
  font-size: 15px
}

.contenedorMail{
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}

.bi-envelope{
  font-size: 15px
}

.contenedorFooterIzquierda3{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contenedorRedesSociales{
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.contenedorRedesSociales i{
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  width: 30px;
  height: 30px;
  color: white;
  background-color: black;
  border-radius: 50%;
  cursor: pointer;
}

.contenedorRedesSociales i:hover{
  background-color: #fa3131;
}

.contenedorFooterMedio{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.inputEmailFooter{
  height: 20px;
  padding: 10px;
  border: none;
  outline: none;
  width: 200px;
}

.inputBoton{
 background-color: black;
 width: 100px;
 height: 40px;
 font-size: small;
 padding-bottom: 10px;
 margin-bottom: 20px;
 margin-right: 10px;
}

.contenedorInput{
  display: flex;
  align-items: center;
  height: 50px;
  width: 350px;
  border: 1px black solid;
  border-radius: 5px;
  overflow: hidden;
}

.inputEmailFooter2{
  height: 35px;
  width: 335px;
  border: 1px solid black;
}
.contenedorFooterDerecha{
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.iframeFooter{
  height: 250px;
  width: 325px;
}

.contenedorGeo{
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.bi-geo-alt{
  font-size: 15px;
}

.contenedorPadreFooter p{
  font-size: 13px;
}


.contenedorAbajoFooter{
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  gap: 15px;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.contenedorAbajoImg{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.parrafoCopyright{
  font-size: 13px;
}

}