body {
    background: white;
}

.benchmark-games .game:hover,
.benchmark-games .game.active {
    border-color: #ff0000;
    box-sizing: border-box;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border: 2px solid #ff0000;
}

.benchmark-games .game {
    box-sizing: border-box;
    border: 2px solid transparent;
    box-shadow: 0 0 0 transparent;
}

.benchmark-games .card-body .score {
    font-size: 25px;
    color: red;
}

.benchmark-games .select-fps .btn.focus {
    color: #ffffff !important;
    background-color: #545b62 !important;
    border-color: #4e555b !important;
}

.benchmark-games .select-fps.disabled .btn.special {
    background: #bbb !important;
    text-decoration: line-through;
}

.benchmark-games .select-fps .btn.special.disabled {
    text-decoration: line-through;
    pointer-events: none;
    cursor: default;
}

.benchmark-games .games-text {
    font-size: 16px;
    text-align: center;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    cursor: pointer;
    transition: background-color 0.3s;
}

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

.carousel-control-prev::before,
.carousel-control-next::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 10px 0;
    border-color: transparent transparent transparent #444;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev::before {
    left: 50%;
    transform: translateY(-50%) translateX(-50%) rotate(-135deg);
}

.carousel-control-next::before {
    right: 50%;
    transform: translateY(-50%) translateX(50%) rotate(45deg);
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000000' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000000' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 8l1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5-4 4 4 4z'/%3E%3C/svg%3E");
}



.products .games .game:hover,
.products .games .game.active {
    background: red;
}

.game-products .product {
    font-family: 'Verdana';
    border: 3px solid transparent;
}

.game-products .product:hover {
    border-radius: 10px;
    border-color: #eae9e9;
}

.game-products .product .image {
    height: 250px;
}

.game-products .product .image img {
    width: 100%;
}

.game-products .product .name {
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    padding: 5px;
}

.game-products .product .price {
    font-weight: 700;
    font-size: 13px;
}

.price-input {
    width: 100%;
    display: flex;
    margin: 10px 0 15px;
}

.price-input .field {
    display: flex;
    width: 100%;
    height: 45px;
    align-items: center;
}

.field input {
    width: 100%;
    outline: none;
    font-size: 19px;
    margin-left: 12px;
    border-radius: 5px;
    text-align: center;
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.price-input .separator {
    width: 130px;
    display: flex;
    font-size: 19px;
    align-items: center;
    justify-content: center;
}

.slider {
    height: 5px;
    position: relative;
    background: #ddd;
    border-radius: 5px;
}

.slider .progress {
    height: 100%;
    left: 3%;
    right: 20%;
    position: absolute;
    border-radius: 5px;
    background: red;
}

.range-input {
    position: relative;
}

.range-input input {
    position: absolute;
    width: 100%;
    height: 5px;
    top: -5px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    height: 17px;
    width: 17px;
    border-radius: 50%;
    background: red;
    pointer-events: auto;
    -webkit-appearance: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

input[type="range"]::-moz-range-thumb {
    height: 17px;
    width: 17px;
    border: none;
    border-radius: 50%;
    background: #17A2B8;
    pointer-events: auto;
    -moz-appearance: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

@media (min-width: 370px) {
    .carousel-inner {
        display: flex;
    }

    .carousel-item {
        margin-right: 0;
        flex: 0 0 10%;
        display: block;
    }
}

@media (max-width: 767px) {

    /* Ensure the carousel is visible */
    .carousel {
        display: block !important;
    }

    /* Adjust container width */
    .container {
        width: 100%;
        padding: 0 10px;
        /* Add some padding to the sides */
    }

    /* Adjust column width */
    .col-4 {
        width: 100%;
        margin-bottom: 20px;
        /* Add some spacing between columns */
    }

    /* Adjust font size for smaller devices */
    .card-title,
    .card-text {
        font-size: 16px;
    }

    /* Adjust carousel control icons position */
    .carousel-control-prev,
    .carousel-control-next {
        top: calc(50% - 20px);
        /* Center vertically */
    }

    /* Make the carousel scrollable by touch and pull left-right */
    .carousel-inner {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        /* Enable smooth scrolling on iOS */
    }

    .carousel-item {
        flex: 0 0 20%;
        /* Display three items per row */
        width: 20%;
        max-width: 20%;
        margin-right: 10px;
        /* Add some right margin */
    }

    .carousel-inner .carousel-item {
        width: 100%;
        /* Ensure carousel items take up full width */
        max-width: 100%;
    }
}