#hero {
    height: auto;
    color: white;
    position: relative;
}

.slider {
    display: flex;
    scroll-snap-type: x mandatory;
    overflow-y: hidden;
    padding: 0 10px 20px 10px;
}
/* Firefox */
.slider{
    scrollbar-width: thin;
    scrollbar-color: var(--carry-primary) #00000064;
}
/* Chrome, Edge, and Safari */
.slider::-webkit-scrollbar {
    width: 16px;
}
.slider::-webkit-scrollbar-track {
    background: #00000064;
}
.slider::-webkit-scrollbar-thumb {
    background-color: var(--carry-primary);
    border-radius: 10px;
    border: 3px solid #ffffff;
}

.slider {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    overflow: auto;
    aspect-ratio: 1;
    height: auto;
    overflow-y: hidden;
}
.slider__elt {
    position: relative;
    scroll-snap-align: center;
    flex: 1;
    width: 100%;
    min-width: 100%;
    aspect-ratio: 1;
    height: auto;
    margin: 0 5px;
    color: #ffffff;
    text-decoration: none;
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.slider__elt__thumbnail {
    position: absolute;
    max-width: 100%;
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
}
.slider__elt__title {
    z-index: 10;
    width: 100%;
    font-size: 28px;
    line-height: 32px;
    padding: 20px;
    color: #ffffff;
    text-shadow: 1px 1px 4px #00000080;
    text-align: center;
    font-family: 'Montserrat', -apple-system, sans-serif;
}

.slider__elt__shadow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #ffffff;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.25) 70%, rgba(0, 0, 0, 0) 100%);
}


.bullet-container {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
}
.bullet-container .bullet {
    width: 10px;
    height: 10px;
    max-width: 10px;
    background: #ffffff64;
    border-radius: 10px;
    margin: 0 3px;
}
.bullet-container .bullet.active {
    background: var(--carry-primary);
}

















@media screen and (min-width: 1023px) {



    #hero, .slider, .slider__elt, .slider__elt__thumbnail {
        aspect-ratio: 16/7;
    }

    .slider__elt__title {
        font-size: 40px;
        line-height: 40px;
    }

}








