@keyframes zoom-and-pan {
    0%   { transform-origin: center; transform: scale(1); }
    100% { transform-origin: center; transform: scale(1.1); }
}

body {
    background-color: white;
    margin: 0;
}

#ad-container {
    height: 90px;
    overflow: hidden;
    position: relative;
    width: 728px;
}

.background-img {
    position: absolute;
    width: 200px;
    height: 100px;
    animation: zoom-and-pan 2s;
    animation-iteration-count: 2;
    animation-timing-function: linear; 
    top: 0;
    right: 20px;
    z-index: 1;
}

.gradient {
    width: 728px;
    position: absolute;
    left: 0;
    top: 0;
    height: 90px;
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(29,29,29,1) 71%, rgba(29,29,29,0) 75%, rgba(29,29,29,0) 92%, rgba(29,29,29,1) 96%);    
    z-index: 2;
}

.logo {
    left: 16px;
    position: absolute;
    top: 16px;
}

.copy {
    height: auto;
    left: 20px;
    position: absolute;
    top: 47px;
}

.cta {
    height: 32px;
    right: 20px;
    position: absolute;
    top: 29px;
    width: 32px;
}