@import url('https://fonts.googleapis.com/css2?family=Xanh+Mono&family=Quicksand&family=Castoro+Titling&family=Questrial&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Carter+One&display=swap');
*{
  padding: 0;
  margin: 0;
}

body {
  font-family: Arial, sans-serif;
  background-color: #FFFFFF;
}

header {
  background-color: #9b9b9b;
  color: #fff;
}

h3{
  font-family: 'Questrial', sans-serif;
  text-align: center;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav ul li {
  display: inline;
  margin-right: 10px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  font-size: 20px;
}

nav ul li:hover,
nav ul li.active {
  background-color: #f2f2f2;
}

nav ul li:hover a,
nav ul li.active a {
  color: #333;
}
.category {
  display: none;
}

.category.active {
  display: block;
}

.product {
  width: 25%;
  float: left;
  box-sizing: border-box;
  padding: 10px;
}

img {
  width: 200auto;
  height: 200px;
}


@media (max-width: 768px) {
  .product {
     width: 50%;
  }
}

@media (max-width: 480px) {
  .product {
    width: 100%;
  }
}

.contact {
  clear: both;
  padding: 20px;
  background-color: #FF8300;
}
.contact h2 {
  margin-bottom: 10px;
  font-family: 'Xanh Mono', monospace;
}

.contact p {
  margin-bottom: 5px;
}

.search {
  margin-bottom: 100px;
}

.search input {
  padding: 5px;
  width: 300px;
}

h1{
  margin-top: 20px;
  font-size: 60px;
  font-family: 'Castoro Titling', cursive;
}

.informacion {
  display: none;
}

.s{
  width: 300px;
  height: 150px;
  padding-top: 20px;
  padding-left: 20px;
}


.r{
  width: 10px;
  height: 10px;
}

@keyframes colorChange {
  0% { color: #ff0000; } /* Color inicial */
  25% { color: #fdcae1; }
  50% { color: #00ff00; } /* Color a la mitad de la animación */
  75% { color: #0000ff } 
  100% { color: #ff0000; } /* Color final */
}

/* Aplicar la animación al elemento */
.color-change-animation {
  animation-name: colorChange; /* Nombre de la animación */
  animation-duration: 5s; /* Duración de la animación en segundos */
  animation-timing-function: ease; /* Función de tiempo para suavizar la animación */
  animation-iteration-count: infinite; /* Número de repeticiones (puedes usar un valor específico o "infinite" para que sea infinito) */
}

h4{
  margin-top: 20px;
  font-size: 50px;
}

.v{
  height: 100px;
  width: 100px;
}

.titulo{
     font-family: "Carter One", system-ui;
  font-weight: 400px;
  font-style: normal;
  font-size: 100px;
}

.banner1{
  background: url(https://blog.deacero.com/hs-fs/hubfs/productos%20de%20ferreteria%20herramientas%20manuales.jpg?width=755&name=productos%20de%20ferreteria%20herramientas%20manuales.jpg) no-repeat;
  height: 200px;
  width: 340px;
  line-height: 200px;
  text-align: center;
  vertical-align: middle;
  float: left;
}

.banner2{
  background: url(https://gatza.mx/wp-content/uploads/2021/02/depositphotos_147124957-stock-photo-delicious-electrician-tools.jpeg) no-repeat;
  height: 200px;
  width: 330px;
  line-height: 200px;
  text-align: center;
  vertical-align: middle;
  float: left;
}

.banner3{
  background: url(https://www.lidering.com/wp-content/uploads/2020/07/LDR-Molinos-de-Moliendas-2020-01-15-banner.jpg);
  height: 200px;
  width: 330px;
  line-height: 200px;
  text-align: center;
  vertical-align: middle;
  float: left;
}

.banner4{
  background: url(https://cdn.pixabay.com/photo/2017/08/23/10/22/tubing-2672187_640.jpg);
  height: 200px;
  width: 340px;
  line-height: 200px;
  text-align: center;
  vertical-align: middle;
  float: left;
}

/*BOTON DE INICIO*/

.custom-button {
      padding: 10px 20px;
      font-size: 18px;
      font-weight: bold;
      color: #fff;
      background-color: #007bff;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      position: relative;
      overflow: hidden;
      transition: all 0.3s ease;
    }

    .custom-button::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 300%;
      height: 300%;
      background-color: rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      transition: all 0.5s ease;
      transform: translate(-50%, -50%);
      z-index: 0;
    }

    .custom-button:hover::before {
      width: 0;
      height: 0;
    }

    .custom-button:hover {
      color: #007bff;
      background-color: #fff;
    }

    .custom-button:hover span {
      transform: scale(1.2);
    }

    .custom-button span {
      position: relative;
      z-index: 1;
      transition: all 0.3s ease;
    }
    .busqueda
    {
      font-size: 50px;
      font-family: Helvatica;
    }
    .espacio
    {
      font-size: 50px;
      font-family: Helvatica;
    }
    .linea
    {
      padding: 10px 20px;
    }
    .texto
    {
      border: 5px solid black; /* Color y grosor del borde */
padding: 10px;           /* Espacio entre la imagen y el borde */
border-radius: 10px;     /* Bordes redondeados opcionales */
box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5); /* Sombra para darle un efecto 3D */
    }