* {
  margin: 0;
  padding: 0;
  font-family: "Poppins";
}

body {
  color: white;
}
.container-general {
  max-width: 100%;
}
.container {
  max-width: 100%;
  margin: auto;
  margin-top: 120px;
}
.ancor_productos {
  height: 35px;
}
.header {
  background-color: rgb(4, 119, 134);
  display: flex;
  justify-content: space-between;
  align-items: center;

  box-shadow: 0px 4px 3px rgba(0, 0, 0, 0.5);
  /* si queremos haser nav-bar pegado a top de la pagina*/
  position: fixed;
  z-index: 1000;
  top: 30px;
  /*max-width:1000px;*/
  left: 0;
  width: 100%;
}

.logo img {
  width: 40px;
  border-radius: 10px;
  box-shadow: 14px 14px 20px 0 rgba(20, 20, 20, 0.4);
  margin: 15px;
}

.nav {
  display: flex;
  justify-content: space-around;
  list-style: none;
  gap: 60px;
}
.nav li {
  font-size: 18px;
}

.nav li a {
  text-decoration: none;
  color: white;
}

.nav li a:visited {
  color: white;
}

.header-actions {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: 0;
  padding: 0;
  margin-right: 15px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: white;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.basket {
  position: relative;
}

.basket a {
  font-size: 18px;
  font-family: "Poppins";
  color: white;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.basket img {
  width: 37px;
  border-radius: 10px;
  margin: 15px;
  box-shadow: 14px 14px 20px 0 rgba(20, 20, 20, 0.4);
}

.basket-count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background-color: rgb(7, 167, 216);
  color: white;
  font-size: 12px;
  font-weight: bold;
  line-height: 18px;
  text-align: center;
  transition: transform 0.2s ease;
  pointer-events: none;
  box-shadow: 0 2px 6px rgba(20, 20, 20, 0.4);
}

.basket-count.bump {
  animation: basket-bump 0.3s ease;
}

@keyframes basket-bump {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.35);
  }
  100% {
    transform: scale(1);
  }
}

.content-productos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 3%;
}
h2 {
  color: rgb(4, 119, 134);
  text-align: center;
  margin-top: 80px;
  font-size: 60px;
}
#portatiles {
  margin-top: 60px;
}
.article-a1 img:hover {
  transform: scale(1.25);
  transition: transform 0.3s;
  box-shadow: 14px 14px 20px 0 rgba(20, 20, 20, 0.3);
  border-radius: 5%;
}

div img {
  max-width: 90%;
  margin-top: 25px;
}
.article-a1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
}

.btn {
  color: white;
  background-color: rgb(4, 119, 134);
  margin-top: 30%;
  padding: 3%;
  align-items: center;
  max-width: 80%;
  border-radius: 10px;
  box-shadow: 14px 14px 20px 0 rgba(20, 20, 20, 0.3);
  border: 0;
}
.btn:hover {
  transform: scale(1.25);
  transition: transform 0.3s;
  box-shadow: 14px 14px 20px 0 rgba(20, 20, 20, 0.3);
  background-color: rgb(7, 167, 216);
  padding: 5%;
}

footer {
  background-color: rgb(4, 119, 134);
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  text-decoration: none;
}

footer p a {
  color: white;
}
@media ((min-width: 601px) and (max-width: 1285px)) {
  .content-productos {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  .article-a1 {
    flex: 1 1 200px;
    max-width: 220px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background-color: rgb(4, 119, 134);
    transition: max-height 0.35s ease;
  }

  .header-nav.open {
    max-height: 400px;
    box-shadow: 0px 4px 3px rgba(0, 0, 0, 0.5);
  }

  .nav {
    flex-direction: column;
    gap: 0;
  }

  .nav-element {
    width: 100%;
    text-align: center;
  }

  .nav li a {
    display: block;
    padding: 18px;
  }
}

@media (max-width: 600px) {
  .container {
    margin-top: 110px;
  }

  h2 {
    margin-top: 30%;
    font-size: 20px;
  }
  .content-productos {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
  }
}
