.clippy {
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  height: 80px;
  width: 40px;
  border: 8px solid #333;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  border-bottom: none;
}
.clippy:before {
  position: absolute;
  top: 75px;
  width: 60px;
  height: 80px;
  border: 8px solid #333;
  left: 0;
  content: ' ';
  border-top: none;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}
.clippy:after {
  position: absolute;
  top: 80px;
  width: 20px;
  height: 35px;
  border: 8px solid #333;
  left: 20px;
  content: ' ';
  border-top: none;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}
.eye {
  position: absolute;
  height: 49px;
  width: 35px;
  border: 3px solid #333;
  border-radius: 50%;
  border-right-color: transparent;
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-bottom-width: 2px;
  top: 15px;
  background: whitesmoke;
}
.eye.left {
  left: -29px;
  transform: rotate(-20deg);
  animation: leftEye 2.5s infinite ease-in-out ;
}
.eye.right {
  left: 29px;
  transform: rotate(20deg);
  animation: rightEye 2.5s infinite ease-in-out ;
}
.eye:after {
  width: 15px;
  height: 15px;
  background-color: transparent;
  border: 10px solid #333;
  border-radius: 50%;
  position: absolute;
  top: 5px;
  content: ' ';
  transform-origin: center;
}
.eye:before {
  content: ' ';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #fce7e7;
  position: absolute;
  top: 5px;
  z-index: 200;
  left: 0px;
  transform-origin: bottom;
  animation: blink 2.5s infinite ease-in-out normal;
}

@keyframes blink {
  0%, 75%, 100% {
    height: 0px;
  }
  90%{
    height: 5px;
    transform: rotate(-12deg)
  }
}

@keyframes leftEye {
  0%, 60% {
    transform: rotate(-20deg);
  }
  30% {
    transform: rotate(0deg) translateY(-15%) translateX(5%);
  }
}

@keyframes rightEye {
  0%, 60% {
    transform: rotate(20deg);
  }
  30% {
    transform: rotate(0deg) translateY(-15%) translateX(-5%);
  }

}

.clippy-container {
  position: absolute;
  bottom: 14%;
  right: 4%;
}
.speech-bubble-container {
  position: fixed;
  bottom: 15%;
  right: 15%;
  padding: 10px;
}
.speech-bubble {
  position: relative;
  background: #511f16;
  border-radius: .4em;
  font-size: 2em;
  padding: 10px;
  color: whitesmoke;
}

.text-container {
  //opacity: 0;
}

.speech-bubble:after {
  content: '';
  position: absolute;
  right: -2;
  top: 50%;
  width: 0;
  height: 0;
  border: 55px solid transparent;
  border-left-color: #511f16;
  border-right: 0;
  border-bottom: 0;
  margin-top: -27.5px;
  margin-right: -55px;
}
