body {font-family: Arial, sans-serif;}
body {margin: 0px;}
#ad {display: block;
  overflow: hidden;
  width: 300px;
  height: 250px;
  -moz-user-select: -moz-none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;user-select: none;
}
#banner {
  position: absolute;
  display: block;
  width: 300px;
  height: 250px;
  background-color: #ffffff;
  overflow: hidden;
  cursor: pointer;
  box-sizing: border-box;
}
#bg1 {
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 50% 50%;
  width: 300px;
  height: 250px;
  opacity: 0;
}
#bg2, #bg3, #bg4 {
  position: absolute;
  overflow: hidden;
  width: 300px;
  height: 0;
  bottom: 0;
  left: 0;
}
#bg2img, #bg3img, #bg4img {
  position: absolute;
  bottom: 0;
  left: 0;
  width:300px;
  height: 250px;
}
#logo {
  position: absolute;
  top: 15px;
  left: 141px;
  width: 135px;
  opacity: 0;
}
#cta {
  position: absolute;
  top: 207px;
  right: 0;
  opacity: 0;
}
#square1 {
  width: 14px;
  height: 14px;
  top: 22px;
  left: 34px;
  background-color: #c31141;
  position: absolute;
  opacity: 0;
}
#square2 {
  width: 14px;
  height: 14px;
  top: 75px;
  left: 155px;
  background-color: #ee9413;
  position: absolute;
  opacity: 0;
}
#square3 {
  width: 14px;
  height: 14px;
  top: 68px;
  left: 266px;
  background-color: #eb5f23;
  position: absolute;
  opacity: 0;
}
#square4 {
  width: 14px;
  height: 14px;
  top: 101px;
  left: 23px;
  background-color: #f39015;
  position: absolute;
  opacity: 0;
}
#square5 {
  width: 14px;
  height: 14px;
  background-color: #ee6229;
  position: absolute;
  top: 120px;
  left: 172px;
  opacity: 0;
}
#square6 {
  width: 14px;
  height: 14px;
  background-color: #e9393a;
  position: absolute;
  top: 112px;
  left: 239px;
  opacity: 0;
}
#square7 {
  width: 14px;
  height: 14px;
  background-color: #f59b04;
  position: absolute;
  top: 161px;
  left: 272px;
  opacity: 0;
}
#square8 {
  width: 14px;
  height: 14px;
  background-color: #b62153;
  position: absolute;
  top: 174px;
  left: 258px;
  opacity: 0;
}
#square9 {
  width: 14px;
  height: 14px;
  background-color: #a11b45;
  position: absolute;
  top: 171px;
  left: 59px;
  opacity: 0;
}
#square10 {
  width: 14px;
  height: 14px;
  background-color: #d38a23;
  position: absolute;
  top: 222px;
  left: 80px;
  opacity: 0;
}

#square1, #square3, #square5, #square7 {
  animation-name: opacity;
  animation-duration: 2s;
  animation-iteration-count: 7;
  animation-delay: 2s;
  animation-direction: alternate;
  animation-fill-mode: forwards;
}
#square2, #square4, #square6, #square8 {
  animation-name: opacity;
  animation-duration: 3s;
  animation-delay: 1s;
  animation-iteration-count: 7;
  animation-direction: alternate;
  animation-fill-mode: forwards;
}

#txt1 {
  position: absolute;
  top: 168px;
  left: 19px;
  opacity: 0;
}
#txt2 {
  position: absolute;
  top: 165px;
  left: 19px;
  opacity: 0;
}
#txt3 {
  position: absolute;
  top: 165px;
  left: 19px;
  opacity: 0;
}
#txt4 {
  position: absolute;
  top: 165px;
  left: 18px;
  opacity: 0;
}
#txt5 {
  position: absolute;
  top: 163px;
  left: 18px;
  opacity: 0;
}
#txt6 {
  position: absolute;
  top: 163px;
  left: 18px;
  opacity: 0;
}

@keyframes opacity {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

img  {
  display: block;
}
