html, body {
  margin: 0;
  padding: 0;
  font: 25px/30px "Lato", serif;
}

#ad {
  position: relative;
  width: 100%;
  height: 430px;
  min-width: 320px;
  max-width: 600px;
}

.slide {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 430px;
}
.slide .bgr {
  width: 100%;
  height: 430px;
}
.slide .copy {
  position: absolute;
  left: 20px;
  top: 20px;
  color: #fff;
}
.slide.slide-0 {
  display: block;
}
.slide.slide-0 .bgr {
  background: url(../images/bgr1.jpg) no-repeat 100% 0;
  background-size: cover;
}
.slide.slide-0 .copy {
  width: 200px;
}
.slide.slide-1 .bgr {
  background: url(../images/bgr2.jpg) no-repeat 0 0;
  background-size: cover;
}
.slide.slide-1 .copy {
  width: 260px;
}
.slide.slide-2 .bgr {
  background-color: #fe4819;
}
.slide.slide-2 .copy {
  width: 250px;
}

.pattern {
  position: absolute;
  z-index: 150;
  width: 280px;
  height: 208px;
  background: url(../images/pattern2w.png) no-repeat 0 0;
  transform-origin: center center;
  -webkit-transition: all 4s ease-in-out, opacity 4s;
  -moz-transition: all 4s ease-in-out, opacity 4s;
  -o-transition: all 4s ease-in-out, opacity 4s;
  transition: all 4s ease-in-out, opacity 4s;
  left: -25px;
  top: 30px;
  -webkit-transform: rotate(-107deg);
  -moz-transform: rotate(-107deg);
  -ms-transform: rotate(-107deg);
  -o-transform: rotate(-107deg);
  transform: rotate(-107deg);
}

#footer {
  position: absolute;
  z-index: 200;
  top: 384px;
  left: 0;
  right: 0;
  height: 47px;
  background-color: #fff;
}
#footer #logo {
  position: absolute;
  top: 18px;
  right: 15px;
  width: 89px;
  height: 13px;
  background: url(../images/logo.png) no-repeat 0 0;
}
#footer #tagline {
  opacity: 0;
  position: absolute;
  top: 17px;
  right: 110px;
  font-size: 18px;
  line-height: 18px;
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
}

#click-through {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border: 1px solid #000;
  z-index: 300;
}
