* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    padding: 20px;
    display: flex;
    justify-content: center;
}

.slider {
    position: relative;
    width: 100%;
    max-width: 400px;
    overflow: hidden;
}

.slides {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s;
    width: 100%;
    height: 100%;
}

.slides img {
    width: 100%;
    height: 100%;
}

.btn {
    width: 40px;
    height: 100px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.32);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 1;
}

.btn img {
    width: 100%;
    height: auto;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.next {
    right: 10px;
}

.prev {
    left: 10px;
}

.play-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 25px;
    height: 25px;
    top: 5px;
    transform: translateY(0);
    left: 5px;
    background: none;
    border: none;
    color: #cdcdcd;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 1;
}

.play-btn:hover {
    color: white;
}

.indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 7px;
    color: white;
    text-align: center;
}

.indicator {
    width: 20px;
    height: 7px;
    border: none;
    background-color: rgba(255, 255, 255, 0.52);
    border-radius: 30%;
    cursor: pointer;
}

.indicator.active {
    background-color: rgba(255, 255, 255, 0.8);
}