* {
  margin: 0;
  padding: 0;
  text-decoration: none;
}

body {
  width: 100%;
}

.whatsapp img {
  width: 80px;
  height: 80px;
  position: fixed;
  top: 12rem;
  right: 1rem;
  transition: ease 0.5s;
  opacity: 0.8;
}

header {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.3)
    ),
    url(Img/portada.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  mask-image: linear-gradient(black 70%, transparent);
}

.head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  height: auto;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
}

.head a img {
  transition: ease 0.5s;
}

.head a img:hover {
  scale: 1.05;
}

.nav2 .head {
  height: 100vh;
  width: 250px;
  display: none;
  flex-direction: column;
  position: fixed;
  justify-content: center;
  align-items: center;
  top: 0;
  right: 0;
  gap: 40px;
  z-index: 2;
  background-color: rgba(255, 0, 0, 0.5);
}

.nav2 .head ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.menu {
  display: none;
}

.menu2 {
  display: none;
}

.phone {
  display: flex;
  justify-content: center;
}

ul {
  display: flex;
  flex-direction: row;
}

li {
  margin: 0 20px;
  list-style: none;
  font-size: 23px;
  font-weight: bold;
}

.head a {
  color: hsl(0, 0%, 100%);
  font-size: 23px;
  font-weight: bold;
}

.head a:hover {
  color: hsl(0, 100%, 57%);
  transition: 0.3s ease;
}

.head .active {
  color: hsl(0, 100%, 57%);
  text-decoration: underline;
}

.start {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  height: 100vh;
}

.start h1 {
  color: white;
  text-shadow: 2px 2px 4px black;
  font-size: 3rem;
  text-align: center;
}

.start h2 {
  color: white;
  text-shadow: 2px 2px 4px black;
  font-size: 1.875rem;
  text-align: center;
}

.start > h1 {
  display: none;
}

.start > h2 {
  display: none;
}

.link {
  width: 120px;
  height: 45px;
  background-color: red;
  padding: 15px;
  text-align: center;
  border-radius: 15px;
  border: 2px solid white;
}

.link a {
  color: white;
  font-weight: bold;
  font-size: 20px;
}

.link:hover {
  background-color: white;
  border: 2px solid red;
  transition: 0.3s;
}

.link:hover a {
  color: red;
  transition: 0.3s;
}

.important {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 500px;
  width: 100vw;
}

.important h2 {
  font-size: 32px;
  color: red;
  text-align: center;
}

.important h3 {
  text-align: center;
  color: red;
  margin-top: 0.5rem;
}

.importantProducts {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
}

.importProduct img {
  width: 300px;
  border-radius: 15px;
  margin: 0 60px;
}

.wallpaper {
  background-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.425),
      rgba(0, 0, 0, 0.39)
    ),
    url(Img/IMG_6236.JPG);
  height: 700px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.customers {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  height: 500px;
  width: 100%;
}

.customers h2 {
  font-size: 32px;
  color: red;
}

.customers .client {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  gap: 0 20px;
}

.client .client1 {
  height: 200px;
  width: 350px;
  border-radius: 15px;
  background-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0.4)
    ),
    url(Img/pizzeria.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  font-size: 25px;
}

.client .client2 {
  height: 200px;
  width: 350px;
  border-radius: 15px;
  background-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0.4)
    ),
    url(Img/Panaderia.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  font-size: 25px;
}

.client .client3 {
  height: 200px;
  width: 350px;
  border-radius: 15px;
  background-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0.4)
    ),
    url(Img/restaurante.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  font-size: 25px;
}

.client .client4 {
  height: 200px;
  width: 350px;
  border-radius: 15px;
  background-image: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0.4)
    ),
    url(Img/minorista.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  font-size: 25px;
}

.value {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  height: 500px;
}

.value h2 {
  font-size: 32px;
  color: red;
  text-align: center;
}

.clientValue {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  gap: 0 150px;
}

.cValue {
  width: 100px;
  height: 200px;
}

.cValue img {
  width: 100px;
  transition: ease 0.3s;
}

.cValue img:hover {
  scale: 1.08;
}

.cValue h3 {
  text-align: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 24.55%);
  grid-template-rows: repeat(2, 230px);
  gap: 10px;
}

.gallery img:nth-child(3) {
  grid-column: 2/4;
  grid-row: 1/3;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client h2 {
  margin: 50px 0;
  font-size: 32px;
  color: red;
  text-align: center;
}

.client {
  width: 80%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  background: #f8f9fa;
  padding: 10px 0;
  position: relative;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.marquee-content {
  display: flex;
  gap: 20px;
  min-width: 200%;
  position: relative;
  animation: marquee 1000s linear infinite;
}

.marquee-content img {
  width: 200px;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

@keyframes marquee {
  from {
    left: 0;
  }
  to {
    left: -5000%;
  }
}

.links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 50px;
}

.links .link {
  width: 120px;
  height: 45px;
  background-color: red;
  padding: 15px;
  text-align: center;
  border-radius: 15px;
  border: 2px solid white;
}

.links .link:hover {
  background-color: white;
  border: 2px solid red;
  transition: 0.3s;
}

.links .link:hover a {
  color: red;
  transition: 0.3s;
}

footer {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  height: auto;
  background-color: red;
}

footer h2 {
  color: white;
  font-size: 23px;
  text-align: center;
}

footer h3 {
  color: rgb(255, 255, 255);
  text-align: center;
}

footer .social img {
  width: 40px;
}

footer .social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

footer .contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

footer .contact a {
  text-decoration: none;
  color: hsl(0, 0%, 100%);
  font-weight: bold;
  font-size: 18px;
}

.whatsapp img:hover {
  opacity: 1;
  scale: 1.1;
}

@media screen and (max-width: 1024px) {
  body {
    width: auto;
  }

  header {
    width: auto;
    height: auto;
  }

  .head {
    display: flex;
    flex-direction: column;
  }

  .phone {
    margin: 15px;
  }

  .start {
    padding: 0 20px;
  }

  .start h1 {
    font-size: 1.7rem;
    text-align: center;
    padding: 0 5rem;
  }

  .start h2 {
    font-size: 1.3rem;
    text-align: center;
  }

  .important {
    height: auto;
    margin: 30px;
  }

  .important h2 {
    margin: 30px;
  }

  .wallpaper {
    height: 180px;
    background-size: contain;
    background-attachment: scroll;
    background-repeat: repeat;
  }

  .importantProducts {
    flex-direction: column;
    gap: 30px;
  }

  .customers {
    height: auto;
  }

  .customers h2 {
    margin: 30px;
  }

  .customers .client {
    flex-direction: column;
    margin: 30px;
    gap: 30px;
  }

  .gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
  }

  .gallery img {
    width: 300px;
  }

  .value {
    height: auto;
  }

  .value h2 {
    margin: 30px;
  }

  .clientValue {
    flex-direction: column;
  }

  footer {
    flex-direction: column;
    gap: 20px;
    height: auto;
  }

  .social {
    margin-bottom: 20px;
  }

  .whatsapp img {
    right: 5rem;
  }
  .marquee-content img {
    width: 100px;
  }
}
