body {
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #d91f29 20px, white 20px) !important;
}

body,
html {
  overflow-x: hidden;
  
}
/*Efecto de Carga de imagenes*/
 img {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
img.loaded {
  opacity: 1;
} 
.premios-carousel .carousel-control-prev-icon,
.premios-carousel .carousel-control-next-icon {
  filter: invert(100%);
}


/*Pagina Principal*/

.navbar{
  /*margin-top: 15px;*/
  z-index: 50 !important;
}
.nav-separator {
  position: relative;
}


.barra_media{
  color: white;
  display: flex;
  justify-content: center;
  justify-items: center;
  align-items: center;
}

.navbar-nav .nav-item:last-child::after {
  content: ""; /* Quitar la línea del último elemento */
}



.navbar-nav .nav-link {
  color: white; /* Color del texto para las otras pestañas */
}

.bg-sangabriel {
  background-color: #d91f29;
}
.menuNavbar {
  
  width: 100%;

}

.menuNavbar a {
  text-decoration: none;
  font-weight: bold;
}

.menuNavbar a:hover {
  color: #ffe500;
}

.activar {
  color: #ffe500 !important;
}

.pestana-contactos {
  background-color: #b0050e;
  height: 100%;

  border-radius: 10px;
}

.arriba-img{
  background: linear-gradient(90deg, #c8060a,#fc1b1a, #fc1b1a,#bf030c);
  /*background: #c5020b;*/
  width: 100%;
  height: 9rem;
}
.logo-soalpro{
  width: 21%;
}
.carousel-indicators [data-bs-target] {
  background-color: rgb(177, 177, 177) !important;
  /* Cambiar color de fondo */
  width: 12px !important;
  /* Cambiar tamaño */
  height: 12px !important;
  border-radius: 50% !important;
  /* Forma circular */
}

.carousel-indicators .active {
  background-color: #ff6600;
  /* Cambiar color del indicador activo */
}

.marcas_principal {
  background-image: url(../../imagenes/FONDO\ MARCAS_Mesa\ de\ trabajo\ 1.webp);
  background-size: contain;
  
}
.marcas_principal img:hover {
  transform: scale(1.2); /* Aplica el efecto de zoom */
}
.marcas_principal img{
  transition: transform 0.3s ease;
  width: 72%;
}

.marcas_principal_titulo {
  padding-top: 2rem;
  margin-bottom: -30px;
  font-weight: bold;
  font-size: 1.8rem;
  color: #0a4f97;
}
.radio{
  position: relative;
}
.radio-play{
  position: absolute;
  bottom: 1rem;
  left: 40%;
}


.primera-principal {
  position: relative;
  overflow: hidden; /* Asegura que la imagen no se salga del contenedor */
}

.primera-principal img {
  transition: transform 0.9s ease; /* Suaviza el efecto de zoom */
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(88, 137, 181, 0.5); /* Capa azul con transparencia */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0; /* Oculta el overlay inicialmente */
  transition: opacity 0.9s ease; /* Suaviza la transición */
}

.primera-principal:hover .overlay {
  opacity: 1; /* Muestra el overlay al pasar el mouse */
}

.primera-principal:hover img {
  transform: scale(1.1); /* Escala la imagen al pasar el mouse */
}

.overlay h1 {
  color: white;
  font-weight: bold;
  font-size: 2rem;
  text-align: center;
}




.pie-pagina {
  background-color: #d91f29;
}

.pie-pagina h3 {
  color: white;
  font-weight: bold;
  font-size: 1.3rem;
}

.pie-pagina h4 {
  color: white;
  font-weight: bold;
  font-size: 1rem;
}

.pie-pagina h5 {
  color: white;
  font-size: 0.8rem;
}

.pie-pagina .iconos img{
  width: 70%;
}
.consejos :hover{
  cursor: pointer;
}
/*Fin Pagina Principal*/


/* Inicio Quienes Somos */
.nacimiento {
  position: relative;
}

.nacimiento-texto {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  background-color: rgba(27, 125, 211, 0.2);
  height: 100%;

  display: flex; 
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;

  /* Inicialmente oculto y desplazado hacia la derecha */
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.5s ease, transform 0.5s ease; /* Transición para la animación */
}
.nacimiento-texto-movil {
  background-color: #91cdf1;
  height: 100%;
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Cuando se hace visible, animación para el contenedor */
.nacimiento-texto.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Estilos para el título y párrafo dentro del contenedor */
.nacimiento-texto .nacimiento-texto-titulo,
.nacimiento-texto p {
  /* Estilos base aplicados desde el principio */
  color: white; /* Color aplicado por defecto */
  font-size: 2rem;
  padding: 0 10% 0 10%;
  
  opacity: 0;
  transform: translateX(50%);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.nacimiento-texto-movil .nacimiento-texto-titulo-movil,
.nacimiento-texto p {
  /* Estilos base aplicados desde el principio */
  color: white; /* Color aplicado por defecto */
  font-size: 22px;
  padding: 0 10% 0 10%;

}

.nacimiento-texto-titulo label{
  opacity: 0.5;
}


/* Animación en cadena para los elementos internos */
.nacimiento-texto.visible .nacimiento-texto-titulo {
  opacity: 1;
  font-size: 3.5rem;
  transform: translateX(0);
  transition-delay: 0.3s; /* Retraso para el título */
}
.nacimiento-texto.visible .nacimiento-texto-titulo-nacimiento{
  font-size: 2.5rem;
}

.nacimiento-texto.visible p {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.6s; /* Retraso para el párrafo */
}

/* Estilos adicionales si es necesario */
.nacimiento-texto-panaderia {
  font-weight: bold;
  display: inline;
}

.nacimiento-texto-titulo {
  font-weight: bold;
  margin-bottom: 40px;
  opacity: 0.9;
}

.nacimiento-texto-titulo-nacimiento {
  color: #0f0e2c;
  opacity: 0.8;
}




/*Inicio Principio*/

.primero{
  background-image: url(../../imagenes/quienes_somos/principios/FONDO\ VALORES_1.webp);
  background-size: cover; /* La imagen cubrirá todo el contenedor */
  background-position: center; /* La imagen estará centrada */
  background-repeat: no-repeat;
}


/*Fin Principios*/
/*Inicio Premios*/
.premios{
 text-align: center;
}

.premios label{
  font-size: 220%;
  padding: 0 5rem;
  color: #696973;
  text-align: center;
  font-weight: bold;
}
.carousel-premios img{
  width: 50%;
}
/*Fin Premios*/

/*Inicio Marcas*/
.titulo-marcas{
  margin: 2rem 0;
}
.marcas-panaderia img{
  transition: transform 0.5s ease;
  width: 70%;
}
.marcas-panaderia img:hover{
  transform: scale(1.1);
}

/*Fin Marcas*/

/* Fin Quienes Somos */
/* Inicio Nuestras Marcas */
.san-gabriel{
  background-color: #d91f29;
}
.kream{
  background-color: #0b3778;
}
.vida-sana{
  background-color: #f95722;
}

/* Fin Nuestras Marcas */


/*Inicio Facil y rico*/

.facil-rico img{
  width: 80%;
  transition: transform 0.5s ease;
}
.facil-rico img:hover{
  transform: scale(1.1);
}

.facil-rico-final img{
  transition: transform 0.5s ease;
}

.facil-rico-final img:hover{
  transform: scale(1.1);
}

/*Fin Facil y rico*/





























/* animacion */
.animacion{
  height: 90vh;

  background-image: url(../../imagenes/animacion/fondo-solidos.jpg);
  background-size: cover; /* La imagen cubrirá todo el contenedor */
  background-position: center; /* La imagen estará centrada */
  background-repeat: no-repeat;
  position: relative;
}
.animacion2{
  width: 100%;

  background-image: url(../../imagenes/animacion/fondo-liquidos.jpg);
  background-size: cover; /* La imagen cubrirá todo el contenedor */
  background-position: center; /* La imagen estará centrada */
  background-repeat: no-repeat;
  position: relative;
}
.animacion-grande{
 max-height: 50vh !important;
  position: relative;
  z-index: 2;
}
.animacion-secundaria{
  height: 30vh !important;
  max-height: 30vh !important;
}
.animacion-grande img{
  /* width: 100%; */
}
.circulo{
  width: 190% !important;
  position: absolute;
  /* top: -110%; */
  bottom: 20%;
  left: -95%;
  height: auto;
  z-index: -2;

}



.animacion-productos{



  z-index: 50;
}
.animacion-productos img{
  
  rotate: -40deg;
  width: 100%;
}
.animacion-productos a label{
  margin-top: -5rem !important;
  color: white;
  font-size: 1.5rem;
  font-family:'Times New Roman', Times, serif;
}
.animacion-productos-tradicionales{


text-align: center;
  z-index: 50;
}
.animacion-productos-tradicionales img{
  max-width: 100%;
  width: auto;


  max-height: 33vh;
}
.animacion-productos-tradicionales label{

  color: white;
  font-family:'Times New Roman', Times, serif;
}
.animacion-productos-crick{



  z-index: 50;
}
.animacion-productos-crick img{
  

  width: 100%;
}
.animacion-productos-crick a label{
  margin-top: -5rem !important;
  color: white;
  font-size: 1.5rem;
  font-family:'Times New Roman', Times, serif;
}

.capa{
  width: 13%;
  height: 60%;
  background-color: #9d9d9d;
  opacity: 0.3;
  position: absolute;
  bottom: 3.5rem;
  left: 7rem;
  border-radius: 20%;
}
.texto-animacion{
  min-height: 70vh;
}
.texto{
  color: white;
}
.texto label{
  font-size: 7vh;
  line-height: 1;
  font-family: serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.texto p{
  margin-top: -1rem;
  font-size: 1.5rem;
  font-weight: bold;
  font-family: cursive;
}
.texto img{
  margin-top: -5rem;
  width: 70%;
}
.galletita1{
  width: 25% !important;
  position: absolute;
  top: 0;
  right: 0;
  animation: float 3s ease-in-out infinite;
}
.galletita2{
  width: 18% !important;
  position: absolute;
  bottom: 15%;
  left: 20%;
  rotate: -50deg;
  animation: float 3s ease-in-out infinite;
}
.galletitas-crick .galletita1{
  width: 25% !important;
  position: absolute;
  top: 0;
  left: 15%;
  animation: float 3s ease-in-out infinite;
}
.galletitas-crick .galletita2{
  width: 18% !important;
  position: absolute; 
  bottom: 20%;
  left: 65%;
  rotate: -50deg;
  animation: float 3s ease-in-out infinite;
}

/* Estilos Trabaja */
.trabaja-banner{
  position: relative;
}
.trabaja-banner-texto{
  
  position: absolute;
  top: 20%;
  color: white;
  
}
.trabaja-banner-texto p{
  text-shadow: 3px 3px 10px black;
}
.trabaja-banner-texto h5{
  text-align: center;
  font-weight: bold;
  text-shadow: 3px 3px 10px black;

}
.trabaja-contexto{
  background-color: #2472ce;
  width: 100%;
  height: 90vh;
}
.trabaja-contexto-movil{
  background-color: #2472ce;
  width: 100%;
  height: 60vh;
}
.trabaja-contexto-parrafo{
  color: white;
  /* padding-right: 100px; */
}
.trabaja-contexto a{
  color: #2472ce; 
  background-color: white; 
  border:none; opacity: 1; 
  width: 40vh; 
  padding: 20px 0px;
}
.trabaja-contexto a:hover{
  color: #16559e; 
  background-color: rgb(239, 239, 239); 
  border:none; 
}
.trabaja-contexto-pronto-movil a{
  color: #2472ce; 
  background-color: white; 
  border:none; opacity: 1; 
  width: 40vh; 
  padding: 10px 0px;
}
.trabaja-contexto-pronto-movil a:hover{
  color: #16559e; 
  background-color: rgb(239, 239, 239); 
  border:none; 
}

/* Animación de rebote */
@keyframes bounceIn {
  0% {
    transform: translateY(1000px);
    opacity: 0;
  }
  60% {
    transform: translateY(-30px);
    opacity: 1;
  }
  80% {
    transform: translateY(10px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Animación para entrar desde la derecha */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Animación para entrar desde la izquierda */
@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes float {
  0% {
    transform: translatey(0);
  }
  50% {
    transform: translatey(-20px); /* Ajusta la altura de la flotación */
  }
  100% {
    transform: translatey(0);
  }
}
/* Estilos para las imágenes */

/*Medias */
@media (max-width: 576px) { 
  .logo-soalpro{
    width: 40%;
  }
  
  .icono-historia img{
    width: 10%;
  }
  .carousel-premios img{
    width: 100%;
  }
  .premios label{
    font-size: 150%;
    padding: 0 0;
   
  }
  
}


@media (max-width: 992px) { 
  .navbar-collapse{
    background-color: #d43258;
    border-radius: 15px;
    padding: 10px;
  }
  .arriba-img{
    height: 6rem;
  }
  .portada{
    height: auto !important;
  }
  .barra_media{
    display: none;
  }
 }