/* upd */

body {
    overflow-x: hidden !important;
}

nav.navbar {
    display: grid;
    grid-template-columns: 40% 60%;
    align-items: baseline;
}

a.navbar-brand {
    width: 80% !important;
}

a.navbar-brand img {
    width: 100% !important;
}

@media only screen and (min-width: 992px) {

    a.navbar-brand img {
        max-width: 220px;
    }
}

@media only screen and (min-width: 1200px) {

    a.navbar-brand img {
       width: 40%;
	max-width: 190px;
    }
}


.truck-btn {
    display: flex;
    justify-content: center;
    position: relative;
    margin-top: 20px;
}

@media only screen and (min-width: 1200px) {
    .truck-btn {
        margin-top: 0px;
    }
}


.truck-delivery {
    position: fixed;
    text-align: center;
    display: block;
    animation: mymove-mob 8s infinite;
    width: 200px;
}


@media only screen and (min-width: 992px) {
    .truck-delivery {
        animation: mymove 8s infinite;
  }
}

@media only screen and (min-width: 992px) {
    .truck-delivery {
        position: relative;
        width: 100%;
    }
}

.truck-delivery span {
    color: #131b28;
    font-size: 10px;
}

@media only screen and (min-width: 992px) {
    .truck-delivery span {
        font-size: 30px;
    }
}

@media only screen and (min-width: 1200px) {
    .truck-delivery span {
        font-size: 20px;
    }
}

.truck-delivery .truck-img {
    width: 15%;
    position: relative;
    margin-right: 5px;
}

@media only screen and (min-width: 1200px) {
    .truck-delivery .truck-img {
        width: 10%;
        max-width: 75px;

    }
}


@keyframes mymove-mob {
    0% {
        left: 410px;
        opacity: 1;
    }

    50% {
        left: 150px;
        animation-play-state: paused;
        animation-delay: 10s;
        opacity: 1;
    }

    75% {
        opacity: 0.5;
    }

    100% {
        /* left: -410px; */
        opacity: 0;
    }

}

@keyframes mymove {
    0% {
        left: 410px;
        opacity: 1;
    }

    50% {
        left: 0px;
        animation-play-state: paused;
        animation-delay: 10s;
        opacity: 1;
    }

    75% {
        opacity: 0.5;
    }

    100% {
        left: -300px;
        opacity: 0;
    }
}