.marquee-class {
    width: 1200px;
    margin: 0 auto;
    background-color: #ff7269;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#close {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 20px;
    background: #ff7269;
    float: right;
    z-index: 1;
    font-size: large;
    font-weight: bold;
}

    #close:hover {
        color: #000;
    }

@media screen and (max-width:1200px) {
    .marquee-class {
        width: 100%;
    }
}

.marquee-class h3 {
    color: #fff;
    width: 100%;
    height: 100%;
    font-size: large;
    margin-bottom: 0;
    text-align: center;
    /* Starting position */
    transform: translateX(65%);
    -moz-transform: translateX(65%);
    -webkit-transform: translateX(65%);
    /* Apply animation to this element */
    -moz-animation: example1 20s linear infinite;
    -webkit-animation: example1 20s linear infinite;
    animation: example1 20s linear infinite;
}
/* Move it (define the animation) */
@-moz-keyframes example1 {
    0% {
        -moz-transform: translateX(65%);
    }

    100% {
        -moz-transform: translateX(-65%);
    }
}

@-webkit-keyframes example1 {
    0% {
        -webkit-transform: translateX(65%);
    }

    100% {
        -webkit-transform: translateX(-65%);
    }
}

@keyframes example1 {
    0% {
        -moz-transform: translateX(65%); /* Firefox bug fix */
        -webkit-transform: translateX(65%); /* Firefox bug fix */
        transform: translateX(65%);
    }

    100% {
        -moz-transform: translateX(-65%); /* Firefox bug fix */
        -webkit-transform: translateX(-65%); /* Firefox bug fix */
        transform: translateX(-65%);
    }
}
