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

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #222;
    font-family: system-ui, Arial, sans-serif;
}

.slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: 1000px;
    width: 100%;
    padding: 0 20px;
}

.viewport {
    flex: 1;
    overflow: hidden;
}

.track {
    display: flex;
    gap: 20px;
    align-items: center;
    transition: transform 0.45s ease-in-out;
}

.track img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    flex: 0 0 auto;
}

.btn {
    background: #ff5c5c;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 50%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 900px) {
    .track img {
        width: 250px;
        height: 350px;
    }
}

@media (max-width: 600px) {
    .track img {
        width: 200px;
        height: 280px;
    }
}

@media (max-width: 450px) {
    .track img {
        width: 150px;
        height: 200px;
    }
}