html{
  height:100%;
}

body {
  background-image: linear-gradient(to right top, #ff6f1e, #ff661a, #ff5d18, #ff5315, #ff4814);
}

.hidden {
  display: none;
}

.mouth {
  animation: hideshow 0.3s linear infinite;
}

span {
  border-right: .05em solid;
  animation: caret 1s steps(1) infinite;
}

@keyframes caret {
  50% {
    border-color: transparent;
  }
}


@media only screen and (min-device-width: 100px) and (max-device-width: 480px){  
  body{
    zoom: 3; 
    --moz-transform: scale(3); 
    --moz-transform-origin: 0 0;
  }
} 
@media only screen and (min-device-width: 480px) and (max-device-width: 720px){  
  body{
    zoom: 2; 
    --moz-transform: scale(2); 
    --moz-transform-origin: 0 0;
  }
} 


p {
  margin-left: 5px;
}

@keyframes hideshow {
  0% {
    opacity: 0;
  }
  45% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  95% {
    opacity: 1;
  }
} 

p, a {
  font-size: 12px;
  font-family: 'Open Sans', sans-serif;
  color: #ab2e0c;
}
footer{
  position: absolute;
  bottom: 5px;
}

.container {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -64.5px;
  margin-top: -85.5px;
}


.speech{
  width: 180px;
  max-width: 180px;
  margin-left: -40px;
  font-size: 12px;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  line-height: 1.5;
  padding: 10px 15px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

.ghost {
  animation: float 3s ease-out infinite;
}

.ghost-speak {
  animation: float 0.5s ease-out infinite;
}

@keyframes float {
  50% {
    transform: translate(0, 20px);
  }
}
.shadowFrame {
  width: 130px;
  margin-top: 15px;
}
.shadow {
  animation: shrink 3s ease-out infinite;
  transform-origin: center center;
}
.shadow ellipse {
  transform-origin: center center;
}
@keyframes shrink {
  0% {
    width: 90%;
    margin: 0 5%;
  }
  50% {
    width: 60%;
    margin: 0 18%;
  }
  100% {
    width: 90%;
    margin: 0 5%;
  }
}