.btn_principal{
    background-color: var(--secundario);
    font-family: var(--tipo-complemento);
    font-weight: bold;
    width: 220px;
    text-align: center;
    font-size: 20px;
    padding: 15px 40px;
    border-radius: 25px;
    color: var(--negro);
    position: relative;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.btn_principal::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.44) 45%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.55s ease;
}
.btn_principal:hover{
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}
.btn_principal:hover::after,
.btn_principal:focus-visible::after{
    transform: translateX(120%);
}

.amarillo{
    color: var(--secundario);
    font-weight: bold;
}



/* Animación horizontal */
@keyframes scroll-horizontal {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 10));
  }
}

/* CONTENEDOR GENERAL */
.slider {
  background: transparent;
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* PISTA DEL SLIDER */
.slider .slide-track {
  display: flex;
  width: calc(250px * 20); /* duplicados */
  animation: scroll-horizontal 40s linear infinite;
}
.slider:hover .slide-track{
  animation-play-state: paused;
}

.slider::before,
.slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
}

.slider::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, transparent 100%);
}

.slider::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, transparent 100%);
}

/* CADA SLIDE */
.slider .slide {
  width: 250px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.slider img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 25px;
  transition: transform 0.35s ease;
}
.slider .slide:hover img{
  transform: scale(1.05);
}
.tarjeta-event-item{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background-color: var(--blanco);
    padding: 0;
    border-radius: 25px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.tarjeta-event-item:hover{
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.tarjeta-event-item-img{
    width: 100%;
    object-fit: cover;
    border-radius: 25px 25px 0 0;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.tarjeta-event-item:hover .tarjeta-event-item-img{
    transform: scale(1.08);
}
.tarjeta-event-item_ct{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 25px;
    border-radius: 0 0 25px 25px;

}
.tarjeta-event-item_ct img{
    width: 38px;
    height: 38px;
    transition: transform 0.3s ease;
}
.tarjeta-event-item:hover .tarjeta-event-item_ct img{
    transform: translateX(5px);
}
.tarjeta-event-item_ct h3{
    font-size: 20px;
    font-weight: bold;
    font-family: var(--secundario);
    hyphens: none;
}
.tarjetas-events{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

