.cabecera {
    position: relative;
    background-image: url('../images/Tentaciones/fondo_tentaciones.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;
    height: 200px;
    width: 315px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .zoom-img {
    transition: transform 0.8s ease;
    height: 85%;
    width: 85%;
    object-fit: cover;
  }
  
  .image-box:hover .zoom-img {
    transform: scale(1.1);
  }
  .titulos{
    font-size: 55px;
    font-family: "Oswald", sans-serif;
    margin-top: 113px;
    margin-left: 25px;
    margin-bottom: 75px;
    font-weight:600;
    color: #000000;
  }

  .fw-bold{
  text-align: center; 
  font-family: Oswald; 
  font-weight: 600; 
  font-size: 25px;
}
  
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: 0px;
}

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

.flavor-item {
  text-align: center;
  transform: scale(1);
  transition: transform 0.3s ease;
  
  width: 250px;
}

.flavor-item img {
  width: auto;
  height: 125px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.flavor-item p {
  font-size: 19px;
  line-height: 20px;
  font-family: "Jost";
  font-weight: 400;
  color: #000000;
  margin-top: 10px;
  padding-bottom: 20px;
}
a{
  text-decoration: none;
  border-right: 1px solid #000000; 
}

.spacer {
  height: 1500px;
}

.subnav-inner a:last-child {
  border-right: none;
}
@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%;
  }

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

  .subnav-wrapper p{
    display: none;
  }
  .subnav-inner{
    max-width: 100%;
    justify-content: center;
  }
  .flavor-item{
    padding: 5px;
  }

  .cards{
    align-items: center !important;
    justify-content: center !important;
    margin-left: 0;
  }
  .cabecera{
    background-position: center;
    height: 150px;
  }
}



@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;
  }


  .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;
  }

  .subnav-inner{
    max-width: 100%;
    justify-content: center;
  }
  .flavor-item{
    padding: 5px;
  }
  .subnav-wrapper .flavor-item{
    margin-left: 10px;
    margin-right: 20px;
}

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

.subnav-wrapper p{
  display: block;
}
.subnav-inner{
  max-width: 100%;
  justify-content:center;
}
}