.evenement {
    width: 98% !important;
    margin: auto;
}
.swiper-container-horizontal .swiper-container {
    width: 100vw;
    height: auto;
    margin: 20px;
}
.swiper-container-horizontal .swiper-slide {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}
.swiper-container-horizontal .swiper-slide img {
    width: 100vw;
    /*height: 100%;*/
}
.swiper-event .swiper-button-prev {
    margin-left: 80px;
}
.swiper-event .swiper-button-next {
    margin-right: 80px;
}
.swiper-button {
    color: white;
    background-color: #3a3a3a44;
    background-size: 10px;
    padding: 20px;
    border-radius: 50%;
}
.encars {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}
.encar {
    flex: 1;
    min-width: 0;
}
.swiper-pagination-bullet-active {
    background-color: white;
}
.encar .swiper-container-horizontal>.swiper-pagination-bullets {
    bottom: 50%;
    right: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    padding-right: 20px;
}
.liste-events .date-event {
    background-color: black;
    color: white;
}
.liste-events .detail-event {
    font-size: 16px;    
}
.liste-events h2 {
    margin-bottom: 30px;
    font-size: 24px;
}
.prereservation {
    text-align: center;
    font-weight: 900;
    color: white;
    z-index: 999;
    position: absolute;
    bottom: 50px;
    left: calc(50% - 100px);
    width: 200px;
    letter-spacing: 2px;
    font-size: 16px;
    cursor: pointer;
    border: 2px solid white;
    transition: background-color 0.1s ease;
}

.prereservation:hover {
    color: white;
}
.prereservation:visited {
    color: white;
}
.swiper-wrapper,
.swiper-wrapper *,
.swiper-encar,
.swiper-encar * {
    cursor: grab;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

.swiper-wrapper,:active, .swiper-encar:active {
    cursor: grabbing;
}

.swiper-pagination-bullet {
    opacity: .65;
}

@media (min-width: 3000px) {
    .prereservation {
        bottom: 150px;
    }
}

@media (max-width: 1240px) {
    .liste-events h2 {
        font-size: 18px;
    }
}

@media (max-width: 1400px) {
    .swiper-container {
        height: 50vh;
        overflow: hidden;
    }
    
    .swiper-container .swiper-slide img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
    .swiper-container-horizontal .swiper-slide {
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .swiper-container-horizontal .swiper-slide img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        object-fit: cover;
    }
    .swiper-event .swiper-button-prev {
        margin-left: 10px;
    }
    .swiper-event .swiper-button-next {
        margin-right: 10px;
    }
    .swiper-container {
        height: auto;
    }
    .swiper-encar {
        height: 80vh;
    }
    .swiper-encar img {
        width: 100% !important;
    }
    .liste-events h2 {
        font-size: 16px;
    }
    .liste-events .detail-event {
        font-size: 14px;    
    }
    .encars {
        flex-direction: column;
        gap: 10px;
    }
    .prereservation {
        width: 150px;
        font-size: 12px;
        font-weight: 700;
        left: calc(50% - 75px);
    }
    .inner-divider {
        height: 15px !important;
    }
}

@media (max-width: 340px) {
    .main-title {
        font-size: 30px !important;
    }
}