/* Estilo del fondo de la página */
.img-principal {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Asegura que el div ocupe toda la pantalla */
  width: 100%;
}

.img-principal img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Asegura que la imagen se ajuste tanto en ancho como en alto sin recortar */
  object-position: center;
}


/* Navbar sticky */
header.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Estilo del header */
.navbar {
  background-color: rgba(255, 255, 255, 0.8); /* Fondo blanco semi-transparente */
}

/* Estilo del hero */
.hero {
  background-image: url('img/hero-background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Footer */
footer {
  margin-top: auto;
  background-color: rgba(0, 0, 0, 0.8); /* Fondo negro semi-transparente */
  color: white;
  padding: 20px 0;
}

/* Estilos generales */
.text-white {
  color: white !important;
}

.redes {
  display: inline-flex;
  list-style: none;
  height: 100%;
  width: 100%;
  padding-top: 100px;
  font-family: "Poppins", sans-serif;
  justify-content: center;
}

.redes .icon {
  position: relative;
  background: #fff;
  border-radius: 50%;
  margin: 10px;
  width: 50px;
  height: 50px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.redes .tooltip {
  position: absolute;
  top: 0;
  font-size: 14px;
  background: #fff;
  color: #fff;
  padding: 5px 8px;
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.redes .tooltip::before {
  position: absolute;
  content: "";
  height: 8px;
  width: 8px;
  background: #fff;
  bottom: -3px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.redes .icon:hover .tooltip {
  top: -45px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.redes .icon:hover span,
.redes .icon:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.redes .facebook:hover,
.redes .facebook:hover .tooltip,
.redes .facebook:hover .tooltip::before {
  background: #1877F2;
  color: #fff;
}

.redes .twitter:hover,
.redes .twitter:hover .tooltip,
.redes .twitter:hover .tooltip::before {
  background: #1DA1F2;
  color: #fff;
}

.redes .instagram:hover,
.redes .instagram:hover .tooltip,
.redes .instagram:hover .tooltip::before {
  background: #E4405F;
  color: #fff;
}
.redes .linkedin:hover,
.redes .linkedin:hover .tooltip,
.redes .linkedin:hover .tooltip::before {
  background: #2b7cbe;
  color: #fff;
}

.redes .pinterest:hover,
.redes .pinterest:hover .tooltip,
.redes .pinterest:hover .tooltip::before {
  background: #bd0230;
  color: #fff;
}

.redes .telegram:hover,
.redes .telegram:hover .tooltip,
.redes .telegram:hover .tooltip::before {
  background: #46c2f3;
  color: #fff;
}

.whatsapp {
  position:fixed;
  width:60px;
  height:60px;
  bottom:40px;
  right:40px;
  background-color:#25d366;
  color:#FFF;
  border-radius:50px;
  text-align:center;
  font-size:30px;
  z-index:100;
}

.whatsapp-icon {
  margin-top:13px;
}
