html{
    scroll-behavior: smooth;
}

.theme-btn {
    display: inline-block;
    padding: 12px 40px;
    border-radius: 30px;
    border: none;
    font-size: 16px;
    line-height: 24px;
    color: #fff;
    background: #B53532;
    background: -moz-linear-gradient(left, #B53532 0%, #e6876a 100%);
    background: -webkit-linear-gradient(left, #B53532 0%, #e6876a 100%);
    background: linear-gradient(to right, #B53532 0%, #e6876a 100%);
    overflow: hidden;
    box-shadow: 0 10px 30px rgb(180 53 50 / 40%);
    position: relative;
    z-index: 9;
    font-weight: 500;
}

.theme-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: -moz-linear-gradient(left, #e6876a 0%, #B53532 100%);
    background: -webkit-linear-gradient(left, #e6876a 0%, #B53532 100%);
    background: linear-gradient(to right, #e6876a 0%, #B53532 100%);
    opacity: 0;
    z-index: -9;
}

.order-online-box {
    padding: 50px 15px 40px;
    border-radius: 20px;
}

.order-online-box.swiggy-box {
    background: #FC8019;
}

.order-online-box.zomato-box {
    background: #E23744;
}

.theme-btn.white-btn:hover {
    background: #2F3542;
    color: #fff;
}

.order-online-box .theme-btn {
    margin-top: 50px;
}

.theme-btn.white-btn {
    background: #fff;
    color: #2F3542;
    text-decoration: none;
}

.hover {
    overflow: hidden;
    position: relative;
    padding-bottom: 100%;
}

.hover-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    transition: all 0.4s;
}

.hover img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s;
}

.hover-content {
    position: relative;
    z-index: 99;
}



/* DEMO 2 ============================== */
.hover-2 .hover-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1));
}

.hover-2-title {
    position: absolute;
    bottom: 10%;
    padding-bottom: 20px;
    left: 0;
    text-align: center;
    width: 100%;
    z-index: 99;
    transition: all 0.3s;
    color: #fff;
    font-weight: bolder;
}

.hover-2-description {
    width: 100%;
    position: absolute;
    bottom: 0;
    opacity: 0;
    left: 0;
    text-align: center;
    z-index: 99;
    transition: all 0.3s;
    color: #fff
}

.hover-2:hover .hover-2-title {
    transform: translateY(-1.5rem);
}

.hover-2:hover .hover-2-description {
    bottom: 0.5rem;
    opacity: 1;
}

.hover-2:hover .hover-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.1));
}

.scooter {
    position: absolute;
    top: 90%;
    transform: translate(-100%, -50%);
}

.scooter img {
    width: 8.5rem;
}

.locationpin {
    position: absolute;
    top: 55%;
    left: 66%;
    /* transform: translate(-100%, -50%); */
}

.locationpin img {
    width: 2.3rem;
}

.scooter-right {
    animation: moveVehicleLeftToRight 15s linear infinite;
    /* animation-timing-function: linear;
    animation-iteration-count: infinite; */
}

.scooter-left {
    animation: moveVehicleRightToLeft 20s linear infinite;
    /* animation-timing-function: linear;
    animation-iteration-count: infinite; */
}

.locationpin {
    animation: locationPinUpDown 3s linear infinite;
    animation-timing-function: linear;
}

/* Media queries for mobile and tablet devices */
@media (max-width: 768px) {
    .scooter {
        width: 4rem;
        top: 93%;
    }

    .scooter img {
        width: 4rem;
    }

    .locationpin {
        top: 75%;
        left: 66%;
    }

    .locationpin img {
        width: 1rem;
    }

    .locationpin {
        animation: locationPinUpDownMobile 2s linear infinite;
        animation-timing-function: linear;
    }
}

@keyframes moveVehicleLeftToRight {
    0% {
        left: -200px;
    }

    100% {
        left: 100%;
    }
}

@keyframes moveVehicleRightToLeft {
    0% {
        right: -200px;
    }

    100% {
        right: 100%;
    }
}

@keyframes locationPinUpDown {
    0% {
        top: 55%;
    }

    50% {
        top: 60%;
    }

    100% {
        top: 55%;
    }
}

@keyframes locationPinUpDownMobile {
    0% {
        top: 82%;
    }

    50% {
        top: 80%;
    }

    100% {
        top: 82%;
    }
}