@keyframes tonext {
    75% { left: 0; }
    95% { left: 100%; }
    98% { left: 100%; }
    99% { left: 0; }
}

@keyframes tostart {
    75% { left: 0; }
    95% { left: -200%; }
    98% { left: -200%; }
    99% { left: 0; }
}

@keyframes snap {
    96% { scroll-snap-align: center; }
    97% { scroll-snap-align: none; }
    99% { scroll-snap-align: none; }
    100% { scroll-snap-align: center; }
}

#headerTop {
    margin-top: 3rem;
    height: 10rem;
    display: flex;
    width: 100%;
    padding: 1rem;
    background-image: url(/static/img/logo.svg);
    background-position: center;
    background-size: 120px;
    background-repeat: no-repeat;
}

* {
    box-sizing: border-box;  
}

*::-webkit-scrollbar {
    width: 0;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background: transparent;
    border: none;
}

* {
    -ms-overflow-style: none;
}

ol, li {
    margin: 0;
    padding: 0;
}

.carousel {
    margin-top: 20px;
    position: relative;
    padding-top: 75%;
    perspective: 100px;
    height: 500px;
    margin-bottom: 0;
}

.carousel__viewport {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    overflow-x: scroll;
    counter-reset: item;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    list-style-type: none;
}

.carousel__slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    background-image: url(/static/img/cocinaConsciente.png);
    background-size: 300px;
    background-position: 40px 10px;
    background-repeat: no-repeat;
    counter-increment: item;
}

.carousel__slide:nth-child(2) {
    background-image: url(/static/img/blogDelCampo.png);
}

.carousel__slide:nth-child(3) {
    background-image: url(/static/img/rutaDelBienestar.png);
}

.carousel__slide:before {
    content: counter(item);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%,-40%,70px);
    color: transparent;
    font-size: 2em;
}
.carousel__slide::marker{
    display: none;
    content:'';
}

.carousel__snapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    scroll-snap-align: center;
    z-index: 1;
}

@media (hover: hover) {
    .carousel__snapper {
        animation-name: none;
        animation-timing-function: none;
        animation-duration: 0s;
        animation-iteration-count: 1;
    }

    .carousel__slide:last-child .carousel__snapper {
        animation-name: none;
        animation-duration: 0s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .carousel__snapper {
        animation-name: none;
    }
}

.carousel:hover .carousel__snapper,
.carousel:focus-within .carousel__snapper {
    animation-name: none;
}

.carousel__navigation {
    position: absolute;
    bottom: 150px; /* Ajuste de posición */
    right: 0;
    left: 0;
    text-align: center;
    z-index: 2;
}

.carousel__navigation-list {
    display: flex;
    justify-content: center;
    padding: 0;
}

.carousel__navigation-item {
    display: inline-block;
}

.carousel__navigation-button {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    background-color: #333;
    background-clip: content-box;
    border: 0.25rem solid transparent;
    border-radius: 50%;
    font-size: 0;
    transition: transform 0.1s, background-color 0.3s;
}

.carousel__navigation-button {
    background-color: rgba(51, 51, 51, 0.2);
}

.carousel__navigation-button.active {
    background-color: #69C054;
}
.carousel__content {
    position: absolute;
    bottom: 0px;
    left: -1rem;
    right: 0;
    text-align: center;
    z-index: 0; 
    padding: 0 1rem;
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.first-slide {
    background-position:  150px 50px;
}

.other-slide {
    background-position: 150px 30px;
}

.carousel__content h3 {
    width: 20rem;
    font-weight: 400;
    text-wrap: balance;
    margin-left:0 ;
    margin-right:0 ;
}
.carousel__content img {
    width: 9rem;
}
.carousel__content h3.semiBold {
    font-weight: 500;
}

.carousel__content#cintilloCommingSoon {
    background-image: url(/static/img/muy-prontoMenu.png);
    background-size: 6rem;
    background-position: 85% 15%;
    background-repeat: no-repeat;
}
.carousel__content p {
    margin-top: 20px;
    font-weight: bold;
    width: 250px;
    text-wrap: pretty;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1;
}
.carousel__content p.semiBold {
    font-weight: 500;
}

.carousel::before,
.carousel::after {
    display: none;
}

.contenedor-boton {
    display: flex;
    justify-content: center;
    align-items: start;
    height: 50px;
    margin-bottom: 5rem;
}

.onboarding-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 40px;
    border: none;
    border-radius: 25px;
    background-color: #69C054;
    color: white;
    font-size: 1.4rem;
}

.onboarding-button-icon {
    padding-left: 5px;
}
