/*
=============================================================================
                   Normalize, border box and clearfix
=============================================================================
*/

article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary{display:block;}audio,canvas,video{display:inline-block;}audio:not([controls]){display:none;height:0;}[hidden]{display:none;}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;}a:focus{outline:thin dotted;}a:active,a:hover{outline:0;}h1{font-size:2em;}abbr[title]{border-bottom:1px dotted;}b,strong{font-weight:700;}dfn{font-style:italic;}mark{background:#ff0;color:#000;}code,kbd,pre,samp{font-family:monospace, serif;font-size:1em;}pre{white-space:pre-wrap;word-wrap:break-word;}q{quotes:\201C \201D \2018 \2019;}small{font-size:80%;}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sup{top:-.5em;}sub{bottom:-.25em;}img{border:0;}svg:not(:root){overflow:hidden;}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em;}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;}button,input{line-height:normal;}button,html input[type=button],/* 1 */
input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer;}button[disabled],input[disabled]{cursor:default;}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0;}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none;}textarea{overflow:auto;vertical-align:top;}table{border-collapse:collapse;border-spacing:0;}body,figure{margin:0;}legend,button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0;}

* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

.clearfix:after {
   content: " ";
   visibility: hidden;
   display: block;
   height: 0;
   clear: both;
}

img {
  max-width: 100%;
}

.centered {
 float: none;
 margin: 0 auto;
}

.phone-outer {
  background: blue;
}

.phone-inner {
  background: #fff;
}

h2 {
  font-weight: normal;
  font-size: 18px;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

button {
  font-size: 18px;
  cursor: pointer;
}


.container {
  margin: 0 auto;
  text-align: left;
  background-image: URL("../img/cafe.jpg");
  overflow: hidden;
}

#options {
  margin: 10px 0;
}

.next-question {
  margin-right: 10px;
}

#score {
  margin-top: 10px;
  font-size: 18px;
  font-weight: bold;
}

.dialogueOption {
  font-size: 16pt;
  cursor: pointer;
    transition: all ease-in-out 1s;
    color: #fff;
}

.characterDialogue {
  font-size: 21pt;
}

.dialogueContainer {
  bottom: 0;
  background-color: rgba(0,0,0,0.6);
  position: absolute;
  width: 100%;
}

.dialogueBox {
  margin: 0 auto;
  position: relative;
  padding: 30px 60px;
  color: white;
  width: 100%;
  text-align: center;
}

.backgroundCafe {
  width: 100%;
  height: 100%;
  position: absolute;
  background-image: URL("../img/cafe.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.creature {
  position: absolute;
  left: 50%;
  top: 20vh;
  -webkit-animation: float 5s infinite;
    animation: float 5s infinite;
}

@-webkit-keyframes float {
    0% {top: 5%;}
    50% {top: 15%;}
    100% {top: 5%;}
}

@keyframes float {
    0% {top: 5%;}
    50% {top: 15%;}
    100% {top: 5%;}
}


#bubbles { height: 100% }
.bubble {
    width: 60px;
    height: 60px;
    background: #c7d8f7;
    border-radius: 200px;
    -moz-border-radius: 200px;
    -webkit-border-radius: 200px;
    position: absolute;
}

.x1 {
    left: 20%
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    transform: scale(0.9);
    opacity: 0.2;
    -webkit-animation: moveclouds 15s linear infinite, sideWays 4s ease-in-out infinite alternate;
    -moz-animation: moveclouds 15s linear infinite, sideWays 4s ease-in-out infinite alternate;
    -o-animation: moveclouds 15s linear infinite, sideWays 4s ease-in-out infinite alternate;
}

.x2 {
    left: 80%;
    -webkit-transform: scale(0.6);
    -moz-transform: scale(0.6);
    transform: scale(0.6);
    opacity: 0.5;
    -webkit-animation: moveclouds 25s linear infinite, sideWays 5s ease-in-out infinite alternate;
    -moz-animation: moveclouds 25s linear infinite, sideWays 5s ease-in-out infinite alternate;
    -o-animation: moveclouds 25s linear infinite, sideWays 5s ease-in-out infinite alternate;
}
.x3 {
    left: 90%;
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0.3;
    -webkit-animation: moveclouds 20s linear infinite, sideWays 4s ease-in-out infinite alternate;
    -moz-animation: moveclouds 20s linear infinite, sideWays 4s ease-in-out infinite alternate;
    -o-animation: moveclouds 20s linear infinite, sideWays 4s ease-in-out infinite alternate;
}
.x4 {
    left: 40%;
    -webkit-transform: scale(0.75);
    -moz-transform: scale(0.75);
    transform: scale(0.75);
    opacity: 0.35;
    -webkit-animation: moveclouds 18s linear infinite, sideWays 2s ease-in-out infinite alternate;
    -moz-animation: moveclouds 18s linear infinite, sideWays 2s ease-in-out infinite alternate;
    -o-animation: moveclouds 18s linear infinite, sideWays 2s ease-in-out infinite alternate;
}
.x5 {
    left: 70%;
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0.3; 
    -webkit-animation: moveclouds 7s linear infinite, sideWays 1s ease-in-out infinite alternate;
    -moz-animation: moveclouds 7s linear infinite, sideWays 1s ease-in-out infinite alternate;
    -o-animation: moveclouds 7s linear infinite, sideWays 1s ease-in-out infinite alternate;
}
@-webkit-keyframes moveclouds { 
    0% { 
        top: 500px;
    }
    100% { 
        top: -500px;
    }
}

@-webkit-keyframes sideWays { 
    0% { 
        margin-left:0px;
    }
    100% { 
        margin-left:50px;
    }
}

@-moz-keyframes moveclouds {     
    0% { 
        top: 500px;
    }

    100% { 
        top: -500px;
    }
}

@-moz-keyframes sideWays {
    0% {
        margin-left:0px;
    }
    100% {
        margin-left:50px;
    }
}
@-o-keyframes moveclouds {
    0% { 
        top: 500px;
    }
    100% { 
        top: -500px;
    }
}

@-o-keyframes sideWays {
    0% {
        margin-left:0px;
    }
    100% {
        margin-left:50px;
    }
}

.iphone-wrap {
  font-size: 120px;
  height: 100%;
  background-image: url('../img/homebg.png');
  background-size: cover;
}

.iphone {
  -webkit-transition: -webkit-transform .5s;
  transition: -webkit-transform .5s;
  transition: transform .5s;
  transition: transform .5s, -webkit-transform .5s;
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 3.16em;
  height: 6.32em;
  box-sizing: border-box;
  box-shadow: -0.3em 0.1em 0.4em 0.05em rgba(0, 0, 0, 0.75);
  border-radius: .4em;
}
.iphone .front-body {
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #000000;
  background-image: -webkit-linear-gradient(top, #080808 0%, #000000 100%);
  background-image: linear-gradient(top, #080808 0%, #000000 100%);
  width: 3.06em;
  height: 6.22em;
  border-radius: .36em;
  overflow: hidden;
}
.iphone .front-body:after {
  content: "";
  position: absolute;
  margin: auto;
  top: -1em;
  left: 1.83em;
  width: 5em;
  height: 4em;
  background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
  -webkit-transform: rotate(-17deg);
          transform: rotate(-17deg);
}
.iphone .border {
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 3.16em;
  height: 6.32em;
  border-radius: .4em;
}
.iphone .border .top {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin: auto;
  width: 2.35em;
  height: .1em;
  background-image: -webkit-linear-gradient(bottom, #a1a2a8 0%, #a1a2a8 50%, #6e6f75 100%);
  background-image: linear-gradient(to top, #a1a2a8 0%, #a1a2a8 50%, #6e6f75 100%);
}
.iphone .border .bottom {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  width: 2.35em;
  height: .1em;
  background-image: -webkit-linear-gradient(top, #a1a2a8 0%, #a1a2a8 50%, #6e6f75 100%);
  background-image: linear-gradient(to bottom, #a1a2a8 0%, #a1a2a8 50%, #6e6f75 100%);
}
.iphone .border .left {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: .1em;
  height: 5.5em;
  background-image: -webkit-linear-gradient(right, #a1a2a8 0%, #a1a2a8 50%, #6e6f75 100%);
  background-image: linear-gradient(to left, #a1a2a8 0%, #a1a2a8 50%, #6e6f75 100%);
}
.iphone .border .right {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: .1em;
  height: 5.5em;
  background-image: -webkit-linear-gradient(left, #a1a2a8 0%, #a1a2a8 50%, #6e6f75 100%);
  background-image: linear-gradient(to right, #a1a2a8 0%, #a1a2a8 50%, #6e6f75 100%);
}
.iphone .border .top-left,
.iphone .border .top-right,
.iphone .border .bottom-left,
.iphone .border .bottom-right {
  position: absolute;
  border-radius: 50%;
  width: .76em;
  height: .76em;
  background: -webkit-radial-gradient(center ellipse, #a7a9af 0%, #a7a9af 62%, #66676e 70%, #66676e 100%);
  background: radial-gradient(ellipse at center, #a7a9af 0%, #a7a9af 62%, #66676e 70%, #66676e 100%);
}
.iphone .border .top-left {
  top: 0;
  left: 0;
}
.iphone .border .top-right {
  top: 0;
  right: 0;
}
.iphone .border .bottom-left {
  bottom: 0;
  left: 0;
}
.iphone .border .bottom-right {
  bottom: 0;
  right: 0;
}
.iphone .speaker {
  background-color: #3f3f40;
  width: .43em;
  height: .05em;
  border-radius: .025em;
  position: absolute;
  left: 0;
  right: 0;
  top: .35em;
  margin: auto;
  z-index: 1;
}
.iphone .speaker:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  background-color: #3f3f40;
  box-shadow: 0 -0.003em 0.005em 0.005em rgba(0, 0, 0, 0.25);
  width: .3em;
  height: 0;
}
.iphone .front-cam {
  width: .12em;
  height: .12em;
  background-image: -webkit-linear-gradient(right bottom, #767676 0%, #222222 100%);
  background-image: linear-gradient(right bottom, #767676 0%, #222222 100%);
  border-radius: 50%;
  position: absolute;
  top: .31em;
  left: 1em;
  margin: auto;
}
.iphone .front-cam:before, .iphone .front-cam:after {
  content: "";
  border-radius: 50%;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border-radius: 50%;
}
.iphone .front-cam:before {
  width: .06em;
  height: .06em;
  background-image: -webkit-linear-gradient(right bottom, #0d1b40 0%, #1b3267 100%);
  background-image: linear-gradient(right bottom, #0d1b40 0%, #1b3267 100%);
  box-shadow: 0.01em 0.01em 0.005em rgba(0, 0, 0, 0.3);
}
.iphone .front-cam:after {
  width: .03em;
  height: .03em;
  opacity: .3;
  border-color: transparent;
  border-top: 1px solid #ffffff;
}
.iphone .screen {
  position: absolute;
  width: 2.7em;
  height: 4.8em;
  background: #f6f8fb;
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  font-family: 'Roboto', sans-serif;
  color: #ffffff;
}
.iphone .screen .content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}
.iphone .screen .content .operator, .iphone .screen .content .battery {
  font-size: .12em;
}
.iphone .screen .content .operator {
  margin-top: .2em;
  margin-left: .4em;
  float: left;
}
.iphone .screen .content .operator .name {
  vertical-align: middle;
  position: relative;
  display: inline-block;
}
.iphone .screen .content .operator .level {
  vertical-align: middle;
  position: relative;
  display: inline-block;
}
.iphone .screen .content .operator .level-item {
  width: .4em;
  height: .4em;
  background-color: #424242;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid #424242;
}
.iphone .screen .content .operator .level-item:nth-child(3), .iphone .screen .content .operator .level-item:nth-child(4), .iphone .screen .content .operator .level-item:nth-child(5) {
  background-color: transparent;
}
.iphone .screen .content .battery {
  margin-top: .2em;
  margin-right: .5em;
  float: right;
}
.iphone .screen .content .battery .percentage, .iphone .screen .content .battery .level {
  display: inline-block;
  position: relative;
  vertical-align: middle;
}
.iphone .screen .content .battery .level {
  width: 1.6em;
  height: .74em;
  background-color: transparent;
  border: 1px solid #424242;
  border-radius: .15em;
  margin-left: .1em;
}
.iphone .screen .content .battery .level:before, .iphone .screen .content .battery .level:after {
  content: "";
  background-color: #424242;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
}
.iphone .screen .content .battery .level:before {
  width: .68em;
  height: .64em;
  left: .08em;
  border-top-left-radius: .1em;
  border-bottom-left-radius: .1em;
}
.iphone .screen .content .battery .level:after {
  width: .1em;
  height: .35em;
  right: -.2em;
  border-top-right-radius: .4em;
  border-bottom-right-radius: .4em;
}
.iphone .screen .content .time {
  text-align: center;
  font-size: .6em;
  margin-top: .8em;
}
.iphone .screen .content .date {
  text-align: center;
  font-size: .15em;
  margin-top: 0;
}
.iphone .screen .content .slideToUnlock {
  position: absolute;
  left: 53%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  margin: auto;
  font-size: .15em;
  text-align: center;
  bottom: 2em;
  opacity: .5;
}
.iphone .screen .content .slideToUnlock .arrow {
  position: absolute;
  left: -1.6em;
  top: 0;
  bottom: 0;
  margin: auto;
  height: 1.4em;
  -webkit-animation: slideToUnlock-arrow 1s linear infinite;
          animation: slideToUnlock-arrow 1s linear infinite;
}
.iphone .screen .content .slideToUnlock .arrow:before, .iphone .screen .content .slideToUnlock .arrow:after {
  content: "";
  background-color: #ffffff;
  width: .1em;
  height: .81em;
  position: absolute;
  right: 0;
}
.iphone .screen .content .slideToUnlock .arrow:before {
  top: 0;
  -webkit-transform: rotate(-40deg);
          transform: rotate(-40deg);
}
.iphone .screen .content .slideToUnlock .arrow:after {
  bottom: 0;
  -webkit-transform: rotate(40deg);
          transform: rotate(40deg);
}
.iphone .home-button {
  position: absolute;
  width: .44em;
  height: .44em;
  background-image: -webkit-linear-gradient(bottom, #303030 0%, #303030 10%, #7a7a7a 30%, #7a7a7a 40%, #303030 50%, #303030 100%);
  background-image: linear-gradient(bottom, #303030 0%, #303030 10%, #7a7a7a 30%, #7a7a7a 40%, #303030 50%, #303030 100%);
  border-radius: 50%;
  left: 0;
  right: 0;
  bottom: .14em;
  margin: auto;
}
.iphone .home-button:before {
  content: "";
  position: absolute;
  top: .02em;
  left: .02em;
  border-radius: 50%;
  width: .4em;
  height: .4em;
  background-color: #000000;
}
.iphone .aside-btn {
  position: absolute;
  height: .5em;
  width: .03em;
  background-image: -webkit-linear-gradient(right, #66656f 0%, #66656f 30%, #c5c8cc 60%);
  background-image: linear-gradient(to left, #66656f 0%, #66656f 30%, #c5c8cc 60%);
}
.iphone .block-button {
  top: 1.4em;
  right: -.03em;
  border-top-right-radius: .8em;
  border-bottom-right-radius: .8em;
  background-image: -webkit-linear-gradient(left, #66656f 0%, #66656f 30%, #c5c8cc 60%);
  background-image: linear-gradient(to right, #66656f 0%, #66656f 30%, #c5c8cc 60%);
}
.iphone .mute {
  top: .73em;
  left: -.03em;
  height: .25em;
  border-top-left-radius: .8em;
  border-bottom-left-radius: .8em;
}
.iphone .volume-plus, .iphone .volume-minus {
  top: 1.4em;
  left: -.03em;
  border-top-left-radius: .8em;
  border-bottom-left-radius: .8em;
}
.iphone .volume-minus {
  top: 2.1em;
}

.phone-contents {
  font-size: 1rem;
  position: absolute;
  top: 35px;
  bottom: 0;
  width: 100%;
}

.phone-header {
  background: #fff;
  color: #424242;
  -webkit-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.3);
  box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.3);
}

.operator .glyphicon {
  font-size: 25px;
}


.glyphicon-heart {
  color: #fe5c61;
  transition: all ease-in-out 0.5s;
}

.glyphicon-heart:hover {
  color: #fe2930;
}

.match-choice .glyphicon-heart:hover, .match-choice .glyphicon-remove:hover {
  padding-top: 14px;
  font-size: 18px;
  cursor: pointer;
}

.match-choice .glyphicon-heart:hover {
  padding-top: 4px !important;
}

.glyphicon-remove {
  color: #41e9c1;
  transition: all ease-in-out 0.5s;
}

.glyphicon-remove:hover {
  color: #13a17f;
}

.glyphicon-comment {
  color: #cbcbcb;
  transition: all ease-in-out 0.5s;
}

.glyphicon-comment:hover {
  color: #24b9ff
}

/* MATCH BOX */
.match-area, .match-pick{
  -webkit-box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.3);
  box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.3);
}

.match-choice {
  margin-top: 0px;
}

.match-pick {
  width: 45px;
      height: 45px;
      border-radius: 50%;
      padding-top: 10px;
      background: #fff;
      font-size: 30px;
      text-align: center;
      float: right;
      display: block;
      margin-right: 15%;
      position: relative;
      top: -60px;
}

.match-pick:first-child {
  float: left;
  margin-left: 15%;
  margin-right: 0;
}

.match-area {
  background: #fff;
  width: 93%;
  margin: 2% auto 0 auto;
  border-radius: 10px;
}

.match-area img, .match-profile img {
  width: 100%;
  background: #dedede;
  border-radius: 10px 10px 0 0;
}

.match-profile img {
    height: 250px;
    width: 250px;
    border-radius: 20px;
    position: relative;
}

.match-profile h3 {
  margin-bottom: 0;
}

span.prof-age {
  font-size: 12pt;
}

blockquote.prof-quote {
  font-style: italic;
  font-size: 10pt;
}

.prof-deets {
  max-height: 155px;
  font-size: 10pt;
}

.match-area h3, .match-area h3:hover, .match-area:hover h3, a.match-link:hover h3, a:hover {
  text-decoration: none;
  color: #424242;
}

.match-name {
  padding: 18px 0 20px 0;
  margin: 0;
  margin-bottom: 20px;
  text-align: left;
}

.match-profile {
  height: 100%;
  background: #fff;
  color: #424242;
  font-size: 18px;
  text-align: left;
}

.match-name {
  font-size: 21px;
}

.match-profile img {
  border-radius: 20px;
}

/* END SCREEN ONLY */

div.heart {
    animation: heartbeat 5s infinite;
    /* width: 25%; */
    width: 500px;
    height: 750px;
    margin: 0 auto;
    background: url(../img/heartbg.png);
    background-size: 100% auto;
    background-repeat: no-repeat;
    top: 0;
    left: calc(50% - 250px);
    position: absolute;
    z-index: 0;
    top: 5vh;
    display: none;
}
/* main container */
.heart-container{
  top:0px;
  width:100%;
  height:100%;
  position:absolute;
  left:0%;
  background: red;
  z-index: -2;
}

.end-screen {
  position: relative;
}

.end-content {
  padding-top: 8%;
  text-align: center;
  margin: 0 auto;
  width: 100%;
  max-width:800px;
}

.end-content img {
  max-width: 400px;
}

.end-content h2 {
  font-size: 40px;
}

.end-content .love-name {
  font-size: 60px;
}


.fallingHearts {
    text-align: center;
}
.fallingHearts span {
    display: inline-block;
    width: 80px;
    height: 80px;
    margin: -280px 40px 54px  -34px;
    background:url("../img/heart.png");
    
    -webkit-animation: fallingHearts 10s infinite  linear;
    -moz-animation: fallingHearts 10s infinite  linear;
}
.fallingHearts span:nth-child(5n+5) {

    -webkit-animation-delay: 1.3s;
    -moz-animation-delay: 1.3s;
}
.fallingHearts span:nth-child(3n+2) {

    -webkit-animation-delay: 1.5s;
    -moz-animation-delay: 1.5s;
}
.fallingHearts span:nth-child(2n+5) {

    -webkit-animation-delay: 1.7s;
    -moz-animation-delay: 1.7s;
}

.fallingHearts span:nth-child(3n+10) {

    -webkit-animation-delay: 2.7s;
    -moz-animation-delay: 2.7s;
}
.fallingHearts span:nth-child(7n+2) {

    -webkit-animation-delay: 3.5s;
    -moz-animation-delay: 3.5s;
}
.fallingHearts span:nth-child(4n+5) {

    -webkit-animation-delay: 5.5s;
    -moz-animation-delay: 5.5s;
}
.fallingHearts span:nth-child(3n+7) {

    -webkit-animation-delay: 8s;
    -moz-animation-delay: 8s;
}
@-webkit-keyframes fallingHearts {
  0% {
    opacity: 1;

  -webkit-transform: translate(150px, 800px) rotateZ(0deg);
  }
  30% {
    opacity: 1;
    -webkit-transform: translate(100px, 600px) rotateZ(20deg); 
  }
  100% {
    opacity: 0;
    -webkit-transform: translate(0, 0px) rotateZ(0deg);
  }
}
@-moz-keyframes fallingHearts {
  0% {
    opacity: 1;

  -webkit-transform: translate(150px, 800px) rotateZ(0deg);
  }
  30% {
    opacity: 1;
    -webkit-transform: translate(100px, 600px) rotateZ(20deg); 
  }
  100% {
    opacity: 0;
    -webkit-transform: translate(0, 0px) rotateZ(0deg);
  }
}

@-webkit-keyframes heartbeat {
  0%
  {
    transform: scale( .90 );
  }
  20%
  {
    transform: scale( 1 );
  }
  40%
  {
    transform: scale( .90 );
  }
  60%
  {
    transform: scale( 1 );
  }
  80%
  {
    transform: scale( .90 );
  }
  100%
  {
    transform: scale( .90 );
  }
}

@-moz-keyframes heartbeat {
  0%
  {
    transform: scale( .90 );
  }
  20%
  {
    transform: scale( 1 );
  }
  40%
  {
    transform: scale( .90 );
  }
  60%
  {
    transform: scale( 1 );
  }
  80%
  {
    transform: scale( .90 );
  }
  100%
  {
    transform: scale( .90 );
  }
}

.text-msg {
  color: #424242;
  font-size: 1rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.3);
}

.text-img, .text-details {
  float: left;
}

.text-details {
  padding-left: 15px;
  font-size: 14px;
  width: 80%;
}

.text-img {
  width: 55px;
  height: 55px;
  width: 20%;
}

.text-msg img {
  width: 55px;
  height: 55px;
  background: #cbcbcb;
}

/* DATE */

.characterDialogue {
  float: left;
  text-align: left;
  width: 80%;
  margin-bottom: 15px;
}

.dialogueOption {
  text-align: right;
  float: right;
}

.dialogueOption, .characterOption, .characterDialogue {
  background: rgba(0,0,0,0.5);
  padding: 30px;
  border-radius: 10px;
  border: 2px solid black;
}

.dialogueHolder{
  position: relative;
  width: 80%;
  float: right;
}

.dialogueOption {
  width: 80%;
  text-align: center;
  position: relative;
  padding: 15px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  color: black;
  background: white;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  border: 2px solid white;
}

.dialogueOption:after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50px;
    border-width: 20px 0 0 20px;
    border-style: solid;
    border-color: white transparent;
    display: block;
    width: 0;
    top: 16px;
    right: -40px;
    bottom: auto;
    left: auto;
    border-width: 15px 0 0 40px;
    border-color: transparent white;
}

.dialogueOption:hover {
  color: DodgerBlue;
}

.appReady {
  display: none;
}

.appLoading {
  width: 100%;
  height: 100%;
  background-image: url('../img/homebg.png');
  background-size: cover;
}

.loadingElementContainer {
  position: relative;
  top: 10%;
  margin: 0 auto;
  width: 600px;
}

.instructions {
  position: relative;
  margin-bottom: 40px;
}

#loadingState {
    position: relative;
    text-align: center;
    margin-bottom: 40px;
    font-size: 20pt;
    margin: 0 auto;
    color: white;
}

#loadingTitle {
  padding: 22px;
}

#gameStartButton {
  width: 250px;
  padding: 20px;
  border-radius: 10px;
  background: rgba(255,150,184,0.2);
  border: 2px solid rgb(255,150,184);
  margin: 0 auto;
  cursor: pointer;
}

#gameStartButton:hover {
  background: rgba(255,150,184,0.6);
}

#slLogo {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 170px;
}

#retryButton {
  width: 250px;
  padding: 20px;
  border-radius: 10px;
  background: rgba(255,150,184,1);
  border: 2px solid black;
  margin: 0 auto;
  cursor: pointer;
  font-size: 20pt;
  color: white;
  top: 30px;
  position: relative;
}

#retryButton:hover {
  background: rgba(255,150,184,0.6);
}