
 body, html {
  margin: 0;
  padding: 0;
}
div, img, a, h1, h2, h3, h4, span, svg {
	position: absolute;
	top: 0px;
	left: 0px;
	margin: 0px;
	padding: 0px;
	text-align: center;
	font-family: arial, sans-serif;
	font-weight: normal;
	overflow: hidden;
}
a {
	font-size: 6px;
	color: #ffffff;
	text-decoration: none;
}
sup {
	font-size: 60%;
}	
#container {
	position: absolute;
	overflow: hidden;
	width: 300px;
	height: 250px;
	background-color: #22263f;
}
.imageHolder, .textHolder {
	overflow: hidden;
	/*background-color: rgba(255, 0, 0, .5);*/
}

/* This is the size of the sprite images */
.image {
	width: 300px;
  height: 250px;
}
.text, .image, .element {
	width: 300px;
  height: 250px;
}
.image {
  width: 900px;
  height: 250px;
}
.text {
  width: 900px;
  height: 250px;
}
.element {
  width: 300px;
  height: 250px;
}
.text, .sprite, .element {
	position: relative;
}

.logo {
  top: 189px;
  left: 172px;
  width: 123px;
  height: 53px;
}
.logo img {
  top: -189px;
  left: -171px;
}
.legal {
  top: 198px;
  left: 6px;
  width: 160px;
  height: 46px;
}
.legal img {
  top: -198px;
  left: -6px;
}

.scene {
  width: 300px;
  height: 250px;
}

/* SCENE 1 */

/*  Each scene is one of the headlines in the unit
    If you want to change a headline, you can update the _TEXT.png file
    If the new copy gets cropped because it is longer, you can adjust the containing box
    under the .headline class
*/

.scene1 .headline {
  top: 19px;
  left: 5px;
  width: 160px;
  height: 112px;
  opacity: 0;
}
.scene1 .headline img {
  top: -9px;
  left: -5px;
}

.scene1 .hero {
  top: 12px;
  left: 2px;
  width: 304px;
  height: 250px;
  opacity: 0;
}
.scene1 .hero img {
  top: 3px;
  left: 0px;
}
/* Scene 1, Frame 1*/
body.frame1 .scene1 .headline {
  opacity: 1;
  top: 9px;
  transition: .45s cubic-bezier(0.61, 1, 0.88, 1);
}
body.frame1 .scene1 .hero {
  opacity: 1;
  top: -2px;
  transition: .45s cubic-bezier(0.61, 1, 0.88, 1) .1s;
}

/* Frame 2 */
body.frame2 .scene1 .headline {
  opacity: 0;
  top: -1px;
  transition: .45s cubic-bezier(0.61, 1, 0.88, 1);
}
body.frame2 .scene1 .hero {
  opacity: 0;
  top: 0px;
  transition: .45s cubic-bezier(0.61, 1, 0.88, 1) .1s;
}

/* SCENE 2 */

.scene2 .headline {
  top: 16px;
  left: 7px;
  width: 180px;
  height: 177px;
  opacity: 0;
}
.scene2 .headline img {
  top: -6px;
  left: -307px;
}
.scene2 .phone {
  top: 10px;
  left: 0px;
  width: 300px;
  height: 250px;
  opacity: 0;
}
.scene2 .hero {
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
}
.scene2 .hero img {
  top: 0px;
  left: -300px;
}
.scene2 .phone .barGraph {
  top: 69px;
  left: 210px;
  width: 46px;
  height: 21px;
}
.scene2 .phone .barGraph svg {
  height: 100%;
  width: 150%;
  left: 0%;
}
@keyframes barGraphSlide {
  0%, 12% { left: 0%; }
  34%, 45% { left: -17%; }
  67%, 78% { left: -33.5%; }
  100% { left: -50%; }
}

/* Scene 2, Frame 2*/
body.frame2 .scene2 .headline {
  opacity: 1;
  top: 6px;
  transition: .45s cubic-bezier(0.61, 1, 0.88, 1) .5s;
}
body.frame2 .scene2 .phone {
  opacity: 1;
  top: 0px;
  transition: .45s cubic-bezier(0.61, 1, 0.88, 1) .6s;
}
body.frame2 .scene2 .phone .barGraph svg, body.frame3 .scene2 .phone .barGraph svg {
  animation: barGraphSlide 3.41s cubic-bezier(0.37, 0, 0.63, 1) 1 forwards .6s; 
}
/* Frame 3 */
body.frame3 .scene2 .headline {
  opacity: 0;
  top: -4px;
  transition: .45s cubic-bezier(0.61, 1, 0.88, 1);
}
body.frame3 .scene2 .phone {
  opacity: 0;
  top: 0px;
  transition: .45s cubic-bezier(0.61, 1, 0.88, 1) .1s;
}

/* SCENE 3 */

.scene3 .headline {
  top: 17px;
  left: 9px;
  width: 110px;
  height: 65px;
  opacity: 0;
}
.scene3 .headline img {
  top: -7px;
  left: -609px;
}

.scene3 .hero {
  top: 0px;
  left: 60px;
  width: 240px;
  height: 250px;
  opacity: 0;
}
.scene3 .hero img {
  top: 0px;
  left: -667px;
}
/* Scene 3, Frame 3 */
body.frame3 .scene3 .headline {
  opacity: 1;
  top: 7px;
  transition: .45s cubic-bezier(0.61, 1, 0.88, 1) .5s;
}
body.frame3 .scene3 .hero {
  opacity: 1;
  transition: .45s cubic-bezier(0.61, 1, 0.88, 1) .6s;
}
body.frame3 .cta {
  opacity: 1;
  transition: .45s cubic-bezier(0.61, 1, 0.88, 1) 1s;
}

.cta {
  position: absolute;
  top: 77px;
  left: 13px;
  width: 122px;
  height: 42px;
  box-sizing: border-box;
  border: 1px solid white;
  border-radius: 5px;
  /* z-index: 3000; */
  opacity: 0;
}
.cta span.text {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  transition: .5s ease;
}
.cta span.text.over {
  opacity: 0;
  transition: .5s ease;
}

.cta.ready, .cta.ready.over,
body[class^="frame"] .cta.ready, body[class^="frame"] .cta.ready.over {
  transition: .5s ease !important;
}
.cta span.text img {
  top: -18px;
  left: -14px;
  width: 300px;
  height: 250px;
}
.cta span.text.over img {
  top: -18px;
  left: -161px;
}

.cta.over {
  transition: .5s ease;
  background-color: #ffffff;
}

.cta.over span.text {
  opacity: 0;
  transition: .5s ease;
}
.cta.over span.text.over {
  opacity: 1;
  transition: .5s ease;
}

#hitter {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 300px;
  height: 250px;
  font-size: 0px;
  z-index: 2000;
}

.template {
  width: 300px;
  height: 250px;
  opacity: .5;
  z-index: 100000;
  touch-events: none;
  position: absolute;
  top: 0;
  left: 0;
}
.hidden {
  opacity: 0;
}
.gone {
  visibility: hidden;
}
#border {
  z-index: 10000;
  overflow: visible;
}
#border div {
  background-color: #cccccc;
}
#border .left, #border .right {
  width: 1px;
}
#border .top, #border .bottom {
  height: 1px;
}


.guide {
  background-color: red;
  display: block;
  z-index: 10000;
}
.guide.vert {
  width: 1px;
  height: 100%;
}
.guide.horiz {
  width: 100%;
  height: 1px;
}
.guide.box {
  background-color: transparent;
  box-sizing: border-box;
  border: 13px solid red;
}
.guide.box:after {
  content: "";
  position: absolute;
  top: calc(50% - 3px);
  left: calc(50% - 3px);
  width: 6px;
  height: 6px;
  background-color: hotpink;
}
.guide.box.margin {
  border-color: rgba(255, 0, 1000, .5);
}
