.cabecera {
  position: relative;
  background-image: url('../images/Sabores/Fondo_sabores.jpg');
  background-size: cover;
  background-position: center;
  height: 380px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 100px;
  padding-left: 150px;
  color: white;
}

.cabecera .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 25, 74, 0.8), rgba(0, 25, 74, 0.2), rgba(0, 25, 74, 0));
  z-index: 1;
}

.cabecera .contenido {
  position: relative;
  z-index: 2;
}

.cabecera h1 {
  font-size: 48px;
  font-family: "Oswald", sans-serif;
  color: #ffffff;
  font-weight: bold;

}

.image-box {
  overflow: hidden;
  border-radius: none;
  height: 245px;
  width: 270px;

}

.zoom-img {
  transition: transform 0.5s ease;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

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

.titulos {
  font-size: 50px;
  font-family: "Oswald", sans-serif;
  margin-top: 113px;
  margin-left: 25px;
  margin-bottom: 58px;
  font-weight: 600;
  color: #000000;
}

.fw-bold {
  text-align: center;
  font-family: "Oswald";
  font-weight: 600;
  font-size: 25px;
  padding-top: 15px;
}

p {
  font-size: 17px;
  line-height: 20px;
  font-family: "Jost";
  font-weight: 400;
}

.card {
  display: flex;
  align-items: center !important;
  width: 250px;
  border: none;
  margin-bottom: -12px;
}

.cards {
  gap: 68px;
  margin-left: 35px;
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.subnav-wrapper {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: rgba(250, 250, 248, 0.8);
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  padding-bottom: 27px;

}

.subnav-inner {
  max-width: 91.5%;
  display: flex;
  justify-content: flex-end;
  transition: all 0.3s ease;
  padding-top: 10px;

}

.subnav-inner a:last-child {
  border-right: none;
}
.flavor-item {
  text-align: center;
  transform: scale(1);
  transition: transform 0.3s ease;
  width: 200px;
}

.flavor-item img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.flavor-item p {
  font-size: 20px;
  line-height: 20px;
  font-family: "Jost";
  font-weight: 400;
  color: #000000;
  margin-top: 10px;
}

a {
  text-decoration: none;
  border-right: 1px solid #000000;
}


.spacer {
  height: 1500px;
}


/*para pantallas pequeñas*/
@media (max-width: 768px) {
  .cabecera {
    height: 220px;
    padding-left: 60px;
    padding-bottom: 60px;
    background-position: center;
  }

  .cabecera h1 {
    font-size: 36px;
  }

  .subnav-wrapper .flavor-item {
    width: 100%;
    z-index: 1000;
  }

  .subnav-wrapper img {
    width: 70px;
    height: 70px;
    padding: 10px;
  }

  .subnav-wrapper p {
    display: none;
  }

  .subnav-inner {
    max-width: 95%;
  }

  .flavor-item {
    justify-content: center;
  }

  .cabecera {
    background-position: center;
    height: 150px;
  }

  .cards {
    align-items: center !important;
    justify-content: center !important;
    margin-left: 0;
  }

}

/*para pantallas medianas*/
@media (min-width: 768px) and (max-width: 992px) {
  .cabecera {
    height: 220px;
    padding-left: 60px;
    padding-bottom: 60px;
    background-position: center;
  }

  .cabecera h1 {
    font-size: 36px;
  }

  .subnav-inner {
    max-width: 100%;
    justify-content: center;
  }

  .flavor-item {
    padding: 5px;
  }

  .subnav-wrapper .flavor-item {
    margin-left: 5px;
    margin-right: 5px;
  }

  .subnav-wrapper img {
    width: 70px;
    height: 70px;
  }

  .subnav-wrapper p {
    display: block;
  }

  .subnav-inner {
    max-width: 100%;
    justify-content: center;
  }

  .flavor-item {
    width: 150px;
  }

  .flavor-item img {
    width: 100px;
    height: 100px;
  }

  .flavor-item p {
    font-size: 20px;
  }

  .cards {
    align-items: center !important;
    justify-content: center !important;
    margin-left: 0;
  }

  .cards>.card:last-child:nth-child(odd) {
    margin-right: auto;
    margin-left: 60px;
  }

  .card {
    margin-left: 0;
  }

}