* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  background-color: #ccc;
  color: black;
  font-family: "Libre Baskerville", serif;
}

.buscador {
  padding: 10px 0;
  text-align: center;
  background-color: #2c3e50;
  height: auto;
}

.barra-busqueda {
  width: 90%;
  max-width: 400px;
  height: 40px;
  font-size: 1rem;
  padding: 5px;
  border: 2px solid #444;
  border-radius: 5px;
}

.logo {
  display: block;
  margin: 10px auto;
  width: 100px;
  height: auto;
 
  position: absolute;
  right:10px;
  top: 30px;
  border-radius: 50%;
}

.titulo1 {
  background-color: #2c3e50;
  color: white;
  padding: 20px;
  text-align: left;
  font-size: 12px;
  font-family: "Playwrite HU", cursive;
  width: 100%;
}

.titulo2 {
  background-color: #2c3e50;
  color: white;
  padding: 10px 20px;
  font-size: 15px;
  font-family: "Playwrite HU", cursive;
  width: 100%;
}

.boton {
  display: block;
  margin: 15px auto;
  width: 100px;
  height: 30px;
  background-color: cadetblue;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: "Playwrite HU", cursive;
  top:40px;
}

.categoria {
  margin-bottom: 30px;
}

.productos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
}

.producto {
  background-color: white;
  border-radius: 8px;
  padding: 15px;
  width: 90%;
  max-width: 200px;
  transition: transform 0.2s;
  text-align: center;
}

.producto img {
  width: 100%;
  height: auto;
  max-height: 150px;
  border-radius: 5px;
  object-fit: cover;
}

.producto:hover {
  transform: scale(1.05);
}

button {
  background-color: cadetblue;
  color: white;
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.descripcion {
  background: #f1f1f1;
  text-align: center;
  padding: 10px;
  font-size: 1rem;
  border-top: 2px solid #ccc;
}

@media (min-width: 768px) {
  .buscador {
    height: 120px;
    position: relative;
  }

  .barra-busqueda {
    width: 400px;
    height: 45px;
    font-size: 20px;
  }

  .logo {
    width: 190px;
    height: 150px;
    position: absolute;
    top: 90px;
    right: 60px;
  }

  .boton {
    position: absolute;
    top: 250px;
    left: 50px;
    margin: 0;
  }

  .titulo1 {
    padding: 40px;
    font-size: 40px;
  }

  .titulo2 {
    padding-left: 50px;
    padding-bottom: 20px;
    font-size: 15px;
  }

  .producto {
    width: 200px;
  }
}
