html, body {
  overflow-x: hidden;
}

body {
  font-family: 'Lato', sans-serif !important;
  margin: 0;
  padding: 0;
  background-color: #fff;
  background-size: cover;
  background-position: center;
  position: relative;
  margin-top: 30px;
}

header {
  background-color: #fff;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  position: relative;
}

.logo-container img {
  max-width: 200px;
}

.logo-link {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.logo {
  width: 5cm;
  height: 0,7cm;
}

.banner {
  background-color: #08a1ff;
  color: #0d1440;
  padding: 20px;
  text-align: center;
  position: relative;
}

.banner h1 {
  margin: 0;
  color: #333;
}

.navbar-top {
  background: linear-gradient(to right, #22225f, #2eb2a7);
  color: white;
  display: flex;
  justify-content: flex-end; /* Alinea todos los elementos hacia la derecha */
  align-items: center;       /* Alinea verticalmente los elementos en el centro */
  padding: 10px 10px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar-top .flags {
  display: flex;
  gap: 10px;
  align-items: center; 
  margin-right: 5px;
  margin-top: -5px;
}

.navbar-top .flags img {
  width: 25px;
  height: 15px;
  object-fit: cover;

}

.btn-contacto {
  background: linear-gradient(90deg, #262c5e, #28a694);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  font-size: 14px;
  border-radius: 4px;
  margin-top: -9px;
  display: inline-block;
  text-decoration: none;
  transition: background-position 0.4s;
  background-size: 200%;
}

.btn-contacto:hover {
  background-position: right;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .btn-contacto {
    margin-top: 10px; /* Ajuste para dispositivos móviles */
  }
}

.btn-contacto:hover {
  background: linear-gradient(to right, #1f244c, #299c87);
  text-decoration: none;
}

.navbar-top .links {
  display: flex;
  gap: 20px;     
  margin-left: auto;         
}

.large-bar {
  font-size: 20px; 
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  margin-top: -3px;
}

.navbar-top .links a {
  color: white;
  text-decoration: none;
  font-size: 15px;
}

.navbar-top .links a:hover {
  text-decoration: underline;
}

/* Estilos responsivos */
  @media (max-width: 768px) {
    .navbar-top {
      flex-direction: column; 
      align-items: center; 
      background: linear-gradient(to bottom, #22225f, #2eb2a7);
    }
  
    .navbar-top .links {
      flex-direction: column; 
      gap: 3px; 
      text-align: center; 
      margin: 0; 
      font-size: 10px; 
      align-items: center;
    }
  
    .navbar-top .flags {
      margin-bottom: 10px; 
    }

    header{
      margin-top: 150px;
    }

    .logo{
      width: 150px;
    }
  }


@media (max-width: 992px) { /* Para tablets */
  .navbar-top {
    padding: 8px; 
    left: 0;
  }

  .navbar-top .flags img {
    width: 30px; 
    height: 20px;
    margin-top: 2px;
  }

  .navbar-top .links a {
    font-size: 14px; 
    text-align: center;
    margin-top: 2px;
  }
}


.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
}

.text {
  padding: 5px;
  margin: -50px 0 20px 0;
  border-radius: 10px;
  max-width: 800px;
  text-align: center;
  animation: moveUpDown 3s ease-in-out infinite;
}

.text h2 {
  font-size: 18px;
  line-height: 1.2;
  color: #525050;
}




.category {
  width: 90%;
  max-width: 1200px;
  padding: 20px;
  margin: 20px auto; 
  background-color: #fff;
  box-sizing: border-box; 
}


.general-title{
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: #525050;
  font-weight: 700;
  margin-bottom: 1rem;
  margin: 0 auto;
  text-align: center;
}

.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
.company-logo {
  width: 200px; 
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
}
.company-logo:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.todos{
  max-width: 170px;
  width: 100%;
  height: 100px;
  object-fit: contain
}

@media (max-width: 768px) {
.category{
  margin: 20px auto;
  box-sizing: border-box;
}

}

.chat-container-whats {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #1d3557;
  color: white;
  padding: 10px;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px; /* Espacio entre el mensaje y el botón */
  z-index: 1000; /* Asegura que esté por encima de otros elementos */
}

.chat-container-whats p {
  margin: 0;
  display: none; /* Ocultar el mensaje por defecto */
  background-color: #1d3557; 
  padding: 10px; 
  border-radius: 10px; 
}

.chat-container-whats:hover p {
  display: block; /* Mostrar el mensaje cuando pasa el cursor sobre el contenedor */
}

.whatsapp-button {
  background-color: #25D366;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center; 
  z-index: 1001; /* Asegura que el botón esté encima del mensaje */
}

.whatsapp-button img {
  width: 70px;
  height: 36px; 
}

@media only screen and (max-width: 768px) {
  .content {
    padding: 20px; /* Reducir el espacio alrededor del contenido en dispositivos más pequeños */
    margin-top: 20px;
  }

  .text {
    max-width: 100%; /* Ajustar el ancho máximo del texto al completo en dispositivos más pequeños */
  }

  .slider {
    width: 100%; /* Ajustar el ancho completo del slider en dispositivos más pequeños */
  }

  .logo-link {
    bottom: -100px;
    width: 120px;
    left: -10px;
  }
}







