.banner-wrap {
    position: fixed;
    bottom: 0;
  
    height: 9.9rem;
    width: 100%;
    z-index: -9999;
    transform: translateY(208px);
    display: none;

      right: 0;
    overflow: visible;
    max-width: 34rem;
}

.banner-wrap.--disable {
    transform: translateY(208px);
    animation: canvas-out-top .5s ease;
    display: none;
}

.banner-wrap.--active{
    display: flex;
    transform: translateY(0);
}

.banner.canvas {
    display: flex;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
  


      right: 0;
    overflow: visible;
    max-width: 34rem;
    /*animation: canvas-slide-top .5s ease;*/
}
.banner.canvas a {
    display: flex;
    height: 100%;
    width: 100%;
    max-width: 36vw;
    position: absolute;
    right: 0;
    cursor: pointer;
}
/* jdiv {z-index: -1!important; opacity: 0} */
.banner.canvas .road-layer {
    display: flex;
    width: 200%;
    height: 12px;
    background: #242424;
    border-bottom: dashed .25rem white;
    position: absolute;
    left: 0;
    bottom: 40px;
    outline: solid 40px #242424;
    animation: canvas-slide-left 6s linear;
    display: none;
}
.car {
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
    height: 10rem;
    width: 20rem;
    flex-flow: nowrap;
    animation: canvas-slide-right 3s ease;
}
.car-layer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.car-layer img {
    display: flex;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}
.wheel {
    position: absolute;
    bottom: 1%;
    display: flex;
    flex-flow: nowrap;
    animation: canvas-wheel 3s ease;
    width: 4rem;
    height: 4rem;
}
.wheel-1 {
    left: 11.5%;
}
.wheel-2 {
    right: 5.5%;
}
.wheel img {
    display: flex;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

@keyframes canvas-slide-top {
    0% {
        transform: translateY(208px);
    }
    100% {
        transform: translateY(0);
    }
}
@keyframes canvas-slide-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-45%);
    }
}
@keyframes canvas-slide-right {
    0% {
        transform: translateX(-100vw);
    }
    100% {
        transform: translateX(0);
    }
}

@keyframes canvas-wheel {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(2159deg);
    }
}
@keyframes opacity-btn {
    0% {
        opacity: 0;
    }
    85% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes banner-layer {
    0% {
        width: 0;
    }
    80% {
        width: 0;
    }
    95% {
        width: 16rem;
    }
    100% {
        width: 16rem;
    }
}
@keyframes banner-layer-2 {
    0% {
        transform: translateY(-5rem), scale(.1),rotate(-3deg);
    }
    80% {
        transform: translateY(-5rem), scale(.1),rotate(-3deg);
    }
    95% {
        transform: translateY(-5rem), scale(1),rotate(-3deg);
    }
    100% {
        transform: translateY(0),rotate(-3deg);
    }
}

@keyframes banner-pulse {
    0% {
        transform: scale(1);
    }
    60% {
        transform: scale(1);
    }
    65% {
        transform: scale(1.1);
    }
    70% {
        transform: scale(1);
    }
    75% {
        transform: scale(1.05);
    }
    80% {
        transform: scale(1);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes canvas-out-top {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(208px);
    }
}


.button-layer {
    position: absolute;
    right: 6rem;
    bottom: 3.5rem;
    animation: opacity-btn 3.25s ease;
}
.button-layer span {
    display: flex;
    background: #ffdd00;
    padding: .5rem 1rem;
    border-radius: 1rem;
    text-decoration: none;
    color: #242424;
    box-shadow: 0 0 0.5rem 0 #24242420;
    font-size: 12px;
    transition: .15s;
    animation: banner-pulse 2s ease infinite;
}
.button-layer span:hover {
    background: #4ab3ff;
    color: white;
}

.banner-layer {
    position: absolute;
    right: 17rem;
    top: 1rem;
    z-index: -1;
    width: 16rem;
    overflow: hidden;
    height: 100%;
    animation: banner-layer 3.25s ease;
    padding: 0;
    max-height: 100%;
}
.banner-text {
    display: flex;
    position: absolute;
    padding: 1rem;
    justify-content: flex-start;
    align-items: flex-start;
    flex-flow: column;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 0 0.5rem 0 #24242420;
    width: 100%;
    min-width: 12rem;
    max-width: 12rem;
}
.banner-text span {
    font-weight: 400;
    font-size: 12px;
}
.banner-text-1 {
    z-index: 1;
    top: .5rem;
    left: 3rem;
    background: #ffdd00;
    color: #242424;
    transform: rotate(3deg);
    max-width: 10rem;
    min-width: 10rem;
    clip-path: polygon(2rem 0, 0 100%, 100% 100%, 100% 0);
    padding: 1rem 1rem 1rem 2.5rem;
}
.banner-text-2 {
    z-index: -1;
    bottom: 2rem;
    left: 0;
    background: #4f1e99;
    color: white;
    animation: banner-layer-2 3.25s ease;
    transform: rotate(-3deg);
    font-size: 16px;
    font-weight: 400;
    clip-path: polygon(0 0, 2rem 100%, 100% 100%, 100% 0);
    padding: 1rem 1rem 1rem 3rem;
}
.banner-wrap button.close {
    position: absolute;
    z-index: 2;
    background: #ffdd00;
    border: 0;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    top: 0;
    right: 1rem;
    border-radius: 1rem;
    padding: .25rem;
    animation: opacity-btn 3.25s ease;
    transition: .15s;
}
.banner-wrap button.close:hover {
    background: #f2858c;
}
.banner-wrap button.close:before, .banner-wrap button.close:after {
    content: "";
    position: absolute;
    top: .35rem;
    left: .95rem;
    height: 1.4rem;
    background-color: #242424;
    width: .15rem;
    border-radius: .5rem;
}
.banner-wrap button.close:before {
    transform: rotate(45deg);
}
.banner-wrap button.close:after {
    transform: rotate(135deg);
}
.market-key {
    position: absolute;
    right: 2rem;
    z-index: 0;
    bottom: 2rem;
    color: #ffffffb2;
    background: #00000075;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 1rem;
    animation: opacity-btn 3.25s ease;
}
.market-key sup {
    top: 0;
    font-size: 10px;
    font-weight: 100;
    padding: 3px 6px;
    line-height: 1;
}

@media screen and (max-width: 512px) {
    @keyframes banner-layer {
        0% {
            width: 0;
        }
        80% {
            width: 0;
        }
        95% {
            width: 11rem;
        }
        100% {
            width: 11rem;
        }
    }
    .banner-wrap {
        bottom: 3.6rem;
        height: 5rem; 
    }
    .banner.canvas a {
        max-width: none;
        width: 100%;
    }
    .banner-wrap button.close {
        top: 2.5rem;
        width: 1.5rem;
        height: 1.5rem;
        right: auto;
        left: .5rem;
    }
    .banner-wrap button.close:before, .banner-wrap button.close:after {
        top: 0.14rem;
        left: 0.7rem;
        height: 1.15rem;
    }
    .car {
        height: 5rem;
        width: 10rem;
    }
    .wheel {
        height: 2rem;
        width: 2rem;
    }
    .button-layer span {
        padding: .25rem .5rem;
    }
    .button-layer {
        right: 1.9rem;
        bottom: 1.7rem;
    }
    .banner-layer {
        right: 8rem;
        width: 11rem;
    }
    .banner-text-2 {
        display: none;
    }
    .banner-text-1 {
        padding: .5rem .5rem .5rem 2.5rem;
        font-size: .9rem;
        line-height: 1.25;
        top: .25rem;
        left: 0;
        background: #4f1e99;
        color: white;
        transform: rotate(0deg);
        clip-path: polygon(0 0, 2rem 100%, 100% 100%, 100% 0);
    }
    .market-key {
        max-width: 9rem;
        background: #00000094;
        color: #ffffffbd;
        border-radius: .5rem 0 0 0;
        right: 0;
        bottom: 0;
    }
    .market-key sup {
        padding: 2px 4px;
        font-size: 8px;
    }
}