.slider{
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 90vh;
    margin-top: 4em;
    margin-bottom: 5em;
}
@media (hover: hover) {
    /* when hover is supported */
    .slider .slider_btns{
        display: none;
    }
    .slider:hover .slider_btns{
        display: flex;
    }
}
.slider_slide {
    position: absolute;
    transform: translateX(-100%);
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.1s linear;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}
.slider_slide.active{
    opacity: 1;
    transform: translateX(0%);
}
.slider_btns {
    position: absolute;
    z-index: 999;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
}
.slider_btns .slider_btn {
    width: 40px;
    height: 40px;
    color: var(--theme-color-lighter);
    font-size: 28px;
    line-height: 35px;
    text-align: center;
    font-weight: 100;
    border-radius: 50%;
    background: rgba(230, 233, 234, 0.2);;
    border: 1px solid var(--theme-color-light);
    cursor: pointer;
    transition: all 0.2s linear, color 0.2s ease-out;
    user-select: none;
}
.slider_btns .slider_btn:hover {
    background: var(--theme-color-x-light);
    color: var(--theme-color);
}
.index{
    font-size: .8em;
}
.mois{
    letter-spacing: .4em;
    font-weight: bold;
}

.texte a{
	text-decoration: none;
	color: var(--theme-color);
}
.texte a:hover{
	color: var(--text-color);
}

/* RESPONSIVE */
@media (max-aspect-ratio: 4/3) {
    .slider{
        height: 75vh;
        margin-top: 3em;
        margin-bottom: 4em;
    }
}
@media (max-aspect-ratio: 2/2) {
    .slider{
        height: 65vh;
    }
}
@media (max-aspect-ratio: 3/4) {
    .slider{
        height: 50vh;
    }
}