.terabuy-banner {
    width: 100%;
}

.terabuy-banner .slider {
    width: 100%;
    aspect-ratio: 3 / 1.5;
    max-width: 100vw;
    border-radius: 6px;
    margin: auto;
    position: relative;
    overflow: hidden;
}

.terabuy-banner .slider .list {
    position: absolute;
    width: max-content;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    transition: 1s;
}

.terabuy-banner .slider .list img {
    width: 100%;
    max-width: 100vw;
    height: 100%;
    object-fit: cover;
}

.terabuy-banner .slider .buttons {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.terabuy-banner .slider .buttons button {
    width: 50px;
    height: 100%;
    background-color: transparent;
    color: rgba(209, 213, 219, 0.8);
    border: none;
    font-family: inherit;
    pointer-events: all;
    transition: all ease-in-out 0.2s;
}

.terabuy-banner .slider .buttons button:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.terabuy-banner .slider .dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    color: #fff;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.terabuy-banner .slider .dots li {
    list-style: none;
    width: 12px;
    height: 12px;
    background-color: #fff;
    margin: 10px;
    border-radius: 50%;
    transition: 0.5s;
    border: 2px solid transparent;
    cursor: pointer;
}

.terabuy-banner .slider .dots li.active {
    /* width: 30px; */
    background-color: rgba(252, 213, 8, 1);
    border-color: rgba(255, 255, 255, 1);
}

@media only screen and (min-width: 769px) {
    .terabuy-banner .slider {
        aspect-ratio: 3 / 1;
    }

    .terabuy-banner .slider .list img {
        width: 1600px;
    }
}
