html,
body {
  border: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#adContent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}

#texts {
  width: 100%;
  height: 100%;
  font-family: 'Roboto', Arial, sans-serif;
}

#headline,
#description {
  opacity: 0;
}

#button {
  text-align: center;
  font-family: 'Roboto', Arial, sans-serif;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 4px;
  background: #333;
  font-weight: 500;
}

#call-button {
  text-align: center;
  font-family: 'Roboto', Arial, sans-serif;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 4px;
  background: #333;
  font-weight: 500;
}

/* Default animations */
[data-variation]:not([data-variation*='small']):not([data-variation*='click']) #headline {
  -webkit-animation: headline_keyframes .9s both .9s;
  animation: headline_keyframes .9s both .9s;
}

[data-variation]:not([data-variation*='small']):not([data-variation*='click']) #description {
  -webkit-animation: description_keyframes .9s both .9s;
  animation: description_keyframes .9s both .9s;
}

[data-variation]:not([data-variation*='small']):not([data-variation*='click']) #product-image {
  -webkit-animation: fly_right_keyframes .9s both;
  animation: fly_right_keyframes .9s both;
}

[data-variation]:not([data-variation*='small']):not([data-variation*='click']) #logo-image,
[data-variation]:not([data-variation*='small']):not([data-variation*='click']) #button {
  -webkit-animation: fly_left_keyframes .9s both;
  animation: fly_left_keyframes .9s both;
}

@-webkit-keyframes
fly_left_keyframes {
    0% {opacity: 0; -webkit-transform: translateX(200px);}
  100% {opacity: 1;}
}

@keyframes
fly_left_keyframes {
    0% {opacity: 0; transform: translateX(200px);}
  100% {opacity: 1;}
}

@-webkit-keyframes
fly_right_keyframes {
    0% {opacity: 0; -webkit-transform: translateX(-200px);}
  100% {opacity: 1;}
}

@keyframes
fly_right_keyframes {
    0% {opacity: 0; transform: translateX(-200px);}
  100% {opacity: 1;}
}

@-webkit-keyframes
headline_keyframes {
    0% {opacity: 0; -webkit-transform: translateY(-40px);}
  100% {opacity: 1;}
}

@keyframes
headline_keyframes {
    0% {opacity: 0; transform: translateY(-40px);}
  100% {opacity: 1;}
}

@-webkit-keyframes
description_keyframes {
    0% {opacity: 0; -webkit-transform: translateY(40px);}
  100% {opacity: 1;}
}

@keyframes
description_keyframes {
    0% {opacity: 0; transform: translateY(40px);}
  100% {opacity: 1;}
}

/* Small size animations */
[data-variation*='small'] #headline {
  -webkit-animation: small_l1_keyframes 3.75s ease-in-out 4 alternate both;
  animation: small_l1_keyframes 3.75s ease-in-out 4 alternate both;
}

[data-variation*='small'] #description {
  -webkit-animation: small_l2_keyframes 3.75s ease-in-out 4 alternate both;
  animation: small_l2_keyframes 3.75s ease-in-out 4 alternate both;
}

@-webkit-keyframes
small_l1_keyframes {
   0%, 44% {opacity: 1; -webkit-transform: translateY(0);}
  56%,100% {opacity: 0; -webkit-transform: translateY(-30px);}
}

@keyframes
small_l1_keyframes {
   0%, 44% {opacity: 1; transform: translateY(0);}
  56%,100% {opacity: 0; transform: translateY(-30px);}
}

@-webkit-keyframes
small_l2_keyframes {
   0%, 44% {opacity: 0; -webkit-transform: translateY(30px);}
  56%,100% {opacity: 1; -webkit-transform: translateY(0);}
}

@keyframes
small_l2_keyframes {
   0%, 44% {opacity: 0; transform: translateY(30px);}
  56%,100% {opacity: 1; transform: translateY(0);}
}

/* Click to call animations */
[data-variation*='click'] #headline {
  -webkit-animation: click_l1_keyframes 7s ease-in-out 4 alternate both;
  animation: click_l1_keyframes 7s ease-in-out 4 alternate both;
}

[data-variation*='click'] #description {
  -webkit-animation: click_l2_keyframes 7s ease-in-out 4 alternate both;
  animation: click_l2_keyframes 7s ease-in-out 4 alternate both;
}

[data-variation*='click'] #display-url {
  -webkit-animation: click_l3_keyframes 7s ease-in-out 4 alternate both;
  animation: click_l3_keyframes 7s ease-in-out 4 alternate both;
}

@-webkit-keyframes
click_l1_keyframes {
   0%, 30% {opacity: 1; -webkit-transform: translateY(0);}
  35%, 75% {opacity: 0; -webkit-transform: translateY(-30px);}
  80%, 100% {opacity: 0;}
}

@keyframes
click_l1_keyframes {
   0%, 30% {opacity: 1; transform: translateY(0);}
  35%, 75% {opacity: 0; transform: translateY(-30px);}
  80%, 100% {opacity: 0;}
}

@-webkit-keyframes
click_l2_keyframes {
   0%, 30% {opacity: 0; -webkit-transform: translateY(30px);}
  35%, 75% {opacity: 1; -webkit-transform: translateY(0);}
  80%, 100% {opacity: 0;}
}

@keyframes
click_l2_keyframes {
   0%, 30% {opacity: 0; transform: translateY(30px);}
  35%, 75% {opacity: 1; transform: translateY(0);}
  80%, 100% {opacity: 0;}
}

@-webkit-keyframes
click_l3_keyframes {
   0%, 30% {opacity: 0;}
  35%, 75% {opacity: 0; -webkit-transform: translateY(30px);}
  80%, 100% {opacity: 1; -webkit-transform: translateY(0);}
}

@keyframes
click_l3_keyframes {
   0%, 30% {opacity: 0;}
  35%, 75% {opacity: 0; transform: translateY(30px);}
  80%, 100% {opacity: 1; transform: translateY(0);}
}
