* {
  margin: 0;
  padding: 0;
  font-family: "Poppins";
}

body {
  color: rgb(3, 60, 87);
}

.container-fluid {
  max-width: 100%;

  margin: auto;
  padding: 0;
}

.header {
  max-width: 100%;
  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;
  margin-right: 15px;
  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: 19px;
  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);
  }
}
div h1 {
  color: rgb(4, 119, 134);
  font-size: 60px;
  font-weight: bold;
  margin-bottom: 3.5rem;
  margin-top: 115px;
}
.col-6 {
  margin: 3% auto;
  max-width: 30%;
}
.btn-primary {
  min-width: 100%;
  color: #fff;
  background-color: rgb(6, 132, 170);
  max-width: 100%;
  align-items: center;
  border: none;
  box-shadow: 14px 14px 20px 0 rgba(20, 20, 20, 0.4);
}

/* Quitamos bordes de buton que aparacen cuando esta activo */
.btn-primary:focus {
  background-color: rgb(189, 9, 54);
  outline: none;
  box-shadow: none;
}
.btn-primary:hover {
  background-color: rgb(3, 60, 87);
  box-shadow: 14px 14px 20px 0 rgba(20, 20, 20, 0.4);
}

footer {
  background-color: rgb(4, 119, 134);
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 15%;
}

footer p a {
  color: white;
  text-decoration: none;
}
footer p:hover,
footer a:hover {
  color: white;
  text-decoration: none;
}

@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;
  }

  div h1 {
    font-size: 44px;
    margin-top: 110px;
  }

  .col-6 {
    max-width: 50%;
  }
  .btn-primary {
    margin: 10% auto;
  }
  footer {
    margin-top: 0;
  }
}

@media (max-width: 500px) {
  div h1 {
    font-size: 40px;
  }
}
