.primero {
  margin: 0;
  font-family: Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50vh;
  background-color: #ffff;
  margin-top: 3%;

}

.whatsapp {
      position: fixed;
    width: 80px;
    height: 80px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 54px;
    z-index: 1000;
    cursor: pointer;
}

.what-a {
    padding: 8px 16px;
}

#carousel-container {
  position: relative;
  width: 100%;
  /* Ancho del contenedor del carrusel */
  overflow: hidden;
  border: 1px;
  /* Bordes opcionales */
  /* Sombra opcional */
}

#carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  /* Ancho de cada elemento del carrusel */
  box-sizing: border-box;
  text-align: center;
  padding: 20px;
  background-color: #fff;
  border-right: 1px solid #fff;
  /* Bordes opcionales */
}

.img9 {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
  border-radius: 40px;
}

.nav-btn {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  font-size: 44px;
  cursor: pointer;
  background: #ffffff00;
  padding: 30px;
  border: none;
  outline: none;
  transition: background 0.3s ease-in-out;
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

@media screen and (min-width: 768px) {
  .carousel-item {
    min-width: calc(100% / 3);
  }
}

/*---------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  /* Estilos para tabletas y pantallas más pequeñas que 768px */

  li {
    float: none;
    width: 100%;
    text-align: justify;
    display: flex;
    align-items: center;
  }

  a {
    padding: 8px;
  }

  .submenu {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(#FFCD00, #FF9500, #FFA000, #FFCD00);
    border: 2px solid white;
    border-radius: 20px;
    display: none;
    left: -52px;
  }

  .submenu li {
    text-align: center;
  }
}

@media screen and (min-width: 769px) {
  /* Estilos para pantallas más grandes que 768px */

  li {
    float: left;
    width: auto;
    text-align: left;
    display: flex;
    align-items: center;
  }

  a {
    padding: 14px 16px;
  }

  .submenu {
    position: absolute;
    top: 60px;
    left: 43%;
    transform: translateX(-50%);
    width: auto;
    box-sizing: content-box;
    background: linear-gradient(#FFCD00, #FF9500, #FFA000, #FFCD00);
    border: 2px solid white;
    border-radius: 20px;
    display: none;
    /* Oculta las subsecciones por defecto en pantallas más grandes */
  }

  .submenu li {
    text-align: left;
  }

  li:hover .submenu {
    display: block;
    /* Muestra las subsecciones al hacer hover en pantallas más grandes */
  }
}
.slider img:first-child {
  display: block;
}
.boton{
  display: flex;
  justify-content: center;
  max-width: 100%;
}
.tam{
  width: 90%;
  transition: transform 0.6s;
}
.tam:hover{
  transform: scale(1.1);
}
