body {
  margin: 0;
  background-color: white;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  padding: 0;
}

header {
  background-color: black;
  position: fixed;
  height: 80px;
  width: 100%;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
}

nav {
  flex-grow: 1;
  max-width: 55%;
  margin-left: 550px;
}

ul {
  list-style-type: none;
  display: flex;
  justify-content: space-around;
  padding-right: 10px;
}

.contenedor-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  width: 80px;
}

.texto-logo {
  display: flex;
  flex-direction: column;
}

.titulo-logo {
  color: white;
}

.subtitulo-logo {
  color: grey;
}

a {
  color: white;
  text-decoration: none;
}

.titulo-principal {
  color: black;
  background-color: red;
  text-align: center;
  width: 100%;
  padding: 10px 0;
  position: relative;
  top: 80px;
}

.contenedor-nuevos {
  padding: 30px;
  margin-top: 120px;
  text-align: center;
}

.contenedor-carrusel {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.carrusel {
  display: flex;
  width: 500%;
  animation: slide 15s infinite;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-20%);
  }
  45% {
    transform: translateX(-20%);
  }
  50% {
    transform: translateX(-40%);
  }
  70% {
    transform: translateX(-40%);
  }
  75% {
    transform: translateX(0);
  }
}

.item-carrusel {
  width: 20%;
  flex-shrink: 0;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  color: black;
  position: relative;
  overflow: hidden;
}

.item-carrusel img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.item-carrusel:hover img {
  transform: scale(1.1);
}

.info-item {
  background-color: black;
  opacity: 65%;
  color: white;
  padding: 5px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.contenedor-mapa {
  text-align: center;
  margin: 50px auto;
}

.contenedor-opiniones {
  padding: 30px;
  text-align: center;
}

.opiniones-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
}

.opinion {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.opinion:hover {
  transform: translateY(-5px);
}

.opinion h3 {
  color: #333;
}

.opinion p {
  color: #666;
}

footer {
  background-color: black;
  color: white;
  padding: 30px 0;
}

.contenedor-footer {
  display: flex;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto;
}

.info-footer,
.redes-footer {
  flex: 1;
  text-align: center;
}

.redes-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.redes-footer a {
  color: white;
  text-decoration: none;
  margin-top: 5px;
}

.derechos {
  text-align: center;
  margin-top: 20px;
}

.derechos p {
  font-size: 14px;
  opacity: 0.8;
}

.contenedor-productos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 30px;
  margin-top: 70px;
}

.carta {
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 10px;
  border-radius: 5px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.carta img {
  width: 30%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.carta .contenido {
  padding: 10px 0;
}

.carta .contenido h3 {
  margin-bottom: 10px;
}

.carta .contenido p {
  margin-bottom: 10px;
}

.carta a {
  display: inline-block;
  background-color: red;
  color: #fff;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 5px;
  margin-top: 10px;
}

.carta a:hover {
  background-color: #ff3333;
}

.se-busca {
  padding: 20px;
  margin-top: 20px;
  text-align: center;
}

.se-busca .cartel {
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  max-width: 400px;
  margin: 0 auto;
}

.se-busca .cartel h3 {
  font-size: 2.5rem;
  color: black;
  margin-top: 10px;
}

.se-busca .cartel img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.se-busca .cartel h4,
.se-busca .cartel p,
.se-busca .cartel a {
  font-size: 1rem;
  color: #666;
  line-height: 1.5;
}

.presentacion-empresa {
  padding: 30px;
  margin-top: 60px;
}

.presentacion-empresa p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.imagen-empresa {
  text-align: center;
  padding-bottom: 20px;
}

.imagen-empresa img {
  width: 50%;
  border-radius: 30px;
}

.formulario-contacto,
.formulario-checkout {
  padding: 30px;
  margin-top: 60px;
}

form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
}

form label {
  margin-top: 10px;
}

form input {
  padding: 10px;
  margin-top: 5px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form input[type="submit"] {
  margin-top: 20px;
  background-color: red;
  color: white;
  border: none;
  cursor: pointer;
}

form input[type="submit"]:hover {
  background-color: darkred;
}

.producto-detalle {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px;
}

.imagen-producto {
  text-align: center;
}

.imagen-producto img {
  width: 70%;
  border-radius: 8px;
}

.info-producto {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-producto h2 {
  margin-bottom: 10px;
}

.info-producto p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.info-producto h3 {
  margin-bottom: 10px;
}

.info-producto ul {
  list-style: none;
  padding: 0;
}

.info-producto ul li {
  background: #f8f8f8;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 4px;
}

.boton-comprar {
  display: inline-block;
  background-color: red;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.boton-comprar:hover {
  background-color: #ff3333;
}
