.slider {
    width: 100%;
    height: 400px;
    position: relative;
    box-sizing: border-box;
    margin: 0;
    padding: 0;

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

    @media only screen and (min-width: 700px) and (max-width: 789px) {
        height: 640px;
    }

    @media only screen and (min-width: 790px) and (max-width: 999px) {
        height: 660px;
    }

    @media only screen and (min-width: 1000px) and (max-width: 1399px) {
        height: 700px;
    }

    @media only screen and (min-width: 1400px) {
        height: 720px;
    }

    .slItems {
        width: 100%;
        height: 100%;
        overflow: hidden;
        position: relative;
    }

    .slItem {
        width: 100%;
        height: 100%;
        position: absolute;
        inset: 0;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center center;
        opacity: 0;
        visibility: hidden;
        z-index: 1;
        transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;

        &.active {
            opacity: 1;
            visibility: visible;
            z-index: 2;
        }
    }

    .slidetext {
        display: none;
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 95%;
        height: auto;
        text-align: center;
        transform: translateX(-50%);
        color: #fff;
        padding: 20px;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.49) 39%, rgba(0, 0, 0, 0.81) 100%);

        @media only screen and (min-width: 700px) and (max-width: 999px) {
            width: 90%;
        }

        @media only screen and (min-width: 1000px) and (max-width: 1399px) {
            width: 800px;
        }

        @media only screen and (min-width: 1400px) {
            width: 1000px;
        }
    }

    .slDots {
        position: absolute;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 3;
        display: flex;
        gap: 8px;

        .slDotsSingle {
            width: 15px;
            height: 15px;
            border: 2px solid #333;
            border-radius: 50%;
            cursor: pointer;
            transition: background-color 0.3s ease, border-color 0.3s ease;

            &.active {
                background-color: #333;
            }

            &:hover {
                background-color: #d0d0d0;
                border-color: #d0d0d0;
            }
        }
    }
}