
body{
  margin: 0px;
  font-family: 'calibri';
  color: grey;
  font-size: 16px;
  line-height: 1.5;
}


.headertitle{
  position: relative; /* Posición base para la superposición */
  height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  text-align: center;
  
}

.headertitle::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 175, 185, 0.4);
}

.headertitle h1{
  position: relative; /* Pone el texto por encima de la capa oscura */
  font-size: 2.8em;
  font-weight: bold;
  color: #ffffff;
  z-index: 1;
}


h1 {
  font-size: 42px;
  letter-spacing: 1px;
  font-family: 'Lato', sans-serif;
}

h3{
  font-family: 'Lato', sans-serif;
}

@media screen and (max-width: 600px) {
  h1 {
    font-size: 24px;
  }
}

/* Cookies */

#cookie-banner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 600px;
  background-color: #333;
  color: white;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 800; /* Asegúrate de que el banner esté sobre otros elementos */
}

#cookie-banner a {
  color: #01839b;
  text-decoration: none;
  margin: 0 10px;
}

.cookie-button {
  padding: 10px 20px;
  border: none;
  background-color: #839B01;

  cursor: pointer;
  border-radius: 5px;
}

#accept:target ~ #cookie-banner {
  display: none;
}

/* Menú */
nav {
  background-color: #333;
  overflow: hidden;
  display: flex;
  justify-content: flex-end;
}

nav a {
  color: #f2f2f2;
  text-align: center;
  padding: 16px 18px;
  text-decoration: none;
}

.dropdown {
  display: inline-block;
  overflow: hidden;
}

.dropdown .dropbtn {
  border: none;
  outline: none;
  color: white;
  padding: 16px 18px;
  background-color: inherit;
  margin: 0;
}

nav a:hover, .dropdown:hover .dropbtn {
  background-color: #01839b;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 16px 18px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}


/* cajas */

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
}

.mySlides {
  display: none;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 3s;
  animation-name: fade;
  animation-duration: 3s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* caja 3 columnas (Para la página principal) */
.cajaverde{
    padding: 60px;
    display: flex;
    justify-content:center;
    flex-wrap: wrap;
}

.cajaverde1{
    width: 100%;
    max-width: 350px; 
    height: auto;
    margin: 10px;
    padding: 20px;
    text-align: center;
    align-content: center;
    font-size: 16px;
}

.cajaverde1 img{
    width: 20%;
}

.cajaverde h1{
    color: #839B01;
    font-size: 18px;
}

/* Misión y vision*/

.mision-container{
  display: flex;
  padding: 40px;
  background: linear-gradient(
      115deg,
      #839B01,
      #01839b
    );
  background-size: cover;
  background-repeat: no-repeat;
  justify-content: center;
}

.mision{
  max-width: 800px;
  margin: 10px;
  padding: 10px;
  text-align: center;
  text-align-last: center;
  font-size: 18px;
  color:white;
  display: flex;
  flex-direction: column;
}


/* CuALIDADES */

.galeria{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 50px;
}
.snip1584 {
  position: relative;
  display: inline-block;
  overflow: hidden;
  margin: 30px;
  min-width: 330px;
  max-width: 415px;
  color: #ffffff;
  font-size: 16px;
  text-align: left;
  box-shadow: 6px 8px 8px 2px rgba(201, 201, 201, 0.4);;
  border-radius: 4%;
}
.snip1584 * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
.snip1584:before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 10px;
  right: 10px;
  top: 100%;
  content: '';
  background-color: rgba(51, 51, 51, 0.9);
  -webkit-transition: all 0.25s ease;
  transition: all 0.25s ease;
  -webkit-transition-delay: 0.25s;
  transition-delay: 0.25s;
  border-radius: 4%;
}
.snip1584 img {
  vertical-align: top;
  max-width: 100%;
  height: 350px;
  backface-visibility: hidden;
  object-fit: cover;
}
.snip1584 figcaption {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.snip1584 h3,
.snip1584 h5 {
  margin: 0;
  opacity: 0;
  letter-spacing: 1px;
}
.snip1584 h3 {
  background-color: #839B01;
  padding: 3px 10px;
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
  text-transform: uppercase;
  font-weight: 400;
  -webkit-transition-delay: 0.05s;
  transition-delay: 0.05s;
  margin-bottom: 5px;
}
.snip1584 h5 {
  font-weight: normal;
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
  text-align: center;
  padding: 10px;
}
.snip1584 a {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
.snip1584:hover:before,
.snip1584.hover:before {
  top: 10px;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
}
.snip1584:hover h3,
.snip1584.hover h3,
.snip1584:hover h5,
.snip1584.hover h5 {
  -webkit-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
}
.snip1584:hover h3,
.snip1584.hover h3 {
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
}
.snip1584:hover h5,
.snip1584.hover h5 {
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}

/* HEADER DIFERENT PAGE */
.headertitle {
  position: relative;
  text-align: center;
  color: #fff;
}

.imagenheadertitle {
  width: 100%;
  height: auto;
}

.textheadertitle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  text-shadow: 2px 2px 2px rgba(87, 87, 87, 0.7);
}

/* QUIENES SOMOS (VIDEO) */
.contenedor {
  width: 100%; 
  margin: 0 auto; 
  position: relative;
}

#videoFondo {
  width: 100%; 
  height: auto; 
}

.contenido {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}

/* Botones unificados en cada sub menú*/


.contenido-articulo {
  max-width: 900px; 
  margin: 40px auto; 
  padding: 20px;
  line-height: 1.7; 
}

.contenido-articulo h1, .contenido-articulo h2 {
  color: #333;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
  margin-top: 30px;
  font-family: 'Lato', sans-serif;
}

.contenido-articulo p, .contenido-articulo li {
  color: #555;
  font-size: 16px;
  text-align: justify; 
}

.contenido-articulo ul {
  list-style-type: disc;
  margin-left: 20px;
  padding-left: 10px;
}

/* Botones */
.boton {
  background-color: #839B01;
  color: aliceblue;
  text-decoration: none;
  padding: 13px 25px;
  margin-top: 25px;
  border-radius:5px;
  display: inline-block; 
}
.boton:hover{
  background-color: #01839b;
}

.action-box {
  text-align: center;
  margin-top: 40px;
  padding: 30px;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.btn-canal {
  display: inline-block;
  background-color: #01839b;
  color: #ffffff;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn-canal:hover {
  background-color: #005a6a;
  color: #ffffff;
}

/* PRODUCTOS */

/* MENÚ PRODUCTOS */

.icono-productos{
  padding: 50px;
  display: flex;
  flex-wrap: nowrap;
  justify-content:center;
  text-decoration: none;
  color:inherit;
}

.productos1:hover img{
  filter: opacity(50%);
}

.productos1{
  width: 100%;
  height: auto;
  margin: 10px;
  text-align: center;
  align-content: center;
  text-decoration: none;
  color:inherit;
}

.productos1 img{
  width: 100%;
}

.productos1 h1{
  font-size: 20px;
}

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

.icono-productos{
    flex-direction: row;  
}

.productos1 h1{
  font-size: 14px;
}
}

#informacion-blister {
  display: none; 
  margin-top: 10px; 
}

#informacion-blister:target {
  display: block; 
}

#informacion-strip {
  display: none; 
  margin-top: 10px; 
}

#informacion-strip:target {
  display: block; 
}

#informacion-sobres {
  display: none; 
  margin-top: 10px; 
}

#informacion-sobres:target {
  display: block; 
}

.informacion{
  display: flex;
  align-items: center;
  margin: 10px;
  padding-left: 60px;
  padding-right: 60px;
}

.texto-blister {
  margin: 50px;
  width: 200px;
  flex: 1; 
  padding-right: 20px;
  font-size: 20px;
}

.texto-blister h2{
  font-size: 36px;
  color: #01839b;
}

.imagenes-blister {
  display: flex; 
}

.imagenes-blister img {
  width: 100%; 
  margin-right: 20px;
  border-radius: 20px;
  justify-content: space-between;
}

.imagen-con-texto {
    position: relative;
    width: 250px; 
    margin-right: 20px;
}

.imagen-con-texto img {
    display: block;
    border-radius: 20px;
    justify-content: space-between;
}

.texto-superpuesto {
    position: absolute;
    width: 100%;
    top: 15px;
    left: 0; 
    color: #F4F4F4;
    text-align: center;
    padding: 5px;
    font-size: 20px;
    font-weight: bold;

}

/* blister */

#info-producto{
  margin: 100px;
}

.texto-producto {
  margin: 50px;
  flex: 1; 
  padding-right: 20px;
  font-size: 20px;
}

.texto-producto h2{
  font-size: 36px;
  color: #01839b;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  margin: 20px auto;
}

.image {
  width: 100%;
  transition: transform 0.3s ease;
}

.image img {
  width: 100%;
  height: auto;
  display: block;
}

.image img:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .gallery {
      grid-template-columns: repeat(2, 1fr); 
  }

  .informacion{
    flex-direction: column;
  }
  .texto-blister {
    width: auto;
    margin: 20px;
    flex: 1; 
    padding-right: 10px;
    font-size: 20px;
  }

}

.boton-volver {
  display: inline-block;
  padding: 10px 20px;
  background-color: #01839b;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  margin-top: 20px;
  position: relative; 
}

/* POLITICA */

.cajapol{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align:justify;
  width: 100%;
  padding: 50px;
}


/* MEDIO AMBIENTE */



/* COMPROMISO DE CALIDAD */

.cards-container{
  display: flex;
  flex-direction: row;
  gap: 30px;
}

.card{
  flex: 1; 
  box-sizing: border-box;
  
 
  background-color: #f8f9fa; 
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center; 
}

.card img {
  width: 60px; 
  height: 60px;
  margin-bottom: 20px; 
}

.card h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.4em;
  color: #333;
}

.card p {
  font-size: 1em;
  line-height: 1.6;
  color: #555;
}

@media (max-width: 768px) {
  .cards-container{
    flex-direction: column;
  }
}


/*CERTIFICADOS */
#certificaciones{
  justify-content: center;
}

.headertitulo {
  display: flex;
  padding: 2.5rem 0 0;
  justify-content: center;
}

.cajacerti{
  padding: 60px;
  display: flex;
  flex-wrap: nowrap;
  justify-content:center;
}

.cajacerti1{
  width: 100%;
  height: auto;
  margin: 10px;
  padding: 20px;
  text-align: center;
  align-content: center;
  font-size: 16px;
  background-color: #F4F4F4;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.cajacerti1 img{
  width: 20%;
}

.cajacerti h1{
  color: #839B01;
  font-size: 18px;
}

@media screen and (max-width: 500px) {
  .cajacerti{
      flex-direction: column;   
  }

}

/* PLANTA Y PRODUCCION */
.box1, .box2 {
  display: flex;
  align-items: center;
  text-align: justify;
  padding: 5% 15%;
  flex-wrap: wrap; /
}

.box2 {
  background-color: #01839b;
  color: #fff;
}

.image {
  flex: 1 1 300px; 
  margin: 10px;
}

.image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.textplanta {
  flex: 1 1 300px; 
  margin: 10px;
  line-height: 1.8;
}

ul.textplanta {
  list-style-type: disc; 
  margin-bottom: 10px; 
}

/*CONTACTOS */
#contacto{
  justify-content: center;
  background-image: url(imagenes/fondo-contacto.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.container {
  width: 100%;
  display: flex;
  flex-wrap: wrap; 
  justify-content: center;
  padding: 0 1rem;
}

.header {
  width: 100%;
  display: flex;
  padding: 2.5rem 0 0;
  justify-content: center;
  color:white;
}

form, .ubicacion {
  flex: 1 1 400px; 
  margin: 1rem;
}

form {
  padding: 1.5rem 0.625rem;
  border-radius: 0.25rem;
}

@media (min-width: 480px) {
  form {
    padding: 2.5rem;
  }
}

.form-group {
  margin: 0 auto 1.25rem auto;
  padding: 0.25rem;
}

.form-control {
  display: block;
  width: 100%;
  height: 2.375rem;
  padding: 0.375rem 0.75rem;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  border-color: #01839b;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(11, 112, 137, 0.25);
}

.input-textarea {
  min-height: 120px;
  width: 100%;
  padding: 0.625rem;
  resize: vertical;
}

.submit-button {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background: #01839b;
  color: white;
  border-radius: 2px;
  cursor: pointer;
}


iframe{
  width: 100%;
  height: 100%;
  min-height: 350px;
}

/*pie de pagina*/

.site-footer {
    background-color: #333; /* Un color oscuro y profesional */
    color: #bdc3c7;
    padding: 40px 0;
    font-size: 0.9em;
}
.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}
.footer-column {
    flex: 1;
    min-width: 200px;
}
.footer-column h4 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #01839b;
    padding-bottom: 10px;
}
.footer-column p, .footer-column address {
    line-height: 1.8;
}
.footer-links, .footer-legal-links {
    list-style: none;
    padding: 0;
}
.footer-links li, .footer-legal-links li {
    margin-bottom: 10px;
}
.site-footer a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}
.site-footer a:hover {
    color: #ffffff;
}
.footer-bottom {
    max-width: 1100px;
    margin: 40px auto 0 auto;
    padding: 20px 20px 0 20px;
    border-top: 1px solid #494949;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-legal-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

/* Adaptación para móviles */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

