﻿#transfer-container {
    background-image: url(/img/transfer.jpg);
    padding: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#transfer-div {
    min-height: 80dvh;
    background: rgba(0, 0, 0, 0.75);
    border: 4px solid #120e0e;
    padding: 25px;
}


#vehicle-carousel {
    position: relative;
    display: flex;
    justify-content: flex-start;
    padding: 0 30px;
    width: 100%;
    overflow-x: scroll;
    overflow-y: hidden;
    transition: all 0.2s;
}

    #vehicle-carousel::-webkit-scrollbar {
        width: 0px;
        background: transparent;
    }

.vehicle-img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin: 0 10px;
    user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    transition: all ease 0.5s;
    -webkit-transition: all ease 0.5s;
}

.vehicle-card {
    border: none;
    max-width: 250px;
    transition: all 0.3s;
}

    .vehicle-card.active {
        background-color: #f8f9fa8a !important;
    }

    .vehicle-card .card {
        transition: all 0.3s;
        background: #f8f9fa21;
        backdrop-filter: brightness(0.5);
        -webkit-backdrop-filter: brightness(0.5);
    }

    .vehicle-card .card-body {
        min-height: 400px;
        min-width: 150px;
        text-align: center;
    }

.vehicle-details {
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    left: 0;
}

.vehicle-card.active .card {
    background: transparent !important;
    color: black !important;
    backdrop-filter: brightness(1);
    -webkit-backdrop-filter: brightness(1);
}

.vehicle-card.active .vehicle-img {
    transform: scale(1.2);
    -webkit-transform: scale(1.2);
}

.selected-car-card {
    align-items: center;
    background: #f8f9fa8a !important;
    color: #000;
    height: 250px;
}

    .selected-car-card .vehicle-img {
        transform: scale(1.2);
        -webkit-transform: scale(1.2);
    }


@@media(max-width:425px) {

    .vehicle-card {
        border: none;
        width: 225px;
        transition: all 0.3s;
        max-width: 85%;
        margin: 0 10px;
        padding: 0;
    }

        .vehicle-card .card {
            transition: all 0.3s;
            width: 100%;
        }

        .vehicle-card .card-body {
            height: 400px;
            width: 100%;
            text-align: center;
            margin: 0;
            padding: 0;
        }

    .vehicle-img {
        width: 150px;
        height: 150px;
        top: 25px;
        position: relative;
        margin: 0;
    }
}