html,
body {
  height: 100%;
  font-size: 0.8rem;
  margin: 0;
  padding: 0;
  text-transform: lowercase;
}


.links a{
  background-color: #a9c5da;
  padding: 10px;
  border-radius: 15px;
  border: 5px solid #000;
  margin-right: 2.5rem;
  text-decoration: none;
  font-family: "courier", roboto, monospace;
  color: #000000;
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  filter: drop-shadow(0 0 0.5rem rgb(0, 0, 0));
}

.links a:hover{
  background-color: #fffcd3;
}

.memegenerator{
  display: flex;
  flex-direction: row;
}
@media (max-width: 800px) {
  .memegenerator {
    flex-direction: column;
  }
}
.heading{
margin-top: 5rem;
margin-bottom: 1rem;
display: inline-block;
font-family: "courier", roboto, monospace;
color: #000000;
font-size: 3.5rem;
font-weight: bold;
text-align: center;
-webkit-animation-name: matrixf;
          animation-name: matrixf;
    -webkit-animation-delay: 3s;
            animation-delay: 3s;
    -webkit-animation-duration: 8s;
            animation-duration: 8s;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
}
canvas {
  filter: drop-shadow(0 0 0.5rem rgb(0, 0, 0));
  border-radius: 15px;
border: 5px solid black;
margin: 10px;
background-color: white;
}

span {
white-space: pre;
font-family: monospace;
}
.inputs {
  filter: drop-shadow(0 0 0.5rem rgb(0, 0, 0));
  border-radius: 15px;
  font-weight: bold;
font-family: "courier", roboto, monospace;
font-size: 1.5rem;
background-color: #a9c5da;
border: 5px solid black;

padding: 20px;
margin: 10px;
}
input{
  display: block;
  width: 90%;
  padding: 5px;
}
button{
  margin-top: 1rem;
  padding: 5px;
  width: 95%;
  display: block;
}
.images img{
  margin-top: 1rem;
  cursor: pointer;
  filter: drop-shadow(0 0 0.5rem rgb(0, 0, 0));
  border-radius: 5px;
  border: 1px solid black;
  width: 3.5rem;
  height: 3.5rem;
}

p {
  max-width: 80%;
  display: inline-block;
  font-family: "courier", roboto, monospace;
  color: #000000;
  font-size: 3.5rem;
  font-weight: bold;
  text-align: center;
  white-space: break-space;
  overflow: hidden;
  filter: drop-shadow(0 0 0.05rem rgb(0, 0, 0));
  -webkit-animation-name: matrixf;
          animation-name: matrixf;
    -webkit-animation-delay: 3s;
            animation-delay: 3s;
    -webkit-animation-duration: 8s;
            animation-duration: 8s;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
}

@-webkit-keyframes matrixf {
  0% {
    
  }
  
  5% {
    
  }
  
  7.5% {
    color: #fff;
    filter: drop-shadow(-3mm -3mm 2.5rem #fffcd3);
    
  }
  
  45% {
    color: #fff;
    filter: drop-shadow(-3mm -3mm 2.5rem #fffcd3);
  }
  
  50% {
    
  }
}

@media screen and (max-width: 769px) {
  .links a{
    text-align: center;
    display: block;
    margin-right: 0px;
    margin-bottom: 1rem;
  }
  p{
    font-size: 1.5rem;
    white-space: break-space;
  }
}

.outer-container {
  height: auto;
    min-height: 100%;
  width: 100%;
  background-image: 
    radial-gradient( rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 80%),
    linear-gradient(180deg, rgba(0,0,0,0) 50%, #4AE0FF 50%, #4AE0FF),
    linear-gradient(172deg, rgba(0,0,0,0) 50%, #1D7EAB 50%, #1D7EAB),
    linear-gradient(157deg, rgba(0,0,0,0) 50%, #4AE0FF 50%, #4AE0FF),
    linear-gradient(143deg, rgba(0,0,0,0) 50%, #1D7EAB 50%, #1D7EAB),
    linear-gradient(127deg, rgba(0,0,0,0) 50%, #4AE0FF 50%, #4AE0FF),
    linear-gradient(112deg, rgba(0,0,0,0) 50%, #1D7EAB 50%, #1D7EAB),
    linear-gradient(97deg, rgba(0,0,0,0) 50%, #4AE0FF 50%, #4AE0FF),
    linear-gradient(82deg, rgba(0,0,0,0) 50%, #1D7EAB 50%, #1D7EAB),
    linear-gradient(67deg, rgba(0,0,0,0) 50%, #4AE0FF 50%, #4AE0FF),
    linear-gradient(52deg, rgba(0,0,0,0) 50%, #1D7EAB 50%, #1D7EAB),
    linear-gradient(37deg, rgba(0,0,0,0) 50%, #4AE0FF 50%, #4AE0FF),
    linear-gradient(22deg, rgba(0,0,0,0) 50%, #1D7EAB 50%, #1D7EAB),
    linear-gradient(8deg, rgba(0,0,0,0) 50%, #4AE0FF 50%, #4AE0FF),
    linear-gradient(0deg, rgba(0,0,0,0) 50%, #1D7EAB 50%, #1D7EAB);
    background-position: 0% 0%;
    background-size: 100% 200%;
  box-sizing: border-box;
  display: flex;
    align-items: center;
    justify-content: center;
  margin: 0;
  padding: 2rem 0;
  position: relative;
}

.outer-container:after {
  height: 100%;
  width: 100%;
  -webkit-animation-name: burst;
          animation-name: burst;
    -webkit-animation-duration: 3s;
            animation-duration: 3s;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
  background-image: 
    radial-gradient( rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 40%),
    linear-gradient(180deg, rgba(0,0,0,0) 50%, #1D7EAB 50%, #1D7EAB),
    linear-gradient(172deg, rgba(0,0,0,0) 50%, #4AE0FF 50%, #4AE0FF),
    linear-gradient(157deg, rgba(0,0,0,0) 50%, #1D7EAB 50%, #1D7EAB),
    linear-gradient(143deg, rgba(0,0,0,0) 50%, #4AE0FF 50%, #4AE0FF),
    linear-gradient(127deg, rgba(0,0,0,0) 50%, #1D7EAB 50%, #1D7EAB),
    linear-gradient(112deg, rgba(0,0,0,0) 50%, #4AE0FF 50%, #4AE0FF),
    linear-gradient(97deg, rgba(0,0,0,0) 50%, #1D7EAB 50%, #1D7EAB),
    linear-gradient(82deg, rgba(0,0,0,0) 50%, #4AE0FF 50%, #4AE0FF),
    linear-gradient(67deg, rgba(0,0,0,0) 50%, #1D7EAB 50%, #1D7EAB),
    linear-gradient(52deg, rgba(0,0,0,0) 50%, #4AE0FF 50%, #4AE0FF),
    linear-gradient(37deg, rgba(0,0,0,0) 50%, #1D7EAB 50%, #1D7EAB),
    linear-gradient(22deg, rgba(0,0,0,0) 50%, #4AE0FF 50%, #4AE0FF),
    linear-gradient(8deg, rgba(0,0,0,0) 50%, #1D7EAB 50%, #1D7EAB),
    linear-gradient(0deg, rgba(0,0,0,0) 50%, #4AE0FF 50%, #4AE0FF);
    background-position: 50% -100%;
    background-size: 200% 400%;
  content: "";
  opacity: 1;
  position: absolute;
    left: 0;
    top: 0;
}

@-webkit-keyframes burst {
  0% { 
    opacity: 1;
  }
  
  50% { 
    opacity: 0;
  }
  
  100% { 
    opacity: 1;
  }
}

@keyframes burst {
  0% { 
    opacity: 1;
  }
  
  50% { 
    opacity: 0;
  }
  
  100% { 
    opacity: 1;
  }
}

.outer-container:before {
  height: 0%;
  width: 100%;
  -webkit-animation-name: matrix;
          animation-name: matrix;
    -webkit-animation-delay: 3s;
            animation-delay: 3s;
    -webkit-animation-duration: 8s;
            animation-duration: 8s;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
  background-image: linear-gradient(0deg, #071406, #000000);
  content: "0100001001101001011101000110010100100000011011010111100100100000011100110110100001101001011011100111100100100000011011010110010101110100011000010110110000100000011000010111001101110011001000010010000001001001111000101000000010011001011011010010000001110011011011110010000001100101011011010110001001100001011100200111001001100001011100110111001101100101011001000010111000100000010010010010000001110111011010010111001101101000001000000110010101110110011001010111001001111001011000100110111101100100011110010010000001100101011011000111001101100101001000000111011101100001011100110010000001100100011001010110000101100100001011100010000001010100011010000110010101110010011001010010111000100000010011100110111101110111001000000110111001101111001000000110111101101110011001010010000001100011011000010110111000100000011100110110000101111001001000000100100100100000011001000110111101101110111000101000000010011001011101000010000001101111011101110110111000100000010010100110111101101000011011100010000001001100011000010111001001110010011011110111000101110101011001010111010001110100011001011110001010000000100110010111001100100000011100110111000001101001011011100110010100101110001000000100001001101100011000010110001101101011011011010110000101101001011011000010000001101001011100110010000001110011011101010110001101101000001000000110000101101110001000000111010101100111011011000111100100100000011101110110111101110010011001000010111000100000010010010010000001110000011100100110010101100110011001010111001000100000011001010111100001110100011011110111001001110100011010010110111101101110001011100010000001010100011010000110010100100000111000101000000010011000011110001110001010000000100110010010000001101101011000010110101101100101011100110010000001101001011101000010000001110011011011110111010101101110011001000010000001100011011011110110111101101100001011100010000001001001001000000110011101101111011101000010000001100001011011100111010001110011001000000110100101101110001000000110110101111001001000000110001001110101011101000111010000101100001000000110000101101110011001000010000001001001001000000110111001100101011001010110010001110011001000000111010001101111001000000111001101110100011100100111010101110100001011100010000001001111011010000010110000100000011011100110111100100000011100100110111101101111011011010010000001100110011011110111001000100000010000100110010101101110011001000110010101110010001011000010000001101000011101010110100000111111001000000100011001101001011011100110010100100001001000000100100111100010100000001001100101101100011011000010000001100111011011110010000001100010011101010110100101101100011001000010000001101101011110010010000001101111011101110110111000100000011011000111010101101110011000010111001000100000011011000110000101101110011001000110010101110010001011000010000001110111011010010111010001101000001000000110001001101100011000010110001101101011011010100110000101100011011010110010000001100001011011100110010000100000011010000110111101101111011010110110010101110010011100110010111000100000010010010110111000100000011001100110000101100011011101000010110000100000011001100110111101110010011001110110010101110100001000000111010001101000011001010010000001101100011101010110111001100001011100100010000001101100011000010110111001100100011001010111001000100000011000010110111001100100001000000111010001101000011001010010000001100010011011000110000101100011011010110110101001100001011000110110101100101110001000000100000101101000011010000010110000100000011100110110001101110010011001010111011100100000011101000110100001100101001000000111011101101000011011110110110001100101001000000111010001101000011010010110111001100111001000010010000001001000011011110110111001100101011110010010110000100000010010010010000001110111011011110111010101101100011001000110111011100010100000001001100101110100001000000111010001100001011011000110101100100000011000010110001001101111011101010111010000100000011101000110000101110011011101000110010100100000011010010110011000100000010010010010000001110111011000010111001100100000011101110110010101100001011100100110100101101110011001110010000001100001001000000110110001101001011011010110010100100000011001110111001001100101011001010110111000100000011101000110000101101110011010110010000001110100011011110111000000101110001000000010000001001101011110010010000001110011011101000110111101110010011110010010000001101001011100110010000001100001001000000110110001101111011101000010000001101100011010010110101101100101001000000111100101101111011101010111001001110011001011000010000001101111011011100110110001111001001000000110110101101111011100100110010100100000011010010110111001110100011001010111001001100101011100110111010001101001011011100110011100100000111000101000000010011000011000110110000101110101011100110110010100100000011010010111010000100000011010010110111001110110011011110110110001110110011001010111001100100000011100100110111101100010011011110111010001110011001011100010000001001001001000000110010001101111011011101110001010000000100110010111010000100000011100100110010101101101011001010110110101100010011001010111001000100000011001010111011001100101011100100010000001100110011010010110011101101000011101000110100101101110011001110010000001000111011011110110010001111010011010010110110001101100011000011110001010000000101001100010000001000010011101010111010000100000011101000110100001100001011101000010000001101001011100110010000001110011011011110010000001110111011010000110000101110100001000000100100100100000011101110110111101110101011011000110010000100000011010000110000101110110011001010010000001100100011011110110111001100101001000010010000001010111011001011110001010000000100110010110110001101100001000000111001101101111011011110110111000100000011100110111010001100001011001110110010100100000011000010110111000100000011000010111010001110100011000010110001101101011001000000110111101101110001000000111010001100101011000110110100001101110011011110110110001101111011001110111100100100000011101110110111101110010011101000110100001111001001000000110111101100110001000000110001001100101011010010110111001100111001000000110001101101000011100100110111101101110011010010110001101101100011001010110010000100000011010010110111000100000011000010110111000100000011000010110111001110100011010000110010101101101001000000110001001111001001000000101001001110101011100110110100000100001";
  font-family: "roboto", helvetica, arial, sans-serif;
    color: #3b7e288f;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1rem;
    line-height: 2rem;
    text-align: center;
    word-wrap: break-word;
  opacity: 1;
  overflow: hidden;
  position: absolute;
    left: 0;  
    top: 0;
  z-index: 1;
}



@-webkit-keyframes matrix {
  0% {
    height: 0%;
  }
  
  5% {
    height: 0%;
  }
  
  7.5% {
    height: 100%;
  }
  
  45% {
    height: 100%;
  }
  
  50% {
    height: 0%;
  }
}

@keyframes matrix {
  0% {
    height: 0%;
  }
  
  5% {
    height: 0%;
  }
  
  7.5% {
    height: 100%;
  }
  
  45% {
    height: 100%;
  }
  
  50% {
    height: 0%;
  }
}

#bender {
  filter: drop-shadow(0 0 1.75rem rgb(0, 0, 0));
  height: auto;
  width: auto;
  display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
  z-index: 1;
}

/*top ball*/
#antenna {
  height: 2.4rem;
  width: 2.4rem;
  background-color: #e3f7fe;
  border: 0.5rem solid #000000;
    border-radius: 2rem;
  display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
  z-index: -1;
}

/*stem*/
#antenna:before {
  height: 25rem;
  width: 1rem;
  background-color: #a9c5da;
  border: 0.54rem solid #000000;
    border-radius: 50%;
  content: "";
  flex: 0 0 auto;
  position: relative;
    top: 15.5rem;
}

/*base*/
#antenna:after {
  height: 4rem;
  width: 6rem;
  background-color: #e3f7fe;
  border: 0.5rem solid #000000;
    border-radius: 6rem;
  content: "";
  flex: 0 0 auto;
  position: relative;
    top: -1rem;
}

/*exterior*/
#visor {
  height: 10rem;
  width: 22rem;
  background-color: #e3f7fe;
  border: 0.5rem solid #000000;
    border-radius: 5rem;
  display: flex;
    align-items: center;
    flex-flow: row no-wrap;
    justify-content: center;
  position: relative;
    top: 20rem;
  z-index: 2;
}

/*interior*/
#visor:after {
  background-color: #000000;
  border: 0.5rem solid #000000;
    border-radius: 3rem;
  content: "";
  flex: 0 0 auto;
  position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    top: 1rem;
}

/*makes the eyes get cut off at top/bottom*/
.eyesocket {
  height: 7.3rem;
  width: 8.6rem;
  display: flex;
    align-items: center;
  overflow: hidden;
}

/*space between eyes*/
.eyesocket:first-child {
  margin-right: 1rem;
}

.eyebrow-shaper {
  height: 100%;
  width: 8.6rem;
  border-radius: 3rem;
  overflow: hidden;
  position: absolute;
    top: 1rem;
}

.eyebrow {
  height: 0;
  width: 0;
  position: absolute;
  z-index: 2;
}

#left-eyebrow {
  -webkit-animation-name: leftScaredEyebrow;
          animation-name: leftScaredEyebrow;
    -webkit-animation-delay: 3.5s;
            animation-delay: 3.5s;
    -webkit-animation-duration: 8s;
            animation-duration: 8s;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
  border-left: 0rem solid transparent;
  border-right: 4rem solid #000000;
  border-bottom: 3rem solid transparent;
  border-top: 0rem solid transparent;
  right: 0%;
}

#right-eyebrow {
  -webkit-animation-name: rightScaredEyebrow;
          animation-name: rightScaredEyebrow;
    -webkit-animation-delay: 3.5s;
            animation-delay: 3.5s;
    -webkit-animation-duration: 8s;
            animation-duration: 8s;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
  border-left: 4rem solid #000000;
  border-right: 0rem solid transparent;
  border-bottom: 3rem solid transparent;
  border-top: 0rem solid transparent;
  left: 0%;
}

@-webkit-keyframes leftScaredEyebrow {
  0% {
    border-left: 0rem solid transparent;
    border-right: 4rem solid #000000;
    border-bottom: 3rem solid transparent;
    right: 0%;
  }
  
  5% {
    border-left: 0rem solid transparent;
    border-right: 4rem solid #000000;
    border-bottom: 0rem solid transparent;
    right: 0%;
  }
  
  45% {
    border-left: 4rem solid #000000;
    border-right: 0rem solid transparent;
    border-bottom: 0rem solid transparent;
    right: calc(100% - 4rem);
  }
  
  50% {
    border-left: 4rem solid #000000;
    border-right: 0rem solid transparent;
    border-bottom: 3rem solid transparent;
    right: calc(100% - 4rem);
  }
  
  75% {
    border-left: 4rem solid #000000;
    border-right: 0rem solid transparent;
    border-bottom: 3rem solid transparent;
    right: calc(100% - 4rem);
  }
  
  80% {
    border-left: 4rem solid #000000;
    border-right: 0rem solid transparent;
    border-bottom: 0rem solid transparent;
    right: calc(100% - 4rem);
  }
  
  85% {
    border-left: 4rem solid #000000;
    border-right: 0rem solid transparent;
    border-bottom: 0rem solid transparent;
    right: 0%;
  }
  
  87% {
    border-left: 0rem solid transparent;
    border-right: 0rem solid #000000;
    border-bottom: 0rem solid transparent;
    right: 0%;
  }
  
  90% {
    border-left: 0rem solid transparent;
    border-right: 4rem solid #000000;
    border-bottom: 3rem solid transparent;
    right: 0%;
  }
}

@keyframes leftScaredEyebrow {
  0% {
    border-left: 0rem solid transparent;
    border-right: 4rem solid #000000;
    border-bottom: 3rem solid transparent;
    right: 0%;
  }
  
  5% {
    border-left: 0rem solid transparent;
    border-right: 4rem solid #000000;
    border-bottom: 0rem solid transparent;
    right: 0%;
  }
  
  45% {
    border-left: 4rem solid #000000;
    border-right: 0rem solid transparent;
    border-bottom: 0rem solid transparent;
    right: calc(100% - 4rem);
  }
  
  50% {
    border-left: 4rem solid #000000;
    border-right: 0rem solid transparent;
    border-bottom: 3rem solid transparent;
    right: calc(100% - 4rem);
  }
  
  75% {
    border-left: 4rem solid #000000;
    border-right: 0rem solid transparent;
    border-bottom: 3rem solid transparent;
    right: calc(100% - 4rem);
  }
  
  80% {
    border-left: 4rem solid #000000;
    border-right: 0rem solid transparent;
    border-bottom: 0rem solid transparent;
    right: calc(100% - 4rem);
  }
  
  85% {
    border-left: 4rem solid #000000;
    border-right: 0rem solid transparent;
    border-bottom: 0rem solid transparent;
    right: 0%;
  }
  
  87% {
    border-left: 0rem solid transparent;
    border-right: 0rem solid #000000;
    border-bottom: 0rem solid transparent;
    right: 0%;
  }
  
  90% {
    border-left: 0rem solid transparent;
    border-right: 4rem solid #000000;
    border-bottom: 3rem solid transparent;
    right: 0%;
  }
}

@-webkit-keyframes rightScaredEyebrow {
  0% {
    border-left: 4rem solid #000000;
    border-right: 0rem solid transparent;
    border-bottom: 3rem solid transparent;
    left: 0%;
  }
  
  5% {
    border-left: 4rem solid #000000;
    border-right: 0rem solid transparent;
    border-bottom: 0rem solid transparent;
    left: 0%;
  }
  
  45% {
    border-left: 0rem solid transparent;
    border-right: 4rem solid #000000;
    border-bottom: 0rem solid transparent;
    left: calc(100% - 4rem);
  }
  
  50% {
    border-left: 0rem solid transparent;
    border-right: 4rem solid #000000;
    border-bottom: 3rem solid transparent;
    left: calc(100% - 4rem);
  }
  
  75% {
    border-left: 0rem solid transparent;
    border-right: 4rem solid #000000;
    border-bottom: 3rem solid transparent;
    left: calc(100% - 4rem);
  }
  
  80% {
    border-left: 0rem solid transparent;
    border-right: 4rem solid #000000;
    border-bottom: 0rem solid transparent;
    left: calc(100% - 4rem);
  }
  
  85% {
    border-left: 0rem solid transparent;
    border-right: 4rem solid #000000;
    border-bottom: 0rem solid transparent;
    left: 0%;
  }
  
  87% {
    border-left: 0rem solid #000000;
    border-right: 0rem solid transparent;
    border-bottom: 0rem solid transparent;
    left: 0%;
  }
  
  90% {
    border-left: 4rem solid #000000;
    border-right: 0rem solid transparent;
    border-bottom: 3rem solid transparent;
    left: 0%;
  }
}

@keyframes rightScaredEyebrow {
  0% {
    border-left: 4rem solid #000000;
    border-right: 0rem solid transparent;
    border-bottom: 3rem solid transparent;
    left: 0%;
  }
  
  5% {
    border-left: 4rem solid #000000;
    border-right: 0rem solid transparent;
    border-bottom: 0rem solid transparent;
    left: 0%;
  }
  
  45% {
    border-left: 0rem solid transparent;
    border-right: 4rem solid #000000;
    border-bottom: 0rem solid transparent;
    left: calc(100% - 4rem);
  }
  
  50% {
    border-left: 0rem solid transparent;
    border-right: 4rem solid #000000;
    border-bottom: 3rem solid transparent;
    left: calc(100% - 4rem);
  }
  
  75% {
    border-left: 0rem solid transparent;
    border-right: 4rem solid #000000;
    border-bottom: 3rem solid transparent;
    left: calc(100% - 4rem);
  }
  
  80% {
    border-left: 0rem solid transparent;
    border-right: 4rem solid #000000;
    border-bottom: 0rem solid transparent;
    left: calc(100% - 4rem);
  }
  
  85% {
    border-left: 0rem solid transparent;
    border-right: 4rem solid #000000;
    border-bottom: 0rem solid transparent;
    left: 0%;
  }
  
  87% {
    border-left: 0rem solid #000000;
    border-right: 0rem solid transparent;
    border-bottom: 0rem solid transparent;
    left: 0%;
  }
  
  90% {
    border-left: 4rem solid #000000;
    border-right: 0rem solid transparent;
    border-bottom: 3rem solid transparent;
    left: 0%;
  }
}

.eyeball {
  height: 8rem;
  width: 8.6rem;
  background-color: #fffcd3;
  border-radius: 3.5rem;
  position: relative;
  z-index: 1;
}

#pupil-left {
  height: 2rem;
  width: 2rem;
  -webkit-animation-name: leftScared, scared;
          animation-name: leftScared, scared;
    -webkit-animation-delay: 3.5s;
            animation-delay: 3.5s;
    -webkit-animation-duration: 8s;
            animation-duration: 8s;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
  background-color: #000000;
  position: absolute;
    left: 5.2rem;
    top: 3.85rem;
  z-index: 1;
}

@-webkit-keyframes leftScared {
  0% {
    left: 5.2rem;
  }
  
  5% {
    left: 5.8rem;
  }
  
  10% {
    left: 5.8rem;
  }
  
  12.5% {
    left: 2.6rem; 
  }
  
  20% {
    left: 2.6rem;
  }
  
  22.5% {
    left: 8.8rem;
  }
  
  30% {
    left: 8.8rem;
  }
  
  35% {
    left: 5.8rem;
  }
  
  75% {
    left: 5.8rem;
  }
  
  80% {
    left: 5.2rem;
  }
}

@keyframes leftScared {
  0% {
    left: 5.2rem;
  }
  
  5% {
    left: 5.8rem;
  }
  
  10% {
    left: 5.8rem;
  }
  
  12.5% {
    left: 2.6rem; 
  }
  
  20% {
    left: 2.6rem;
  }
  
  22.5% {
    left: 8.8rem;
  }
  
  30% {
    left: 8.8rem;
  }
  
  35% {
    left: 5.8rem;
  }
  
  75% {
    left: 5.8rem;
  }
  
  80% {
    left: 5.2rem;
  }
}

#pupil-right {
  height: 2rem;
  width: 2rem;
  -webkit-animation-name: rightScared, scared;
          animation-name: rightScared, scared;
    -webkit-animation-delay: 3.5s;
            animation-delay: 3.5s;
    -webkit-animation-duration: 8s;
            animation-duration: 8s;
    -webkit-animation-iteration-count: infinite;
            animation-iteration-count: infinite;
  background-color: #000000;
  position: absolute;
    right: 5.2rem;
    top: 3.85rem;
  z-index: 1;
}

@-webkit-keyframes scared {
  0% {
    height: 2rem;
    width: 2rem;
    top: 3.85rem;
  }
  
  5% {
    height: 1rem;
    width: 1rem;
    top: 4.5rem;
  }
  
  75% {
    height: 1rem;
    width: 1rem;
    top: 4.5rem;
  }
  
  80% {
    height: 2rem;
    width: 2rem;
    top: 3.85rem;
  }
}

@keyframes scared {
  0% {
    height: 2rem;
    width: 2rem;
    top: 3.85rem;
  }
  
  5% {
    height: 1rem;
    width: 1rem;
    top: 4.5rem;
  }
  
  75% {
    height: 1rem;
    width: 1rem;
    top: 4.5rem;
  }
  
  80% {
    height: 2rem;
    width: 2rem;
    top: 3.85rem;
  }
}

@-webkit-keyframes rightScared {
  0% {
    right: 5.2rem;
  }
  
  5% {
    right: 5.8rem;
  }
  
  10% {
    right: 5.8rem;
  }
  
  12.5% {
    right: 9rem; 
  }
  
  20% {
    right: 9rem;
  }
  
  22.5% {
    right: 2.6rem;
  }
  
  30% {
    right: 2.6rem;
  }
  
  35% {
    right: 5.8rem;
  }
  
  75% {
    right: 5.8rem;
  }
  
  80% {
    right: 5.2rem;
  }
}

@keyframes rightScared {
  0% {
    right: 5.2rem;
  }
  
  5% {
    right: 5.8rem;
  }
  
  10% {
    right: 5.8rem;
  }
  
  12.5% {
    right: 9rem; 
  }
  
  20% {
    right: 9rem;
  }
  
  22.5% {
    right: 2.6rem;
  }
  
  30% {
    right: 2.6rem;
  }
  
  35% {
    right: 5.8rem;
  }
  
  75% {
    right: 5.8rem;
  }
  
  80% {
    right: 5.2rem;
  }
}

#mouth {
  height: 7rem;
  width: 14rem;
  border: 0.5rem solid #000000;
    border-radius: 5rem;
  overflow: hidden;
  position: relative;
    top: 21.5rem;
  z-index: 2;
}

/* separates vertical/horizontal mouth lines */
#mouth-columns {
  border: 0;
  display: flex;
    align-items: center;
    justify-content: space-around;
  margin: 0;
  padding: 0;
}

.mouth-vertical {
  height: 7rem;
  width: 2rem;
  background-color: #fffcd3;
  border-right: 0.4rem solid #000000;
}

.mouth-vertical:last-child {
  border-right: 0;
}

#mouth-horizontal {
  height: 2rem;
  width: 14rem;
  border-bottom: 0.4rem solid #000000;
  border-top: 0.4rem solid #000000;
  position: absolute;
    top: 2.2rem;
}

/*rounded top*/
#top-head-background {
  height: 16rem;
  width: 16rem;
  background-color: #a9c5da;
  border: 0.5rem solid #000000;
    border-radius: 100%;
  margin-top: -9.3rem;
  z-index: -1;
}

/*middle area*/
#middle-head-background {
  height: 21.5rem;
  width: 16rem;
  background-color: #a9c5da;
  border-left: 0.5rem solid #000000;
  border-right: 0.5rem solid #000000;
  margin-top: -8.3rem;
  z-index: 1
}

/*bottom curve*/
#bottom-head-background {
  height: 4rem;
  width: 16rem;
  background-color: #a9c5da;
  border: 0.5rem solid #000000;
    border-radius: 100%;
  margin-top: -2.3rem;
  z-index: -1;
}



@-webkit-keyframes talking { 
  50% {
    width: 0%;
  }
  
  57% {
    width: 100%;
  }
  
  85% {
    width: 100%;
  }
  
  85.1% {
    width: 0%;
  }
}

@keyframes talking { 
  50% {
    width: 0%;
  }
  
  57% {
    width: 100%;
  }
  
  85% {
    width: 100%;
  }
  
  85.1% {
    width: 0%;
  }
}