.slider {
    position: relative;
    margin: auto;
    max-width: 1600px;
    max-height: 550px;
    aspect-ratio: 2;
}

.slider-slide {
    display: none;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}